@zero2webmaster/starter-kit 0.39.0 → 0.39.1

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/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # z2w-starter-kit
2
2
 
3
- **Version:** 0.39.0 | **Framework:** 2.19.0
3
+ **Version:** 0.39.1 | **Framework:** 2.19.0
4
4
 
5
5
  > Node CLI to scaffold new Z2W projects from canonical Templates + AGENTS.md.
6
6
 
@@ -135,4 +135,4 @@ Inquiries: kerry@zero2webmaster.com.
135
135
  ---
136
136
 
137
137
  *Scaffolded 2026-05-28 via the [[instantiate-z2w-project]] Claude Code skill v1; reconciled against the consolidated skill v1.1.0 (brief-first + Agent Coordination block) on 2026-05-29.*
138
- *Version: 0.39.0 | Last Updated: 2026-09-24*
138
+ *Version: 0.39.1 | Last Updated: 2026-09-24*
@@ -32,9 +32,18 @@ export declare const NEXTJS_PWA_PATHS: readonly ["public/manifest.json", "public
32
32
  * `HEAD^` there, which is fine for a long-deployed `main` but wrong for a new
33
33
  * scaffold: a repo with history is linked to Vercel later, and its first
34
34
  * deploy must not be skipped because the newest commit was a STATUS.md edit.
35
+ * - A base EQUAL to the commit being deployed BUILDS. That is a Redeploy of
36
+ * the live commit, and the usual reason to click Redeploy is to pick up a
37
+ * changed env var — the diff is empty by definition, so without this guard
38
+ * the new value never reaches production and only a CANCELED badge says so
39
+ * (`org-hq` measured it 2026-09-23; `audit-engine` filed it here 2026-09-24).
40
+ * A push never deploys the SHA that is already live, so pushes are unaffected.
41
+ * Not covered, because no diff can see an env var: redeploying a NEWER,
42
+ * canceled, prose-only commit. Redeploy the READY deployment instead.
35
43
  * - A base missing from Vercel's shallow clone fails `cat-file` → builds.
36
44
  *
37
- * Must stay ≤ 256 characters (the vercel.json schema's `maxLength`).
45
+ * Must stay ≤ 256 characters (the vercel.json schema's `maxLength`), which is
46
+ * why the empty and redeploy guards share one clause.
38
47
  */
39
48
  export declare const VERCEL_IGNORE_COMMAND: string;
40
49
  export declare function scaffoldNextjs(inputs: ScaffoldInputs, opts?: ScaffolderOptions): ScaffoldFile[];
@@ -5427,13 +5427,22 @@ export default defineConfig({
5427
5427
  * `HEAD^` there, which is fine for a long-deployed `main` but wrong for a new
5428
5428
  * scaffold: a repo with history is linked to Vercel later, and its first
5429
5429
  * deploy must not be skipped because the newest commit was a STATUS.md edit.
5430
+ * - A base EQUAL to the commit being deployed BUILDS. That is a Redeploy of
5431
+ * the live commit, and the usual reason to click Redeploy is to pick up a
5432
+ * changed env var — the diff is empty by definition, so without this guard
5433
+ * the new value never reaches production and only a CANCELED badge says so
5434
+ * (`org-hq` measured it 2026-09-23; `audit-engine` filed it here 2026-09-24).
5435
+ * A push never deploys the SHA that is already live, so pushes are unaffected.
5436
+ * Not covered, because no diff can see an env var: redeploying a NEWER,
5437
+ * canceled, prose-only commit. Redeploy the READY deployment instead.
5430
5438
  * - A base missing from Vercel's shallow clone fails `cat-file` → builds.
5431
5439
  *
5432
- * Must stay ≤ 256 characters (the vercel.json schema's `maxLength`).
5440
+ * Must stay ≤ 256 characters (the vercel.json schema's `maxLength`), which is
5441
+ * why the empty and redeploy guards share one clause.
5433
5442
  */
5434
5443
  export const VERCEL_IGNORE_COMMAND = [
5435
5444
  'B="$VERCEL_GIT_PREVIOUS_SHA"',
5436
- '[ -n "$B" ] || exit 1',
5445
+ '[ -n "$B" ] && [ "$B" != "$VERCEL_GIT_COMMIT_SHA" ] || exit 1',
5437
5446
  'git cat-file -e "$B^{commit}" 2>/dev/null || exit 1',
5438
5447
  `git diff --quiet "$B" HEAD -- . ':(exclude)*.md' ':(exclude)docs/' ':(exclude)drafts/' || exit 1`,
5439
5448
  "exit 0",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zero2webmaster/starter-kit",
3
- "version": "0.39.0",
3
+ "version": "0.39.1",
4
4
  "description": "Node CLI to scaffold new Z2W projects from canonical Templates + AGENTS.md.",
5
5
  "author": {
6
6
  "name": "Dr. Kerry Kriger",