@tanstack/create 0.49.2 → 0.59.4

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.
Files changed (294) hide show
  1. package/CHANGELOG.md +603 -0
  2. package/dist/add-ons.js +42 -2
  3. package/dist/add-to-app.js +36 -7
  4. package/dist/custom-add-ons/add-on.js +2 -26
  5. package/dist/custom-add-ons/starter.js +1 -2
  6. package/dist/file-helpers.js +11 -10
  7. package/dist/frameworks/react/add-ons/ai/assets/src/data/demo-guitars.ts +93 -0
  8. package/dist/frameworks/react/add-ons/ai/assets/src/hooks/demo-useAudioRecorder.ts +85 -0
  9. package/dist/frameworks/react/add-ons/ai/assets/src/hooks/demo-useTTS.ts +78 -0
  10. package/dist/frameworks/react/add-ons/ai/assets/src/lib/demo-ai-hook.ts +22 -0
  11. package/dist/frameworks/react/add-ons/ai/assets/src/lib/demo-guitar-tools.ts +40 -0
  12. package/dist/frameworks/react/add-ons/ai/assets/src/routes/demo/api.ai.chat.ts +99 -0
  13. package/dist/frameworks/react/add-ons/ai/assets/src/routes/demo/api.ai.image.ts +72 -0
  14. package/dist/frameworks/react/add-ons/ai/assets/src/routes/demo/api.ai.structured.ts +136 -0
  15. package/dist/frameworks/react/add-ons/ai/assets/src/routes/demo/api.ai.transcription.ts +89 -0
  16. package/dist/frameworks/react/add-ons/ai/assets/src/routes/demo/api.ai.tts.ts +81 -0
  17. package/dist/frameworks/react/add-ons/ai/info.json +1 -1
  18. package/dist/frameworks/react/add-ons/apollo-client/info.json +1 -1
  19. package/dist/frameworks/react/add-ons/better-auth/assets/src/lib/auth-client.ts +3 -0
  20. package/dist/frameworks/react/add-ons/better-auth/assets/src/lib/auth.ts +9 -0
  21. package/dist/frameworks/react/add-ons/better-auth/assets/src/routes/api/auth/$.ts +11 -0
  22. package/dist/frameworks/react/add-ons/better-auth/info.json +0 -2
  23. package/dist/frameworks/react/add-ons/clerk/info.json +0 -1
  24. package/dist/frameworks/react/add-ons/convex/assets/convex/schema.ts +14 -0
  25. package/dist/frameworks/react/add-ons/convex/assets/convex/todos.ts +43 -0
  26. package/dist/frameworks/react/add-ons/db/assets/src/db-collections/index.ts +20 -0
  27. package/dist/frameworks/react/add-ons/db/assets/src/hooks/demo.useChat.ts +62 -0
  28. package/dist/frameworks/react/add-ons/db/assets/src/routes/demo/db-chat-api.ts +83 -0
  29. package/dist/frameworks/react/add-ons/db/info.json +1 -1
  30. package/dist/frameworks/react/add-ons/drizzle/info.json +1 -1
  31. package/dist/frameworks/react/add-ons/drizzle/package.json.ejs +4 -0
  32. package/dist/frameworks/react/add-ons/form/assets/src/hooks/demo.form-context.ts +4 -0
  33. package/dist/frameworks/react/add-ons/form/assets/src/hooks/demo.form.ts +22 -0
  34. package/dist/frameworks/react/add-ons/mcp/assets/src/mcp-todos.ts +51 -0
  35. package/dist/frameworks/react/add-ons/mcp/assets/src/routes/demo/api.mcp-todos.ts +37 -0
  36. package/dist/frameworks/react/add-ons/mcp/assets/src/routes/mcp.ts +53 -0
  37. package/dist/frameworks/react/add-ons/mcp/assets/src/utils/mcp-handler.ts +61 -0
  38. package/dist/frameworks/react/add-ons/mcp/info.json +1 -2
  39. package/dist/frameworks/react/add-ons/neon/assets/neon-vite-plugin.ts +10 -0
  40. package/dist/frameworks/react/add-ons/neon/assets/src/db.ts +13 -0
  41. package/dist/frameworks/react/add-ons/neon/info.json +1 -2
  42. package/dist/frameworks/react/add-ons/oRPC/assets/src/orpc/client.ts +29 -0
  43. package/dist/frameworks/react/add-ons/oRPC/assets/src/orpc/router/index.ts +6 -0
  44. package/dist/frameworks/react/add-ons/oRPC/assets/src/orpc/router/todos.ts +20 -0
  45. package/dist/frameworks/react/add-ons/oRPC/assets/src/orpc/schema.ts +6 -0
  46. package/dist/frameworks/react/add-ons/oRPC/assets/src/polyfill.ts +21 -0
  47. package/dist/frameworks/react/add-ons/oRPC/assets/src/routes/api.$.ts +77 -0
  48. package/dist/frameworks/react/add-ons/oRPC/assets/src/routes/api.rpc.$.ts +29 -0
  49. package/dist/frameworks/react/add-ons/oRPC/info.json +1 -1
  50. package/dist/frameworks/react/add-ons/paraglide/info.json +1 -1
  51. package/dist/frameworks/react/add-ons/prisma/info.json +1 -1
  52. package/dist/frameworks/react/add-ons/prisma/package.json.ejs +4 -0
  53. package/dist/frameworks/react/add-ons/sentry/info.json +1 -2
  54. package/dist/frameworks/react/add-ons/shadcn/assets/src/lib/utils.ts +6 -0
  55. package/dist/frameworks/react/add-ons/store/assets/src/lib/demo-store.ts +13 -0
  56. package/dist/frameworks/react/add-ons/storybook/assets/_dot_storybook/main.ts +17 -0
  57. package/dist/frameworks/react/add-ons/storybook/assets/_dot_storybook/preview.ts +15 -0
  58. package/dist/frameworks/react/add-ons/storybook/assets/src/components/storybook/button.stories.ts +67 -0
  59. package/dist/frameworks/react/add-ons/storybook/assets/src/components/storybook/index.ts +14 -0
  60. package/dist/frameworks/react/add-ons/storybook/assets/src/components/storybook/input.stories.ts +43 -0
  61. package/dist/frameworks/react/add-ons/storybook/assets/src/components/storybook/radio-group.stories.ts +53 -0
  62. package/dist/frameworks/react/add-ons/storybook/assets/src/components/storybook/slider.stories.ts +55 -0
  63. package/dist/frameworks/react/add-ons/strapi/assets/src/lib/strapiClient.ts +7 -0
  64. package/dist/frameworks/react/add-ons/t3env/assets/src/env.ts +39 -0
  65. package/dist/frameworks/react/add-ons/tRPC/assets/src/integrations/trpc/init.ts +9 -0
  66. package/dist/frameworks/react/add-ons/tRPC/assets/src/integrations/trpc/react.ts +4 -0
  67. package/dist/frameworks/react/add-ons/tRPC/assets/src/integrations/trpc/router.ts +27 -0
  68. package/dist/frameworks/react/add-ons/tRPC/info.json +1 -1
  69. package/dist/frameworks/react/add-ons/table/assets/src/data/demo-table-data.ts +50 -0
  70. package/dist/frameworks/react/add-ons/tanstack-query/assets/src/integrations/tanstack-query/root-provider.tsx.ejs +1 -29
  71. package/dist/frameworks/react/add-ons/workos/info.json +0 -1
  72. package/dist/frameworks/react/examples/events/assets/content-collections.ts +56 -0
  73. package/dist/frameworks/react/examples/events/assets/src/lib/conference-ai-hook.ts +26 -0
  74. package/dist/frameworks/react/examples/events/assets/src/lib/conference-tools.ts +210 -0
  75. package/dist/frameworks/react/examples/events/assets/src/lib/utils.ts +6 -0
  76. package/dist/frameworks/react/examples/events/assets/src/routes/api.remy-chat.ts +121 -0
  77. package/dist/frameworks/react/examples/resume/assets/content-collections.ts +36 -0
  78. package/dist/frameworks/react/examples/resume/assets/src/lib/resume-ai-hook.ts +21 -0
  79. package/dist/frameworks/react/examples/resume/assets/src/lib/resume-tools.ts +165 -0
  80. package/dist/frameworks/react/examples/resume/assets/src/lib/utils.ts +6 -0
  81. package/dist/frameworks/react/examples/resume/assets/src/routes/api.resume-chat.ts +110 -0
  82. package/dist/frameworks/react/hosts/cloudflare/info.json +0 -1
  83. package/dist/frameworks/react/hosts/netlify/info.json +0 -1
  84. package/dist/frameworks/react/hosts/nitro/info.json +0 -1
  85. package/dist/frameworks/react/hosts/railway/info.json +0 -1
  86. package/dist/frameworks/react/index.js +1 -6
  87. package/dist/frameworks/react/project/base/README.md.ejs +86 -436
  88. package/dist/frameworks/react/project/base/_dot_gitignore +4 -0
  89. package/dist/frameworks/react/project/base/package.json +8 -5
  90. package/dist/frameworks/react/project/base/src/components/Header.tsx.ejs +2 -32
  91. package/dist/frameworks/react/project/base/src/routes/__root.tsx.ejs +4 -44
  92. package/dist/frameworks/react/project/base/src/routes/index.tsx.ejs +99 -61
  93. package/dist/frameworks/react/project/base/src/styles.css.ejs +3 -3
  94. package/dist/frameworks/react/project/base/tsconfig.json.ejs +1 -1
  95. package/dist/frameworks/react/project/base/vite.config.ts.ejs +33 -27
  96. package/dist/frameworks/react/project/packages.json +2 -2
  97. package/dist/frameworks/solid/add-ons/better-auth/assets/src/lib/auth-client.ts +3 -0
  98. package/dist/frameworks/solid/add-ons/better-auth/assets/src/lib/auth.ts +9 -0
  99. package/dist/frameworks/solid/add-ons/better-auth/assets/src/routes/api/auth/$.ts +11 -0
  100. package/dist/frameworks/solid/add-ons/better-auth/info.json +1 -1
  101. package/dist/frameworks/solid/add-ons/convex/assets/convex/schema.ts +14 -0
  102. package/dist/frameworks/solid/add-ons/convex/assets/convex/todos.ts +43 -0
  103. package/dist/frameworks/solid/add-ons/solid-ui/assets/src/lib/utils.ts +6 -0
  104. package/dist/frameworks/solid/add-ons/store/assets/src/lib/demo-store.ts +13 -0
  105. package/dist/frameworks/solid/add-ons/strapi/assets/src/lib/strapiClient.ts +7 -0
  106. package/dist/frameworks/solid/add-ons/t3env/assets/src/env.ts +39 -0
  107. package/dist/frameworks/solid/examples/tanchat/assets/ai-streaming-server/src/index.ts +102 -0
  108. package/dist/frameworks/solid/examples/tanchat/assets/src/lib/demo-store.ts +13 -0
  109. package/dist/frameworks/solid/examples/tanchat/assets/src/store/demo.hooks.ts +17 -0
  110. package/dist/frameworks/solid/examples/tanchat/assets/src/store/demo.store.ts +133 -0
  111. package/dist/frameworks/solid/hosts/cloudflare/info.json +0 -1
  112. package/dist/frameworks/solid/hosts/netlify/info.json +0 -1
  113. package/dist/frameworks/solid/hosts/nitro/info.json +0 -1
  114. package/dist/frameworks/solid/hosts/railway/info.json +0 -1
  115. package/dist/frameworks/solid/index.js +1 -6
  116. package/dist/frameworks/solid/project/base/README.md.ejs +43 -117
  117. package/dist/frameworks/solid/project/base/_dot_gitignore +4 -0
  118. package/dist/frameworks/solid/project/base/package.json +8 -3
  119. package/dist/frameworks/solid/project/base/src/components/Header.tsx.ejs +2 -25
  120. package/dist/frameworks/solid/project/base/src/routes/__root.tsx.ejs +3 -30
  121. package/dist/frameworks/solid/project/base/src/routes/index.tsx.ejs +97 -35
  122. package/dist/frameworks/solid/project/base/tsconfig.json.ejs +1 -1
  123. package/dist/frameworks/solid/project/base/vite.config.ts.ejs +15 -20
  124. package/dist/frameworks/solid/project/packages.json +2 -2
  125. package/dist/frameworks.js +0 -1
  126. package/dist/package-json.js +6 -10
  127. package/dist/template-file.js +21 -7
  128. package/dist/types/custom-add-ons/add-on.d.ts +1 -1
  129. package/dist/types/file-helpers.d.ts +0 -1
  130. package/dist/types/types.d.ts +12 -12
  131. package/dist/types.js +1 -2
  132. package/package.json +2 -2
  133. package/src/add-ons.ts +54 -2
  134. package/src/add-to-app.ts +42 -7
  135. package/src/custom-add-ons/add-on.ts +2 -33
  136. package/src/custom-add-ons/starter.ts +1 -2
  137. package/src/file-helpers.ts +11 -10
  138. package/src/frameworks/react/add-ons/ai/info.json +1 -1
  139. package/src/frameworks/react/add-ons/apollo-client/info.json +1 -1
  140. package/src/frameworks/react/add-ons/better-auth/info.json +0 -2
  141. package/src/frameworks/react/add-ons/clerk/info.json +0 -1
  142. package/src/frameworks/react/add-ons/db/info.json +1 -1
  143. package/src/frameworks/react/add-ons/drizzle/info.json +1 -1
  144. package/src/frameworks/react/add-ons/drizzle/package.json.ejs +4 -0
  145. package/src/frameworks/react/add-ons/mcp/info.json +1 -2
  146. package/src/frameworks/react/add-ons/neon/assets/neon-vite-plugin.ts +1 -1
  147. package/src/frameworks/react/add-ons/neon/info.json +1 -2
  148. package/src/frameworks/react/add-ons/oRPC/info.json +1 -1
  149. package/src/frameworks/react/add-ons/paraglide/info.json +1 -1
  150. package/src/frameworks/react/add-ons/prisma/info.json +1 -1
  151. package/src/frameworks/react/add-ons/prisma/package.json.ejs +4 -0
  152. package/src/frameworks/react/add-ons/sentry/info.json +1 -2
  153. package/src/frameworks/react/add-ons/tRPC/info.json +1 -1
  154. package/src/frameworks/react/add-ons/tanstack-query/assets/src/integrations/tanstack-query/root-provider.tsx.ejs +1 -29
  155. package/src/frameworks/react/add-ons/workos/info.json +0 -1
  156. package/src/frameworks/react/hosts/cloudflare/info.json +0 -1
  157. package/src/frameworks/react/hosts/netlify/info.json +0 -1
  158. package/src/frameworks/react/hosts/nitro/info.json +0 -1
  159. package/src/frameworks/react/hosts/railway/info.json +0 -1
  160. package/src/frameworks/react/index.ts +1 -6
  161. package/src/frameworks/react/project/base/README.md.ejs +86 -436
  162. package/src/frameworks/react/project/base/_dot_gitignore +4 -0
  163. package/src/frameworks/react/project/base/package.json +8 -5
  164. package/src/frameworks/react/project/base/src/components/Header.tsx.ejs +2 -32
  165. package/src/frameworks/react/project/base/src/routes/__root.tsx.ejs +4 -44
  166. package/src/frameworks/react/project/base/src/routes/index.tsx.ejs +99 -61
  167. package/src/frameworks/react/project/base/src/styles.css.ejs +3 -3
  168. package/src/frameworks/react/project/base/tsconfig.json.ejs +1 -1
  169. package/src/frameworks/react/project/base/vite.config.ts.ejs +33 -27
  170. package/src/frameworks/react/project/packages.json +2 -2
  171. package/src/frameworks/solid/add-ons/better-auth/info.json +1 -1
  172. package/src/frameworks/solid/hosts/cloudflare/info.json +0 -1
  173. package/src/frameworks/solid/hosts/netlify/info.json +0 -1
  174. package/src/frameworks/solid/hosts/nitro/info.json +0 -1
  175. package/src/frameworks/solid/hosts/railway/info.json +0 -1
  176. package/src/frameworks/solid/index.ts +1 -6
  177. package/src/frameworks/solid/project/base/README.md.ejs +43 -117
  178. package/src/frameworks/solid/project/base/_dot_gitignore +4 -0
  179. package/src/frameworks/solid/project/base/package.json +8 -3
  180. package/src/frameworks/solid/project/base/src/components/Header.tsx.ejs +2 -25
  181. package/src/frameworks/solid/project/base/src/routes/__root.tsx.ejs +3 -30
  182. package/src/frameworks/solid/project/base/src/routes/index.tsx.ejs +97 -35
  183. package/src/frameworks/solid/project/base/tsconfig.json.ejs +1 -1
  184. package/src/frameworks/solid/project/base/vite.config.ts.ejs +15 -20
  185. package/src/frameworks/solid/project/packages.json +2 -2
  186. package/src/frameworks.ts +0 -1
  187. package/src/package-json.ts +6 -10
  188. package/src/template-file.ts +27 -8
  189. package/src/types.ts +1 -2
  190. package/tests/add-to-app.test.ts +37 -0
  191. package/tests/copy-assets.test.ts +53 -0
  192. package/tests/file-helper.test.ts +23 -2
  193. package/tests/package-json.test.ts +32 -0
  194. package/tests/template-file.test.ts +28 -0
  195. package/dist/frameworks/react/add-ons/module-federation/assets/module-federation.config.js.ejs +0 -31
  196. package/dist/frameworks/react/add-ons/module-federation/assets/src/demo-mf-component.tsx +0 -3
  197. package/dist/frameworks/react/add-ons/module-federation/assets/src/demo-mf-self-contained.tsx +0 -11
  198. package/dist/frameworks/react/add-ons/module-federation/info.json +0 -11
  199. package/dist/frameworks/react/add-ons/module-federation/package.json +0 -5
  200. package/dist/frameworks/react/add-ons/module-federation/small-logo.svg +0 -87
  201. package/dist/frameworks/react/add-ons/start/assets/_dot_gitignore.append +0 -3
  202. package/dist/frameworks/react/add-ons/start/assets/src/router.tsx.ejs +0 -77
  203. package/dist/frameworks/react/add-ons/start/assets/src/routes/demo/api.tq-todos.ts.ejs +0 -35
  204. package/dist/frameworks/react/add-ons/start/assets/src/routes/demo/start.api-request.tsx.ejs +0 -68
  205. package/dist/frameworks/react/add-ons/start/assets/src/routes/demo/start.css.ejs +0 -43
  206. package/dist/frameworks/react/add-ons/start/assets/src/routes/demo/start.server-funcs.tsx.ejs +0 -183
  207. package/dist/frameworks/react/add-ons/start/assets/src/routes/demo/start.ssr.data-only.tsx.ejs +0 -55
  208. package/dist/frameworks/react/add-ons/start/assets/src/routes/demo/start.ssr.full-ssr.tsx.ejs +0 -55
  209. package/dist/frameworks/react/add-ons/start/assets/src/routes/demo/start.ssr.index.tsx.ejs +0 -62
  210. package/dist/frameworks/react/add-ons/start/assets/src/routes/demo/start.ssr.spa-mode.tsx.ejs +0 -62
  211. package/dist/frameworks/react/add-ons/start/assets/src/routes/index.tsx.ejs +0 -142
  212. package/dist/frameworks/react/add-ons/start/assets/src/server.ts.ejs +0 -9
  213. package/dist/frameworks/react/add-ons/start/assets/vite.config.ts.ejs +0 -40
  214. package/dist/frameworks/react/add-ons/start/info.json +0 -61
  215. package/dist/frameworks/react/add-ons/start/package.json +0 -12
  216. package/dist/frameworks/react/add-ons/start/small-logo.svg +0 -1
  217. package/dist/frameworks/react/project/base/index.html.ejs +0 -20
  218. package/dist/frameworks/react/project/base/src/App.css.ejs +0 -38
  219. package/dist/frameworks/react/project/base/src/App.tsx.ejs +0 -63
  220. package/dist/frameworks/react/project/base/src/components/Header.css.ejs +0 -18
  221. package/dist/frameworks/react/project/base/src/logo.svg +0 -12
  222. package/dist/frameworks/react/project/base/src/main.tsx.ejs +0 -166
  223. package/dist/frameworks/react/project/base/src/reportWebVitals.ts.ejs +0 -28
  224. package/dist/frameworks/solid/add-ons/module-federation/assets/module-federation.config.js.ejs +0 -27
  225. package/dist/frameworks/solid/add-ons/module-federation/assets/src/demo-mf-component.tsx +0 -3
  226. package/dist/frameworks/solid/add-ons/module-federation/assets/src/demo-mf-self-contained.tsx +0 -9
  227. package/dist/frameworks/solid/add-ons/module-federation/info.json +0 -10
  228. package/dist/frameworks/solid/add-ons/module-federation/package.json +0 -5
  229. package/dist/frameworks/solid/add-ons/module-federation/small-logo.svg +0 -87
  230. package/dist/frameworks/solid/add-ons/start/assets/public/tanstack-circle-logo.png +0 -0
  231. package/dist/frameworks/solid/add-ons/start/assets/public/tanstack-word-logo-white.svg +0 -1
  232. package/dist/frameworks/solid/add-ons/start/assets/src/router.tsx.ejs +0 -30
  233. package/dist/frameworks/solid/add-ons/start/assets/src/routes/demo.start.server-funcs.tsx +0 -49
  234. package/dist/frameworks/solid/add-ons/start/assets/src/routes/index.tsx.ejs +0 -138
  235. package/dist/frameworks/solid/add-ons/start/assets/vite.config.ts.ejs +0 -22
  236. package/dist/frameworks/solid/add-ons/start/info.json +0 -18
  237. package/dist/frameworks/solid/add-ons/start/package.json +0 -15
  238. package/dist/frameworks/solid/add-ons/start/small-logo.svg +0 -1
  239. package/dist/frameworks/solid/project/base/index.html.ejs +0 -20
  240. package/dist/frameworks/solid/project/base/src/App.css.ejs +0 -38
  241. package/dist/frameworks/solid/project/base/src/App.tsx.ejs +0 -34
  242. package/dist/frameworks/solid/project/base/src/logo.svg +0 -120
  243. package/dist/frameworks/solid/project/base/src/main.tsx.ejs +0 -126
  244. package/src/frameworks/react/add-ons/module-federation/assets/module-federation.config.js.ejs +0 -31
  245. package/src/frameworks/react/add-ons/module-federation/assets/src/demo-mf-component.tsx +0 -3
  246. package/src/frameworks/react/add-ons/module-federation/assets/src/demo-mf-self-contained.tsx +0 -11
  247. package/src/frameworks/react/add-ons/module-federation/info.json +0 -11
  248. package/src/frameworks/react/add-ons/module-federation/package.json +0 -5
  249. package/src/frameworks/react/add-ons/module-federation/small-logo.svg +0 -87
  250. package/src/frameworks/react/add-ons/start/assets/_dot_gitignore.append +0 -3
  251. package/src/frameworks/react/add-ons/start/assets/src/data/demo.punk-songs.ts +0 -13
  252. package/src/frameworks/react/add-ons/start/assets/src/router.tsx.ejs +0 -77
  253. package/src/frameworks/react/add-ons/start/assets/src/routes/demo/api.names.ts +0 -10
  254. package/src/frameworks/react/add-ons/start/assets/src/routes/demo/api.tq-todos.ts.ejs +0 -35
  255. package/src/frameworks/react/add-ons/start/assets/src/routes/demo/start.api-request.tsx.ejs +0 -68
  256. package/src/frameworks/react/add-ons/start/assets/src/routes/demo/start.css.ejs +0 -43
  257. package/src/frameworks/react/add-ons/start/assets/src/routes/demo/start.server-funcs.tsx.ejs +0 -183
  258. package/src/frameworks/react/add-ons/start/assets/src/routes/demo/start.ssr.data-only.tsx.ejs +0 -55
  259. package/src/frameworks/react/add-ons/start/assets/src/routes/demo/start.ssr.full-ssr.tsx.ejs +0 -55
  260. package/src/frameworks/react/add-ons/start/assets/src/routes/demo/start.ssr.index.tsx.ejs +0 -62
  261. package/src/frameworks/react/add-ons/start/assets/src/routes/demo/start.ssr.spa-mode.tsx.ejs +0 -62
  262. package/src/frameworks/react/add-ons/start/assets/src/routes/index.tsx.ejs +0 -142
  263. package/src/frameworks/react/add-ons/start/assets/src/server.ts.ejs +0 -9
  264. package/src/frameworks/react/add-ons/start/assets/vite.config.ts.ejs +0 -40
  265. package/src/frameworks/react/add-ons/start/info.json +0 -61
  266. package/src/frameworks/react/add-ons/start/package.json +0 -12
  267. package/src/frameworks/react/add-ons/start/small-logo.svg +0 -1
  268. package/src/frameworks/react/project/base/index.html.ejs +0 -20
  269. package/src/frameworks/react/project/base/src/App.css.ejs +0 -38
  270. package/src/frameworks/react/project/base/src/App.tsx.ejs +0 -63
  271. package/src/frameworks/react/project/base/src/components/Header.css.ejs +0 -18
  272. package/src/frameworks/react/project/base/src/logo.svg +0 -12
  273. package/src/frameworks/react/project/base/src/main.tsx.ejs +0 -166
  274. package/src/frameworks/react/project/base/src/reportWebVitals.ts.ejs +0 -28
  275. package/src/frameworks/solid/add-ons/module-federation/assets/module-federation.config.js.ejs +0 -27
  276. package/src/frameworks/solid/add-ons/module-federation/assets/src/demo-mf-component.tsx +0 -3
  277. package/src/frameworks/solid/add-ons/module-federation/assets/src/demo-mf-self-contained.tsx +0 -9
  278. package/src/frameworks/solid/add-ons/module-federation/info.json +0 -10
  279. package/src/frameworks/solid/add-ons/module-federation/package.json +0 -5
  280. package/src/frameworks/solid/add-ons/module-federation/small-logo.svg +0 -87
  281. package/src/frameworks/solid/add-ons/start/assets/public/tanstack-circle-logo.png +0 -0
  282. package/src/frameworks/solid/add-ons/start/assets/public/tanstack-word-logo-white.svg +0 -1
  283. package/src/frameworks/solid/add-ons/start/assets/src/router.tsx.ejs +0 -30
  284. package/src/frameworks/solid/add-ons/start/assets/src/routes/demo.start.server-funcs.tsx +0 -49
  285. package/src/frameworks/solid/add-ons/start/assets/src/routes/index.tsx.ejs +0 -138
  286. package/src/frameworks/solid/add-ons/start/assets/vite.config.ts.ejs +0 -22
  287. package/src/frameworks/solid/add-ons/start/info.json +0 -18
  288. package/src/frameworks/solid/add-ons/start/package.json +0 -15
  289. package/src/frameworks/solid/add-ons/start/small-logo.svg +0 -1
  290. package/src/frameworks/solid/project/base/index.html.ejs +0 -20
  291. package/src/frameworks/solid/project/base/src/App.css.ejs +0 -38
  292. package/src/frameworks/solid/project/base/src/App.tsx.ejs +0 -34
  293. package/src/frameworks/solid/project/base/src/logo.svg +0 -120
  294. package/src/frameworks/solid/project/base/src/main.tsx.ejs +0 -126
