Skip to content

chore(templates): refresh supported versions and addon CLIs - #1127

Merged
AmanVarshney01 merged 8 commits into
mainfrom
aman/refresh-supported-template-versions
Jul 28, 2026
Merged

AmanVarshney01 merged 8 commits into
mainfrom
aman/refresh-supported-template-versions

Conversation

@AmanVarshney01

@AmanVarshney01 AmanVarshney01 commented Jul 28, 2026 •

Copy link
Copy Markdown
Owner

Summary

  • refresh workspace and generated-template dependencies to their latest supported releases
  • keep compatibility-sensitive versions pinned, including TypeScript 6, Expo SDK 57 native modules, Prisma 6 for MongoDB, and peer-compatible Convex integrations
  • synchronize addon option surfaces with current Fumadocs, Skills, and MCP CLIs
  • consolidate shared Skills targets under Universal (.agents/skills), retain separate-directory agents and legacy config compatibility, and cap the visible agent chooser to 10 rows
  • wire Evlog development logs to .evlog/logs for supported Node and Bun targets without installing @evlog/cli
  • keep evlog/fs out of Cloudflare and Workers output, ignore generated log files, add the audit-log skill, and omit local log analysis for edge-only projects
  • use neon-new@latest for quick Neon provisioning and the primary neon@latest CLI for authenticated project creation while accepting legacy setup method names
  • replace the deprecated MongoDB Atlas command path
  • align Clerk templates with the current official quickstarts, including the Next.js frontend API matcher
  • make generated Next.js apps participate in root typechecks
  • regenerate all 506 embedded templates and update affected expectations
  • expand the curated generated-project build set from 9 to 13 representative stacks

Why

Package and external CLI drift had left several templates behind current supported patch releases. Some addon choices were missing, the Skills prompt duplicated agents that share the same project directory and rendered too many rows, Neon quick-create had been renamed, the custom setup still used Neon legacy compatibility package, an invalid Neon region remained selectable, and the Atlas setup command was deprecated.

The Evlog addon also installed agent log-analysis guidance without producing the local NDJSON files that guidance expects. Generated Node and Bun projects now create those files only during development, while edge deployments remain compatible and do not receive filesystem imports.

The latest Clerk Next.js quickstart includes /__clerk/(.*) in its proxy matcher, but both generated Next.js Clerk variants omitted it. The generated Next.js package also lacked a check-types script, so root typecheck commands skipped that app.

Validation

  • bun run check
  • bun run build
  • bun run build:cli
  • default CLI suite: 570 passed, 13 opt-in generated-build tests skipped, 0 failed
  • complete tiered suite: 865 passed, 0 failed
  • smoke matrix: 282 checked, covering 178 valid and 104 invalid configurations
  • Clerk matrix: all 499 supported Clerk configurations generated and verified
  • curated generated projects: 13/13 installed, built, and typechecked across Bun, npm, and pnpm
  • Clerk generated projects: Convex + React, React Router + Fastify, TanStack Start + Hono, Expo + Express, and Workers + Hono all installed, built, and typechecked
  • standalone Next.js Clerk generation passed tsc --noEmit; production build reaches Clerk environment validation as expected when keys are absent
  • live Evlog smoke test: a development request wrote the expected NDJSON event and the production guard wrote no .evlog directory
  • edge regression coverage verifies Workers and Cloudflare output contains no evlog/fs
  • Neon CLI verification: neon-new@0.15.0 and neon@2.38.2 help surfaces, accepted flags, allowed regions, packaged JSON writer, and official create-project response shape
  • live scaffold checks for all WXT, OpenTUI, and Fumadocs templates, plus Starlight, Tauri, Ultracite, Oxlint, and Oxfmt
  • current help checks for database and addon CLIs, without provisioning external resources

Summary by CodeRabbit

  • New Features

    • Added local log file drainage for supported server and web frameworks, with generated logs ignored by version control.
    • Added Astro as a Fumadocs template option.
    • Added Grok Build and Windsurf MCP agent options.
    • Added universal skills-agent selection and improved curated log-analysis skills.
    • Added Neon quick setup using the newer Neon CLI.
    • Expanded Clerk middleware coverage for frontend API routes.
  • Improvements

    • Refreshed generated project dependencies, templates, and development tooling.
    • Updated MongoDB Atlas setup commands and improved generated lint configuration.

@vercel

vercel Bot commented Jul 28, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
create-better-t-stack-web Ready Ready Preview, Comment Jul 28, 2026 10:57pm

Request Review

@AmanVarshney01
AmanVarshney01 marked this pull request as ready for review July 28, 2026 21:49

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 4ab74b4eaa

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread packages/types/src/schemas.ts Resolved
@coderabbitai

