@tanstack/cta-cli 0.25.0 → 0.25.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.
@@ -57,9 +57,6 @@ export async function normalizeOptions(cliOptions, forcedMode, forcedAddOns, opt
57
57
  if (cliOptions.host) {
58
58
  selectedAddOns.add(cliOptions.host);
59
59
  }
60
- if (!cliOptions.host) {
61
- selectedAddOns.add('nitro');
62
- }
63
60
  return await finalizeAddOns(framework, mode, Array.from(selectedAddOns));
64
61
  }
65
62
  return [];
@@ -153,6 +153,10 @@ export async function selectHost(framework, host) {
153
153
  const hp = await select({
154
154
  message: 'Select hosting provider',
155
155
  options: [
156
+ {
157
+ value: undefined,
158
+ label: 'None',
159
+ },
156
160
  ...Array.from(hosts).map((h) => ({
157
161
  value: h.id,
158
162
  label: h.name,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tanstack/cta-cli",
3
- "version": "0.25.0",
3
+ "version": "0.25.1",
4
4
  "description": "Tanstack Application Builder CLI",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -30,8 +30,8 @@
30
30
  "express": "^4.21.2",
31
31
  "semver": "^7.7.2",
32
32
  "zod": "^3.24.2",
33
- "@tanstack/cta-engine": "0.25.0",
34
- "@tanstack/cta-ui": "0.25.0"
33
+ "@tanstack/cta-ui": "0.25.1",
34
+ "@tanstack/cta-engine": "0.25.1"
35
35
  },
36
36
  "devDependencies": {
37
37
  "@tanstack/config": "^0.16.2",
@@ -93,10 +93,6 @@ export async function normalizeOptions(
93
93
  selectedAddOns.add(cliOptions.host)
94
94
  }
95
95
 
96
- if (!cliOptions.host) {
97
- selectedAddOns.add('nitro')
98
- }
99
-
100
96
  return await finalizeAddOns(framework, mode, Array.from(selectedAddOns))
101
97
  }
102
98
 
package/src/ui-prompts.ts CHANGED
@@ -203,6 +203,10 @@ export async function selectHost(
203
203
  const hp = await select({
204
204
  message: 'Select hosting provider',
205
205
  options: [
206
+ {
207
+ value: undefined,
208
+ label: 'None',
209
+ },
206
210
  ...Array.from(hosts).map((h) => ({
207
211
  value: h.id,
208
212
  label: h.name,