@tanstack/cta-framework-react-cra 0.48.0 → 0.48.1

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 (39) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/add-ons/ai/info.json +2 -0
  3. package/add-ons/apollo-client/info.json +2 -0
  4. package/add-ons/better-auth/assets/src/lib/auth.ts +2 -0
  5. package/add-ons/better-auth/info.json +3 -0
  6. package/add-ons/clerk/info.json +3 -0
  7. package/add-ons/compiler/info.json +2 -0
  8. package/add-ons/convex/info.json +3 -0
  9. package/add-ons/db/info.json +2 -0
  10. package/add-ons/drizzle/info.json +3 -0
  11. package/add-ons/form/info.json +2 -0
  12. package/add-ons/mcp/info.json +2 -0
  13. package/add-ons/module-federation/info.json +2 -0
  14. package/add-ons/neon/info.json +3 -0
  15. package/add-ons/oRPC/info.json +2 -0
  16. package/add-ons/paraglide/info.json +2 -0
  17. package/add-ons/prisma/info.json +3 -0
  18. package/add-ons/sentry/info.json +2 -0
  19. package/add-ons/shadcn/info.json +2 -0
  20. package/add-ons/start/info.json +2 -0
  21. package/add-ons/store/info.json +2 -0
  22. package/add-ons/storybook/info.json +2 -0
  23. package/add-ons/strapi/info.json +2 -0
  24. package/add-ons/t3env/info.json +2 -0
  25. package/add-ons/tRPC/info.json +2 -0
  26. package/add-ons/table/info.json +2 -0
  27. package/add-ons/tanstack-query/info.json +2 -0
  28. package/add-ons/workos/info.json +3 -0
  29. package/examples/events/info.json +2 -0
  30. package/examples/resume/info.json +2 -0
  31. package/hosts/cloudflare/info.json +3 -0
  32. package/hosts/netlify/info.json +3 -0
  33. package/hosts/nitro/info.json +3 -0
  34. package/hosts/railway/assets/nixpacks.toml +8 -0
  35. package/hosts/railway/info.json +20 -0
  36. package/hosts/railway/package.json +8 -0
  37. package/package.json +2 -2
  38. package/toolchains/biome/info.json +3 -0
  39. package/toolchains/eslint/info.json +3 -0
package/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # @tanstack/cta-framework-react-cra
2
2
 
3
+ ## 0.48.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [[`cdb6eef`](https://github.com/TanStack/create-tsrouter-app/commit/cdb6eef79274a4041eae5e8cd9d43539c9a9a77a)]:
8
+ - @tanstack/cta-engine@0.49.0
9
+
3
10
  ## 0.48.0
4
11
 
5
12
  ### Minor Changes
@@ -4,6 +4,8 @@
4
4
  "phase": "add-on",
5
5
  "modes": ["file-router"],
6
6
  "type": "add-on",
7
+ "category": "tanstack",
8
+ "color": "#00D1B2",
7
9
  "priority": 60,
8
10
  "link": "",
9
11
  "routes": [
@@ -4,6 +4,8 @@
4
4
  "phase": "add-on",
5
5
  "modes": ["file-router"],
6
6
  "type": "add-on",
7
+ "category": "api",
8
+ "color": "#311C87",
7
9
  "priority": 15,
8
10
  "link": "https://github.com/apollographql/apollo-client-integrations/tree/main/packages/tanstack-start",
9
11
  "dependsOn": ["start"],
@@ -1,7 +1,9 @@
1
1
  import { betterAuth } from 'better-auth'
2
+ import { tanstackStartCookies } from 'better-auth/tanstack-start'
2
3
 
3
4
  export const auth = betterAuth({
4
5
  emailAndPassword: {
5
6
  enabled: true,
6
7
  },
8
+ plugins: [tanstackStartCookies()],
7
9
  })
@@ -3,6 +3,9 @@
3
3
  "description": "Add Better Auth authentication to your application.",
4
4
  "phase": "add-on",
5
5
  "type": "add-on",
6
+ "category": "auth",
7
+ "exclusive": ["auth"],
8
+ "color": "#000000",
6
9
  "priority": 26,
7
10
  "link": "https://www.better-auth.com",
8
11
  "modes": ["file-router"],
@@ -4,6 +4,9 @@
4
4
  "phase": "add-on",
5
5
  "modes": ["file-router"],
6
6
  "type": "add-on",
7
+ "category": "auth",
8
+ "exclusive": ["auth"],
9
+ "color": "#6C47FF",
7
10
  "priority": 150,
8
11
  "link": "https://clerk.com",
9
12
  "tailwind": true,
@@ -5,6 +5,8 @@
5
5
  "link": "https://react.dev/learn/react-compiler",
6
6
  "modes": ["code-router", "file-router"],
7
7
  "type": "add-on",
8
+ "category": "tooling",
9
+ "color": "#61DAFB",
8
10
  "priority": 50,
9
11
  "routes": []
10
12
  }
