Repository navigation
chore(templates): update outdated template dependencies - #1302
Conversation
- Polar: @polar-sh/sdk 1.0 and @polar-sh/better-auth 2.1 (createPolarCore, snake_case customer state); Convex keeps sdk 0.47 for @convex-dev/polar - Stripe 10/7, Nx 24, Solid 2 rc.18 (router next.42, vite-plugin next.51), Drizzle 1.0.0-rc.5 - Cloudflare Vite plugin 1.65 (wrangler ^4.152), varlock 1.23 and its integrations, vite-plus 1.4, rolldown 1.2.15, oxfmt 0.74, cn 0.5, filesystem-routing 0.4.1 - document why @planetscale/database stays on 1.x
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
No actionable comments were generated in the recent review.
|
| Layer / File(s) | Summary |
|---|---|
Dependency version updates packages/template-generator/src/utils/add-deps.ts, packages/template-generator/templates/packages/ui/package.json.hbs |
The dependency map updates Drizzle, formatting and build tools, Cloudflare tools, Varlock integrations, and Stripe packages. It adds Drizzle and Polar compatibility comments. The UI template updates cn from ^0.2.5 to ^0.5.0. |
Solid package version updates packages/template-generator/src/template-handlers/extras.ts, packages/template-generator/templates/base/package.json.hbs, packages/template-generator/templates/frontend/solid/package.json.hbs |
Solid overrides and minimum-release-age exclusions use updated versions. The Solid frontend template updates its router, core, web, Vite plugin, and filesystem-routing dependencies. |
Priority:
Merge Risk: 
Minimal · up to 044f1
-
No actionable merge risk is established for this PR.
Pre-merge checks: 
4 · 
1
-
Failed checks: 1 warning Passed checks: 4 passed -
- Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
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 @coderabbitai help to get the list of available commands.
@polar-sh/better-auth 2.1 does not export PolarBetterAuthPlugin, so the auth package's declaration build fails with TS4058 in every Better Auth + Polar project. Keep 1.8 with sdk 0.47 and document why.
Summary
Updates every template dependency that had fallen behind its latest release, except Prisma 8 (needs its own plan) and Polar (blocked upstream, see below).
Major versions
@stripe/stripe-js9 → 10.1.0 and@stripe/react-stripe-js6 → 7.0.0. They move together because react-stripe-js 7 peers on stripe-js>=10 <11. The templates use none of the removed APIs; these packages are only installed as peers of@polar-sh/checkoutfor Convex + Polar.nx.jsonkey we generate is still in the 24 schema, and none of the 24.x migrations touch it.Prerelease lines we track
solid-js,@solidjs/web,signals,compilerandbabel-pluginrc.14 → rc.18@solidjs/routernext.38 → next.42@solidjs/vite-pluginnext.49 → next.51 (required with web rc.16+)minimumReleaseAgeExcludeentries to match.drizzle-orm/drizzle-kit1.0.0-rc.4 → rc.5. kit rc.5 peers on orm rc.5. No template changes were needed: the db clients for every driver and alldrizzle.config.tsvariants typecheck.Minor and patch
@cloudflare/vite-plugin1.54.4 → 1.65.0, withwrangler^4.129.0→^4.152.0(the plugin's peer)varlock1.18 → 1.23 and all@varlock/*integrations to their latest (they peer onvarlock ^1.23.0)vite-plus1.1 → 1.4,rolldown1.2.13 → 1.2.15,oxfmt^0.72 → ^0.74cn^0.2.5 → ^0.5.0 (samecnexport),filesystem-routing0.4.0 → 0.4.1Not updated, and why
@polar-sh/better-auth^1.8.4 /@polar-sh/sdk^0.47.0.@polar-sh/better-auth2.1 does not exportPolarBetterAuthPlugin(it lives in an internaldist/client-*.d.tschunk). Every Better Auth + Polar project'spackages/authdeclaration build then fails withTS4058: Return type of exported function has or is using name 'PolarBetterAuthPlugin' … but cannot be named. 11 generated-build samples failed this way, so the update was reverted.@convex-dev/polar0.9.2 (latest) still imports sdk 0.x subpaths (core.js,funcs/*) that 1.0 removed.@planetscale/databasestays on ^1.20.1. 2.0 removed parameter interpolation, anddrizzle-orm'splanetscale-serverlesssession still callsexecute(sql, params, …), so every query would throw ([BUG]: planetscale-serverless fails every query with @planetscale/database 2.0 (execute no longer accepts params) drizzle-team/drizzle-orm#6398, open). It still typechecks, so this is documented next to the pin.@tanstack/query-corestays on 5.101.4.@tanstack/solid-query6.0.0-rc.5 (still its latest RC) depends on that exact version.bundledNativeModules.json, and SDK 58 is the latest Expo release) and Prisma 8 are unchanged.Upstream notes
@polar-sh/checkout0.4.3 (latest) peers on older Stripe majors. Our Stripe pins were already outside that range before this PR.Verification
bun run check,cd apps/cli && bun run test:ci(112 pass)TS4058error above. After keeping Polar on 1.x, those 11 samples pass, so all 80 passSummary by CodeRabbit