build: use yarn v4 (#125)
This commit is contained in:
parent
9ac5d8806c
commit
e9aa4d0029
7 changed files with 7350 additions and 4343 deletions
2
.github/workflows/test.yml
vendored
2
.github/workflows/test.yml
vendored
|
|
@ -34,7 +34,7 @@ jobs:
|
|||
node-version: "${{ matrix.node-version }}"
|
||||
cache: "yarn"
|
||||
- name: Install dependencies
|
||||
run: yarn install --frozen-lockfile
|
||||
run: yarn install --immutable
|
||||
- name: Build
|
||||
run: yarn build
|
||||
- name: Test
|
||||
|
|
|
|||
4
.gitignore
vendored
4
.gitignore
vendored
|
|
@ -105,4 +105,6 @@ self-signed-cert.pem
|
|||
self-signed-key.pem
|
||||
*.mcpb
|
||||
invalid-json.json
|
||||
**/server/lib/**
|
||||
**/server/lib/**
|
||||
|
||||
.yarn/install-state.gz
|
||||
942
.yarn/releases/yarn-4.10.3.cjs
vendored
Executable file
942
.yarn/releases/yarn-4.10.3.cjs
vendored
Executable file
File diff suppressed because one or more lines are too long
3
.yarnrc.yml
Normal file
3
.yarnrc.yml
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
nodeLinker: node-modules
|
||||
|
||||
yarnPath: .yarn/releases/yarn-4.10.3.cjs
|
||||
|
|
@ -141,13 +141,13 @@ git clone https://github.com/anthropics/mcpb.git
|
|||
cd mcpb
|
||||
|
||||
# Install dependencies
|
||||
npm install
|
||||
yarn
|
||||
|
||||
# Build the project
|
||||
npm run build
|
||||
yarn build
|
||||
|
||||
# Run tests
|
||||
npm test
|
||||
yarn test
|
||||
```
|
||||
|
||||
## Release Process
|
||||
|
|
|
|||
|
|
@ -28,9 +28,7 @@
|
|||
"require": "./dist/cli.js"
|
||||
}
|
||||
},
|
||||
"bin": {
|
||||
"mcpb": "dist/cli/cli.js"
|
||||
},
|
||||
"bin": "dist/cli/cli.js",
|
||||
"files": [
|
||||
"dist"
|
||||
],
|
||||
|
|
@ -79,5 +77,5 @@
|
|||
"@babel/helpers": "7.27.1",
|
||||
"@babel/parser": "7.27.3"
|
||||
},
|
||||
"packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
|
||||
}
|
||||
"packageManager": "yarn@4.10.3+sha512.c38cafb5c7bb273f3926d04e55e1d8c9dfa7d9c3ea1f36a4868fa028b9e5f72298f0b7f401ad5eb921749eb012eb1c3bb74bf7503df3ee43fd600d14a018266f"
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue