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.
- package/.turbo/turbo-build.log +1 -1
- package/dist/helpers/install.js +4 -5
- package/package.json +13 -13
- package/src/helpers/install.ts +4 -5
package/.turbo/turbo-build.log
CHANGED
package/dist/helpers/install.js
CHANGED
|
@@ -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(" ")}
|
|
37
|
-
pnpm: `pnpm add ${dependencies.join(" ")}
|
|
38
|
-
yarn: `yarn add ${dependencies.join(" ")}
|
|
39
|
-
bun: `bun add ${dependencies.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.
|
|
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": "
|
|
46
|
-
"commander": "
|
|
47
|
-
"fs-extra": "
|
|
48
|
-
"inquirer": "
|
|
49
|
-
"ora": "
|
|
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": "
|
|
56
|
-
"@types/inquirer": "
|
|
57
|
-
"@types/node": "
|
|
58
|
-
"typescript": "
|
|
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
|
}
|
package/src/helpers/install.ts
CHANGED
|
@@ -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(" ")}
|
|
49
|
-
pnpm: `pnpm add ${dependencies.join(" ")}
|
|
50
|
-
yarn: `yarn add ${dependencies.join(" ")}
|
|
51
|
-
bun: `bun add ${dependencies.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 {
|