@tanstack/cli 0.0.4 → 0.0.5
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/dist/bin.cjs +1 -1
- package/dist/bin.mjs +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +1 -1
- package/dist/{template-B-i2qO8E.cjs → template-BYtYrGPH.cjs} +1 -1
- package/dist/{template-BgEATWaG.mjs → template-CDwR5Bk3.mjs} +1 -1
- package/package.json +1 -1
- package/src/templates/base.ts +3 -1
package/dist/bin.cjs
CHANGED
package/dist/bin.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { A as writeConfigFile, a as initIntegration, d as fetchManifest, i as compileIntegration, j as compile, n as initTemplate, r as loadTemplate, t as compileTemplate, u as fetchIntegrations } from "./template-
|
|
2
|
+
import { A as writeConfigFile, a as initIntegration, d as fetchManifest, i as compileIntegration, j as compile, n as initTemplate, r as loadTemplate, t as compileTemplate, u as fetchIntegrations } from "./template-CDwR5Bk3.mjs";
|
|
3
3
|
import { existsSync, mkdirSync, writeFileSync } from "node:fs";
|
|
4
4
|
import { resolve } from "node:path";
|
|
5
5
|
import { z } from "zod";
|
package/dist/index.cjs
CHANGED
package/dist/index.mjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { A as writeConfigFile, C as IntegrationTypeSchema, D as RouterModeSchema, E as RouteSchema, M as compileWithAttribution, N as processTemplateFile, O as CONFIG_FILE, P as relativePath, S as IntegrationPhaseSchema, T as ManifestSchema, _ as HookSchema, a as initIntegration, b as IntegrationOptionSchema, c as fetchIntegrationFiles, d as fetchManifest, f as CategorySchema, g as EnvVarSchema, h as CustomTemplateInfoSchema, i as compileIntegration, j as compile, k as readConfigFile, l as fetchIntegrationInfo, m as CustomTemplateCompiledSchema, n as initTemplate, o as loadRemoteIntegration, p as CommandSchema, r as loadTemplate, s as fetchIntegration, t as compileTemplate, u as fetchIntegrations, v as IntegrationCompiledSchema, w as ManifestIntegrationSchema, x as IntegrationOptionsSchema, y as IntegrationInfoSchema } from "./template-
|
|
1
|
+
import { A as writeConfigFile, C as IntegrationTypeSchema, D as RouterModeSchema, E as RouteSchema, M as compileWithAttribution, N as processTemplateFile, O as CONFIG_FILE, P as relativePath, S as IntegrationPhaseSchema, T as ManifestSchema, _ as HookSchema, a as initIntegration, b as IntegrationOptionSchema, c as fetchIntegrationFiles, d as fetchManifest, f as CategorySchema, g as EnvVarSchema, h as CustomTemplateInfoSchema, i as compileIntegration, j as compile, k as readConfigFile, l as fetchIntegrationInfo, m as CustomTemplateCompiledSchema, n as initTemplate, o as loadRemoteIntegration, p as CommandSchema, r as loadTemplate, s as fetchIntegration, t as compileTemplate, u as fetchIntegrations, v as IntegrationCompiledSchema, w as ManifestIntegrationSchema, x as IntegrationOptionsSchema, y as IntegrationInfoSchema } from "./template-CDwR5Bk3.mjs";
|
|
2
2
|
|
|
3
3
|
export { CONFIG_FILE, CategorySchema, CommandSchema, CustomTemplateCompiledSchema, CustomTemplateInfoSchema, EnvVarSchema, HookSchema, IntegrationCompiledSchema, IntegrationInfoSchema, IntegrationOptionSchema, IntegrationOptionsSchema, IntegrationPhaseSchema, IntegrationTypeSchema, ManifestIntegrationSchema, ManifestSchema, RouteSchema, RouterModeSchema, compile, compileIntegration, compileTemplate, compileWithAttribution, fetchIntegration, fetchIntegrationFiles, fetchIntegrationInfo, fetchIntegrations, fetchManifest, initIntegration, initTemplate, loadRemoteIntegration, loadTemplate, processTemplateFile, readConfigFile, relativePath, writeConfigFile };
|
|
@@ -1384,7 +1384,7 @@ ${packageManager}${packageManager === "npm" ? " run" : ""} dev
|
|
|
1384
1384
|
- [TanStack Start Documentation](https://tanstack.com/start)
|
|
1385
1385
|
- [TanStack Router Documentation](https://tanstack.com/router)
|
|
1386
1386
|
`;
|
|
1387
|
-
files[".nvmrc"] = "
|
|
1387
|
+
files[".nvmrc"] = "22";
|
|
1388
1388
|
return files;
|
|
1389
1389
|
}
|
|
1390
1390
|
/**
|
|
@@ -1355,7 +1355,7 @@ ${packageManager}${packageManager === "npm" ? " run" : ""} dev
|
|
|
1355
1355
|
- [TanStack Start Documentation](https://tanstack.com/start)
|
|
1356
1356
|
- [TanStack Router Documentation](https://tanstack.com/router)
|
|
1357
1357
|
`;
|
|
1358
|
-
files[".nvmrc"] = "
|
|
1358
|
+
files[".nvmrc"] = "22";
|
|
1359
1359
|
return files;
|
|
1360
1360
|
}
|
|
1361
1361
|
/**
|
package/package.json
CHANGED
package/src/templates/base.ts
CHANGED
|
@@ -842,7 +842,9 @@ ${packageManager}${packageManager === 'npm' ? ' run' : ''} dev
|
|
|
842
842
|
`
|
|
843
843
|
|
|
844
844
|
// .nvmrc - Node version (TanStack Start requires 22.12.0+)
|
|
845
|
-
|
|
845
|
+
// Using Node 22 LTS - Node 23.2.0+ has a Vite CSS bug
|
|
846
|
+
// See: https://github.com/shadcn-ui/ui/issues/7182
|
|
847
|
+
files['.nvmrc'] = '22'
|
|
846
848
|
|
|
847
849
|
return files
|
|
848
850
|
}
|