@prenta/cli 0.18.1 → 1.0.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@0.18.1 build /home/runner/work/prenta/prenta/packages/cli
2
+ > @prenta/cli@1.0.1 build /home/runner/work/prenta/prenta/packages/cli
3
3
  > tsc
4
4
 
@@ -1,22 +1,21 @@
1
1
 
2
- > @prenta/cli@0.18.1 test /home/runner/work/prenta/prenta/packages/cli
2
+ > @prenta/cli@1.0.1 test /home/runner/work/prenta/prenta/packages/cli
3
3
  > vitest run "--no-file-parallelism"
4
4
 
5
5
 
6
6
   RUN  v4.1.8 /home/runner/work/prenta/prenta/packages/cli
7
7
 
8
- ✓ src/__tests__/db-restore.test.ts (34 tests) 3454ms
9
- ✓ OIDC mode (VERCEL_OIDC_TOKEN + BLOB_STORE_ID) lists and restores without passing a token  327ms
10
- ✓ src/__tests__/db-backup.test.ts (27 tests) 1973ms
11
- ✓ src/__tests__/deployment-diagnostics.test.ts (23 tests) 181ms
12
- ✓ src/__tests__/backup-blob-store.test.ts (18 tests) 503ms
13
- ✓ src/__tests__/backup-pg-tools.test.ts (26 tests) 256ms
14
- ✓ src/__tests__/db-sync.test.ts (13 tests) 607ms
8
+ ✓ src/__tests__/db-restore.test.ts (34 tests) 3161ms
9
+ ✓ src/__tests__/db-backup.test.ts (27 tests) 1691ms
10
+ ✓ src/__tests__/deployment-diagnostics.test.ts (23 tests) 170ms
11
+ ✓ src/__tests__/backup-blob-store.test.ts (18 tests) 432ms
12
+ ✓ src/__tests__/backup-pg-tools.test.ts (26 tests) 231ms
13
+ ✓ src/__tests__/db-sync.test.ts (13 tests) 577ms
15
14
  ↓ src/__tests__/integration/backup-roundtrip.int.test.ts (1 test | 1 skipped)
16
- ✓ src/__tests__/backup-manifest.test.ts (17 tests) 153ms
17
- ✓ src/__tests__/backup-crypto.test.ts (13 tests) 752ms
18
- ✓ src/__tests__/seed.test.ts (10 tests) 149ms
19
- ✓ src/__tests__/backup-common.test.ts (14 tests) 45ms
15
+ ✓ src/__tests__/backup-manifest.test.ts (17 tests) 195ms
16
+ ✓ src/__tests__/backup-crypto.test.ts (13 tests) 429ms
17
+ ✓ src/__tests__/seed.test.ts (10 tests) 105ms
18
+ ✓ src/__tests__/backup-common.test.ts (14 tests) 54ms
20
19
  - Reading canonical Prenta schema...
21
20
  ✔ Prenta CMS models added to schema.
22
21
  - Running prisma generate...
@@ -25,20 +24,20 @@
25
24
  ℹ Run `npx prisma migrate dev --name prenta-cms` to create the migration.
26
25
 
27
26
  - Reading canonical Prenta schema...
28
- ✖ Could not locate @prenta/core.
29
27
  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
30
28
  ℹ Install it first: `npm install @prenta/core`.
31
29
 
30
+ ✖ Could not locate @prenta/core.
32
31
  - Reading canonical Prenta schema...
33
32
  ✔ Prenta CMS models added to schema.
34
- - Running prisma generate...
35
33
  stdout | src/__tests__/db-init.test.ts > db:init (WS-D D5 — canonical schema, no stale fragment) > command > is idempotent without --force
36
34
  ✔ Prisma client generated.
37
35
  ℹ Run `npx prisma migrate dev --name prenta-cms` to create the migration.
36
+ - Running prisma generate...
38
37
 
39
38
  - Reading canonical Prenta schema...
40
39
  ℹ Prenta CMS models already present in schema. Use --force to overwrite.
41
- ✓ src/__tests__/db-init.test.ts (4 tests) 214ms
40
+ ✓ src/__tests__/db-init.test.ts (4 tests) 227ms
42
41
  stdout | src/__tests__/mcp-init.test.ts > mcp:init > creates both editor configs with placeholder key and git-ignores them
43
42
  ✔ Created .cursor/mcp.json
44
43
 
@@ -167,27 +166,27 @@ Next steps
167
166
  3. Restart Cursor / VS Code so the MCP server is picked up
168
167
  Tip: pass --url https://your-site.com to target a deployed CMS instead.
169
168
 
