Skip to content

Commit 8510f4b

Browse files
committed
Update MCP package references to use workspace protocol in package.json and lockfile; include MCP in publish/restore scripts
1 parent 3734eb5 commit 8510f4b

File tree

4 files changed

+11
-58
lines changed

4 files changed

+11
-58
lines changed

packages/mcp/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"LICENSE"
3030
],
3131
"dependencies": {
32-
"lean-spec": "^0.2.5"
32+
"lean-spec": "workspace:*"
3333
},
3434
"engines": {
3535
"node": ">=20"

pnpm-lock.yaml

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

scripts/prepare-publish.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ function resolveWorkspaceVersion(depName: string): string | null {
4343
const pkgMap: Record<string, string> = {
4444
'@leanspec/core': 'packages/core/package.json',
4545
'@leanspec/ui': 'packages/ui/package.json',
46+
'@leanspec/mcp': 'packages/mcp/package.json',
4647
'lean-spec': 'packages/cli/package.json',
4748
};
4849

@@ -117,6 +118,7 @@ function main() {
117118
const packages = [
118119
'packages/core/package.json',
119120
'packages/cli/package.json',
121+
'packages/mcp/package.json',
120122
'packages/ui/package.json',
121123
];
122124

scripts/restore-packages.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ function main() {
4040
const packages = [
4141
'packages/core/package.json',
4242
'packages/cli/package.json',
43+
'packages/mcp/package.json',
4344
'packages/ui/package.json',
4445
];
4546

0 commit comments

Comments
 (0)