Skip to content

Commit

Permalink
fix: copy assets
Browse files Browse the repository at this point in the history
  • Loading branch information
alisonailea committed Oct 2, 2023
1 parent 32d1b20 commit e43ed45
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 9 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
],
"scripts": {
"build": "turbo run build --log-order=stream",
"clean:node": "rimraf node_modules --glob ./packages/**/node_modules",
"clean:node": "rimraf node_modules --glob ./packages/*/node_modules",
"clean": "turbo run clean --log-order=stream",
"lint": "turbo run lint --log-order=stream",
"publish:next": "lerna publish from-package --dist-tag next --yes",
Expand Down
4 changes: 3 additions & 1 deletion packages/calcite-components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,10 @@
"test": "stencil test --no-docs --no-build --spec --e2e",
"util:build-docs": "npm run util:prep-build-reqs && stencil build --docs --config stencil.storybook.config.ts",
"util:clean-tested-build": "npm ci && npm test && npm run build",
"util:copy-assets": "npm run util:copy-icons",
"util:copy-assets": "concurrently npm:util:copy-*",
"util:copy-icons": "cpy \"../../node_modules/@esri/calcite-ui-icons/js/*.json\" \"./src/components/icon/assets/icon/\" --flat",
"util:copy-tokens": "cpy \"../../node_modules/@esri/calcite-design-tokens/dist/**/*\" \"./node_modules/@esri/calcite-design-tokens/dist\"",
"util:copy-base": "cpy \"../../node_modules/@esri/calcite-base/dist/**/*\" \"./node_modules/@esri/calcite-base/dist\"",
"util:generate-t9n-docs-json": "ts-node --esm support/generateT9nDocsJSON.ts",
"util:generate-t9n-types": "ts-node --esm support/generateT9nTypes.ts",
"util:hydration-styles": "ts-node --esm support/hydrationStyles.ts",
Expand Down
8 changes: 4 additions & 4 deletions packages/calcite-components/src/assets/styles/global.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@import "../../../../../node_modules/@esri/calcite-base/dist/_index";
@import "../../../../../node_modules/@esri/calcite-design-tokens/dist/scss/global";
@import "../../../../../node_modules/@esri/calcite-design-tokens/dist/scss/light";
@import "../../../../../node_modules/@esri/calcite-design-tokens/dist/scss/dark";
@import "../../../node_modules/@esri/calcite-base/dist/_index";
@import "../../../node_modules/@esri/calcite-design-tokens/dist/scss/global";
@import "../../../node_modules/@esri/calcite-design-tokens/dist/scss/light";
@import "../../../node_modules/@esri/calcite-design-tokens/dist/scss/dark";

/* CSS vars (@include in global) */
@import "type";
Expand Down
4 changes: 2 additions & 2 deletions packages/calcite-components/src/assets/styles/includes.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@import "../../../../../node_modules/@esri/calcite-base/dist/_index";
@import "../../../../../node_modules/@esri/calcite-design-tokens/dist/scss/global";
@import "../../../node_modules/@esri/calcite-base/dist/_index";
@import "../../../node_modules/@esri/calcite-design-tokens/dist/scss/global";

/* mixins & extensions */
@import "animation";
Expand Down

0 comments on commit e43ed45

Please sign in to comment.