@prenta/cli 0.18.0 → 1.0.0
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 +30 -28
- package/CHANGELOG.md +13 -0
- package/package.json +3 -3
package/.turbo/turbo-build.log
CHANGED
package/.turbo/turbo-test.log
CHANGED
|
@@ -1,43 +1,44 @@
|
|
|
1
1
|
|
|
2
|
-
> @prenta/cli@0.
|
|
2
|
+
> @prenta/cli@1.0.0 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.8 [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
|
-
[32m✓[39m src/__tests__/db-backup.test.ts [2m([22m[2m27 tests[22m[2m)[22m[33m
|
|
10
|
-
[32m✓[39m src/__tests__/deployment-diagnostics.test.ts [2m([22m[2m23 tests[22m[2m)[22m[32m
|
|
11
|
-
[32m✓[39m src/__tests__/backup-blob-store.test.ts [2m([22m[2m18 tests[22m[2m)[22m[
|
|
12
|
-
[32m✓[39m src/__tests__/backup-pg-tools.test.ts [2m([22m[2m26 tests[22m[2m)[22m[
|
|
13
|
-
[32m✓[39m src/__tests__/db-sync.test.ts [2m([22m[2m13 tests[22m[2m)[22m[
|
|
8
|
+
[32m✓[39m src/__tests__/db-restore.test.ts [2m([22m[2m34 tests[22m[2m)[22m[33m 3140[2mms[22m[39m
|
|
9
|
+
[32m✓[39m src/__tests__/db-backup.test.ts [2m([22m[2m27 tests[22m[2m)[22m[33m 1205[2mms[22m[39m
|
|
10
|
+
[32m✓[39m src/__tests__/deployment-diagnostics.test.ts [2m([22m[2m23 tests[22m[2m)[22m[32m 127[2mms[22m[39m
|
|
11
|
+
[32m✓[39m src/__tests__/backup-blob-store.test.ts [2m([22m[2m18 tests[22m[2m)[22m[33m 486[2mms[22m[39m
|
|
12
|
+
[32m✓[39m src/__tests__/backup-pg-tools.test.ts [2m([22m[2m26 tests[22m[2m)[22m[33m 333[2mms[22m[39m
|
|
13
|
+
[32m✓[39m src/__tests__/db-sync.test.ts [2m([22m[2m13 tests[22m[2m)[22m[33m 961[2mms[22m[39m
|
|
14
14
|
[2m[90m↓[39m[22m src/__tests__/integration/backup-roundtrip.int.test.ts [2m([22m[2m1 test[22m[2m | [22m[33m1 skipped[39m[2m)[22m
|
|
15
|
-
[32m✓[39m src/__tests__/backup-manifest.test.ts [2m([22m[2m17 tests[22m[2m)[22m[32m
|
|
16
|
-
[32m✓[39m src/__tests__/backup-crypto.test.ts [2m([22m[2m13 tests[22m[2m)[22m[
|
|
17
|
-
[32m✓[39m src/__tests__/seed.test.ts [2m([22m[2m10 tests[22m[2m)[22m[32m
|
|
18
|
-
[32m✓[39m src/__tests__/backup-common.test.ts [2m([22m[2m14 tests[22m[2m)[22m[32m
|
|
15
|
+
[32m✓[39m src/__tests__/backup-manifest.test.ts [2m([22m[2m17 tests[22m[2m)[22m[32m 188[2mms[22m[39m
|
|
16
|
+
[32m✓[39m src/__tests__/backup-crypto.test.ts [2m([22m[2m13 tests[22m[2m)[22m[33m 987[2mms[22m[39m
|
|
17
|
+
[32m✓[39m src/__tests__/seed.test.ts [2m([22m[2m10 tests[22m[2m)[22m[32m 223[2mms[22m[39m
|
|
18
|
+
[32m✓[39m src/__tests__/backup-common.test.ts [2m([22m[2m14 tests[22m[2m)[22m[32m 144[2mms[22m[39m
|
|
19
19
|
- Reading canonical Prenta schema...
|
|
20
|
-
✔ Prenta CMS models added to schema.
|
|
21
|
-
- Running prisma generate...
|
|
22
20
|
[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
|
|
23
21
|
[22m[39m✔ Prisma client generated.
|
|
24
22
|
ℹ Run `npx prisma migrate dev --name prenta-cms` to create the migration.
|
|
25
23
|
|
|
24
|
+
✔ Prenta CMS models added to schema.
|
|
25
|
+
- Running prisma generate...
|
|
26
26
|
- Reading canonical Prenta schema...
|
|
27
27
|
✖ Could not locate @prenta/core.
|
|
28
28
|
[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[2mfails clearly when cms-core cannot be located
|
|
29
29
|
[22m[39mℹ Install it first: `npm install @prenta/core`.
|
|
30
30
|
|
|
31
31
|
- Reading canonical Prenta schema...
|
|
32
|
-
✔ Prenta CMS models added to schema.
|
|
33
32
|
[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[2mis idempotent without --force
|
|
33
|
+
✔ Prenta CMS models added to schema.
|
|
34
34
|
[22m[39m✔ Prisma client generated.
|
|
35
35
|
ℹ Run `npx prisma migrate dev --name prenta-cms` to create the migration.
|
|
36
36
|
- Running prisma generate...
|
|
37
37
|
|
|
38
38
|
- Reading canonical Prenta schema...
|
|
39
39
|
ℹ Prenta CMS models already present in schema. Use --force to overwrite.
|
|
40
|
-
[32m✓[39m src/__tests__/db-init.test.ts [2m([22m[2m4 tests[22m[2m)[22m[
|
|
40
|
+
[32m✓[39m src/__tests__/db-init.test.ts [2m([22m[2m4 tests[22m[2m)[22m[33m 530[2mms[22m[39m
|
|
41
|
+
[33m[2m✓[22m[39m injects canonical models with @@map and no duplicate datasource/generator [33m 346[2mms[22m[39m
|
|
41
42
|
[90mstdout[2m | src/__tests__/mcp-init.test.ts[2m > [22m[2mmcp:init[2m > [22m[2mcreates both editor configs with placeholder key and git-ignores them
|
|
42
43
|
[22m[39m✔ Created .cursor/mcp.json
|
|
43
44
|
|
|
@@ -166,13 +167,13 @@ Next steps
|
|
|
166
167
|
3. Restart Cursor / VS Code so the MCP server is picked up
|
|
167
168
|
Tip: pass --url https://your-site.com to target a deployed CMS instead.
|
|
168
169
|
|
|
169
|
-
[32m✓[39m src/__tests__/mcp-init.test.ts [2m([22m[2m6 tests[22m[2m)[22m[
|
|
170
|
-
[32m✓[39m src/__tests__/prisma-client-path.test.ts [2m([22m[2m8 tests[22m[2m)[22m[32m
|
|
171
|
-
[32m✓[39m src/__tests__/form-seed.test.ts [2m([22m[2m10 tests[22m[2m)[22m[32m
|
|
172
|
-
[32m✓[39m src/__tests__/vercel-env-matrix.test.ts [2m([22m[2m6 tests[22m[2m)[22m[32m
|
|
173
|
-
[32m✓[39m src/__tests__/upgrade.test.ts [2m([22m[2m3 tests[22m[2m)[22m[32m
|
|
174
|
-
[32m✓[39m src/__tests__/repo-root.test.ts [2m([22m[2m4 tests[22m[2m)[22m[32m
|
|
175
|
-
[32m✓[39m src/__tests__/load-dotenv.test.ts [2m([22m[2m3 tests[22m[2m)[22m[32m
|
|
170
|
+
[32m✓[39m src/__tests__/mcp-init.test.ts [2m([22m[2m6 tests[22m[2m)[22m[33m 735[2mms[22m[39m
|
|
171
|
+
[32m✓[39m src/__tests__/prisma-client-path.test.ts [2m([22m[2m8 tests[22m[2m)[22m[32m 140[2mms[22m[39m
|
|
172
|
+
[32m✓[39m src/__tests__/form-seed.test.ts [2m([22m[2m10 tests[22m[2m)[22m[32m 122[2mms[22m[39m
|
|
173
|
+
[32m✓[39m src/__tests__/vercel-env-matrix.test.ts [2m([22m[2m6 tests[22m[2m)[22m[32m 84[2mms[22m[39m
|
|
174
|
+
[32m✓[39m src/__tests__/upgrade.test.ts [2m([22m[2m3 tests[22m[2m)[22m[32m 129[2mms[22m[39m
|
|
175
|
+
[32m✓[39m src/__tests__/repo-root.test.ts [2m([22m[2m4 tests[22m[2m)[22m[32m 118[2mms[22m[39m
|
|
176
|
+
[32m✓[39m src/__tests__/load-dotenv.test.ts [2m([22m[2m3 tests[22m[2m)[22m[32m 157[2mms[22m[39m
|
|
176
177
|
- Reading canonical Prenta schema...
|
|
177
178
|
✔ Prenta CMS models added to schema.
|
|
178
179
|
- Running prisma generate...
|
|
@@ -180,13 +181,14 @@ Next steps
|
|
|
180
181
|
[22m[39m✔ Prisma client generated.
|
|
181
182
|
ℹ Run `npx prisma migrate dev --name prenta-cms` to create the migration.
|
|
182
183
|
|
|
183
|
-
[32m✓[39m src/__tests__/schema-fragment.test.ts [2m([22m[2m1 test[22m[2m)[22m[32m
|
|
184
|
-
[32m✓[39m src/__tests__/db-sync-resolver.test.ts [2m([22m[2m4 tests[22m[2m)[22m[32m
|
|
185
|
-
[32m✓[39m src/__tests__/import-typescript.test.ts [2m([22m[2m3 tests[22m[2m)[22m[
|
|
186
|
-
|
|
184
|
+
[32m✓[39m src/__tests__/schema-fragment.test.ts [2m([22m[2m1 test[22m[2m)[22m[32m 267[2mms[22m[39m
|
|
185
|
+
[32m✓[39m src/__tests__/db-sync-resolver.test.ts [2m([22m[2m4 tests[22m[2m)[22m[32m 30[2mms[22m[39m
|
|
186
|
+
[32m✓[39m src/__tests__/import-typescript.test.ts [2m([22m[2m3 tests[22m[2m)[22m[33m 428[2mms[22m[39m
|
|
187
|
+
[33m[2m✓[22m[39m loads a TypeScript file that imports a sibling without appending ?namespace= [33m 400[2mms[22m[39m
|
|
188
|
+
[32m✓[39m src/__tests__/init.test.ts [2m([22m[2m2 tests[22m[2m)[22m[32m 41[2mms[22m[39m
|
|
187
189
|
|
|
188
190
|
[2m Test Files [22m [1m[32m22 passed[39m[22m[2m | [22m[33m1 skipped[39m[90m (23)[39m
|
|
189
191
|
[2m Tests [22m [1m[32m249 passed[39m[22m[2m | [22m[33m1 skipped[39m[90m (250)[39m
|
|
190
|
-
[2m Start at [22m
|
|
191
|
-
[2m Duration [22m
|
|
192
|
+
[2m Start at [22m 14:44:32
|
|
193
|
+
[2m Duration [22m 57.32s[2m (transform 4.85s, setup 0ms, import 12.45s, tests 10.57s, environment 23ms)[22m
|
|
192
194
|
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# @actuate-media/cli
|
|
2
2
|
|
|
3
|
+
## 1.0.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [7164a44]
|
|
8
|
+
- @prenta/core@8.0.0
|
|
9
|
+
|
|
10
|
+
## 0.18.1
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- 4d53e80: Bound the `@prenta/core` peer to `>=7.0.0 <8.0.0` so npm rejects a plugin installed against a different major. CI fails if a published package's peer leaves the current major.
|
|
15
|
+
|
|
3
16
|
## 0.18.0
|
|
4
17
|
|
|
5
18
|
### Minor Changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prenta/cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "1.0.0",
|
|
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": ">=0.
|
|
27
|
+
"@prenta/core": ">=8.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": "
|
|
39
|
+
"@prenta/core": "8.0.0"
|
|
40
40
|
},
|
|
41
41
|
"scripts": {
|
|
42
42
|
"build": "tsc",
|