Skip to content

Warn on template JSON drift and test app removal - #23

Merged
Bartek532 merged 2 commits into
mainfrom
fix/template-drift-tests
Sep 25, 2026
Merged

Bartek532 merged 2 commits into
mainfrom
fix/template-drift-tests

Conversation

@Bartek532

@Bartek532 Bartek532 commented Sep 25, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Log the file path and missing field when template package JSON has an unexpected shape, skip that edit, and continue the remaining bootstrap transformations.
  • Keep the affected JSON unchanged and tell the user to review it after setup.
  • Add fixture tests for Core mobile removal, Core extension removal, AI mobile removal, and continuing after JSON shape drift.
  • Run tests in CI with the existing tsdown dependency and Node's built-in test runner; no new test framework or dependency.

Verification

  • node --test .test-dist/*.test.mjs after test build: 4 passed
  • tsc --noEmit
  • eslint
  • prettier --check "**/*.{ts,tsx,mdx}"
  • tsdown production build

@Bartek532
Bartek532 marked this pull request as ready for review September 25, 2026 06:59
@Bartek532 Bartek532 changed the title Fail on template JSON drift and test app removal Warn on template JSON drift and test app removal Sep 25, 2026
@Bartek532
Bartek532 merged commit 318ae87 into main Sep 25, 2026
4 checks passed
@Bartek532
Bartek532 deleted the fix/template-drift-tests branch September 25, 2026 07:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant