@tanstack/create 0.63.2 → 0.63.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # @tanstack/create
2
2
 
3
+ ## 0.63.4
4
+
5
+ ### Patch Changes
6
+
7
+ - Add anonymous CLI telemetry with command and step tracking, a hidden `--agent` flag for agent-originated invocations, first-run disclosure, and opt-out controls via config, env vars, and `tanstack telemetry` commands. ([`bfcd6f5`](https://github.com/TanStack/cli/commit/bfcd6f566f4376891faa977ad61046c3a1880c7a))
8
+
9
+ Deprioritize the Neon add-on in create flows without removing support for the add-on itself.
10
+
11
+ ## 0.63.3
12
+
13
+ ### Patch Changes
14
+
15
+ - Upgrade to Vite 8 and replace `vite-tsconfig-paths` plugin with native `resolve.tsconfigPaths` option. Fix `useStore` call in AI assistant add-on to pass required selector function. ([#428](https://github.com/TanStack/cli/pull/428))
16
+
3
17
  ## 0.63.2
4
18
 
5
19
  ### Patch Changes
@@ -79,7 +79,7 @@ function Messages({ messages }: { messages: ChatMessages }) {
79
79
  }
80
80
 
81
81
  export default function AIAssistant() {
82
- const isOpen = useStore(showAIAssistant)
82
+ const isOpen = useStore(showAIAssistant, (state) => state)
83
83
  const { messages, sendMessage } = useGuitarRecommendationChat()
84
84
  const [input, setInput] = useState('')
85
85
 
@@ -7,7 +7,6 @@
7
7
  "category": "database",
8
8
  "exclusive": ["database"],
9
9
  "color": "#00E599",
10
- "priority": 170,
11
10
  "modes": ["file-router"],
12
11
  "routes": [
13
12
  {
@@ -28,14 +28,16 @@
28
28
  "@testing-library/react": "^16.3.0",
29
29
  "@types/react": "^19.2.0",
30
30
  "@types/react-dom": "^19.2.0",
31
- "@vitejs/plugin-react": "^5.1.4",
31
+ "@vitejs/plugin-react": "^6.0.1",
32
32
  "jsdom": "^28.1.0",
33
33
  "typescript": "^5.9.2",
34
- "vite": "^7.3.1",
35
- "vite-tsconfig-paths": "^5.1.4",
34
+ "vite": "^8.0.0",
36
35
  "vitest": "^3.0.5"
37
36
  },
38
37
  "pnpm": {
39
- "onlyBuiltDependencies": ["esbuild", "lightningcss"]
38
+ "onlyBuiltDependencies": [
39
+ "esbuild",
40
+ "lightningcss"
41
+ ]
40
42
  }
41
43
  }
@@ -1,6 +1,5 @@
1
1
  import { defineConfig } from 'vite'
2
2
  import { devtools } from '@tanstack/devtools-vite'
3
- import tsconfigPaths from 'vite-tsconfig-paths'
4
3
  <% if (addOnEnabled.paraglide) { -%>
5
4
  import { paraglideVitePlugin } from "@inlang/paraglide-js"
6
5
  <% } -%>
@@ -15,12 +14,12 @@ import tailwindcss from "@tailwindcss/vite"
15
14
  <% } %>
16
15
 
17
16
  const config = defineConfig({
17
+ resolve: { tsconfigPaths: true },
18
18
  plugins: [devtools(), <% if (addOnEnabled.paraglide) { %>paraglideVitePlugin({
19
19
  project: './project.inlang',
20
20
  outdir: './src/paraglide',
21
21
  strategy: ['url', "baseLocale"],
22
22
  }), <% } %><% for(const integration of integrations.filter(i => i.type === 'vite-plugin')) { %><%- integrationImportCode(integration) %>,<% } %>
23
- tsconfigPaths({ projects: ['./tsconfig.json'] }),
24
23
  tailwindcss(),
25
24
  <% if (routerOnly) { %>tanstackRouter({ target: 'react', autoCodeSplitting: true }),<% } else { %>tanstackStart(),<% } %>
26
25
  viteReact(<% if (addOnEnabled.compiler) { %>{
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tanstack/create",
3
- "version": "0.63.2",
3
+ "version": "0.63.4",
4
4
  "description": "TanStack Application Builder Engine",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -79,7 +79,7 @@ function Messages({ messages }: { messages: ChatMessages }) {
79
79
  }
80
80
 
81
81
  export default function AIAssistant() {
82
- const isOpen = useStore(showAIAssistant)
82
+ const isOpen = useStore(showAIAssistant, (state) => state)
83
83
  const { messages, sendMessage } = useGuitarRecommendationChat()
84
84
  const [input, setInput] = useState('')
85
85
 
@@ -7,7 +7,6 @@
7
7
  "category": "database",
8
8
  "exclusive": ["database"],
9
9
  "color": "#00E599",
10
- "priority": 170,
11
10
  "modes": ["file-router"],
12
11
  "routes": [
13
12
  {
@@ -28,14 +28,16 @@
28
28
  "@testing-library/react": "^16.3.0",
29
29
  "@types/react": "^19.2.0",
30
30
  "@types/react-dom": "^19.2.0",
31
- "@vitejs/plugin-react": "^5.1.4",
31
+ "@vitejs/plugin-react": "^6.0.1",
32
32
  "jsdom": "^28.1.0",
33
33
  "typescript": "^5.9.2",
34
- "vite": "^7.3.1",
35
- "vite-tsconfig-paths": "^5.1.4",
34
+ "vite": "^8.0.0",
36
35
  "vitest": "^3.0.5"
37
36
  },
38
37
  "pnpm": {
39
- "onlyBuiltDependencies": ["esbuild", "lightningcss"]
38
+ "onlyBuiltDependencies": [
39
+ "esbuild",
40
+ "lightningcss"
41
+ ]
40
42
  }
41
43
  }
@@ -1,6 +1,5 @@
1
1
  import { defineConfig } from 'vite'
2
2
  import { devtools } from '@tanstack/devtools-vite'
3
- import tsconfigPaths from 'vite-tsconfig-paths'
4
3
  <% if (addOnEnabled.paraglide) { -%>
5
4
  import { paraglideVitePlugin } from "@inlang/paraglide-js"
6
5
  <% } -%>
@@ -15,12 +14,12 @@ import tailwindcss from "@tailwindcss/vite"
15
14
  <% } %>
16
15
 
17
16
  const config = defineConfig({
17
+ resolve: { tsconfigPaths: true },
18
18
  plugins: [devtools(), <% if (addOnEnabled.paraglide) { %>paraglideVitePlugin({
19
19
  project: './project.inlang',
20
20
  outdir: './src/paraglide',
21
21
  strategy: ['url', "baseLocale"],
22
22
  }), <% } %><% for(const integration of integrations.filter(i => i.type === 'vite-plugin')) { %><%- integrationImportCode(integration) %>,<% } %>
23
- tsconfigPaths({ projects: ['./tsconfig.json'] }),
24
23
  tailwindcss(),
25
24
  <% if (routerOnly) { %>tanstackRouter({ target: 'react', autoCodeSplitting: true }),<% } else { %>tanstackStart(),<% } %>
26
25
  viteReact(<% if (addOnEnabled.compiler) { %>{