@prenta/cli 1.3.1 β†’ 1.3.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.
@@ -1,4 +1,4 @@
1
1
 
2
- > @prenta/cli@1.3.1 build /home/runner/work/prenta/prenta/packages/cli
2
+ > @prenta/cli@1.3.2 build /home/runner/work/prenta/prenta/packages/cli
3
3
  > tsc
4
4
 
@@ -1,31 +1,33 @@
1
1
 
2
- > @prenta/cli@1.3.1 test /home/runner/work/prenta/prenta/packages/cli
2
+ > @prenta/cli@1.3.2 test /home/runner/work/prenta/prenta/packages/cli
3
3
  > vitest run "--no-file-parallelism"
4
4
 
5
5
 
6
6
   RUN  v4.1.12 /home/runner/work/prenta/prenta/packages/cli
7
7
 
8
- βœ“ src/__tests__/db-restore.test.ts (34 tests) 5637ms
9
- βœ“ requires --target and never defaults to the env database  421ms
10
- βœ“ warns when --target carries a password on argv and recommends PGPASSWORD instead  322ms
11
- βœ“ OIDC mode (VERCEL_OIDC_TOKEN + BLOB_STORE_ID) lists and restores without passing a token  408ms
12
- βœ“ src/__tests__/db-backup.test.ts (27 tests) 3739ms
13
- βœ“ uploads manifest then dump under the prefix, then prunes expired pairs  301ms
14
- βœ“ token mode passes BLOB_READ_WRITE_TOKEN to every Blob call  336ms
15
- βœ“ src/__tests__/deployment-diagnostics.test.ts (23 tests) 233ms
16
- βœ“ src/__tests__/backup-blob-store.test.ts (18 tests) 934ms
17
- βœ“ src/__tests__/backup-pg-tools.test.ts (26 tests) 375ms
18
- βœ“ src/__tests__/db-sync.test.ts (13 tests) 455ms
19
- βœ“ src/__tests__/chrome.test.ts (11 tests) 14920ms
8
+ βœ“ src/__tests__/db-restore.test.ts (34 tests) 6911ms
9
+ βœ“ requires --target and never defaults to the env database  488ms
10
+ βœ“ warns when --target carries a password on argv and recommends PGPASSWORD instead  424ms
11
+ βœ“ OIDC mode (VERCEL_OIDC_TOKEN + BLOB_STORE_ID) lists and restores without passing a token  500ms
12
+ βœ“ --list prints available backups newest first with stamps and sizes  300ms
13
+ βœ“ "latest" selects the newest stamp under the prefix  348ms
14
+ βœ“ src/__tests__/db-backup.test.ts (27 tests) 3345ms
15
+ βœ“ refuses localhost / 127.0.0.1 unless --allow-local  431ms
16
+ βœ“ src/__tests__/deployment-diagnostics.test.ts (23 tests) 175ms
17
+ βœ“ src/__tests__/backup-blob-store.test.ts (18 tests) 855ms
18
+ βœ“ src/__tests__/backup-pg-tools.test.ts (26 tests) 275ms
19
+ βœ“ src/__tests__/db-sync.test.ts (13 tests) 548ms
20
+ βœ“ src/__tests__/chrome.test.ts (11 tests) 17657ms
20
21
  ↓ src/__tests__/integration/backup-roundtrip.int.test.ts (1 test | 1 skipped)
21
- βœ“ src/__tests__/backup-manifest.test.ts (17 tests) 85ms
22
+ βœ“ src/__tests__/backup-manifest.test.ts (17 tests) 77ms
22
23
  - Resolving target versions…
23
24
  βœ” Target version: 9.0.0
24
- βœ“ src/__tests__/upgrade-workspaces.test.ts (12 tests) 3114ms
25
- βœ“ passes `upgrade --version <ver>` to upgrade instead of printing the CLI version  1755ms
26
- βœ“ prints its own package version for `prenta --version`  1072ms
27
- βœ“ src/__tests__/seed.test.ts (10 tests) 79ms
28
- βœ“ src/__tests__/backup-crypto.test.ts (13 tests) 213ms
25
+ βœ“ src/__tests__/upgrade-workspaces.test.ts (12 tests) 2797ms
26
+ βœ“ passes `upgrade --version <ver>` to upgrade instead of printing the CLI version  1685ms
27
+ βœ“ prints its own package version for `prenta --version`  926ms
28
+ βœ“ src/__tests__/seed.test.ts (10 tests) 63ms
29
+ βœ“ src/__tests__/backup-crypto.test.ts (13 tests) 573ms
30
+ βœ“ detects a flipped auth-tag byte  324ms
29
31
  stdout | src/__tests__/mcp-init.test.ts > mcp:init > creates Claude Code, Cursor, and VS Code configs with placeholder key and git-ignores them
30
32
  βœ” Created .mcp.json
31
33
 
