@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.
- package/.turbo/turbo-build.log +1 -1
- package/.turbo/turbo-test.log +48 -46
- package/CHANGELOG.md +6 -0
- package/README.md +2 -2
- package/package.json +3 -3
package/.turbo/turbo-build.log
CHANGED
package/.turbo/turbo-test.log
CHANGED
|
@@ -1,31 +1,33 @@
|
|
|
1
1
|
|
|
2
|
-
> @prenta/cli@1.3.
|
|
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
|
[1m[30m[46m RUN [49m[39m[22m [36mv4.1.12 [39m[90m/home/runner/work/prenta/prenta/packages/cli[39m
|
|
7
7
|
|
|
8
|
-
[32mβ[39m src/__tests__/db-restore.test.ts [2m([22m[2m34 tests[22m[2m)[22m[33m
|
|
9
|
-
[33m[2mβ[22m[39m requires --target and never defaults to the env database [33m
|
|
10
|
-
[33m[2mβ[22m[39m warns when --target carries a password on argv and recommends PGPASSWORD instead [33m
|
|
11
|
-
[33m[2mβ[22m[39m OIDC mode (VERCEL_OIDC_TOKEN + BLOB_STORE_ID) lists and restores without passing a token [33m
|
|
12
|
-
|
|
13
|
-
[33m[2mβ[22m[39m
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
[32mβ[39m src/__tests__/
|
|
17
|
-
[32mβ[39m src/__tests__/backup-
|
|
18
|
-
[32mβ[39m src/__tests__/
|
|
19
|
-
[32mβ[39m src/__tests__/
|
|
8
|
+
[32mβ[39m src/__tests__/db-restore.test.ts [2m([22m[2m34 tests[22m[2m)[22m[33m 6911[2mms[22m[39m
|
|
9
|
+
[33m[2mβ[22m[39m requires --target and never defaults to the env database [33m 488[2mms[22m[39m
|
|
10
|
+
[33m[2mβ[22m[39m warns when --target carries a password on argv and recommends PGPASSWORD instead [33m 424[2mms[22m[39m
|
|
11
|
+
[33m[2mβ[22m[39m OIDC mode (VERCEL_OIDC_TOKEN + BLOB_STORE_ID) lists and restores without passing a token [33m 500[2mms[22m[39m
|
|
12
|
+
[33m[2mβ[22m[39m --list prints available backups newest first with stamps and sizes [32m 300[2mms[22m[39m
|
|
13
|
+
[33m[2mβ[22m[39m "latest" selects the newest stamp under the prefix [33m 348[2mms[22m[39m
|
|
14
|
+
[32mβ[39m src/__tests__/db-backup.test.ts [2m([22m[2m27 tests[22m[2m)[22m[33m 3345[2mms[22m[39m
|
|
15
|
+
[33m[2mβ[22m[39m refuses localhost / 127.0.0.1 unless --allow-local [33m 431[2mms[22m[39m
|
|
16
|
+
[32mβ[39m src/__tests__/deployment-diagnostics.test.ts [2m([22m[2m23 tests[22m[2m)[22m[32m 175[2mms[22m[39m
|
|
17
|
+
[32mβ[39m src/__tests__/backup-blob-store.test.ts [2m([22m[2m18 tests[22m[2m)[22m[33m 855[2mms[22m[39m
|
|
18
|
+
[32mβ[39m src/__tests__/backup-pg-tools.test.ts [2m([22m[2m26 tests[22m[2m)[22m[32m 275[2mms[22m[39m
|
|
19
|
+
[32mβ[39m src/__tests__/db-sync.test.ts [2m([22m[2m13 tests[22m[2m)[22m[33m 548[2mms[22m[39m
|
|
20
|
+
[32mβ[39m src/__tests__/chrome.test.ts [2m([22m[2m11 tests[22m[2m)[22m[33m 17657[2mms[22m[39m
|
|
20
21
|
[2m[90mβ[39m[22m src/__tests__/integration/backup-roundtrip.int.test.ts [2m([22m[2m1 test[22m[2m | [22m[33m1 skipped[39m[2m)[22m
|
|
21
|
-
[32mβ[39m src/__tests__/backup-manifest.test.ts [2m([22m[2m17 tests[22m[2m)[22m[32m
|
|
22
|
+
[32mβ[39m src/__tests__/backup-manifest.test.ts [2m([22m[2m17 tests[22m[2m)[22m[32m 77[2mms[22m[39m
|
|
22
23
|
- Resolving target versionsβ¦
|
|
23
24
|
β Target version: 9.0.0
|
|
24
|
-
[32mβ[39m src/__tests__/upgrade-workspaces.test.ts [2m([22m[2m12 tests[22m[2m)[22m[33m
|
|
25
|
-
[33m[2mβ[22m[39m passes `upgrade --version <ver>` to upgrade instead of printing the CLI version [33m
|
|
26
|
-
[33m[2mβ[22m[39m prints its own package version for `prenta --version` [33m
|
|
27
|
-
[32mβ[39m src/__tests__/seed.test.ts [2m([22m[2m10 tests[22m[2m)[22m[32m
|
|
28
|
-
[32mβ[39m src/__tests__/backup-crypto.test.ts [2m([22m[2m13 tests[22m[2m)[22m[
|
|
25
|
+
[32mβ[39m src/__tests__/upgrade-workspaces.test.ts [2m([22m[2m12 tests[22m[2m)[22m[33m 2797[2mms[22m[39m
|
|
26
|
+
[33m[2mβ[22m[39m passes `upgrade --version <ver>` to upgrade instead of printing the CLI version [33m 1685[2mms[22m[39m
|
|
27
|
+
[33m[2mβ[22m[39m prints its own package version for `prenta --version` [33m 926[2mms[22m[39m
|
|
28
|
+
[32mβ[39m src/__tests__/seed.test.ts [2m([22m[2m10 tests[22m[2m)[22m[32m 63[2mms[22m[39m
|
|
29
|
+
[32mβ[39m src/__tests__/backup-crypto.test.ts [2m([22m[2m13 tests[22m[2m)[22m[33m 573[2mms[22m[39m
|
|
30
|
+
[33m[2mβ[22m[39m detects a flipped auth-tag byte [33m 324[2mms[22m[39m
|
|
29
31
|
[90mstdout[2m | src/__tests__/mcp-init.test.ts[2m > [22m[2mmcp:init[2m > [22m[2mcreates Claude Code, Cursor, and VS Code configs with placeholder key and git-ignores them
|
|
30
32
|
[22m[39mβ 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
|
-
[90mstderr[2m | src/__tests__/mcp-init.test.ts[2m > [22m[2mmcp:init[2m > [22m[2mfails on invalid JSON without --force, overwrites with --force
|
|
115
|
-
[22m[39mβ .cursor/mcp.json contains invalid JSON β fix it or re-run with --force.
|
|
116
116
|
[90mstdout[2m | src/__tests__/mcp-init.test.ts[2m > [22m[2mmcp:init[2m > [22m[2mfails on invalid JSON without --force, overwrites with --force
|
|
117
117
|
[22m[39mβ Created .mcp.json
|
|
118
118
|
|
|
119
|
-
|
|
119
|
+
[90mstderr[2m | src/__tests__/mcp-init.test.ts[2m > [22m[2mmcp:init[2m > [22m[2mfails on invalid JSON without --force, overwrites with --force
|
|
120
120
|
[90mstdout[2m | src/__tests__/mcp-init.test.ts[2m > [22m[2mmcp:init[2m > [22m[2mfails on invalid JSON without --force, overwrites with --force
|
|
121
121
|
[22m[39mβ Created .vscode/mcp.json
|
|
122
122
|
|
|
@@ -124,6 +124,8 @@ Next steps
|
|
|
124
124
|
[22m[39mβ Added to .gitignore: .mcp.json, .cursor/mcp.json, .vscode/mcp.json
|
|
125
125
|
|
|
126
126
|
Next steps
|
|
127
|
+
[22m[39mβ .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
|
-
[90mstderr[2m | src/__tests__/mcp-init.test.ts[2m > [22m[2mmcp:init[2m > [22m[2mrefuses to write a real key into a config git already tracks
|
|
166
167
|
[90mstdout[2m | src/__tests__/mcp-init.test.ts[2m > [22m[2mmcp:init[2m > [22m[2mrefuses to write a real key into a config git already tracks
|
|
167
|
-
[22m[39mβ .cursor/mcp.json already has an "prenta" server β use --force to replace it.
|
|
168
168
|
[22m[39mβ Updated .mcp.json
|
|
169
|
+
[90mstderr[2m | src/__tests__/mcp-init.test.ts[2m > [22m[2mmcp:init[2m > [22m[2mrefuses to write a real key into a config git already tracks
|
|
170
|
+
[22m[39mβ .cursor/mcp.json already has an "prenta" server β use --force to replace it.
|
|
169
171
|
|
|
170
172
|
|
|
171
173
|
[90mstderr[2m | src/__tests__/mcp-init.test.ts[2m > [22m[2mmcp:init[2m > [22m[2mrefuses 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
|
-
[32mβ[39m src/__tests__/mcp-init.test.ts [2m([22m[2m7 tests[22m[2m)[22m[33m
|
|
218
|
-
[32mβ[39m src/__tests__/backup-common.test.ts [2m([22m[2m14 tests[22m[2m)[22m[32m
|
|
219
|
+
[32mβ[39m src/__tests__/mcp-init.test.ts [2m([22m[2m7 tests[22m[2m)[22m[33m 562[2mms[22m[39m
|
|
220
|
+
[32mβ[39m src/__tests__/backup-common.test.ts [2m([22m[2m14 tests[22m[2m)[22m[32m 88[2mms[22m[39m
|
|
219
221
|
- Reading canonical Prenta schema...
|
|
220
222
|
β Prenta CMS models added to schema.
|
|
221
|
-
- Running prisma generate...
|
|
222
223
|
[90mstdout[2m | src/__tests__/db-init.test.ts[2m > [22m[2mdb:init (WS-D D5 β canonical schema, no stale fragment)[2m > [22m[2mcommand[2m > [22m[2minjects canonical models with @@map and no duplicate datasource/generator
|
|
223
224
|
[22m[39mβ 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
|
-
[32mβ[39m src/__tests__/db-init.test.ts [2m([22m[2m4 tests[22m[2m)[22m[32m
|
|
241
|
-
[32mβ[39m src/__tests__/seed-sanitize.test.ts [2m([22m[2m9 tests[22m[2m)[22m[32m
|
|
242
|
-
[32mβ[39m src/__tests__/prisma-client-path.test.ts [2m([22m[2m8 tests[22m[2m)[22m[32m
|
|
243
|
-
[32mβ[39m src/__tests__/form-seed.test.ts [2m([22m[2m10 tests[22m[2m)[22m[32m
|
|
244
|
-
[32mβ[39m src/__tests__/pg-ssl-mode.test.ts [2m([22m[2m8 tests[22m[2m)[22m[32m
|
|
245
|
-
[32mβ[39m src/__tests__/import-typescript.test.ts [2m([22m[2m9 tests[22m[2m)[22m[
|
|
246
|
-
[32mβ[39m src/__tests__/vercel-env-matrix.test.ts [2m([22m[2m6 tests[22m[2m)[22m[32m
|
|
247
|
-
[32mβ[39m src/__tests__/upgrade.test.ts [2m([22m[2m3 tests[22m[2m)[22m[32m
|
|
248
|
-
[32mβ[39m src/__tests__/repo-root.test.ts [2m([22m[2m4 tests[22m[2m)[22m[32m
|
|
249
|
-
[32mβ[39m src/__tests__/load-dotenv.test.ts [2m([22m[2m3 tests[22m[2m)[22m[32m
|
|
250
|
-
[32mβ[39m src/__tests__/import-typescript-hooks.test.ts [2m([22m[2m2 tests[22m[2m)[22m[32m
|
|
242
|
+
[32mβ[39m src/__tests__/db-init.test.ts [2m([22m[2m4 tests[22m[2m)[22m[32m 132[2mms[22m[39m
|
|
243
|
+
[32mβ[39m src/__tests__/seed-sanitize.test.ts [2m([22m[2m9 tests[22m[2m)[22m[32m 54[2mms[22m[39m
|
|
244
|
+
[32mβ[39m src/__tests__/prisma-client-path.test.ts [2m([22m[2m8 tests[22m[2m)[22m[32m 30[2mms[22m[39m
|
|
245
|
+
[32mβ[39m src/__tests__/form-seed.test.ts [2m([22m[2m10 tests[22m[2m)[22m[32m 27[2mms[22m[39m
|
|
246
|
+
[32mβ[39m src/__tests__/pg-ssl-mode.test.ts [2m([22m[2m8 tests[22m[2m)[22m[32m 25[2mms[22m[39m
|
|
247
|
+
[32mβ[39m src/__tests__/import-typescript.test.ts [2m([22m[2m9 tests[22m[2m)[22m[32m 259[2mms[22m[39m
|
|
248
|
+
[32mβ[39m src/__tests__/vercel-env-matrix.test.ts [2m([22m[2m6 tests[22m[2m)[22m[32m 16[2mms[22m[39m
|
|
249
|
+
[32mβ[39m src/__tests__/upgrade.test.ts [2m([22m[2m3 tests[22m[2m)[22m[32m 23[2mms[22m[39m
|
|
250
|
+
[32mβ[39m src/__tests__/repo-root.test.ts [2m([22m[2m4 tests[22m[2m)[22m[32m 80[2mms[22m[39m
|
|
251
|
+
[32mβ[39m src/__tests__/load-dotenv.test.ts [2m([22m[2m3 tests[22m[2m)[22m[32m 25[2mms[22m[39m
|
|
252
|
+
[32mβ[39m src/__tests__/import-typescript-hooks.test.ts [2m([22m[2m2 tests[22m[2m)[22m[32m 70[2mms[22m[39m
|
|
251
253
|
- Reading canonical Prenta schema...
|
|
252
|
-
β Prenta CMS models added to schema.
|
|
253
|
-
- Running prisma generate...
|
|
254
254
|
[90mstdout[2m | src/__tests__/schema-fragment.test.ts[2m > [22m[2mdb:init schema fragment[2m > [22m[2minjects all deploy-critical Prenta models
|
|
255
|
+
β Prenta CMS models added to schema.
|
|
255
256
|
[22m[39mβ Prisma client generated.
|
|
256
257
|
βΉ Run `npx prisma migrate dev --name prenta-cms` to create the migration.
|
|
257
258
|
|
|
258
|
-
|
|
259
|
-
[32mβ[39m src/__tests__/
|
|
260
|
-
[32mβ[39m src/__tests__/
|
|
261
|
-
[32mβ[39m src/__tests__/
|
|
259
|
+
- Running prisma generate...
|
|
260
|
+
[32mβ[39m src/__tests__/schema-fragment.test.ts [2m([22m[2m1 test[22m[2m)[22m[32m 50[2mms[22m[39m
|
|
261
|
+
[32mβ[39m src/__tests__/db-sync-resolver.test.ts [2m([22m[2m4 tests[22m[2m)[22m[32m 16[2mms[22m[39m
|
|
262
|
+
[32mβ[39m src/__tests__/pg-ssl-mode-in-step.test.ts [2m([22m[2m2 tests[22m[2m)[22m[32m 9[2mms[22m[39m
|
|
263
|
+
[32mβ[39m src/__tests__/init.test.ts [2m([22m[2m2 tests[22m[2m)[22m[32m 25[2mms[22m[39m
|
|
262
264
|
|
|
263
265
|
[2m Test Files [22m [1m[32m28 passed[39m[22m[2m | [22m[33m1 skipped[39m[90m (29)[39m
|
|
264
266
|
[2m Tests [22m [1m[32m300 passed[39m[22m[2m | [22m[33m1 skipped[39m[90m (301)[39m
|
|
265
|
-
[2m Start at [22m
|
|
266
|
-
[2m Duration [22m
|
|
267
|
+
[2m Start at [22m 09:03:26
|
|
268
|
+
[2m Duration [22m 74.96s[2m (transform 20.08s, setup 0ms, import 15.45s, tests 34.77s, environment 3ms)[22m
|
|
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/
|
|
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/
|
|
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.
|
|
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/
|
|
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.
|
|
39
|
+
"@prenta/core": "8.21.11"
|
|
40
40
|
},
|
|
41
41
|
"scripts": {
|
|
42
42
|
"build": "tsc",
|