Skip to content

Commit 6fdb290

Browse files
Merge pull request #47 from modelcontextprotocol/justin/pull-from-npm
Pull SDK from npm
2 parents 94e4e92 + b9d6695 commit 6fdb290

File tree

3 files changed

+8
-36
lines changed

3 files changed

+8
-36
lines changed

.github/workflows/main.yml

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -17,20 +17,6 @@ jobs:
1717
node-version: 18
1818
cache: npm
1919

20-
- uses: actions/checkout@v4
21-
with:
22-
repository: modelcontextprotocol/typescript-sdk
23-
ssh-key: ${{ secrets.TYPESCRIPT_SDK_KEY }}
24-
path: packages/@modelcontextprotocol/sdk
25-
26-
- run: npm ci
27-
working-directory: packages/@modelcontextprotocol/sdk
28-
29-
- run: npm pack
30-
working-directory: packages/@modelcontextprotocol/sdk
31-
32-
- run: npm install --save packages/@modelcontextprotocol/sdk/modelcontextprotocol-sdk-*.tgz
33-
3420
# Working around https://github.com/npm/cli/issues/4828
3521
# - run: npm ci
3622
- run: npm install --no-package-lock

.npmrc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
registry = "https://registry.npmjs.org/"
1+
registry="https://registry.npmjs.org/"
2+
@modelcontextprotocol:registry="https://registry.npmjs.org/"

package-lock.json

Lines changed: 6 additions & 21 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)