Skip to content

Commit

Permalink
Restore files from main
Browse files Browse the repository at this point in the history
  • Loading branch information
pastelcyborg committed Sep 19, 2024
1 parent 01abee6 commit 5a9f3f2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 132 deletions.
5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"scripts": {
"start": "yarn build && yarn serve",
"build": "yarn build-scss && yarn build-js && yarn build-class-references",
"build-tokens": "((node ./sd.config.mjs) || true)",
"build-tokens": "((style-dictionary build --verbose --config ./sd.config.json) || true)",
"build-scss": "yarn build-tokens && sass --load-path=node_modules --embed-sources --style=compressed --silence-deprecation=mixed-decls scss:build/css && postcss --use autoprefixer --replace 'build/css/**/*.css' --map",
"build:essential": "yarn run build-js && sass --load-path=node_modules --embed-sources --style=compressed --silence-deprecation=mixed-decls scss/build.scss:build/css/build.css scss/docs:build/css/docs && postcss --use autoprefixer --replace 'build/css/**/*.css' --map",
"build-js": "mkdir -p build/js/modules && cp node_modules/@canonical/cookie-policy/build/js/cookie-policy.js build/js/modules && cp node_modules/@canonical/latest-news/dist/latest-news.js build/js/modules && cp node_modules/js-beautify/js/lib/beautify.js node_modules/js-beautify/js/lib/beautify-html.js node_modules/js-beautify/js/lib/beautify-css.js build/js/modules",
Expand Down Expand Up @@ -78,6 +78,5 @@
"stylelint-prettier": "5.0.2",
"svgo": "3.3.2",
"yaml": "2.5.0"
},
"packageManager": "[email protected]+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
}
}
1 change: 1 addition & 0 deletions sd.config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
129 changes: 0 additions & 129 deletions sd.config.mjs

This file was deleted.

0 comments on commit 5a9f3f2

Please sign in to comment.