@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.
- package/dist/command-line.js +0 -3
- package/dist/ui-prompts.js +4 -0
- package/package.json +3 -3
- package/src/command-line.ts +0 -4
- package/src/ui-prompts.ts +4 -0
package/dist/command-line.js
CHANGED
|
@@ -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 [];
|
package/dist/ui-prompts.js
CHANGED
|
@@ -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.
|
|
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-
|
|
34
|
-
"@tanstack/cta-
|
|
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",
|
package/src/command-line.ts
CHANGED
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,
|