@decocms/blocks-cli 7.20.3 → 7.20.4
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@decocms/blocks-cli",
|
|
3
|
-
"version": "7.20.
|
|
3
|
+
"version": "7.20.4",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Deco codegen (generate-blocks, generate-schema, generate-invoke) and Fresh-to-TanStack migration tooling",
|
|
6
6
|
"repository": {
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"lint:unused": "knip"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@decocms/blocks": "7.20.
|
|
33
|
+
"@decocms/blocks": "7.20.4",
|
|
34
34
|
"ts-morph": "^27.0.0",
|
|
35
35
|
"tsx": "^4.22.5"
|
|
36
36
|
},
|
|
@@ -262,13 +262,13 @@ vite.config.timestamp_*
|
|
|
262
262
|
|
|
263
263
|
# Deco CMS
|
|
264
264
|
.deco/metadata/*
|
|
265
|
-
#
|
|
266
|
-
#
|
|
267
|
-
# regenerated by \`npm run generate\` (build) and on dev
|
|
268
|
-
#
|
|
269
|
-
#
|
|
265
|
+
# The decofile snapshot only. blocks.gen.json is a single 10MB+ line (merge of
|
|
266
|
+
# .deco/blocks/*.json), so committing it makes every content PR conflict
|
|
267
|
+
# irresolvably; it is regenerated by \`npm run generate\` (build) and on dev
|
|
268
|
+
# cold-start. meta.gen.json (the schema) stays COMMITTED — it merges cleanly and
|
|
269
|
+
# keeps admin/Studio working on a fresh clone without a regen. The small .gen.ts
|
|
270
|
+
# stubs and generate.digests.json also stay committed.
|
|
270
271
|
.deco/blocks.gen.json
|
|
271
|
-
.deco/meta.gen.json
|
|
272
272
|
|
|
273
273
|
# IDE
|
|
274
274
|
.vscode/
|
|
@@ -354,10 +354,10 @@ export const checks: Check[] = [
|
|
|
354
354
|
"node_modules/",
|
|
355
355
|
".tanstack/",
|
|
356
356
|
"src/routeTree.gen.ts",
|
|
357
|
-
//
|
|
357
|
+
// The decofile snapshot must be ignored — its 10MB+ single line causes
|
|
358
358
|
// constant PR merge conflicts (see generateGitignore in phase-scaffold).
|
|
359
|
+
// meta.gen.json stays committed on purpose, so it is NOT required here.
|
|
359
360
|
".deco/blocks.gen.json",
|
|
360
|
-
".deco/meta.gen.json",
|
|
361
361
|
];
|
|
362
362
|
const missing = required.filter((r) => !content.includes(r));
|
|
363
363
|
if (missing.length > 0) {
|