|
18 | 18 | "scripts": { |
19 | 19 | "analyze": "lit-analyzer \"{packages,tools}/*/src/**/!(*.css).ts\"", |
20 | 20 | "build": "wireit", |
21 | | - "prebuild": "wireit", |
22 | | - "build:clear-cache": "rimraf packages/*/tsconfig.tsbuildinfo && rimraf tools/*/tsconfig.tsbuildinfo", |
| 21 | + "build:clear-cache": "rimraf .wireit && rimraf packages/*/tsconfig.tsbuildinfo && rimraf tools/*/tsconfig.tsbuildinfo", |
23 | 22 | "build:confirm": "node ./scripts/confirm-build.js", |
24 | 23 | "build:css": "wireit", |
25 | 24 | "build:css:watch": "wireit", |
|
30 | 29 | "build:types": "wireit", |
31 | 30 | "build:watch": "wireit", |
32 | 31 | "changelog:global": "node ./scripts/update-global-changelog.js", |
33 | | - "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", |
34 | | - "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", |
35 | 32 | "chromatic": "chromatic --build-script-name storybook:build # note that --project-token must be set in your env variables", |
36 | 33 | "create-git-tag": "node --no-warnings ./scripts/create-git-tag.js", |
37 | 34 | "custom-element-json": "node ./scripts/custom-element-json.js", |
| 35 | + "dev:core": "yarn workspace @spectrum-web-components/core dev", |
38 | 36 | "docs:analyze": "cem analyze --globs \"packages/**/*.ts\" --exclude \"**/*.d.ts\" --exclude \"**/stories/**\" --exclude \"**/icons/**\" --exclude \"**/elements/**\" --outdir projects/documentation --litelement", |
39 | 37 | "docs:build": "yarn workspace documentation build", |
40 | 38 | "docs:ci": "yarn docs:analyze && run-p docs:production storybook:build && cp projects/documentation/custom-elements.json projects/documentation/dist/storybook", |
|
50 | 48 | "new-package": "yarn workspace swc-templates plop", |
51 | 49 | "postinstall": "husky || true", |
52 | 50 | "postpack": "pinst --enable", |
53 | | - "postpublish": "yarn prepublish:react && yarn publish:react && yarn postpublish:react", |
54 | | - "postpublish:react": "git reset --hard HEAD^ && git prune && rimraf react", |
| 51 | + "prebuild": "wireit", |
55 | 52 | "preeleventy": "yarn docs:analyze", |
56 | 53 | "prepack": "pinst --disable", |
57 | | - "prepublish:react": "yarn build:react && sed -i \"\" \"s/react/# react/g\" .gitignore && git commit -am \"Commit React Wrappers\" --no-verify", |
58 | | - "prepublishOnly": "rimraf react && yarn build && yarn custom-element-json && yarn build:confirm && yarn changelog:global", |
59 | 54 | "prestorybook": "wireit", |
60 | 55 | "prestorybook:build": "cem analyze --outdir storybook/", |
61 | 56 | "pretest:bench": "yarn build:tests && test -f test/benchmark/cli.js ||:", |
62 | 57 | "pretest:visual": "yarn build && yarn build", |
63 | 58 | "process-icons": "wireit", |
64 | | - "publish:react": "yarn changeset publish --no-git-tag --tag latest --no-push", |
65 | | - "push-to-remote": "git add . && git commit -m \"chore: release new versions #publish\" && git push", |
66 | | - "dev:core": "yarn workspace @spectrum-web-components/core dev", |
67 | 59 | "start": "run-p dev:core storybook", |
68 | 60 | "storybook": "wireit", |
69 | 61 | "storybook:build": "NODE_ENV=production storybook build -o projects/documentation/dist/storybook -c storybook", |
|
85 | 77 | "test:watch": "yarn test:watch:focus unit", |
86 | 78 | "test:watch:flags:focus": "yarn build && run-p build:watch \"test:start --watch --group {1} --config web-test-runner.config.ci-chromium-flags.js\" --", |
87 | 79 | "test:watch:focus": "yarn dev:core & yarn build && run-p build:watch \"test:start --watch --group {1}\" --", |
88 | | - "version:update": "genversion --verbose --semi --esm ./tools/base/src/version.js", |
89 | 80 | "vrt:preview": "yarn wds --config test/visual/wds-vrt.config.js" |
90 | 81 | }, |
91 | 82 | "workspaces": [ |
|
99 | 90 | "@changesets/changelog-github": "0.5.1", |
100 | 91 | "@changesets/cli": "2.29.7", |
101 | 92 | "@commitlint/cli": "19.8.1", |
102 | | - "@commitlint/config-conventional": "^19.8.1", |
| 93 | + "@commitlint/config-conventional": "19.8.1", |
103 | 94 | "@custom-elements-manifest/analyzer": "0.10.6", |
104 | 95 | "@geometricpanda/storybook-addon-badges": "2.0.5", |
105 | 96 | "@lit/react": "1.0.8", |
|
176 | 167 | "jsonc-eslint-parser": "2.4.1", |
177 | 168 | "latest-version": "9.0.0", |
178 | 169 | "lightningcss": "1.30.1", |
179 | | - "lint-staged": "^16.1.2", |
| 170 | + "lint-staged": "16.2.6", |
180 | 171 | "lit": "^2.5.0 || ^3.1.3", |
181 | 172 | "lit-analyzer": "2.0.3", |
182 | 173 | "lit-html": "^2.4.0 || ^3.1.3", |
|
190 | 181 | "prettier-plugin-package": "1.4.0", |
191 | 182 | "pretty-bytes": "7.1.0", |
192 | 183 | "re-template-tag": "2.0.1", |
193 | | - "replace-in-file": "^8.3.0", |
| 184 | + "replace-in-file": "8.3.0", |
194 | 185 | "rimraf": "6.0.1", |
195 | 186 | "rollup": "4.52.2", |
196 | 187 | "sinon": "17.0.2", |
|
216 | 207 | "lit-element", |
217 | 208 | "lit-html" |
218 | 209 | ], |
219 | | - "engines": { |
220 | | - "node": ">=20", |
221 | | - "yarn": ">=4.6.0" |
222 | | - }, |
223 | 210 | "wireit": { |
224 | 211 | "build": { |
225 | 212 | "dependencies": [ |
|
0 commit comments