@decocms/blocks-cli 7.20.2 → 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,6 +262,13 @@ vite.config.timestamp_*
|
|
|
262
262
|
|
|
263
263
|
# Deco CMS
|
|
264
264
|
.deco/metadata/*
|
|
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.
|
|
271
|
+
.deco/blocks.gen.json
|
|
265
272
|
|
|
266
273
|
# IDE
|
|
267
274
|
.vscode/
|
|
@@ -349,7 +349,16 @@ export const checks: Check[] = [
|
|
|
349
349
|
return false;
|
|
350
350
|
}
|
|
351
351
|
const content = fs.readFileSync(gitignorePath, "utf-8");
|
|
352
|
-
const required = [
|
|
352
|
+
const required = [
|
|
353
|
+
".wrangler/",
|
|
354
|
+
"node_modules/",
|
|
355
|
+
".tanstack/",
|
|
356
|
+
"src/routeTree.gen.ts",
|
|
357
|
+
// The decofile snapshot must be ignored — its 10MB+ single line causes
|
|
358
|
+
// constant PR merge conflicts (see generateGitignore in phase-scaffold).
|
|
359
|
+
// meta.gen.json stays committed on purpose, so it is NOT required here.
|
|
360
|
+
".deco/blocks.gen.json",
|
|
361
|
+
];
|
|
353
362
|
const missing = required.filter((r) => !content.includes(r));
|
|
354
363
|
if (missing.length > 0) {
|
|
355
364
|
console.log(` .gitignore missing entries: ${missing.join(", ")}`);
|