@prenta/cli 1.5.0 β†’ 1.5.1

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
- > @prenta/cli@1.5.0 build /home/runner/work/prenta/prenta/packages/cli
2
+ > @prenta/cli@1.5.1 build /home/runner/work/prenta/prenta/packages/cli
3
3
  > tsc
4
4
 
@@ -1,39 +1,41 @@
1
1
 
2
- > @prenta/cli@1.5.0 test /home/runner/work/prenta/prenta/packages/cli
2
+ > @prenta/cli@1.5.1 test /home/runner/work/prenta/prenta/packages/cli
3
3
  > vitest run "--no-file-parallelism"
4
4
 
5
5
 
6
6
   RUN  v5.1.2 /home/runner/work/prenta/prenta/packages/cli
7
7
 
8
- βœ“ src/__tests__/db-restore.test.ts (34 tests) 5160ms
8
+ βœ“ src/__tests__/db-restore.test.ts (34 tests) 6999ms
9
9
  βœ“ prenta db:restore (34)
10
10
  βœ“ preconditions (exit 2) (8)
11
- βœ“ requires --target and never defaults to the env database 374ms
12
- βœ“ warns when --target carries a password on argv and recommends PGPASSWORD instead 317ms
13
- βœ“ OIDC mode (VERCEL_OIDC_TOKEN + BLOB_STORE_ID) lists and restores without passing a token 451ms
14
- βœ“ src/__tests__/db-backup.test.ts (27 tests) 2805ms
11
+ βœ“ requires --target and never defaults to the env database 510ms
12
+ βœ“ warns when --target carries a password on argv and recommends PGPASSWORD instead 369ms
13
+ βœ“ OIDC mode (VERCEL_OIDC_TOKEN + BLOB_STORE_ID) lists and restores without passing a token 613ms
14
+ βœ“ blob sources (7)
15
+ βœ“ "latest" selects the newest stamp under the prefix 331ms
16
+ βœ“ src/__tests__/db-backup.test.ts (27 tests) 3367ms
15
17
  βœ“ prenta db:backup (27)
16
18
  βœ“ preconditions (exit 2) (6)
17
- βœ“ refuses localhost / 127.0.0.1 unless --allow-local 409ms
18
- βœ“ src/__tests__/deployment-diagnostics.test.ts (23 tests) 252ms
19
- βœ“ src/__tests__/backup-blob-store.test.ts (18 tests) 763ms
20
- βœ“ src/__tests__/doctor-astro-split.test.ts (26 tests) 1710ms
19
+ βœ“ refuses localhost / 127.0.0.1 unless --allow-local 525ms
20
+ βœ“ src/__tests__/deployment-diagnostics.test.ts (23 tests) 319ms
21
+ βœ“ src/__tests__/backup-blob-store.test.ts (18 tests) 945ms
22
+ βœ“ src/__tests__/doctor-astro-split.test.ts (26 tests) 1975ms
21
23
  βœ“ the fake/ fixture: no app files (4)
22
- βœ“ skips the Next detectors instead of passing on files that do not exist 314ms
23
- βœ“ src/__tests__/backup-pg-tools.test.ts (26 tests) 156ms
24
- βœ“ src/__tests__/db-sync.test.ts (13 tests) 309ms
25
- βœ“ src/__tests__/chrome.test.ts (11 tests) 13141ms
26
- βœ“ src/__tests__/rate-limit-backend.test.ts (19 tests) 84ms
24
+ βœ“ skips the Next detectors instead of passing on files that do not exist 564ms
25
+ βœ“ src/__tests__/backup-pg-tools.test.ts (26 tests) 287ms
26
+ βœ“ src/__tests__/db-sync.test.ts (13 tests) 387ms
27
+ βœ“ src/__tests__/chrome.test.ts (11 tests) 15482ms
28
+ βœ“ src/__tests__/rate-limit-backend.test.ts (19 tests) 132ms
27
29
  ↓ src/__tests__/integration/backup-roundtrip.int.test.ts (1 test | 1 skipped)
28
- βœ“ src/__tests__/backup-manifest.test.ts (17 tests) 50ms
30
+ βœ“ src/__tests__/backup-manifest.test.ts (17 tests) 86ms
29
31
  - Resolving target versions…
30
32
  βœ” Target version: 9.0.0
31
- βœ“ src/__tests__/upgrade-workspaces.test.ts (12 tests) 1624ms
33
+ βœ“ src/__tests__/upgrade-workspaces.test.ts (12 tests) 1911ms
32
34
  βœ“ the prenta CLI (2)