package/CHANGELOG.md CHANGED
@@ -1,5 +1,608 @@
1
1
  # @tanstack/create
2
2
 
3
+ ## 0.59.4
4
+
5
+ ### Patch Changes
6
+
7
+ - Allow `better-sqlite3` build scripts in generated pnpm projects when using the React Drizzle or Prisma SQLite add-ons, preventing runtime native binding errors. ([`dbd3086`](https://github.com/TanStack/cli/commit/dbd308621464d14bbc03158b2972fd061ea6ccb1))
8
+
9
+ - Fix `tanstack add` on Windows when generated output paths lose the drive letter, preventing duplicated project paths from being written. ([`4f7c925`](https://github.com/TanStack/cli/commit/4f7c9255f365b1993ec91ac447dfcbfe6dd4903d))
10
+
11
+ ## 0.59.3
12
+
13
+ ### Patch Changes
14
+
15
+ - Update generated React and Solid app template dependencies to use `@tailwindcss/vite` and `tailwindcss` `^4.1.18`, fixing incompatibility with Vite 7. ([`a93d7e5`](https://github.com/TanStack/cli/commit/a93d7e5d43bc1db37f2251bf88de7681c9a7387d))
16
+
17
+ ## 0.59.2
18
+
19
+ ### Patch Changes
20
+
21
+ - Ignore transient `__unconfig*` files in generated React and Solid app `.gitignore` templates to prevent VS Code Vitest Explorer startup errors caused by temporary config files. ([`2f3c4d7`](https://github.com/TanStack/cli/commit/2f3c4d79b1ecdf8b8404d23e7b25bfbbbf77f48f))
22
+
23
+ ## 0.59.1
24
+
25
+ ### Patch Changes
26
+
27
+ - Normalize add-on source filenames under `src/` to TypeScript extensions when TypeScript is enabled, converting `.js` to `.ts` and `.jsx` to `.tsx`. ([`0f2744e`](https://github.com/TanStack/cli/commit/0f2744ea4675dbc61ff14ebbe57f77438606b26b))
28
+
29
+ ## 0.59.0
30
+
31
+ ### Minor Changes
32
+
33
+ - feat: case-insensitive add-on lookup with typo suggestions
34
+
35
+ - feat(mcp): add getAddOnDetails tool and expand add-on metadata
36
+
37
+ Add new MCP tool to retrieve detailed add-on information including
38
+ routes, package additions, files, and documentation. Also expand
39
+ listTanStackAddOns to include type, category, link, warning, and
40
+ exclusive fields.
41
+
42
+ - feat: force TanStack Start with Tailwind CSS always enabled
43
+
44
+ - Remove code-router mode and --router-only flag (TanStack Start only)
45
+ - Remove start add-on (baked into base templates)
46
+ - Remove module-federation add-on
47
+ - Force Tailwind CSS to always be enabled
48
+ - Remove --tailwind/--no-tailwind CLI flags
49
+ - Remove selectTailwind and selectTypescript prompts
50
+ - Remove forcedMode parameter (mode always file-router)
51
+ - Simplify template conditionals and hardcode typescript/tailwind values
52
+ - Update README.md.ejs with instructions for removing Tailwind
53
+ - Clean up dead code and unused functions
54
+ - Update all CLI wrappers to show deprecation warnings
55
+
56
+ ### Patch Changes
57
+
58
+ - ci: Version Packages (#338)
59
+
60
+ Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
61
+
62
+ - ci: Version Packages (#311)
63
+
64
+ Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
65
+
66
+ - ci: Version Packages (#337)
67
+
68
+ Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
69
+
70
+ - ci: Version Packages (#335)
71
+
72
+ Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
73
+
74
+ - ci: Version Packages (#327)
75
+
76
+ Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
77
+
78
+ - ci: Version Packages (#312)
79
+
80
+ Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
81
+
82
+ - ci: Version Packages (#325)
83
+
84
+ Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
85
+
86
+ - ci: Version Packages (#326)
87
+
88
+ Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
89
+
90
+ - ci: Version Packages (#313)
91
+
92
+ Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
93
+ Co-authored-by: Tanner Linsley <tannerlinsley@gmail.com>
94
+
95
+ - fix: resolve Windows path handling in relativePath causing incorrect Clerk imports (#324)
96
+
97
+ - ci: Version Packages (#336)
98
+
99
+ Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
100
+
101
+ - chore: remove unused Provider function from tanstack-query template (#272)
102
+
103
+ - fix(neon): use named import for postgresPlugin (#320)
104
+
105
+ The @neondatabase/vite-plugin-postgres package exports postgresPlugin as a
106
+ named export, not a default export. This fixes the SyntaxError when running
107
+ pnpm dev on projects created with the Neon add-on.
108
+
109
+ Fixes #318
110
+
111
+ - fix: Update Paraglide JS url (#307)
112
+
113
+ Co-authored-by: Tanner Linsley <tannerlinsley@gmail.com>
114
+
115
+ - fix: normalize path separators in toCleanPath to fix missing tsconfig.json on Windows (#319)
116
+
117
+ - ci: Version Packages (#334)
118
+
119
+ Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
120
+
121
+ ## 0.58.0
122
+
123
+ ### Minor Changes
124
+
125
+ - feat(mcp): add getAddOnDetails tool and expand add-on metadata
126
+
127
+ Add new MCP tool to retrieve detailed add-on information including
128
+ routes, package additions, files, and documentation. Also expand
129
+ listTanStackAddOns to include type, category, link, warning, and
130
+ exclusive fields.
131
+
132
+ - feat: case-insensitive add-on lookup with typo suggestions
133
+
134
+ - feat: force TanStack Start with Tailwind CSS always enabled
135
+
136
+ - Remove code-router mode and --router-only flag (TanStack Start only)
137
+ - Remove start add-on (baked into base templates)
138
+ - Remove module-federation add-on
139
+ - Force Tailwind CSS to always be enabled
140
+ - Remove --tailwind/--no-tailwind CLI flags
141
+ - Remove selectTailwind and selectTypescript prompts
142
+ - Remove forcedMode parameter (mode always file-router)
143
+ - Simplify template conditionals and hardcode typescript/tailwind values
144
+ - Update README.md.ejs with instructions for removing Tailwind
145
+ - Clean up dead code and unused functions
146
+ - Update all CLI wrappers to show deprecation warnings
147
+
148
+ ### Patch Changes
149
+
150
+ - ci: Version Packages (#325)
151
+
152
+ Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
153
+
154
+ - ci: Version Packages (#336)
155
+
156
+ Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
157
+
158
+ - fix: Update Paraglide JS url (#307)
159
+
160
+ Co-authored-by: Tanner Linsley <tannerlinsley@gmail.com>
161
+
162
+ - fix(neon): use named import for postgresPlugin (#320)
163
+
164
+ The @neondatabase/vite-plugin-postgres package exports postgresPlugin as a
165
+ named export, not a default export. This fixes the SyntaxError when running
166
+ pnpm dev on projects created with the Neon add-on.
167
+
168
+ Fixes #318
169
+
170
+ - ci: Version Packages (#313)
171
+
172
+ Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
173
+ Co-authored-by: Tanner Linsley <tannerlinsley@gmail.com>
174
+
175
+ - ci: Version Packages (#334)
176
+
177
+ Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
178
+
179
+ - ci: Version Packages (#335)
180
+
181
+ Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
182
+
183
+ - ci: Version Packages (#326)
184
+
185
+ Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
186
+
187
+ - ci: Version Packages (#312)
188
+
189
+ Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
190
+
191
+ - ci: Version Packages (#311)
192
+
193
+ Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
194
+
195
+ - ci: Version Packages (#337)
196
+
197
+ Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
198
+
199
+ - ci: Version Packages (#327)
200
+
201
+ Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
202
+
203
+ - chore: remove unused Provider function from tanstack-query template (#272)
204
+
205
+ - fix: resolve Windows path handling in relativePath causing incorrect Clerk imports (#324)
206
+
207
+ - fix: normalize path separators in toCleanPath to fix missing tsconfig.json on Windows (#319)
208
+
209
+ ## 0.57.0
210
+
211
+ ### Minor Changes
212
+
213
+ - feat: force TanStack Start with Tailwind CSS always enabled
214
+
215
+ - Remove code-router mode and --router-only flag (TanStack Start only)
216
+ - Remove start add-on (baked into base templates)
217
+ - Remove module-federation add-on
218
+ - Force Tailwind CSS to always be enabled
219
+ - Remove --tailwind/--no-tailwind CLI flags
220
+ - Remove selectTailwind and selectTypescript prompts
221
+ - Remove forcedMode parameter (mode always file-router)
222
+ - Simplify template conditionals and hardcode typescript/tailwind values
223
+ - Update README.md.ejs with instructions for removing Tailwind
224
+ - Clean up dead code and unused functions
225
+ - Update all CLI wrappers to show deprecation warnings
226
+
227
+ - feat: case-insensitive add-on lookup with typo suggestions
228
+
229
+ - feat(mcp): add getAddOnDetails tool and expand add-on metadata
230
+
231
+ Add new MCP tool to retrieve detailed add-on information including
232
+ routes, package additions, files, and documentation. Also expand
233
+ listTanStackAddOns to include type, category, link, warning, and
234
+ exclusive fields.
235
+
236
+ ### Patch Changes
237
+
238
+ - ci: Version Packages (#313)
239
+
240
+ Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
241
+ Co-authored-by: Tanner Linsley <tannerlinsley@gmail.com>
242
+
243
+ - chore: remove unused Provider function from tanstack-query template (#272)
244
+
245
+ - ci: Version Packages (#311)
246
+
247
+ Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
248
+
249
+ - ci: Version Packages (#336)
250
+
251
+ Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
252
+
253
+ - fix: normalize path separators in toCleanPath to fix missing tsconfig.json on Windows (#319)
254
+
255
+ - ci: Version Packages (#327)
256
+
257
+ Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
258
+
259
+ - fix: Update Paraglide JS url (#307)
260
+
261
+ Co-authored-by: Tanner Linsley <tannerlinsley@gmail.com>
262
+
263
+ - ci: Version Packages (#325)
264
+
265
+ Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
266
+
267
+ - fix(neon): use named import for postgresPlugin (#320)
268
+
269
+ The @neondatabase/vite-plugin-postgres package exports postgresPlugin as a
270
+ named export, not a default export. This fixes the SyntaxError when running
271
+ pnpm dev on projects created with the Neon add-on.
272
+
273
+ Fixes #318
274
+
275
+ - ci: Version Packages (#334)
276
+
277
+ Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
278
+
279
+ - ci: Version Packages (#326)
280
+
281
+ Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
282
+
283
+ - ci: Version Packages (#335)
284
+
285
+ Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
286
+
287
+ - fix: resolve Windows path handling in relativePath causing incorrect Clerk imports (#324)
288
+
289
+ - ci: Version Packages (#312)
290
+
291
+ Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
292
+
293
+ ## 0.56.0
294
+
295
+ ### Minor Changes
296
+
297
+ - feat(mcp): add getAddOnDetails tool and expand add-on metadata
298
+
299
+ Add new MCP tool to retrieve detailed add-on information including
300
+ routes, package additions, files, and documentation. Also expand
301
+ listTanStackAddOns to include type, category, link, warning, and
302
+ exclusive fields.
303
+
304
+ - feat: case-insensitive add-on lookup with typo suggestions
305
+
306
+ - feat: force TanStack Start with Tailwind CSS always enabled
307
+
308
+ - Remove code-router mode and --router-only flag (TanStack Start only)
309
+ - Remove start add-on (baked into base templates)
310
+ - Remove module-federation add-on
311
+ - Force Tailwind CSS to always be enabled
312
+ - Remove --tailwind/--no-tailwind CLI flags
313
+ - Remove selectTailwind and selectTypescript prompts
314
+ - Remove forcedMode parameter (mode always file-router)
315
+ - Simplify template conditionals and hardcode typescript/tailwind values
316
+ - Update README.md.ejs with instructions for removing Tailwind
317
+ - Clean up dead code and unused functions
318
+ - Update all CLI wrappers to show deprecation warnings
319
+
320
+ ### Patch Changes
321
+
322
+ - ci: Version Packages (#325)
323
+
324
+ Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
325
+
326
+ - ci: Version Packages (#335)
327
+
328
+ Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
329
+
330
+ - fix(neon): use named import for postgresPlugin (#320)
331
+
332
+ The @neondatabase/vite-plugin-postgres package exports postgresPlugin as a
333
+ named export, not a default export. This fixes the SyntaxError when running
334
+ pnpm dev on projects created with the Neon add-on.
335
+
336
+ Fixes #318
337
+
338
+ - fix: Update Paraglide JS url (#307)
339
+
340
+ Co-authored-by: Tanner Linsley <tannerlinsley@gmail.com>
341
+
342
+ - ci: Version Packages (#312)
343
+
344
+ Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
345
+
346
+ - fix: resolve Windows path handling in relativePath causing incorrect Clerk imports (#324)
347
+
348
+ - ci: Version Packages (#326)
349
+
350
+ Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
351
+
352
+ - fix: normalize path separators in toCleanPath to fix missing tsconfig.json on Windows (#319)
353
+
354
+ - ci: Version Packages (#311)
355
+
356
+ Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
357
+
358
+ - ci: Version Packages (#313)
359
+
360
+ Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
361
+ Co-authored-by: Tanner Linsley <tannerlinsley@gmail.com>
362
+
363
+ - ci: Version Packages (#334)
364
+
365
+ Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
366
+
367
+ - chore: remove unused Provider function from tanstack-query template (#272)
368
+
369
+ - ci: Version Packages (#327)
370
+
371
+ Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
372
+
373
+ ## 0.55.0
374
+
375
+ ### Minor Changes
376
+
377
+ - feat(mcp): add getAddOnDetails tool and expand add-on metadata
378
+
379
+ Add new MCP tool to retrieve detailed add-on information including
380
+ routes, package additions, files, and documentation. Also expand
381
+ listTanStackAddOns to include type, category, link, warning, and
382
+ exclusive fields.
383
+
384
+ - feat: case-insensitive add-on lookup with typo suggestions
385
+
386
+ - feat: force TanStack Start with Tailwind CSS always enabled
387
+
388
+ - Remove code-router mode and --router-only flag (TanStack Start only)
389
+ - Remove start add-on (baked into base templates)
390
+ - Remove module-federation add-on
391
+ - Force Tailwind CSS to always be enabled
392
+ - Remove --tailwind/--no-tailwind CLI flags
393
+ - Remove selectTailwind and selectTypescript prompts
394
+ - Remove forcedMode parameter (mode always file-router)
395
+ - Simplify template conditionals and hardcode typescript/tailwind values
396
+ - Update README.md.ejs with instructions for removing Tailwind
397
+ - Clean up dead code and unused functions
398
+ - Update all CLI wrappers to show deprecation warnings
399
+
400
+ ### Patch Changes
401
+
402
+ - ci: Version Packages (#327)
403
+
404
+ Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
405
+
406
+ - ci: Version Packages (#313)
407
+
408
+ Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
409
+ Co-authored-by: Tanner Linsley <tannerlinsley@gmail.com>
410
+
411
+ - chore: remove unused Provider function from tanstack-query template (#272)
412
+
413
+ - ci: Version Packages (#326)
414
+
415
+ Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
416
+
417
+ - ci: Version Packages (#311)
418
+
419
+ Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
420
+
421
+ - fix: resolve Windows path handling in relativePath causing incorrect Clerk imports (#324)
422
+
423
+ - ci: Version Packages (#312)
424
+
425
+ Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
426
+
427
+ - ci: Version Packages (#334)
428
+
429
+ Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
430
+
431
+ - fix(neon): use named import for postgresPlugin (#320)
432
+
433
+ The @neondatabase/vite-plugin-postgres package exports postgresPlugin as a
434
+ named export, not a default export. This fixes the SyntaxError when running
435
+ pnpm dev on projects created with the Neon add-on.
436
+
437
+ Fixes #318
438
+
439
+ - fix: Update Paraglide JS url (#307)
440
+
441
+ Co-authored-by: Tanner Linsley <tannerlinsley@gmail.com>
442
+
443
+ - fix: normalize path separators in toCleanPath to fix missing tsconfig.json on Windows (#319)
444
+
445
+ - ci: Version Packages (#325)
446
+
447
+ Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
448
+
449
+ ## 0.54.0
450
+
451
+ ### Minor Changes
452
+
453
+ - feat(mcp): add getAddOnDetails tool and expand add-on metadata
454
+
455
+ Add new MCP tool to retrieve detailed add-on information including
456
+ routes, package additions, files, and documentation. Also expand
457
+ listTanStackAddOns to include type, category, link, warning, and
458
+ exclusive fields.
459
+
460
+ - feat: case-insensitive add-on lookup with typo suggestions
461
+
462
+ - feat: force TanStack Start with Tailwind CSS always enabled
463
+
464
+ - Remove code-router mode and --router-only flag (TanStack Start only)
465
+ - Remove start add-on (baked into base templates)
466
+ - Remove module-federation add-on
467
+ - Force Tailwind CSS to always be enabled
468
+ - Remove --tailwind/--no-tailwind CLI flags
469
+ - Remove selectTailwind and selectTypescript prompts
470
+ - Remove forcedMode parameter (mode always file-router)
471
+ - Simplify template conditionals and hardcode typescript/tailwind values
472
+ - Update README.md.ejs with instructions for removing Tailwind
473
+ - Clean up dead code and unused functions
474
+ - Update all CLI wrappers to show deprecation warnings
475
+
476
+ ### Patch Changes
477
+
478
+ - ci: Version Packages (#313)
479
+
480
+ Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
481
+ Co-authored-by: Tanner Linsley <tannerlinsley@gmail.com>
482
+
483
+ - fix(neon): use named import for postgresPlugin (#320)
484
+
485
+ The @neondatabase/vite-plugin-postgres package exports postgresPlugin as a
486
+ named export, not a default export. This fixes the SyntaxError when running
487
+ pnpm dev on projects created with the Neon add-on.
488
+
489
+ Fixes #318
490
+
491
+ - fix: resolve Windows path handling in relativePath causing incorrect Clerk imports (#324)
492
+
493
+ - ci: Version Packages (#325)
494
+
495
+ Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
496
+
497
+ - ci: Version Packages (#326)
498
+
499
+ Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
500
+
501
+ - ci: Version Packages (#327)
502
+
503
+ Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
504
+
505
+ - ci: Version Packages (#311)
506
+
507
+ Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
508
+
509
+ - ci: Version Packages (#312)
510
+
511
+ Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
512
+
513
+ - fix: Update Paraglide JS url (#307)
514
+
515
+ Co-authored-by: Tanner Linsley <tannerlinsley@gmail.com>
516
+
517
+ - chore: remove unused Provider function from tanstack-query template (#272)
518
+
519
+ - fix: normalize path separators in toCleanPath to fix missing tsconfig.json on Windows (#319)
520
+
521
+ ## 0.53.2
522
+
523
+ ### Patch Changes
524
+
525
+ - Add case-insensitive add-on ID matching and "did you mean?" suggestions for typos ([`61011ec`](https://github.com/TanStack/cli/commit/61011ec171283cd6de020e2cb6ac9f943a3aa47b))
526
+
527
+ - fix: normalize path separators in toCleanPath to fix missing tsconfig.json on Windows ([`2cf6703`](https://github.com/TanStack/cli/commit/2cf6703a082d0441f96f599eab21559b05742f92))
528
+
529
+ - chore: remove unused Provider function from tanstack-query root-provider template ([`46a4903`](https://github.com/TanStack/cli/commit/46a49033547f7e6c9905f4e94cca07ce0988f63a))
530
+
531
+ ## 0.53.1
532
+
533
+ ### Patch Changes
534
+
535
+ - fix: resolve Windows path handling in relativePath causing incorrect Clerk imports ([`72049cb`](https://github.com/TanStack/cli/commit/72049cb134f9ecd169da161154899cc84a5c39b8))
536
+
537
+ ## 0.53.0
538
+
539
+ ### Minor Changes
540
+
541
+ - force tailwind, force typescript ([`337eeba`](https://github.com/TanStack/cli/commit/337eebaafa190de96194910b6c8c9e550ca142fc))
542
+
543
+ ## 0.52.0
544
+
545
+ ### Minor Changes
546
+
547
+ - feat(mcp): add getAddOnDetails tool and expand add-on metadata
548
+
549
+ Add new MCP tool to retrieve detailed add-on information including
550
+ routes, package additions, files, and documentation. Also expand
551
+ listTanStackAddOns to include type, category, link, warning, and
552
+ exclusive fields.
553
+
554
+ ### Patch Changes
555
+
556
+ - fix: Update Paraglide JS url (#307)
557
+
558
+ Co-authored-by: Tanner Linsley <tannerlinsley@gmail.com>
559
+
560
+ - ci: Version Packages (#311)
561
+
562
+ Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
563
+
564
+ - ci: Version Packages (#312)
565
+
566
+ Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
567
+
568
+ ## 0.51.0
569
+
570
+ ### Minor Changes
571
+
572
+ - feat(mcp): add getAddOnDetails tool and expand add-on metadata
573
+
574
+ Add new MCP tool to retrieve detailed add-on information including
575
+ routes, package additions, files, and documentation. Also expand
576
+ listTanStackAddOns to include type, category, link, warning, and
577
+ exclusive fields.
578
+
579
+ ### Patch Changes
580
+
581
+ - fix: Update Paraglide JS url (#307)
582
+
583
+ Co-authored-by: Tanner Linsley <tannerlinsley@gmail.com>
584
+
585
+ - ci: Version Packages (#311)
586
+
587
+ Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
588
+
589
+ ## 0.50.0
590
+
591
+ ### Minor Changes
592
+
593
+ - feat(mcp): add getAddOnDetails tool and expand add-on metadata
594
+
595
+ Add new MCP tool to retrieve detailed add-on information including
596
+ routes, package additions, files, and documentation. Also expand
597
+ listTanStackAddOns to include type, category, link, warning, and
598
+ exclusive fields.
599
+
600
+ ## 0.49.3
601
+
602
+ ### Patch Changes
603
+
604
+ - fix: do not exclude .ts files in asset transfer ([`30edd20`](https://github.com/TanStack/cli/commit/30edd208fd81b5c501fa42cd476232273ff108d1))
605
+
3
606
  ## 0.49.2
4
607
 
5
608
  ### Patch Changes
package/dist/add-ons.js CHANGED
@@ -15,16 +15,23 @@ export async function finalizeAddOns(framework, mode, chosenAddOnIDs) {
15
15
  const addOns = getAllAddOns(framework, mode);
16
16
  for (const addOnID of finalAddOnIDs) {
17
17
  let addOn;
18
- const localAddOn = addOns.find((a) => a.id === addOnID);
18
+ const localAddOn = addOns.find((a) => a.id === addOnID) ??
19
+ addOns.find((a) => a.id.toLowerCase() === addOnID.toLowerCase());
19
20
  if (localAddOn) {
20
21
  addOn = loadAddOn(localAddOn);
22
+ if (localAddOn.id !== addOnID) {
23
+ // Replace the mistyped ID with the canonical one
24
+ finalAddOnIDs.delete(addOnID);
25
+ finalAddOnIDs.add(localAddOn.id);
26
+ }
21
27
  }
22
28
  else if (addOnID.startsWith('http')) {
23
29
  addOn = await loadRemoteAddOn(addOnID);
24
30
  addOns.push(addOn);
25
31
  }
26
32
  else {
27
- throw new Error(`Add-on ${addOnID} not found`);
33
+ const suggestion = findClosestAddOn(addOnID, addOns);
34
+ throw new Error(`Add-on ${addOnID} not found${suggestion ? `. Did you mean "${suggestion}"?` : ''}`);
28
35
  }
29
36
  for (const dependsOn of addOn.dependsOn || []) {
30
37
  const dep = addOns.find((a) => a.id === dependsOn);
@@ -40,6 +47,39 @@ export async function finalizeAddOns(framework, mode, chosenAddOnIDs) {
40
47
  function loadAddOn(addOn) {
41
48
  return addOn;
42
49
  }
50
+ function findClosestAddOn(input, addOns) {
51
+ const inputLower = input.toLowerCase();
52
+ let bestMatch;
53
+ let bestDistance = Infinity;
54
+ for (const addOn of addOns) {
55
+ const d = levenshtein(inputLower, addOn.id.toLowerCase());
56
+ if (d < bestDistance) {
57
+ bestDistance = d;
58
+ bestMatch = addOn.id;
59
+ }
60
+ }
61
+ // Only suggest if the distance is reasonable (less than half the input length)
62
+ if (bestMatch && bestDistance <= Math.max(Math.floor(input.length / 2), 2)) {
63
+ return bestMatch;
64
+ }
65
+ return undefined;
66
+ }
67
+ function levenshtein(a, b) {
68
+ const m = a.length;
69
+ const n = b.length;
70
+ let prev = Array.from({ length: n + 1 }, (_, j) => j);
71
+ for (let i = 1; i <= m; i++) {
72
+ const curr = [i];
73
+ for (let j = 1; j <= n; j++) {
74
+ curr[j] =
75
+ a[i - 1] === b[j - 1]
76
+ ? prev[j - 1]
77
+ : 1 + Math.min(prev[j], curr[j - 1], prev[j - 1]);
78
+ }
79
+ prev = curr;
80
+ }
81
+ return prev[n];
82
+ }
43
83
  export function populateAddOnOptionsDefaults(chosenAddOns) {
44
84
  const addOnOptions = {};
45
85
  for (const addOn of chosenAddOns) {