|
12 | 12 | "analyze": "lit-analyzer \"{packages,tools}/*/src/**/!(*.css).ts\"",
|
13 | 13 | "build": "wireit",
|
14 | 14 | "build:clear-cache": "rimraf packages/*/tsconfig.tsbuildinfo && rimraf tools/*/tsconfig.tsbuildinfo",
|
15 |
| - "build:component-inventory": "node ./tasks/build-component-inventory.js", |
16 |
| - "build:confirm": "node ./tasks/confirm-build.js", |
17 | 15 | "build:css": "wireit",
|
18 | 16 | "build:css:watch": "wireit",
|
19 |
| - "build:react": "yarn gen-react-wrapper && node ./tasks/build-react.js && yarn tsc --build tsconfig-react-wrapper.json", |
| 17 | + "build:react": "rimraf react && node ./scripts/build-react.js && tsc --build tsconfig-react-wrapper.json", |
20 | 18 | "build:tests": "tsc --build test/tsconfig.json && tsc --build test/tsconfig-node.json",
|
21 | 19 | "build:ts": "wireit",
|
22 | 20 | "build:ts:watch": "wireit",
|
|
25 | 23 | "changeset-publish": "yarn prepublishOnly && yarn changeset version && yarn constraints --fix && yarn install --refresh-lockfile && yarn version:update && yarn changeset publish --no-git-tag && yarn push-to-remote && yarn create-git-tag && yarn postpublish",
|
26 | 24 | "changeset-snapshot-publish": "yarn prepublishOnly && yarn changeset version --snapshot snapshot && yarn constraints --fix && yarn install --refresh-lockfile && yarn version:update && yarn changeset publish --no-git-tag --tag snapshot",
|
27 | 25 | "chromatic": "chromatic --build-script-name storybook:build # note that --project-token must be set in your env variables",
|
28 |
| - "create-git-tag": "node --no-warnings tasks/create-git-tag.js", |
29 |
| - "custom-element-json": "node tasks/custom-element-json.js", |
| 26 | + "custom-element-json": "node ./scripts/custom-element-json.js", |
30 | 27 | "docs:analyze": "cem analyze --globs \"packages/**/*.ts\" --exclude \"**/*.d.ts\" --exclude \"**/stories/**\" --exclude \"**/icons/**\" --exclude \"**/elements/**\" --outdir projects/documentation --litelement",
|
31 | 28 | "docs:build": "yarn workspace documentation build",
|
32 | 29 | "docs:ci": "yarn docs:analyze && run-p docs:production storybook:build && cp projects/documentation/custom-elements.json projects/documentation/dist/storybook",
|
|
35 | 32 | "docs:review": "alex packages/**/*.md",
|
36 | 33 | "docs:start": "yarn workspace documentation serve --watch",
|
37 | 34 | "find": "test -f custom-elements.json",
|
38 |
| - "gen-react-wrapper": "node ./tasks/gen-react-wrapper.js", |
39 | 35 | "icons": "wireit",
|
40 | 36 | "icons:ui": "wireit",
|
41 | 37 | "icons:workflow": "wireit",
|
42 | 38 | "lint": "git status --porcelain && git add . && lint-staged --allow-empty",
|
43 | 39 | "new-package": "cd projects/templates && plop",
|
44 |
| - "postcustom-element-json": "node ./tasks/run-check-cem.js", |
45 | 40 | "postinstall": "husky || true && patch-package",
|
46 | 41 | "postpack": "pinst --enable",
|
47 | 42 | "postpublish": "yarn prepublish:react && yarn publish:react && yarn postpublish:react",
|
48 | 43 | "postpublish:react": "git reset --hard HEAD^ && git prune && rimraf react",
|
49 |
| - "precustom-element-json": "node tasks/remove-custom-elements-json.js", |
50 | 44 | "preeleventy": "yarn docs:analyze",
|
51 | 45 | "prepack": "pinst --disable",
|
52 | 46 | "prepublish:react": "yarn build:react && sed -i \"\" \"s/react/# react/g\" .gitignore && git commit -am \"Commit React Wrappers\" --no-verify",
|
|
65 | 59 | "storybook:run": "web-dev-server --config wds-storybook.config.js",
|
66 | 60 | "test": "yarn test:focus unit",
|
67 | 61 | "test:bench": "yarn build:tests && node test/benchmark/cli.js",
|
68 |
| - "test:changed": "node ./tasks/test-changes.js", |
| 62 | + "test:changed": "node ./scripts/test-changes.js", |
69 | 63 | "test:ci": "yarn test:start",
|
70 | 64 | "test:create": "wireit",
|
71 | 65 | "test:errors": "yarn test | grep -A 32 ❌",
|
|
99 | 93 | "@rollup/plugin-commonjs": "^25.0.7",
|
100 | 94 | "@rollup/plugin-json": "^6.0.1",
|
101 | 95 | "@rollup/plugin-node-resolve": "^15.2.3",
|
102 |
| - "@sindresorhus/slugify": "^2.1.1", |
| 96 | + "@sindresorhus/slugify": "^2.2.1", |
103 | 97 | "@spectrum-web-components/eslint-plugin": "file:./linters/eslint",
|
104 | 98 | "@storybook/addon-a11y": "^8.6.12",
|
105 | 99 | "@storybook/addon-designs": "^8.2.1",
|
|
140 | 134 | "chromedriver": "^136.0.0",
|
141 | 135 | "colors": "^1.4.0",
|
142 | 136 | "common-tags": "^1.8.2",
|
| 137 | + "crypto": "^1.0.1", |
143 | 138 | "custom-elements-manifest": "^2.0.0",
|
144 | 139 | "debounce": "^2.0.0",
|
145 | 140 | "deepmerge": "^4.2.2",
|
|
154 | 149 | "eslint-plugin-require-extensions": "^0.1.3",
|
155 | 150 | "eslint-plugin-storybook": "^0.8.0",
|
156 | 151 | "express": "^4.16.4",
|
157 |
| - "fast-glob": "^3.2.12", |
| 152 | + "fast-glob": "^3.3.3", |
158 | 153 | "fs-extra": "^11.1.1",
|
159 | 154 | "geckodriver": "^4.3.0",
|
160 | 155 | "genversion": "^3.1.1",
|
|
176 | 171 | "pinst": "^3.0.0",
|
177 | 172 | "prettier": "^3.5.3",
|
178 | 173 | "prettier-plugin-package": "^1.3.0",
|
179 |
| - "pretty-bytes": "^6.1.1", |
| 174 | + "pretty-bytes": "^7.0.0", |
180 | 175 | "re-template-tag": "^2.0.1",
|
181 |
| - "rimraf": "^5.0.1", |
| 176 | + "rimraf": "^6.0.1", |
182 | 177 | "rollup": "^4.12.0",
|
183 | 178 | "sinon": "^17.0.1",
|
184 | 179 | "storybook": "^8.6.12",
|
|
195 | 190 | },
|
196 | 191 | "wireit": {
|
197 | 192 | "build:css:watch": {
|
198 |
| - "command": "node ./tasks/watch-css.js", |
| 193 | + "command": "node ./scripts/watch-css.js", |
199 | 194 | "service": true
|
200 | 195 | },
|
201 | 196 | "build:css": {
|
202 |
| - "command": "node ./tasks/build-css.js", |
| 197 | + "command": "node ./scripts/build-css.js", |
203 | 198 | "files": [
|
204 | 199 | "packages/**/*.css",
|
205 | 200 | "tools/**/*.css",
|
206 |
| - "tasks/build-css.js", |
207 |
| - "tasks/css-tools.js" |
| 201 | + "scripts/build-css.js", |
| 202 | + "scripts/css-tools.js" |
208 | 203 | ],
|
209 | 204 | "output": [
|
210 | 205 | "packages/**/*.css.ts",
|
|
213 | 208 | "clean": "if-file-deleted"
|
214 | 209 | },
|
215 | 210 | "build:ts:watch": {
|
216 |
| - "command": "node ./tasks/watch-packages.js", |
| 211 | + "command": "node ./scripts/watch-ts.js", |
217 | 212 | "service": true
|
218 | 213 | },
|
219 | 214 | "build:ts": {
|
220 |
| - "command": "node ./tasks/esbuild-packages.js", |
| 215 | + "command": "node ./scripts/build-ts.js", |
221 | 216 | "dependencies": [
|
222 | 217 | "process-icons",
|
223 | 218 | "test:create",
|
|
235 | 230 | "!projects/templates/**/*",
|
236 | 231 | "tools/**/*.ts",
|
237 | 232 | "!tools/**/*.d.ts",
|
238 |
| - "tasks/esbuild-packages.js", |
239 |
| - "tasks/ts-tools.js", |
| 233 | + "scripts/build-ts.js", |
240 | 234 | "packages/**/exports.json",
|
241 | 235 | "tools/**/exports.json"
|
242 | 236 | ],
|
|
0 commit comments