@tanstack/cli 0.0.5 → 0.0.7
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-CDwR5Bk3.mjs → template-CkAkdP8n.mjs} +1 -1
- package/dist/{template-BYtYrGPH.cjs → template-Cup47s9h.cjs} +1 -1
- package/package.json +1 -1
- package/src/templates/base.ts +2 -4
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-CkAkdP8n.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-CkAkdP8n.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 };
|
|
@@ -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"] = "22";
|
|
1358
|
+
files[".nvmrc"] = "22.12.0";
|
|
1359
1359
|
return files;
|
|
1360
1360
|
}
|
|
1361
1361
|
/**
|
|
@@ -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"] = "22";
|
|
1387
|
+
files[".nvmrc"] = "22.12.0";
|
|
1388
1388
|
return files;
|
|
1389
1389
|
}
|
|
1390
1390
|
/**
|
package/package.json
CHANGED
package/src/templates/base.ts
CHANGED
|
@@ -841,10 +841,8 @@ ${packageManager}${packageManager === 'npm' ? ' run' : ''} dev
|
|
|
841
841
|
- [TanStack Router Documentation](https://tanstack.com/router)
|
|
842
842
|
`
|
|
843
843
|
|
|
844
|
-
// .nvmrc - Node version (TanStack Start requires 22.12.0
|
|
845
|
-
|
|
846
|
-
// See: https://github.com/shadcn-ui/ui/issues/7182
|
|
847
|
-
files['.nvmrc'] = '22'
|
|
844
|
+
// .nvmrc - Node version (TanStack Start requires >=22.12.0)
|
|
845
|
+
files['.nvmrc'] = '22.12.0'
|
|
848
846
|
|
|
849
847
|
return files
|
|
850
848
|
}
|