chore: modernize template builds, security, and dependencies - #6
Conversation
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Advanced Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (52)
💤 Files with no reviewable changes (6)
Included review availability: Your plan provides up to 1 included review per hour; 0 remain after this review. 📝 WalkthroughWalkthroughThe pull request updates template packages to publish ES2022 ESM output with declarations and Node.js 20 support. It adds packed-package validation, updates repository tooling and examples, and changes release workflows, contributor guidance, and reference documentation. ChangesTemplate package output and verification
Priority: ⬇️ Low Estimated code review effort: 4 (Complex) | ~60 minutes Change: Other Merge Risk: ⚪ Minimal · up to The template updates appear mergeable after normal checks; no actionable blocking issue remains. 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
Full details: Docstring CoverageExplanation Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 2 functions across 7 files. (39 skipped: 39 unsupported.)
✨ Finishing Touches 💡 1📝 Generate docstrings 💡
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
🚀 Changeset Version PreviewNo changeset entries found. Merging this PR will not cause a version bump for any packages. |
More templates
@tanstack/react-template
@tanstack/react-template-devtools
@tanstack/solid-template
@tanstack/solid-template-devtools
@tanstack/template
@tanstack/template-devtools
commit: |
🎯 Changes
Bring the starter repository up to the build and release conventions used by Table v9 and Hotkeys, so new libraries inherit the current setup.
./typesentry.ncu -u -ws --root -x typescript: pnpm 12.6, Nx 23, tsdown 0.23, Vitest 5, Vite 8.3.1, React 19.3, and Store 0.11.1. Keep TypeScript 6.0.3. Align development/CI on Node 24.21.0 and remove the conflicting.npmrcNode pin.# maincomments. This adopts the shared Vite+ setup.ENABLE_RELEASESrepository variable for new libraries.Security baseline additions:
.env.*exclusions while allowing example files.Addresses the requested action-comment change: all shared action references carry
# main, with their SHA updated to match the reviewed upstream branch revision.GitHub settings are separate from scaffold files: the audit found no Template branch rulesets, disabled secret scanning/push protection/private reporting, and unconfigured CodeQL default setup. This PR supplies a setup guide and importable ruleset; it does not change live repository administration settings or claim those controls are enabled.
The pnpm policy exceptions are limited to the reviewed
vite@8.3.1patch release published today and the legacysemver@6.3.1trust exception also used by Hotkeys.Validation on Node 24.21.0:
pnpm testandpnpm test:prpass (35 main tasks plus lint); all four example builds/types, all six packed artifacts, root TypeScript/script lint, formatting, docs generation/link checks, and frozen install pass. Packed consumers pass Bundler and NodeNext type checks; core and./typesruntime imports pass on Node 20.0.0. An isolated fixture verified the scaffold’s Changesets 3 versioning; no changeset or version bump is included in this template repository. Core size is 1.57 kB against the 8 kB budget.Security validation: Zizmor 1.30.1 online scan, Renovate 44.115.0 config validation, and dependency peer checks pass locally. GitHub CI passes on
b6827ed: Test, Zizmor, provenance, preview publication, version preview, autofix, and Socket checks. The requested review change is addressed; reviewer reapproval remains pending.✅ Checklist
pnpm run test:pr.🚀 Release Impact
No release. This template repository never publishes packages or adds changesets.