create-gridland 0.2.56 → 0.2.58

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/dist/index.js CHANGED
@@ -334,7 +334,7 @@ program.command("add [components...]").description("Add Gridland components to t
334
334
  cwd: opts.cwd ?? process.cwd(),
335
335
  stdio: "inherit"
336
336
  });
337
- if (result.error || result.status != null && result.status !== 0) {
337
+ if (result.error || result.signal != null || result.status != null && result.status !== 0) {
338
338
  console.error(import_picocolors.default.red("Failed to add components."));
339
339
  process.exit(result.status ?? 1);
340
340
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-gridland",
3
- "version": "0.2.56",
3
+ "version": "0.2.58",
4
4
  "description": "Create a new Gridland project",
5
5
  "type": "module",
6
6
  "bin": {
@@ -12,6 +12,7 @@
12
12
  ],
13
13
  "scripts": {
14
14
  "build": "tsup",
15
+ "pretest": "tsup",
15
16
  "test": "bun test src/scaffold.test.ts src/helpers.test.ts src/cli.test.ts",
16
17
  "test:e2e": "bun test src/e2e.test.ts --timeout 120000",
17
18
  "prepublishOnly": "bun ../../scripts/check-versions.mjs"
@@ -7,9 +7,9 @@
7
7
  "start": "next start"
8
8
  },
9
9
  "dependencies": {
10
- "@gridland/utils": "^0.2.53",
11
- "@gridland/demo": "^0.2.53",
12
- "@gridland/web": "^0.2.53",
10
+ "@gridland/utils": "^0.2.58",
11
+ "@gridland/demo": "^0.2.58",
12
+ "@gridland/web": "^0.2.58",
13
13
  "next": "^15.0.0",
14
14
  "react": "^19.0.0",
15
15
  "react-dom": "^19.0.0"
@@ -8,9 +8,9 @@
8
8
  "preview": "vite preview"
9
9
  },
10
10
  "dependencies": {
11
- "@gridland/utils": "^0.2.53",
12
- "@gridland/demo": "^0.2.53",
13
- "@gridland/web": "^0.2.53",
11
+ "@gridland/utils": "^0.2.58",
12
+ "@gridland/demo": "^0.2.58",
13
+ "@gridland/web": "^0.2.58",
14
14
  "react": "^19.0.0",
15
15
  "react-dom": "^19.0.0"
16
16
  },