@@ -111,12 +113,10 @@ Next steps
111
113
  2. Replace act_sk_REPLACE_WITH_YOUR_KEY in the MCP config files with the real key
112
114
  3. Restart Claude Code / Cursor / VS Code so the MCP server is picked up
113
115
 
114
- stderr | src/__tests__/mcp-init.test.ts > mcp:init > fails on invalid JSON without --force, overwrites with --force
115
- βœ– .cursor/mcp.json contains invalid JSON β€” fix it or re-run with --force.
116
116
  stdout | src/__tests__/mcp-init.test.ts > mcp:init > fails on invalid JSON without --force, overwrites with --force
117
117
  βœ” Created .mcp.json
118
118
 
119
-
119
+ stderr | src/__tests__/mcp-init.test.ts > mcp:init > fails on invalid JSON without --force, overwrites with --force
120
120
  stdout | src/__tests__/mcp-init.test.ts > mcp:init > fails on invalid JSON without --force, overwrites with --force
121
121
  βœ” Created .vscode/mcp.json
122
122
 
@@ -124,6 +124,8 @@ Next steps
124
124
  βœ” Added to .gitignore: .mcp.json, .cursor/mcp.json, .vscode/mcp.json
125
125
 
126
126
  Next steps
127
+ βœ– .cursor/mcp.json contains invalid JSON β€” fix it or re-run with --force.
128
+
127
129
  1. Mint an API key in Admin β†’ Settings β†’ API Keys (act_sk_...)
128
130
  2. Replace act_sk_REPLACE_WITH_YOUR_KEY in the MCP config files with the real key
129
131
  3. Restart Claude Code / Cursor / VS Code so the MCP server is picked up
@@ -162,10 +164,10 @@ Next steps
162
164
  1. Restart Claude Code / Cursor / VS Code so the MCP server is picked up
163
165
  Tip: pass --url https://your-site.com to target a deployed CMS instead.
164
166
 
165
- stderr | src/__tests__/mcp-init.test.ts > mcp:init > refuses to write a real key into a config git already tracks
166
167
  stdout | src/__tests__/mcp-init.test.ts > mcp:init > refuses to write a real key into a config git already tracks
167
- ⚠ .cursor/mcp.json already has an "prenta" server β€” use --force to replace it.
168
168
  βœ” Updated .mcp.json
169
+ stderr | src/__tests__/mcp-init.test.ts > mcp:init > refuses to write a real key into a config git already tracks
170
+ ⚠ .cursor/mcp.json already has an "prenta" server β€” use --force to replace it.
169
171
 
170
172
 
171
173
  stderr | src/__tests__/mcp-init.test.ts > mcp:init > refuses to write a real key into a config git already tracks
@@ -214,13 +216,13 @@ Next steps
214
216
  3. Restart Claude Code / Cursor / VS Code so the MCP server is picked up
215
217
  Tip: pass --url https://your-site.com to target a deployed CMS instead.
216
218
 
217
- βœ“ src/__tests__/mcp-init.test.ts (7 tests) 511ms
218
- βœ“ src/__tests__/backup-common.test.ts (14 tests) 43ms
219
+ βœ“ src/__tests__/mcp-init.test.ts (7 tests) 562ms
220
+ βœ“ src/__tests__/backup-common.test.ts (14 tests) 88ms
219
221
  - Reading canonical Prenta schema...
220
222
  βœ” Prenta CMS models added to schema.
221
- - Running prisma generate...
222
223
  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
223
224
  βœ” Prisma client generated.
225
+ - Running prisma generate...
224
226
  β„Ή Run `npx prisma migrate dev --name prenta-cms` to create the migration.
225
227
 
226
228
  - Reading canonical Prenta schema...
@@ -237,31 +239,31 @@ Next steps
237
239
 
238
240
  - Reading canonical Prenta schema...
239
241
  β„Ή Prenta CMS models already present in schema. Use --force to overwrite.
240
- βœ“ src/__tests__/db-init.test.ts (4 tests) 156ms
241
- βœ“ src/__tests__/seed-sanitize.test.ts (9 tests) 48ms
242
- βœ“ src/__tests__/prisma-client-path.test.ts (8 tests) 31ms
243
- βœ“ src/__tests__/form-seed.test.ts (10 tests) 36ms
244
- βœ“ src/__tests__/pg-ssl-mode.test.ts (8 tests) 34ms
245
- βœ“ src/__tests__/import-typescript.test.ts (9 tests) 303ms
246
- βœ“ src/__tests__/vercel-env-matrix.test.ts (6 tests) 53ms
247
- βœ“ src/__tests__/upgrade.test.ts (3 tests) 14ms
248
- βœ“ src/__tests__/repo-root.test.ts (4 tests) 51ms
249
- βœ“ src/__tests__/load-dotenv.test.ts (3 tests) 73ms
250
- βœ“ src/__tests__/import-typescript-hooks.test.ts (2 tests) 35ms
242
+ βœ“ src/__tests__/db-init.test.ts (4 tests) 132ms
243
+ βœ“ src/__tests__/seed-sanitize.test.ts (9 tests) 54ms
244
+ βœ“ src/__tests__/prisma-client-path.test.ts (8 tests) 30ms
245
+ βœ“ src/__tests__/form-seed.test.ts (10 tests) 27ms
246
+ βœ“ src/__tests__/pg-ssl-mode.test.ts (8 tests) 25ms
247
+ βœ“ src/__tests__/import-typescript.test.ts (9 tests) 259ms
248
+ βœ“ src/__tests__/vercel-env-matrix.test.ts (6 tests) 16ms
249
+ βœ“ src/__tests__/upgrade.test.ts (3 tests) 23ms
250
+ βœ“ src/__tests__/repo-root.test.ts (4 tests) 80ms
251
+ βœ“ src/__tests__/load-dotenv.test.ts (3 tests) 25ms
252
+ βœ“ src/__tests__/import-typescript-hooks.test.ts (2 tests) 70ms
251
253
  - Reading canonical Prenta schema...