33
- βœ“ passes `upgrade --version <ver>` to upgrade instead of printing the CLI version 1018ms
34
- βœ“ prints its own package version for `prenta --version` 540ms
35
- βœ“ src/__tests__/seed.test.ts (10 tests) 47ms
36
- βœ“ src/__tests__/backup-crypto.test.ts (13 tests) 102ms
35
+ βœ“ passes `upgrade --version <ver>` to upgrade instead of printing the CLI version 1142ms
36
+ βœ“ prints its own package version for `prenta --version` 621ms
37
+ βœ“ src/__tests__/seed.test.ts (10 tests) 71ms
38
+ βœ“ src/__tests__/backup-crypto.test.ts (13 tests) 184ms
37
39
  stdout | src/__tests__/mcp-init.test.ts > mcp:init > creates Claude Code, Cursor, and VS Code configs with placeholder key and git-ignores them
38
40
  βœ” Created .mcp.json
39
41
 
@@ -122,6 +124,9 @@ Next steps
122
124
  stdout | src/__tests__/mcp-init.test.ts > mcp:init > fails on invalid JSON without --force, overwrites with --force
123
125
  βœ” Created .mcp.json
124
126
 
127
+ stderr | src/__tests__/mcp-init.test.ts > mcp:init > fails on invalid JSON without --force, overwrites with --force
128
+ βœ– .cursor/mcp.json contains invalid JSON β€” fix it or re-run with --force.
129
+
125
130
  stdout | src/__tests__/mcp-init.test.ts > mcp:init > fails on invalid JSON without --force, overwrites with --force
126
131
  βœ” Created .vscode/mcp.json
127
132
 
@@ -134,9 +139,6 @@ Next steps
134
139
  3. Restart Claude Code / Cursor / VS Code so the MCP server is picked up
135
140
  Tip: pass --url https://your-site.com to target a deployed CMS instead.
136
141
 
137
- stderr | src/__tests__/mcp-init.test.ts > mcp:init > fails on invalid JSON without --force, overwrites with --force
138
- βœ– .cursor/mcp.json contains invalid JSON β€” fix it or re-run with --force.
139
-
140
142
  stdout | src/__tests__/mcp-init.test.ts > mcp:init > fails on invalid JSON without --force, overwrites with --force
141
143
  βœ” Updated .mcp.json
142
144
 
@@ -222,8 +224,8 @@ Next steps
222
224
  3. Restart Claude Code / Cursor / VS Code so the MCP server is picked up
223
225
  Tip: pass --url https://your-site.com to target a deployed CMS instead.
224
226
 
225
- βœ“ src/__tests__/mcp-init.test.ts (7 tests) 235ms
226
- βœ“ src/__tests__/backup-common.test.ts (14 tests) 49ms
227
+ βœ“ src/__tests__/mcp-init.test.ts (7 tests) 223ms
228
+ βœ“ src/__tests__/backup-common.test.ts (14 tests) 41ms
227
229
  - Reading canonical Prenta schema...
228
230
  stdout | src/__tests__/db-init.test.ts > db:init (WS-D D5 β€” canonical schema, no stale fragment) > command > injects canonical models with @@map and no duplicate datasource/generator
229
231
  βœ” Prisma client generated.
@@ -231,11 +233,11 @@ Next steps
231
233
 
232
234
  βœ” Prenta CMS models added to schema.
233
235
  - Running prisma generate...
234
- - Reading canonical Prenta schema...
235
- βœ– Could not locate @prenta/core.
236
236
  stdout | src/__tests__/db-init.test.ts > db:init (WS-D D5 β€” canonical schema, no stale fragment) > command > fails clearly when cms-core cannot be located
237
237
  β„Ή Install it first: `npm install @prenta/core`.
238
238
 
239
+ - Reading canonical Prenta schema...
240
+ βœ– Could not locate @prenta/core.
239
241
  - Reading canonical Prenta schema...
240
242
  βœ” Prenta CMS models added to schema.
241
243
  - Running prisma generate...
@@ -245,19 +247,19 @@ Next steps
245
247
 
246
248
  - Reading canonical Prenta schema...
247
249
  β„Ή Prenta CMS models already present in schema. Use --force to overwrite.
248
- βœ“ src/__tests__/db-init.test.ts (4 tests) 36ms
249
- βœ“ src/__tests__/seed-sanitize.test.ts (9 tests) 39ms
250
- βœ“ src/__tests__/prisma-client-path.test.ts (8 tests) 27ms
251
- βœ“ src/__tests__/form-seed.test.ts (10 tests) 20ms
250
+ βœ“ src/__tests__/db-init.test.ts (4 tests) 157ms
251
+ βœ“ src/__tests__/seed-sanitize.test.ts (9 tests) 43ms
252
+ βœ“ src/__tests__/prisma-client-path.test.ts (8 tests) 30ms
253
+ βœ“ src/__tests__/form-seed.test.ts (10 tests) 33ms
252
254
  βœ“ src/__tests__/pg-ssl-mode.test.ts (8 tests) 14ms
