|
26 | 26 | "changeset-publish": "yarn prepublishOnly && yarn changeset version && yarn install && yarn lint:versions --fix && yarn update-version && yarn changeset publish --no-git-tag && yarn push-to-remote && yarn create-git-tag && yarn postpublish", |
27 | 27 | "update-version": "node ./tasks/update-version.js", |
28 | 28 | "chromatic": "chromatic --build-script-name storybook:build # note that --project-token must be set in your env variables", |
29 | | - "create-git-tag": "node --no-warnings tasks/create-git-tag.js", |
30 | 29 | "custom-element-json": "node tasks/custom-element-json.js", |
31 | 30 | "docs:analyze": "cem analyze --globs \"packages/**/*.ts\" --exclude \"**/*.d.ts\" --exclude \"**/stories/**\" --exclude \"**/icons/**\" --exclude \"**/elements/**\" --outdir projects/documentation --litelement", |
32 | 31 | "docs:build": "yarn workspace documentation build", |
|
50 | 49 | "lint:versions": "node ./scripts/lint-versions.js", |
51 | 50 | "new-package": "cd projects/templates && plop", |
52 | 51 | "postcustom-element-json": "node ./tasks/run-check-cem.js", |
53 | | - "postdocs:analyze": "node ./scripts/add-custom-properties.js --src=\"projects/documentation/custom-elements.json\"", |
54 | 52 | "postinstall": "husky || true && patch-package", |
55 | 53 | "postpublish": "yarn prepublish:react && yarn publish:react && yarn postpublish:react", |
56 | 54 | "postpublish:react": "git reset --hard HEAD^ && git prune && rimraf react", |
|
65 | 63 | "pretest:bench": "yarn build:tests && test -f test/benchmark/cli.js ||:", |
66 | 64 | "pretest:visual": "yarn build && yarn build", |
67 | 65 | "process-icons": "wireit", |
68 | | - "process-spectrum": "wireit", |
69 | 66 | "publish:react": "yarn changeset publish --no-git-tag --tag snapshot --no-push", |
70 | 67 | "push-to-remote": "git add . && git commit -m \"chore: release new versions #publish\" && git push", |
71 | 68 | "start": "yarn storybook", |
|
89 | 86 | "test:watch": "yarn test:watch:focus unit", |
90 | 87 | "test:watch:flags:focus": "yarn build && run-p build:watch \"test:start --watch --group {1} --config web-test-runner.config.ci-chromium-flags.js\" --", |
91 | 88 | "test:watch:focus": "yarn build && run-p build:watch \"test:start --watch --group {1}\" --", |
92 | | - "update:spectrum-css": "node ./scripts/update-spectrum-css.js --latest || yarn update:spectrum-css:cleanup", |
93 | | - "update:spectrum-css:cleanup": "yarn lint:packagejson && yarn --ignore-scripts && yarn process-spectrum", |
94 | | - "update:spectrum-css:nonbreaking": "node ./scripts/update-spectrum-css.js || yarn update:spectrum-css:cleanup", |
95 | 89 | "verify-build-artifacts": "node ./scripts/verify-build-artifacts.js", |
96 | 90 | "vrt:preview": "yarn wds --config test/visual/wds-vrt.config.js", |
97 | 91 | "vrt:quick-link": "yarn netlify deploy --alias=vrt --dir=projects/vrt-quick-link" |
|
212 | 206 | }, |
213 | 207 | "build:css": { |
214 | 208 | "command": "node ./tasks/build-css.js", |
215 | | - "dependencies": [ |
216 | | - "process-spectrum" |
217 | | - ], |
218 | 209 | "files": [ |
219 | 210 | "packages/**/*.css", |
220 | 211 | "tools/**/*.css", |
221 | | - "tasks/build-css.js", |
222 | | - "tasks/css-tools.js" |
| 212 | + "tasks/build-css.js" |
223 | 213 | ], |
224 | 214 | "output": [ |
225 | 215 | "packages/**/*.css.ts", |
|
385 | 375 | "icons:workflow" |
386 | 376 | ] |
387 | 377 | }, |
388 | | - "process-spectrum": { |
389 | | - "command": "node ./scripts/spectrum-vars.js && node ./tasks/process-spectrum.js && node ./scripts/generate-tokens.js && yarn format:css", |
390 | | - "files": [ |
391 | | - "tasks/process-spectrum.js", |
392 | | - "packages/**/spectrum-config.js", |
393 | | - "tools/**/spectrum-config.js", |
394 | | - "node_modules/@spectrum-css/**/index-vars.css", |
395 | | - "scripts/generate-tokens.js", |
396 | | - "scripts/generate-tokens-wrapper.js", |
397 | | - "node_modules/@spectrum-css/**/*.css", |
398 | | - "scripts/spectrum-vars.js", |
399 | | - "tools/styles/package.json", |
400 | | - ".prettierrc.yaml", |
401 | | - ".stylelintrc.json" |
402 | | - ], |
403 | | - "output": [ |
404 | | - "packages/*/src/spectrum-*.css", |
405 | | - "tools/*/src/spectrum-*.css", |
406 | | - "tools/styles/*.css", |
407 | | - "tools/styles/express/*.css", |
408 | | - "!tools/styles/scale-*.css", |
409 | | - "!tools/styles/theme-*.css", |
410 | | - "!tools/styles/express/scale-*.css", |
411 | | - "!tools/styles/express/theme-*.css" |
412 | | - ], |
413 | | - "clean": false |
414 | | - }, |
415 | 378 | "storybook": { |
416 | 379 | "command": "storybook dev -p 8080 -c storybook", |
417 | 380 | "service": true, |
|
0 commit comments