@decocms/blocks-cli 7.20.2 → 7.20.3
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.3",
|
|
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.3",
|
|
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
|
+
# Generated snapshots — do NOT commit. Both are 100% derived (blocks.gen.json
|
|
266
|
+
# merges .deco/blocks/*.json; meta.gen.json is built from the TS source) and are
|
|
267
|
+
# regenerated by \`npm run generate\` (build) and on dev cold-start. blocks.gen.json
|
|
268
|
+
# is a single 10MB+ line, so committing it makes every content PR conflict
|
|
269
|
+
# irresolvably. The small .gen.ts stubs and generate.digests.json stay committed.
|
|
270
|
+
.deco/blocks.gen.json
|
|
271
|
+
.deco/meta.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
|
+
// Generated snapshots must be ignored — committing them causes
|
|
358
|
+
// constant PR merge conflicts (see generateGitignore in phase-scaffold).
|
|
359
|
+
".deco/blocks.gen.json",
|
|
360
|
+
".deco/meta.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(", ")}`);
|