170
- ✓ src/__tests__/mcp-init.test.ts (6 tests) 260ms
171
- ✓ src/__tests__/prisma-client-path.test.ts (8 tests) 44ms
172
- ✓ src/__tests__/form-seed.test.ts (10 tests) 43ms
173
- ✓ src/__tests__/vercel-env-matrix.test.ts (6 tests) 24ms
174
- ✓ src/__tests__/upgrade.test.ts (3 tests) 44ms
175
- ✓ src/__tests__/repo-root.test.ts (4 tests) 76ms
176
- ✓ src/__tests__/load-dotenv.test.ts (3 tests) 67ms
169
+ ✓ src/__tests__/mcp-init.test.ts (6 tests) 271ms
170
+ ✓ src/__tests__/prisma-client-path.test.ts (8 tests) 116ms
171
+ ✓ src/__tests__/form-seed.test.ts (10 tests) 48ms
172
+ ✓ src/__tests__/vercel-env-matrix.test.ts (6 tests) 32ms
173
+ ✓ src/__tests__/upgrade.test.ts (3 tests) 52ms
174
+ ✓ src/__tests__/repo-root.test.ts (4 tests) 101ms
175
+ ✓ src/__tests__/load-dotenv.test.ts (3 tests) 60ms
177
176
  - Reading canonical Prenta schema...
178
- stdout | src/__tests__/schema-fragment.test.ts > db:init schema fragment > injects all deploy-critical Prenta models
179
177
  ✔ Prenta CMS models added to schema.
178
+ stdout | src/__tests__/schema-fragment.test.ts > db:init schema fragment > injects all deploy-critical Prenta models
180
179
  ✔ Prisma client generated.
181
- - Running prisma generate...
182
180
  ℹ Run `npx prisma migrate dev --name prenta-cms` to create the migration.
183
181
 
184
- ✓ src/__tests__/schema-fragment.test.ts (1 test) 85ms
185
- ✓ src/__tests__/db-sync-resolver.test.ts (4 tests) 14ms
186
- ✓ src/__tests__/import-typescript.test.ts (3 tests) 285ms
187
- ✓ src/__tests__/init.test.ts (2 tests) 22ms
182
+ - Running prisma generate...
183
+ ✓ src/__tests__/schema-fragment.test.ts (1 test) 125ms
184
+ ✓ src/__tests__/db-sync-resolver.test.ts (4 tests) 21ms
185
+ ✓ src/__tests__/import-typescript.test.ts (3 tests) 145ms
186
+ ✓ src/__tests__/init.test.ts (2 tests) 30ms
188
187
 
189
188
   Test Files  22 passed | 1 skipped (23)
190
189
   Tests  249 passed | 1 skipped (250)
191
-  Start at  02:19:48
192
-  Duration  39.95s (transform 4.14s, setup 0ms, import 8.89s, tests 9.25s, environment 18ms)
190
+  Start at  15:34:38
191
+  Duration  38.55s (transform 3.78s, setup 0ms, import 8.64s, tests 8.27s, environment 25ms)
193
192
 
package/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # @actuate-media/cli
2
2
 
3
+ ## 1.0.1
4
+
5
+ ### Patch Changes
6
+
7
+ - 17cf190: Cap `@prenta/core` peer ranges at `>=8.0.0 <9.0.0` so an 8.x package does not advertise compatibility with 9.x.
8
+
9
+ ## 1.0.0
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies [7164a44]
14
+ - @prenta/core@8.0.0
15
+
3
16
  ## 0.18.1
4
17
 
5
18
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prenta/cli",
3
- "version": "0.18.1",
3
+ "version": "1.0.1",
4
4
  "license": "MIT",
5
5
  "description": "CLI for Prenta CMS — migrations, codegen, imports, exports, and upgrades",
6
6
  "repository": {
@@ -24,7 +24,7 @@
24
24
  "tsx": "^4.23.0"
25
25
  },
26
26
  "peerDependencies": {
27
- "@prenta/core": ">=7.0.0 <8.0.0",
27
+ "@prenta/core": ">=8.0.0 <9.0.0",
28
28
  "@vercel/blob": ">=2.0.0"
29
29
  },
30
30
  "peerDependenciesMeta": {
@@ -36,7 +36,7 @@
36
36
  "@vercel/blob": "^2.3.1",
37
37
  "typescript": "^5.7.0",
38
38
  "vitest": "^4.1.0",
39
- "@prenta/core": "7.5.1"
39
+ "@prenta/core": "8.0.0"
40
40
  },
41
41
  "scripts": {
42
42
  "build": "tsc",