@matthesketh/utopia-cli 0.7.1 → 0.7.2

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/dist/index.js +6 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -134,7 +134,9 @@ async function mcpServe() {
134
134
  const content = await server.ssrLoadModule("@matthesketh/utopia-content");
135
135
  const names = content.listCollections();
136
136
  if (names.length === 0) {
137
- process.stderr.write("No collections defined. Add defineCollection() calls to your config.\n");
137
+ process.stderr.write(
138
+ "No collections defined. Add defineCollection() calls to your config.\n"
139
+ );
138
140
  process.exit(1);
139
141
  }
140
142
  const contentMcp = await server.ssrLoadModule("@matthesketh/utopia-content/mcp");
@@ -220,7 +222,9 @@ function mcpInstall() {
220
222
  try {
221
223
  execSync("claude --version", { stdio: "ignore" });
222
224
  } catch {
223
- console.error("Claude Code CLI not found. Install it first: npm i -g @anthropic-ai/claude-code");
225
+ console.error(
226
+ "Claude Code CLI not found. Install it first: npm i -g @anthropic-ai/claude-code"
227
+ );
224
228
  process.exit(1);
225
229
  }
226
230
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@matthesketh/utopia-cli",
3
- "version": "0.7.1",
3
+ "version": "0.7.2",
4
4
  "description": "CLI for the UtopiaJS framework",
5
5
  "type": "module",
6
6
  "license": "MIT",