@tanstack/create
Advanced tools
| <% if (fileRouter) { ignoreFile() } %>import { describe, expect, test } from "vitest"; | ||
| import { render, screen } from "@solidjs/testing-library"; | ||
| import App from "./App.<%= jsx %>"; | ||
| describe("App", () => { | ||
| test("renders", () => { | ||
| render(() => <App />); | ||
| expect(screen.getByText("Learn Solid")).toBeDefined(); | ||
| }); | ||
| }); |
| <% if (fileRouter) { ignoreFile() } %>import { describe, expect, test } from "vitest"; | ||
| import { render, screen } from "@solidjs/testing-library"; | ||
| import App from "./App.<%= jsx %>"; | ||
| describe("App", () => { | ||
| test("renders", () => { | ||
| render(() => <App />); | ||
| expect(screen.getByText("Learn Solid")).toBeDefined(); | ||
| }); | ||
| }); |
+6
-0
| # @tanstack/create | ||
| ## 0.63.7 | ||
| ### Patch Changes | ||
| - chore: bump solid base and example to vite 8 ([#437](https://github.com/TanStack/cli/pull/437)) | ||
| ## 0.63.6 | ||
@@ -4,0 +10,0 @@ |
| { | ||
| "devDependencies": { | ||
| "@rolldown/plugin-babel": "^0.2.3", | ||
| "babel-plugin-react-compiler": "^1.0.0" | ||
| } | ||
| } |
@@ -21,4 +21,4 @@ { | ||
| "@content-collections/core": "^0.13.1", | ||
| "@content-collections/vite": "^0.2.8" | ||
| "@content-collections/vite": "^0.3.0" | ||
| } | ||
| } |
@@ -25,4 +25,4 @@ { | ||
| "@content-collections/core": "^0.13.1", | ||
| "@content-collections/vite": "^0.2.8" | ||
| "@content-collections/vite": "^0.3.0" | ||
| } | ||
| } |
@@ -35,3 +35,3 @@ { | ||
| "vite": "^8.0.0", | ||
| "vitest": "^3.0.5" | ||
| "vitest": "^4.1.5" | ||
| }, | ||
@@ -38,0 +38,0 @@ "pnpm": { |
@@ -11,3 +11,8 @@ import { defineConfig } from 'vite' | ||
| <% } %> | ||
| <% if (addOnEnabled.compiler) { -%> | ||
| import viteReact, { reactCompilerPreset } from '@vitejs/plugin-react' | ||
| import babel from '@rolldown/plugin-babel' | ||
| <% } else { -%> | ||
| import viteReact from '@vitejs/plugin-react' | ||
| <% } -%> | ||
| import tailwindcss from "@tailwindcss/vite" | ||
@@ -26,7 +31,4 @@ <% for(const integration of integrations.filter(i => i.type === 'vite-plugin')) { %><%- integrationImportContent(integration) %> | ||
| <% if (routerOnly) { %>tanstackRouter({ target: 'react', autoCodeSplitting: true }),<% } else { %>tanstackStart(),<% } %> | ||
| viteReact(<% if (addOnEnabled.compiler) { %>{ | ||
| babel: { | ||
| plugins: ["babel-plugin-react-compiler"], | ||
| }, | ||
| }<% } %>), | ||
| viteReact(),<% if (addOnEnabled.compiler) { %> | ||
| babel({ presets: [reactCompilerPreset()] }),<% } %> | ||
| ], | ||
@@ -33,0 +35,0 @@ }) |
@@ -17,10 +17,12 @@ { | ||
| "@tanstack/solid-start": "latest", | ||
| "solid-js": "^1.9.11", | ||
| "vite-tsconfig-paths": "^5.1.4" | ||
| "solid-js": "^1.9.12" | ||
| }, | ||
| "devDependencies": { | ||
| "@solidjs/testing-library": "^0.8.10", | ||
| "@tanstack/devtools-vite": "latest", | ||
| "vite-plugin-solid": "^2.11.10", | ||
| "jsdom": "^28.1.0", | ||
| "vite-plugin-solid": "^2.11.12", | ||
| "typescript": "^6.0.2", | ||
| "vite": "^7.3.1" | ||
| "vite": "^8.0.0", | ||
| "vitest": "^4.1.5" | ||
| }, | ||
@@ -27,0 +29,0 @@ "pnpm": { |
| import { defineConfig } from "vite"; | ||
| import { devtools } from '@tanstack/devtools-vite' | ||
| import viteTsConfigPaths from 'vite-tsconfig-paths' | ||
| import tailwindcss from "@tailwindcss/vite" | ||
@@ -15,7 +14,4 @@ <% if (routerOnly) { %> | ||
| export default defineConfig({ | ||
| resolve: { tsconfigPaths: true }, | ||
| plugins: [devtools(), <% for(const integration of integrations.filter(i => i.type === 'vite-plugin')) { %><%- integrationImportCode(integration) %>,<% } %> | ||
| // this is the plugin that enables path aliases | ||
| viteTsConfigPaths({ | ||
| projects: ['./tsconfig.json'], | ||
| }), | ||
| tailwindcss(), | ||
@@ -22,0 +18,0 @@ <% if (routerOnly) { %>tanstackRouter({ target: 'solid', autoCodeSplitting: true }),<% } else { %>tanstackStart(),<% } %> |
+3
-3
| { | ||
| "name": "@tanstack/create", | ||
| "version": "0.63.6", | ||
| "version": "0.63.7", | ||
| "description": "TanStack Application Builder Engine", | ||
@@ -39,6 +39,6 @@ "type": "module", | ||
| "@types/parse-gitignore": "^1.0.2", | ||
| "@vitest/coverage-v8": "3.1.1", | ||
| "@vitest/coverage-v8": "4.1.5", | ||
| "eslint": "^9.20.0", | ||
| "typescript": "^6.0.2", | ||
| "vitest": "^3.0.8", | ||
| "vitest": "^4.1.5", | ||
| "vitest-fetch-mock": "^0.4.5" | ||
@@ -45,0 +45,0 @@ }, |
| { | ||
| "devDependencies": { | ||
| "@rolldown/plugin-babel": "^0.2.3", | ||
| "babel-plugin-react-compiler": "^1.0.0" | ||
| } | ||
| } |
@@ -21,4 +21,4 @@ { | ||
| "@content-collections/core": "^0.13.1", | ||
| "@content-collections/vite": "^0.2.8" | ||
| "@content-collections/vite": "^0.3.0" | ||
| } | ||
| } |
@@ -25,4 +25,4 @@ { | ||
| "@content-collections/core": "^0.13.1", | ||
| "@content-collections/vite": "^0.2.8" | ||
| "@content-collections/vite": "^0.3.0" | ||
| } | ||
| } |
@@ -35,3 +35,3 @@ { | ||
| "vite": "^8.0.0", | ||
| "vitest": "^3.0.5" | ||
| "vitest": "^4.1.5" | ||
| }, | ||
@@ -38,0 +38,0 @@ "pnpm": { |
@@ -11,3 +11,8 @@ import { defineConfig } from 'vite' | ||
| <% } %> | ||
| <% if (addOnEnabled.compiler) { -%> | ||
| import viteReact, { reactCompilerPreset } from '@vitejs/plugin-react' | ||
| import babel from '@rolldown/plugin-babel' | ||
| <% } else { -%> | ||
| import viteReact from '@vitejs/plugin-react' | ||
| <% } -%> | ||
| import tailwindcss from "@tailwindcss/vite" | ||
@@ -26,7 +31,4 @@ <% for(const integration of integrations.filter(i => i.type === 'vite-plugin')) { %><%- integrationImportContent(integration) %> | ||
| <% if (routerOnly) { %>tanstackRouter({ target: 'react', autoCodeSplitting: true }),<% } else { %>tanstackStart(),<% } %> | ||
| viteReact(<% if (addOnEnabled.compiler) { %>{ | ||
| babel: { | ||
| plugins: ["babel-plugin-react-compiler"], | ||
| }, | ||
| }<% } %>), | ||
| viteReact(),<% if (addOnEnabled.compiler) { %> | ||
| babel({ presets: [reactCompilerPreset()] }),<% } %> | ||
| ], | ||
@@ -33,0 +35,0 @@ }) |
@@ -17,10 +17,12 @@ { | ||
| "@tanstack/solid-start": "latest", | ||
| "solid-js": "^1.9.11", | ||
| "vite-tsconfig-paths": "^5.1.4" | ||
| "solid-js": "^1.9.12" | ||
| }, | ||
| "devDependencies": { | ||
| "@solidjs/testing-library": "^0.8.10", | ||
| "@tanstack/devtools-vite": "latest", | ||
| "vite-plugin-solid": "^2.11.10", | ||
| "jsdom": "^28.1.0", | ||
| "vite-plugin-solid": "^2.11.12", | ||
| "typescript": "^6.0.2", | ||
| "vite": "^7.3.1" | ||
| "vite": "^8.0.0", | ||
| "vitest": "^4.1.5" | ||
| }, | ||
@@ -27,0 +29,0 @@ "pnpm": { |
| import { defineConfig } from "vite"; | ||
| import { devtools } from '@tanstack/devtools-vite' | ||
| import viteTsConfigPaths from 'vite-tsconfig-paths' | ||
| import tailwindcss from "@tailwindcss/vite" | ||
@@ -15,7 +14,4 @@ <% if (routerOnly) { %> | ||
| export default defineConfig({ | ||
| resolve: { tsconfigPaths: true }, | ||
| plugins: [devtools(), <% for(const integration of integrations.filter(i => i.type === 'vite-plugin')) { %><%- integrationImportCode(integration) %>,<% } %> | ||
| // this is the plugin that enables path aliases | ||
| viteTsConfigPaths({ | ||
| projects: ['./tsconfig.json'], | ||
| }), | ||
| tailwindcss(), | ||
@@ -22,0 +18,0 @@ <% if (routerOnly) { %>tanstackRouter({ target: 'solid', autoCodeSplitting: true }),<% } else { %>tanstackStart(),<% } %> |
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 9 instances in 1 package
AI-detected potential code anomaly
Supply chain riskAI has identified unusual behaviors that may pose a security risk.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 9 instances in 1 package
AI-detected potential code anomaly
Supply chain riskAI has identified unusual behaviors that may pose a security risk.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
14667475
0.01%1124
0.18%