create-catalyst-app-internal 0.1.9 → 0.1.10

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/scripts/cli.cjs +6 -6
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "create-catalyst-app-internal",
3
3
  "bin": "scripts/cli.cjs",
4
- "version": "0.1.9",
4
+ "version": "0.1.10",
5
5
  "description": "cli package to scaffold Catalyst application",
6
6
  "dependencies": {
7
7
  "commander": "^8.2.0",
package/scripts/cli.cjs CHANGED
@@ -118,11 +118,6 @@ const program = new Commander.Command()
118
118
  })
119
119
  }
120
120
 
121
- if (mcpSupport) {
122
- const newMcpDir = path.join(process.cwd(), projectName, "node_modules/catalyst-core/mcp_v2")
123
- runMcpSetup(newMcpDir, path.join(process.cwd(), projectName))
124
- }
125
-
126
121
  execSync(
127
122
  `cd ${projectName} && git add . && git commit -m "initial commit from Create Catalyst App"`,
128
123
  {
@@ -144,6 +139,11 @@ const program = new Commander.Command()
144
139
 
145
140
  console.log("\nWe suggest you to begin, by running")
146
141
  console.log(` ${cyan("cd")} ${projectName} && ${cyan("npm start")} \n\n`)
142
+
143
+ if (mcpSupport) {
144
+ const newMcpDir = path.join(process.cwd(), projectName, "node_modules/catalyst-core/mcp_v2")
145
+ runMcpSetup(newMcpDir, path.join(process.cwd(), projectName))
146
+ }
147
147
  } catch (error) {
148
148
  console.error(`Error: ${error.message}`)
149
149
  process.exit(1)
@@ -217,7 +217,7 @@ const program = new Commander.Command()
217
217
  .allowUnknownOption()
218
218
 
219
219
  program
220
- .command("mcp-setup")
220
+ .command("catalyst-mcp")
221
221
  .description("Set up MCP server in an existing catalyst project")
222
222
  .action(() => {
223
223
  try {