252
- βœ” Prenta CMS models added to schema.
253
- - Running prisma generate...
254
254
  stdout | src/__tests__/schema-fragment.test.ts > db:init schema fragment > injects all deploy-critical Prenta models
255
+ βœ” Prenta CMS models added to schema.
255
256
  βœ” Prisma client generated.
256
257
  β„Ή Run `npx prisma migrate dev --name prenta-cms` to create the migration.
257
258
 
258
- βœ“ src/__tests__/schema-fragment.test.ts (1 test) 120ms
259
- βœ“ src/__tests__/db-sync-resolver.test.ts (4 tests) 13ms
260
- βœ“ src/__tests__/pg-ssl-mode-in-step.test.ts (2 tests) 45ms
261
- βœ“ src/__tests__/init.test.ts (2 tests) 27ms
259
+ - Running prisma generate...
260
+ βœ“ src/__tests__/schema-fragment.test.ts (1 test) 50ms
261
+ βœ“ src/__tests__/db-sync-resolver.test.ts (4 tests) 16ms
262
+ βœ“ src/__tests__/pg-ssl-mode-in-step.test.ts (2 tests) 9ms
263
+ βœ“ src/__tests__/init.test.ts (2 tests) 25ms
262
264
 
263
265
   Test Files  28 passed | 1 skipped (29)
264
266
   Tests  300 passed | 1 skipped (301)
265
-  Start at  15:56:05
266
-  Duration  71.75s (transform 17.65s, setup 0ms, import 14.59s, tests 31.38s, environment 15ms)
267
+  Start at  09:03:26
268
+  Duration  74.96s (transform 20.08s, setup 0ms, import 15.45s, tests 34.77s, environment 3ms)
267
269
 
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @actuate-media/cli
2
2
 
3
+ ## 1.3.2
4
+
5
+ ### Patch Changes
6
+
7
+ - 5230917: Point repository links at github.com/Prenta-dev/prenta, where the source now lives. The `repository` field on npm, the importer adapters' docs links, the section editor's help link and the docs link `create-prenta` prints all moved from `actuate-media/prenta`. No behaviour changes.
8
+
3
9
  ## 1.3.1
4
10
 
5
11
  ### Patch Changes
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # @prenta/cli
2
2
 
3
- CLI for [Prenta CMS](https://github.com/actuate-media/prenta) β€”
3
+ CLI for [Prenta CMS](https://github.com/Prenta-dev/prenta) β€”
4
4
  migrations, codegen, seeding, imports/exports, verification, and upgrades.
5
5
 
6
6
  ```bash
@@ -23,7 +23,7 @@ Run `prenta --help` for the full command list.
23
23
  ## Release notes
24
24
 
25
25
  See [CHANGELOG.md](./CHANGELOG.md) (shipped with the package) or the
26
- [GitHub releases](https://github.com/actuate-media/prenta/releases).
26
+ [GitHub releases](https://github.com/Prenta-dev/prenta/releases).
27
27
 
28
28
  ## License
29
29
 
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@prenta/cli",
3
- "version": "1.3.1",
3
+ "version": "1.3.2",
4
4
  "license": "MIT",
5
5
  "description": "CLI for Prenta CMS β€” migrations, codegen, imports, exports, and upgrades",
6
6
  "repository": {
7
7
  "type": "git",
8
- "url": "https://github.com/actuate-media/prenta.git",
8
+ "url": "https://github.com/Prenta-dev/prenta.git",
9
9
  "directory": "packages/cli"
10
10
  },
11
11
  "publishConfig": {
@@ -36,7 +36,7 @@
36
36
  "@vercel/blob": "^2.3.1",
37
37
  "typescript": "^5.7.0",
38
38
  "vitest": "^4.1.12",
39
- "@prenta/core": "8.21.8"
39
+ "@prenta/core": "8.21.11"
40
40
  },
41
41
  "scripts": {
42
42
  "build": "tsc",