Switch to npm
This commit is contained in:
parent
00bcd2c4e6
commit
d479aabf71
4 changed files with 6160 additions and 3535 deletions
12
.github/workflows/main.yml
vendored
12
.github/workflows/main.yml
vendored
|
|
@ -14,13 +14,13 @@ jobs:
|
|||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 18
|
||||
cache: yarn
|
||||
cache: npm
|
||||
|
||||
- run: yarn install --immutable
|
||||
- run: yarn build
|
||||
- run: npm ci
|
||||
- run: npm run build
|
||||
|
||||
- name: Verify that `yarn build` did not change outputs
|
||||
- name: Verify that `npm run build` did not change outputs
|
||||
run: git diff --exit-code
|
||||
|
||||
- run: yarn test
|
||||
- run: yarn lint
|
||||
- run: npm test
|
||||
- run: npm run lint
|
||||
|
|
|
|||
6153
package-lock.json
generated
Normal file
6153
package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -23,7 +23,7 @@
|
|||
"prepack": "tsc",
|
||||
"lint": "eslint src/",
|
||||
"test": "jest",
|
||||
"start": "yarn server",
|
||||
"start": "npm run server",
|
||||
"server": "tsx watch --clear-screen=false src/cli.ts server",
|
||||
"client": "tsx src/cli.ts client"
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in a new issue