coderabbitai Bot commented Jul 28, 2026 •

Copy link
Copy Markdown
Contributor

Review Change Stack

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 5b9f6171-92e0-434b-a82b-f65084cf2dbf

📥 Commits

Reviewing files that changed from the base of the PR and between 111e6fa and 05fd8d4.

⛔ Files ignored due to path filters (1)
  • packages/template-generator/src/templates.generated.ts is excluded by !**/*.generated.*
📒 Files selected for processing (7)
  • apps/cli/src/helpers/addons/skills-setup.ts
  • apps/cli/src/helpers/database-providers/neon-setup.ts
  • apps/cli/test/addon-setup-regressions.test.ts
  • apps/cli/test/addons.test.ts
  • apps/cli/test/frontend.test.ts
  • packages/template-generator/templates/auth/clerk/convex/web/react/next/src/proxy.ts.hbs
  • packages/template-generator/templates/auth/clerk/web/react/next/src/proxy.ts.hbs

Walkthrough

Changes

The CLI now supports Evlog filesystem drains across server and web frameworks, universal skills-agent expansion, Astro Fumadocs, new MCP and Neon options, updated database commands, Clerk proxy routing, refreshed generated templates and dependency pins, and expanded regression coverage.

Evlog filesystem drains

Layer / File(s) Summary
Drain-aware Evlog generation
apps/cli/src/helpers/addons/evlog-setup.ts, packages/template-generator/templates/base/_gitignore
Evlog setup conditionally generates createFsDrain wiring for supported server and web runtimes, including framework-specific hooks, plugins, middleware, and .evlog/ ignore rules.
Drain and runtime regression coverage
apps/cli/test/addons.test.ts
Tests validate filesystem drains, Cloudflare exclusions, generated frontend plugins, ignore rules, and later Evlog patching.

Addon targets and provider options

Layer / File(s) Summary
Addon and provider option contracts
packages/types/src/schemas.ts, apps/cli/src/helpers/addons/fumadocs-setup.ts, apps/cli/src/helpers/addons/mcp-setup.ts, apps/cli/src/helpers/addons/skills-setup.ts
Schemas and prompts add Astro, MCP agents, expanded skills agents, universal selection metadata, and Neon setup values.
Skills installation and curated skills
apps/cli/src/helpers/addons/skills-setup.ts
Universal selections expand into concrete agent targets, aliases are normalized, and analyze-logs is selected only for projects supporting local Evlog logs.
Addon selection regression coverage
apps/cli/test/addon-options.test.ts, apps/cli/test/addon-setup-regressions.test.ts
Tests cover universal agent expansion, updated addon options, and Evlog skill selection.

CLI operations and database flows

Layer / File(s) Summary
Provider commands and CLI metadata
apps/cli/src/helpers/database-providers/neon-setup.ts, apps/cli/src/helpers/database-providers/mongodb-atlas-setup.ts, apps/cli/src/helpers/addons/ultracite-setup.ts, apps/cli/src/index.ts
Neon and MongoDB Atlas setup commands are updated, Neon project arguments are constructed explicitly, Ultracite is bumped, and JSON procedures use "always" metadata.
CLI command and harness validation
apps/cli/test/db-setup-options.test.ts, apps/cli/test/external-commands.test.ts, apps/cli/test/matrix/create-matrix.test.ts, apps/cli/test/generated-builds.test.ts, apps/cli/test/setup.ts
Tests update Neon command inputs, quoted argument parsing, matrix configuration forwarding, generated-build samples, and smoke-test timeout behavior.

Generated dependency refresh

Layer / File(s) Summary
Workspace and generator dependency sources
package.json, apps/cli/package.json, apps/web/package.json, packages/backend/package.json, packages/template-generator/package.json, packages/template-generator/src/..., packages/types/package.json
Workspace, application, backend, generator, processor, and dependency-map versions are updated.
Generated project templates
packages/template-generator/templates/**
Generated desktop, backend, web, native, UI, and frontend templates receive updated dependencies and the Next template gains a check-types script.
Generated dependency assertions
apps/cli/test/addons.test.ts, apps/cli/test/auth.test.ts, apps/cli/test/clerk-matrix.test.ts, apps/cli/test/deployment.test.ts, apps/cli/test/frontend.test.ts, apps/cli/test/external-commands.test.ts
Generated-output tests are updated for refreshed Vite+, authentication, Cloudflare, Nuxt, and linting versions.
Web lint configuration
apps/web/eslint.config.mjs
The web app uses a flat ESLint configuration with Next.js rules and build-output ignores.

Clerk routing coverage

Layer / File(s) Summary
Clerk proxy matching
packages/template-generator/templates/auth/clerk/.../proxy.ts.hbs
Clerk Next.js proxy templates match /__clerk/(.*) routes.
Clerk generated-project validation
apps/cli/test/clerk-matrix.test.ts, apps/cli/test/generated-builds.test.ts
Clerk matrix checks validate proxy contents and native dependency versions, and additional generated-build combinations are registered.

Possibly related PRs

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately summarizes the main changes: version refreshes across templates and updates to addon CLI support.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

Warning

There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure.

🔧 ESLint

If the error stems from missing dependencies, add them to the package.json file. For unrecoverable errors (e.g., due to private dependencies), disable the tool in the CodeRabbit configuration.

ESLint install failed. For unrecoverable errors, disable the tool in CodeRabbit configuration.


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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🧹 Nitpick comments (1)
packages/template-generator/src/processors/auth-deps.ts (1)

8-8: 📐 Maintainability & Code Quality | 🔵 Trivial | ⚡ Quick win

Use camelCase for the updated variable.

Rename CONVEX_BETTER_AUTH_VERSION to convexBetterAuthVersion and update its references at Lines 69, 78, 90, 120, and 121.

As per coding guidelines, **/*.{ts,tsx} files must use camelCase for functions and variables.

