Merge pull request #27 from modelcontextprotocol/justin/npm
Switch to npm
This commit is contained in:
commit
f0ac5afc50
5 changed files with 6161 additions and 3536 deletions
2
.gitattributes
vendored
2
.gitattributes
vendored
|
|
@ -1 +1 @@
|
|||
dist/**/* linguist-generated=true
|
||||
package-lock.json linguist-generated=true
|
||||
|
|
|
|||
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