-
Notifications
You must be signed in to change notification settings - Fork 1.5k
[v2] Мonorepo, sdk-client, sdk-server, sdk-core package split
#1279
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
KKonstantinov
wants to merge
58
commits into
modelcontextprotocol:main
Choose a base branch
from
KKonstantinov:feature/v2-monorepo-setup
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+12,080
−4,815
Open
Changes from all commits
Commits
Show all changes
58 commits
Select commit
Hold shift + click to select a range
be2e264
proof of concept: v2 monorepo, package split
KKonstantinov cfa0615
barrel exports, imports
KKonstantinov 8922ada
add vitest config
KKonstantinov ebeacac
clean up
KKonstantinov d372e75
save commit
KKonstantinov 4db8d1b
eslint, vitest setup; successful shared/ tests pass
KKonstantinov 617f14e
save commit; successful tests; successful checks
KKonstantinov 0446560
Merge branch 'main' of github.com:modelcontextprotocol/typescript-sdk…
KKonstantinov a089abc
save commit
KKonstantinov 647e5f0
save commit
KKonstantinov 6c0818f
lint fix
KKonstantinov ea354fc
main.yml fix
KKonstantinov 951a234
main.yml fix
KKonstantinov a7e60b9
add packageManager in package.json
KKonstantinov 9d1e86c
typecheck fix, test main.yml fix
KKonstantinov 236e934
check:all fix
KKonstantinov f20be12
import fixes
KKonstantinov c9fcc39
test fix
KKonstantinov f939900
imports fix
KKonstantinov d9cd7fe
imports fix
KKonstantinov f057363
import sorting
KKonstantinov c3be975
clean up
KKonstantinov c3353c9
pr-pkg-new update
KKonstantinov f1c45f2
pkg-pr-new update
KKonstantinov 3e0657f
test imports, pnpm catalogs, package.json cleanup
KKonstantinov 9f519c5
introduce named catalogs, slim down dependencies to minimum required …
KKonstantinov 3c11e9f
add pnpm minimum version in engines
KKonstantinov c182b5d
add packageManager to package.json
KKonstantinov 3275de7
pkg-pr-new update
KKonstantinov 2020e7f
merge commit
KKonstantinov c21a566
ajv fix on nodenext
KKonstantinov d957fc0
Merge branch 'main' of github.com:modelcontextprotocol/typescript-sdk…
KKonstantinov 7e92ba4
clean up package.json files
KKonstantinov 7bd609c
add tsdown
KKonstantinov 15b27d0
update pnpm lock
KKonstantinov ea2fc03
eslint config
KKonstantinov 5662909
merge commit
KKonstantinov b5390d4
imports fix
KKonstantinov 228097e
Merge branch 'main' into feature/v2-monorepo-setup
KKonstantinov 76a86a5
remove deprecated tseslint.config
KKonstantinov 2dee387
Merge branch 'feature/v2-monorepo-setup' of github.com:KKonstantinov/…
KKonstantinov b532047
Merge branch 'main' of github.com:modelcontextprotocol/typescript-sdk…
KKonstantinov a942551
move examples out of packages, tsconfig clean up, tsdown config
KKonstantinov 2ff0cc5
fix test_1277
KKonstantinov 88573af
restructure test helpers, integration tests, clean up package.json
KKonstantinov 3ad9577
helpers package.json fix
KKonstantinov f01e323
prettier fix
KKonstantinov 9c9d10b
add changesets
KKonstantinov 7eb6fe3
add changeset
KKonstantinov 8bbd59f
changeset config
KKonstantinov 3f6e352
changesets config
KKonstantinov 60de202
test helpers
KKonstantinov 0067a00
bring back accidental in-memory.test.ts miss
KKonstantinov 46d289f
add building for examples, add node 20 in main.yml
KKonstantinov f5e0796
prettier fix
KKonstantinov 8c18f8d
pnpm lock
KKonstantinov d828014
bring back tsgo
KKonstantinov 3e80c82
update README docs
KKonstantinov File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| # Changesets | ||
|
|
||
| Hello and welcome! This folder has been automatically generated by `@changesets/cli`, a build tool that works with multi-package repos, or single-package repos to help you version and publish your code. You can find the full documentation for it | ||
| [in our repository](https://github.com/changesets/changesets) | ||
|
|
||
| We have a quick list of common questions to get you started engaging with this project in [our documentation](https://github.com/changesets/changesets/blob/main/docs/common-questions.md) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,15 @@ | ||
| { | ||
| "$schema": "https://unpkg.com/@changesets/[email protected]/schema.json", | ||
| "changelog": ["@changesets/changelog-github", { "repo": "@modelcontextprotocol/typescript-sdk" }], | ||
| "commit": false, | ||
| "fixed": [], | ||
| "linked": [], | ||
| "access": "public", | ||
| "baseBranch": "main", | ||
| "updateInternalDependencies": "patch", | ||
| "ignore": [ | ||
| "@modelcontextprotocol/sdk-examples-client", | ||
| "@modelcontextprotocol/sdk-examples-server", | ||
| "@modelcontextprotocol/sdk-examples-shared" | ||
| ] | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| --- | ||
| '@modelcontextprotocol/sdk-client': patch | ||
| '@modelcontextprotocol/sdk-server': patch | ||
| --- | ||
|
|
||
| Initial 2.0.0-alpha.0 client and server package |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,45 @@ | ||
| name: Release | ||
|
|
||
| permissions: | ||
| contents: write | ||
| pull-requests: write | ||
|
|
||
| on: | ||
| push: | ||
| branches: | ||
| - main | ||
|
|
||
| concurrency: ${{ github.workflow }}-${{ github.ref }} | ||
|
|
||
| jobs: | ||
| release: | ||
| name: Release | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@v6 | ||
|
|
||
| - name: Install pnpm | ||
| uses: pnpm/action-setup@v4 | ||
| with: | ||
| run_install: false | ||
|
|
||
| - name: Setup Node.js | ||
| uses: actions/setup-node@v6 | ||
| with: | ||
| node-version: 24 | ||
| cache: pnpm | ||
| cache-dependency-path: pnpm-lock.yaml | ||
| registry-url: 'https://registry.npmjs.org' | ||
|
|
||
| - name: Install dependencies | ||
| run: pnpm install | ||
|
|
||
| - name: Create Release Pull Request or Publish to npm | ||
| id: changesets | ||
| uses: changesets/action@v1 | ||
| with: | ||
| publish: pnpm run build:all && pnpm changeset publish | ||
| env: | ||
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
| NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
| NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.