@@ -4,6 +4,9 @@
4
4
  "link": "https://convex.dev",
5
5
  "phase": "add-on",
6
6
  "type": "add-on",
7
+ "category": "database",
8
+ "exclusive": ["database", "orm"],
9
+ "color": "#EE342F",
7
10
  "priority": 140,
8
11
  "modes": ["file-router"],
9
12
  "routes": [
@@ -3,6 +3,8 @@
3
3
  "description": "TanStack DB",
4
4
  "phase": "add-on",
5
5
  "type": "add-on",
6
+ "category": "tanstack",
7
+ "color": "#00D1B2",
6
8
  "priority": 48,
7
9
  "modes": ["file-router"],
8
10
  "link": "https://tanstack.com/db/latest",
@@ -3,6 +3,9 @@
3
3
  "description": "Add Drizzle ORM to your application.",
4
4
  "phase": "add-on",
5
5
  "type": "add-on",
6
+ "category": "orm",
7
+ "exclusive": ["orm"],
8
+ "color": "#C026D3",
6
9
  "priority": 46,
7
10
  "link": "https://orm.drizzle.team/",
8
11
  "modes": ["file-router"],
@@ -3,6 +3,8 @@
3
3
  "description": "TanStack Form",
4
4
  "phase": "add-on",
5
5
  "type": "add-on",
6
+ "category": "tanstack",
7
+ "color": "#FACC15",
6
8
  "priority": 44,
7
9
  "modes": ["file-router", "code-router"],
8
10
  "link": "https://tanstack.com/form/latest",
@@ -5,6 +5,8 @@
5
5
  "link": "https://mcp.dev",
6
6
  "modes": ["file-router"],
7
7
  "type": "add-on",
8
+ "category": "api",
9
+ "color": "#10B981",
8
10
  "priority": 42,
9
11
  "warning": "MCP is still in development and may change significantly or not be compatible with other add-ons.\nThe MCP implementation does not support authentication.",
10
12
  "routes": [
@@ -5,5 +5,7 @@
5
5
  "modes": ["code-router"],
6
6
  "link": "https://module-federation.io/",
7
7
  "type": "add-on",
8
+ "category": "tooling",
9
+ "color": "#1B72BE",
8
10
  "priority": 38
9
11
  }
@@ -4,6 +4,9 @@
4
4
  "link": "https://neon.com",
5
5
  "phase": "add-on",
6
6
  "type": "add-on",
7
+ "category": "database",
8
+ "exclusive": ["database"],
9
+ "color": "#00E599",
7
10
  "priority": 170,
8
11
  "modes": ["file-router"],
9
12
  "routes": [
@@ -6,6 +6,8 @@
6
6
  "link": "https://orpc.unnoq.com/",
7
7
  "dependsOn": ["tanstack-query", "start"],
8
8
  "type": "add-on",
9
+ "category": "api",
10
+ "color": "#FF6B6B",
9
11
  "priority": 34,
10
12
  "routes": [
11
13
  {
@@ -4,6 +4,8 @@
4
4
  "phase": "add-on",
5
5
  "modes": ["file-router"],
6
6
  "type": "add-on",
7
+ "category": "i18n",
8
+ "color": "#14B8A6",
7
9
  "priority": 30,
8
10
  "link": "https://github.com/paraglidejs/paraglide-js",
9
11
  "routes": [
@@ -3,6 +3,9 @@
3
3
  "description": "Add Prisma Postgres, or Prisma ORM with other DBs to your application.",
4
4
  "phase": "add-on",
5
5
  "type": "add-on",
6
+ "category": "orm",
7
+ "exclusive": ["orm"],
8
+ "color": "#2D3748",
6
9
  "priority": 120,
7
10
  "link": "https://www.prisma.io/",
8
11
  "modes": ["file-router"],
@@ -5,6 +5,8 @@
5
5
  "link": "https://sentry.com/",
6
6
  "modes": ["file-router"],
7
7
  "type": "add-on",
8
+ "category": "monitoring",
9
+ "color": "#362D59",
8
10
  "priority": 130,
9
11
  "routes": [
10
12
  {
@@ -5,5 +5,7 @@
5
5
  "modes": ["file-router", "code-router"],
6
6
  "link": "https://ui.shadcn.com/",
7
7
  "type": "add-on",
8
+ "category": "styling",
9
+ "color": "#000000",
8
10
  "priority": 30
9
11
  }
@@ -5,6 +5,8 @@
5
5
  "link": "https://tanstack.com/start/latest",
6
6
  "modes": ["file-router"],
7
7
  "type": "add-on",
8
+ "category": "tanstack",
9
+ "color": "#00D1B2",
8
10
  "tailwind": false,
9
11
  "priority": 26,
10
12
  "warning": "TanStack Start is not yet at 1.0 and may change significantly or not be compatible with other add-ons.\nMigrating to Start might require deleting node_modules and re-installing.",
@@ -4,6 +4,8 @@
4
4
  "phase": "add-on",
5
5
  "link": "https://tanstack.com/store/latest",
6
6
  "type": "add-on",
7
+ "category": "tanstack",
8
+ "color": "#00D1B2",
7
9
  "priority": 22,
8
10
  "modes": ["file-router", "code-router"],
9
11
  "routes": [
@@ -5,6 +5,8 @@
5
5
  "modes": ["file-router"],
6
6
  "link": "https://storybook.js.org/",
7
7
  "type": "add-on",
8
+ "category": "tooling",
9
+ "color": "#FF4785",
8
10
  "priority": 18,
9
11
  "routes": [
10
12
  {
@@ -4,6 +4,8 @@
4
4
  "link": "https://strapi.io/",
5
5
  "phase": "add-on",
6
6
  "type": "add-on",
7
+ "category": "cms",
8
+ "color": "#4945FF",
7
9
  "priority": 110,
8
10
  "modes": ["file-router"],
9
11
  "routes": [
@@ -3,6 +3,8 @@
3
3
  "description": "Add type safety to your environment variables",
4
4
  "phase": "add-on",
5
5
  "type": "add-on",
6
+ "category": "tooling",
7
+ "color": "#6366F1",
6
8
  "priority": 29,
7
9
  "link": "https://github.com/t3-oss/t3-env",
8
10
  "modes": ["file-router", "code-router"]
@@ -6,6 +6,8 @@
6
6
  "link": "https://trpc.io/",
7
7
  "dependsOn": ["tanstack-query", "start"],
8
8
  "type": "add-on",
9
+ "category": "api",
10
+ "color": "#2596BE",
9
11
  "priority": 27,
10
12
  "routes": [
11
13
  {
@@ -5,6 +5,8 @@
5
5
  "modes": ["file-router", "code-router"],
6
6
  "link": "https://tanstack.com/table/latest",
7
7
  "type": "add-on",
8
+ "category": "tanstack",
9
+ "color": "#00D1B2",
8
10
  "priority": 28,
9
11
  "routes": [
10
12
  {
@@ -4,6 +4,8 @@
4
4
  "phase": "add-on",
5
5
  "modes": ["file-router", "code-router"],
6
6
  "type": "add-on",
7
+ "category": "tanstack",
8
+ "color": "#EF4444",
7
9
  "priority": 10,
8
10
  "link": "https://tanstack.com/query/latest",
9
11
  "routes": [
@@ -4,6 +4,9 @@
4
4
  "phase": "add-on",
5
5
  "modes": ["file-router"],
6
6
  "type": "add-on",
7
+ "category": "auth",
8
+ "exclusive": ["auth"],
9
+ "color": "#6363F1",
7
10
  "priority": 160,
8
11
  "link": "https://workos.com",
9
12
  "tailwind": true,
@@ -4,6 +4,8 @@
4
4
  "phase": "example",
5
5
  "modes": ["file-router"],
6
6
  "type": "example",
7
+ "category": "other",
8
+ "color": "#F59E0B",
7
9
  "priority": 10,
8
10
  "link": "",
9
11
  "routes": [
@@ -4,6 +4,8 @@
4
4
  "phase": "example",
5
5
  "modes": ["file-router"],
6
6
  "type": "example",
7
+ "category": "other",
8
+ "color": "#8B5CF6",
7
9
  "priority": 10,
8
10
  "link": "",
9
11
  "routes": [
@@ -5,6 +5,9 @@
5
5
  "phase": "add-on",
6
6
  "modes": ["file-router", "code-router"],
7
7
  "type": "deployment",
8
+ "category": "deploy",
9
+ "exclusive": ["deploy"],
10
+ "color": "#F38020",
8
11
  "priority": 200,
9
12
  "tailwind": false,
10
13
  "integrations": [
@@ -5,6 +5,9 @@
5
5
  "phase": "add-on",
6
6
  "modes": ["file-router", "code-router"],
7
7
  "type": "deployment",
8
+ "category": "deploy",
9
+ "exclusive": ["deploy"],
10
+ "color": "#00C7B7",
8
11
  "priority": 180,
9
12
  "tailwind": false,
10
13
  "integrations": [
@@ -5,6 +5,9 @@
5
5
  "phase": "add-on",
6
6
  "modes": ["file-router", "code-router"],
7
7
  "type": "deployment",
8
+ "category": "deploy",
9
+ "exclusive": ["deploy"],
10
+ "color": "#ECDC5A",
8
11
  "priority": 0,
9
12
  "tailwind": false,
10
13
  "integrations": [
@@ -0,0 +1,8 @@
1
+ [phases.setup]
2
+ nixPkgs = ["nodejs_22"]
3
+
4
+ [phases.build]
5
+ cmds = ["npm install", "npm run build"]
6
+
7
+ [start]
8
+ cmd = "npm run start"
@@ -0,0 +1,20 @@
1
+ {
2
+ "name": "Railway",
3
+ "description": "Railway deployment setup",
4
+ "link": "https://railway.com/",
5
+ "phase": "add-on",
6
+ "modes": ["file-router", "code-router"],
7
+ "type": "deployment",
8
+ "category": "deploy",
9
+ "exclusive": ["deploy"],
10
+ "color": "#9B4DCA",
11
+ "priority": 160,
12
+ "tailwind": false,
13
+ "integrations": [
14
+ {
15
+ "type": "vite-plugin",
16
+ "import": "import { nitro } from 'nitro/vite'",
17
+ "code": "nitro()"
18
+ }
19
+ ]
20
+ }
@@ -0,0 +1,8 @@
1
+ {
2
+ "scripts": {
3
+ "start": "node .output/server/index.mjs"
4
+ },
5
+ "dependencies": {
6
+ "nitro": "npm:nitro-nightly@latest"
7
+ }
8
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tanstack/cta-framework-react-cra",
3
- "version": "0.48.0",
3
+ "version": "0.48.1",
4
4
  "description": "CTA Framework for React (Create React App)",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -23,7 +23,7 @@
23
23
  "author": "Jack Herrington <jherr@pobox.com>",
24
24
  "license": "MIT",
25
25
  "dependencies": {
26
- "@tanstack/cta-engine": "0.48.0"
26
+ "@tanstack/cta-engine": "0.49.0"
27
27
  },
28
28
  "devDependencies": {
29
29
  "@types/node": "^24.6.0",
@@ -3,6 +3,9 @@
3
3
  "description": "Biome toolchain support.",
4
4
  "phase": "setup",
5
5
  "type": "toolchain",
6
+ "category": "tooling",
7
+ "exclusive": ["linter"],
8
+ "color": "#60A5FA",
6
9
  "priority": 2,
7
10
  "modes": ["code-router", "file-router"],
8
11
  "link": "https://biomejs.dev"
@@ -3,6 +3,9 @@
3
3
  "description": "ESLint + Prettier toolchain support.",
4
4
  "phase": "setup",
5
5
  "type": "toolchain",
6
+ "category": "tooling",
7
+ "exclusive": ["linter"],
8
+ "color": "#4B32C3",
6
9
  "priority": 0,
7
10
  "modes": ["code-router", "file-router"],
8
11
  "link": "https://eslint.org"