init-xmcp 0.3.2-canary.2 → 0.3.2-canary.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
1
 
2
- > init-xmcp@0.3.2-canary.2 build /home/runner/work/xmcp/xmcp/packages/init-xmcp
2
+ > init-xmcp@0.3.2-canary.3 build /home/runner/work/xmcp/xmcp/packages/init-xmcp
3
3
  > tsc
4
4
 
@@ -31,12 +31,11 @@ export function detectPackageManager(projectPath) {
31
31
  */
32
32
  export async function install(projectPath, packageManager, version) {
33
33
  const dependencies = [`xmcp@${version}`, "zod@^3.25.76"]; // pin zod to specific version to avoid compilation errors
34
- const devDependencies = ["swc-loader"];
35
34
  const commands = {
36
- npm: `npm install ${dependencies.join(" ")} && npm install --save-dev ${devDependencies.join(" ")}`,
37
- pnpm: `pnpm add ${dependencies.join(" ")} && pnpm add --save-dev ${devDependencies.join(" ")}`,
38
- yarn: `yarn add ${dependencies.join(" ")} && yarn add --dev ${devDependencies.join(" ")}`,
39
- bun: `bun add ${dependencies.join(" ")} && bun add --dev ${devDependencies.join(" ")}`,
35
+ npm: `npm install ${dependencies.join(" ")}`,
36
+ pnpm: `pnpm add ${dependencies.join(" ")}`,
37
+ yarn: `yarn add ${dependencies.join(" ")}`,
38
+ bun: `bun add ${dependencies.join(" ")}`,
40
39
  };
41
40
  try {
42
41
  console.log(chalk.blue(`\nInstalling dependencies using ${packageManager}...`));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "init-xmcp",
3
- "version": "0.3.2-canary.2",
3
+ "version": "0.3.2-canary.3",
4
4
  "author": {
5
5
  "name": "Basement Studio",
6
6
  "email": "hello@basement.studio",
@@ -42,19 +42,19 @@
42
42
  "start": "node index.js"
43
43
  },
44
44
  "dependencies": {
45
- "chalk": "^5.3.0",
46
- "commander": "^11.1.0",
47
- "fs-extra": "^11.2.0",
48
- "inquirer": "^9.2.12",
49
- "ora": "^7.0.1"
50
- },
51
- "peerDependencies": {
52
- "typescript": "^5.0.0"
45
+ "chalk": "catalog:",
46
+ "commander": "catalog:",
47
+ "fs-extra": "catalog:",
48
+ "inquirer": "catalog:",
49
+ "ora": "catalog:"
53
50
  },
54
51
  "devDependencies": {
55
- "@types/fs-extra": "^11.0.4",
56
- "@types/inquirer": "^9.0.7",
57
- "@types/node": "^20.17.47",
58
- "typescript": "^5.3.3"
52
+ "@types/fs-extra": "catalog:",
53
+ "@types/inquirer": "catalog:",
54
+ "@types/node": "catalog:",
55
+ "typescript": "catalog:"
56
+ },
57
+ "peerDependencies": {
58
+ "typescript": "catalog:"
59
59
  }
60
60
  }
@@ -42,13 +42,12 @@ export async function install(
42
42
  version: string
43
43
  ) {
44
44
  const dependencies = [`xmcp@${version}`, "zod@^3.25.76"]; // pin zod to specific version to avoid compilation errors
45
- const devDependencies = ["swc-loader"];
46
45
 
47
46
  const commands = {
48
- npm: `npm install ${dependencies.join(" ")} && npm install --save-dev ${devDependencies.join(" ")}`,
49
- pnpm: `pnpm add ${dependencies.join(" ")} && pnpm add --save-dev ${devDependencies.join(" ")}`,
50
- yarn: `yarn add ${dependencies.join(" ")} && yarn add --dev ${devDependencies.join(" ")}`,
51
- bun: `bun add ${dependencies.join(" ")} && bun add --dev ${devDependencies.join(" ")}`,
47
+ npm: `npm install ${dependencies.join(" ")}`,
48
+ pnpm: `pnpm add ${dependencies.join(" ")}`,
49
+ yarn: `yarn add ${dependencies.join(" ")}`,
50
+ bun: `bun add ${dependencies.join(" ")}`,
52
51
  };
53
52
 
54
53
  try {