Skip to content

Commit

Permalink
update starfall-cli as dev dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
cenfun committed Jun 20, 2024
1 parent f427424 commit 9915d0e
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 10 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/static.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,7 @@ jobs:
with:
node-version: 18.x
cache: ''
- run: npm i starfall-cli -g
- run: npm i
- run: npm install
- run: npx playwright install --with-deps
- run: npm run build
- run: npm run test
Expand All @@ -58,8 +57,7 @@ jobs:
with:
node-version: 20.x
cache: ''
- run: npm i starfall-cli -g
- run: npm i
- run: npm install
- run: npx playwright install --with-deps
- run: npm run build
- run: npm run test
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1062,8 +1062,8 @@ const coverageOptions = {
- Node.js 20+
- VSCode (extensions: eslint/stylelint/vue)
```sh
npm install starfall-cli -g
npm install
npx playwright install --with-deps
npm run build
npm run test
Expand Down
2 changes: 1 addition & 1 deletion README.zh-Hans.md
Original file line number Diff line number Diff line change
Expand Up @@ -1066,8 +1066,8 @@ const coverageOptions = {
- Node.js 20+
- VSCode (extensions: eslint/stylelint/vue)
```sh
npm install starfall-cli -g
npm install
npx playwright install --with-deps
npm run build
npm run test
Expand Down
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"types": "./lib/index.d.ts",
"scripts": {
"build-test": "node ./test/build/build-test.js",
"build": "sf lint && sf b -p && npm run build-test",
"build": "npx sf lint && npx sf b -p && npm run build-test",
"test-unit": "mocha --parallel test/unit/*.test.js",
"test-node-env": "cross-env NODE_V8_COVERAGE=.temp/v8-coverage-env node ./test/test-node-env.js && node ./test/generate-report.js",
"test-node-api": "cross-env NODE_V8_COVERAGE=.temp/v8-coverage-api node ./test/test-node-api.js",
Expand Down Expand Up @@ -55,10 +55,10 @@
"test-all": "node ./test/test.js && node ./scripts/docs.js",
"test": "npm run test-unit && npx mcr npm run test-all -c test/mcr.config.mcr.js",
"test:snap": "cross-env TEST_SNAPSHOT=true npm run test",
"dev": "sf d app",
"dev": "npx sf d app",
"open": "node ./scripts/open.js",
"eol": "git rm -rf --cached . && git reset --hard HEAD",
"patch": "npm run build && npm run test && sf publish patch -r"
"patch": "npm run build && npm run test && npx sf publish patch -r"
},
"workspaces": [
"packages/*",
Expand Down Expand Up @@ -94,6 +94,7 @@
"eslint-plugin-vue": "^9.26.0",
"find-up": "^7.0.0",
"minimatch": "^9.0.4",
"starfall-cli": "^2.0.19",
"stylelint": "^16.6.1",
"stylelint-config-plus": "^1.1.2",
"supports-color": "^9.4.0",
Expand Down
2 changes: 1 addition & 1 deletion test/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"rollup": "^4.18.0",
"swc-loader": "^0.2.6",
"ts-loader": "^9.5.1",
"typescript": "^5.4.5",
"typescript": "^5.5.2",
"webpack": "^5.92.1"
}
}

0 comments on commit 9915d0e

Please sign in to comment.