Skip to content

Commit c021fab

Browse files
chore: update scripts (#843)
* chore: update scripts * chore: remove script/generate-coverage.mjs * chore: upgrade @tdesign/site-components to 0.18.0-alpha.7 * chore: fix cr * chore: update common --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent 644e9d7 commit c021fab

File tree

3 files changed

+3
-137
lines changed

3 files changed

+3
-137
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
"test:snap-update": "cross-env NODE_ENV=test-snap vitest run -u",
4545
"test:update": "vitest run -u && npm run test:snap-update",
4646
"generate:coverage-badge": "npm run test:unit-coverage && node script/generate-coverage.mjs && prettier --write site/test-coverage.js",
47-
"update:css": "node script/generate-css-vars.mjs",
47+
"api:css": "node src/_common/scripts/generate-css-vars.mjs 'Mobile(React)'",
4848
"prebuild": "rimraf es/* lib/* dist/* esm/* cjs/*",
4949
"build": "cross-env NODE_ENV=production rollup -c script/rollup.config.js && npm run build:tsc",
5050
"build:tsc": "concurrently \"npm:build:tsc-*\"",
@@ -88,7 +88,7 @@
8888
"@rollup/plugin-node-resolve": "^13.0.4",
8989
"@rollup/plugin-replace": "^3.0.0",
9090
"@rollup/plugin-url": "^6.0.0",
91-
"@tdesign/site-components": "^0.18.0-alpha.6",
91+
"@tdesign/site-components": "^0.18.0-alpha.7",
9292
"@testing-library/dom": "^10.4.0",
9393
"@testing-library/jest-dom": "^6.6.3",
9494
"@testing-library/react": "^16.3.0",

script/generate-css-vars.mjs

Lines changed: 0 additions & 134 deletions
This file was deleted.

0 commit comments

Comments
 (0)