Merge pull request #27 from modelcontextprotocol/justin/npm

Switch to npm
This commit is contained in:
Justin Spahr-Summers 2024-10-28 10:29:23 +00:00 • committed by GitHub
commit f0ac5afc50
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 6161 additions and 3536 deletions

2
.gitattributes vendored
View file

@ -1 +1 @@
dist/**/* linguist-generated=true
package-lock.json linguist-generated=true

View file

@ -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

File diff suppressed because it is too large Load diff

View file

@ -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"
},

3528
yarn.lock

File diff suppressed because it is too large Load diff