Source: Coding guidelines


ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 2f8bfba5-620b-4b06-9ca3-1cf31bae1220

📥 Commits

Reviewing files that changed from the base of the PR and between e3dab3c and 4ab74b4.

⛔ Files ignored due to path filters (2)
  • bun.lock is excluded by !**/*.lock
  • packages/template-generator/src/templates.generated.ts is excluded by !**/*.generated.*
📒 Files selected for processing (44)
  • apps/cli/package.json
  • apps/cli/src/helpers/addons/evlog-setup.ts
  • apps/cli/src/helpers/addons/fumadocs-setup.ts
  • apps/cli/src/helpers/addons/mcp-setup.ts
  • apps/cli/src/helpers/addons/skills-setup.ts
  • apps/cli/src/helpers/addons/ultracite-setup.ts
  • apps/cli/src/helpers/database-providers/mongodb-atlas-setup.ts
  • apps/cli/src/helpers/database-providers/neon-setup.ts
  • apps/cli/src/index.ts
  • apps/cli/test/addon-options.test.ts
  • apps/cli/test/addon-setup-regressions.test.ts
  • apps/cli/test/addons.test.ts
  • apps/cli/test/auth.test.ts
  • apps/cli/test/clerk-matrix.test.ts
  • apps/cli/test/deployment.test.ts
  • apps/cli/test/external-commands.test.ts
  • apps/cli/test/frontend.test.ts
  • apps/cli/test/matrix/create-matrix.test.ts
  • apps/cli/test/setup.ts
  • apps/web/package.json
  • package.json
  • packages/backend/package.json
  • packages/template-generator/package.json
  • packages/template-generator/src/post-process/package-configs.ts
  • packages/template-generator/src/processors/auth-deps.ts
  • packages/template-generator/src/processors/examples-deps.ts
  • packages/template-generator/src/utils/add-deps.ts
  • packages/template-generator/templates/addons/electrobun/apps/desktop/package.json.hbs
  • packages/template-generator/templates/backend/convex/packages/backend/package.json.hbs
  • packages/template-generator/templates/base/_gitignore
  • packages/template-generator/templates/frontend/astro/package.json.hbs
  • packages/template-generator/templates/frontend/native/bare/package.json.hbs
  • packages/template-generator/templates/frontend/native/unistyles/package.json.hbs
  • packages/template-generator/templates/frontend/native/uniwind/package.json.hbs
  • packages/template-generator/templates/frontend/nuxt/package.json.hbs
  • packages/template-generator/templates/frontend/react/next/package.json.hbs
  • packages/template-generator/templates/frontend/react/react-router/package.json.hbs
  • packages/template-generator/templates/frontend/react/tanstack-router/package.json.hbs
  • packages/template-generator/templates/frontend/react/tanstack-start/package.json.hbs
  • packages/template-generator/templates/frontend/solid/package.json.hbs
  • packages/template-generator/templates/frontend/svelte/package.json.hbs
  • packages/template-generator/templates/packages/ui/package.json.hbs
  • packages/types/package.json
  • packages/types/src/schemas.ts

Comment thread apps/web/package.json Resolved
@AmanVarshney01
AmanVarshney01 enabled auto-merge (squash) July 28, 2026 22:56
@AmanVarshney01
AmanVarshney01 merged commit a84b819 into main Jul 28, 2026
3 checks passed
@AmanVarshney01
AmanVarshney01 deleted the aman/refresh-supported-template-versions branch July 28, 2026 22:58

This branch was successfully deployed

1 active deployment
Preview — 05fd8d47 Deployed Jul 28, 2026 by vercel[bot]
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