253
- βœ“ src/__tests__/import-typescript.test.ts (9 tests) 157ms
254
- βœ“ src/__tests__/vercel-cron-plan.test.ts (15 tests) 27ms
255
- βœ“ src/__tests__/vercel-env-matrix.test.ts (6 tests) 21ms
256
- βœ“ src/__tests__/upgrade.test.ts (3 tests) 16ms
257
- βœ“ src/__tests__/repo-root.test.ts (4 tests) 49ms
258
- βœ“ src/__tests__/load-dotenv.test.ts (3 tests) 20ms
259
- βœ“ src/__tests__/doctor-env-shape-fallback.test.ts (1 test) 39ms
260
- βœ“ src/__tests__/import-typescript-hooks.test.ts (2 tests) 26ms
255
+ βœ“ src/__tests__/import-typescript.test.ts (9 tests) 91ms
256
+ βœ“ src/__tests__/vercel-cron-plan.test.ts (15 tests) 28ms
257
+ βœ“ src/__tests__/vercel-env-matrix.test.ts (6 tests) 19ms
258
+ βœ“ src/__tests__/upgrade.test.ts (3 tests) 23ms
259
+ βœ“ src/__tests__/repo-root.test.ts (4 tests) 30ms
260
+ βœ“ src/__tests__/load-dotenv.test.ts (3 tests) 50ms
261
+ βœ“ src/__tests__/doctor-env-shape-fallback.test.ts (1 test) 70ms
262
+ βœ“ src/__tests__/import-typescript-hooks.test.ts (2 tests) 38ms
261
263
  - Reading canonical Prenta schema...
262
264
  βœ” Prenta CMS models added to schema.
263
265
  - Running prisma generate...
@@ -265,16 +267,16 @@ Next steps
265
267
  βœ” Prisma client generated.
266
268
  β„Ή Run `npx prisma migrate dev --name prenta-cms` to create the migration.
267
269
 
268
- βœ“ src/__tests__/schema-fragment.test.ts (1 test) 44ms
269
- βœ“ src/__tests__/db-sync-resolver.test.ts (4 tests) 16ms
270
- βœ“ src/__tests__/pg-ssl-mode-in-step.test.ts (2 tests) 21ms
271
- βœ“ src/__tests__/init.test.ts (2 tests) 23ms
270
+ βœ“ src/__tests__/schema-fragment.test.ts (1 test) 52ms
271
+ βœ“ src/__tests__/db-sync-resolver.test.ts (4 tests) 12ms
272
+ βœ“ src/__tests__/pg-ssl-mode-in-step.test.ts (2 tests) 17ms
273
+ βœ“ src/__tests__/init.test.ts (2 tests) 18ms
272
274
 
273
275
   Test Files  32 passed | 1 skipped (33)
274
276
   Tests  361 passed | 1 skipped (362)
275
-  Start at  16:31:28
276
-  Duration  60.68s (tests 66%, transform 16%, import 16%, worker 2%)
277
+  Start at  16:53:46
278
+  Duration  73.69s (tests 66%, transform 16%, import 16%, worker 2%)
277
279
 
278
-  Isolate  33 workers spawned Β· ~555ms startup each (spawn + environment, per file)
279
-   at least ~17.76s faster with isolate: false β€” reuses workers across files instead of one per file
280
+  Isolate  33 workers spawned Β· ~663ms startup each (spawn + environment, per file)
281
+   at least ~21.22s faster with isolate: false β€” reuses workers across files instead of one per file
280
282
 
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @actuate-media/cli
2
2
 
3
+ ## 1.5.1
4
+
5
+ ### Patch Changes
6
+
7
+ - 9538dec: The published package now includes its LICENSE file. The licence itself is unchanged (MIT); until now the text was only in the repository and never reached npm.
8
+
3
9
  ## 1.5.0
4
10
 
5
11
  ### Minor Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prenta/cli",
3
- "version": "1.5.0",
3
+ "version": "1.5.1",
4
4
  "license": "MIT",
5
5
  "description": "CLI for Prenta CMS β€” migrations, codegen, imports, exports, and upgrades",
6
6
  "repository": {
@@ -36,7 +36,7 @@
36
36
  "@vercel/blob": "^2.3.1",
37
37
  "typescript": "^5.7.0",
38
38
  "vitest": "^5.1.2",
39
- "@prenta/core": "8.25.0"
39
+ "@prenta/core": "8.26.0"
40
40
  },
41
41
  "scripts": {
42
42
  "build": "tsc",