create-wattpm 3.56.0 → 3.58.0
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/lib/index.js +6 -6
- package/package.json +9 -9
package/lib/index.js
CHANGED
|
@@ -142,7 +142,7 @@ async function findApplicationRoot (projectDir) {
|
|
|
142
142
|
|
|
143
143
|
export async function chooseCapability (inquirer, capabilities) {
|
|
144
144
|
const options = await inquirer.prompt({
|
|
145
|
-
type: '
|
|
145
|
+
type: 'select',
|
|
146
146
|
name: 'type',
|
|
147
147
|
message: 'Which kind of application do you want to create?',
|
|
148
148
|
default: capabilities[0],
|
|
@@ -279,7 +279,7 @@ export async function createApplication (
|
|
|
279
279
|
}
|
|
280
280
|
|
|
281
281
|
const { shouldWrap } = await inquirer.prompt({
|
|
282
|
-
type: '
|
|
282
|
+
type: 'select',
|
|
283
283
|
name: 'shouldWrap',
|
|
284
284
|
message: `This folder seems to already contain a ${label} application. Do you want to wrap into Watt?`,
|
|
285
285
|
// default: 'yes',
|
|
@@ -332,7 +332,7 @@ export async function createApplication (
|
|
|
332
332
|
|
|
333
333
|
if (!packageManager) {
|
|
334
334
|
const p = await inquirer.prompt({
|
|
335
|
-
type: '
|
|
335
|
+
type: 'select',
|
|
336
336
|
name: 'packageManager',
|
|
337
337
|
message: 'Which package manager do you want to use?',
|
|
338
338
|
default: defaultPackageManager,
|
|
@@ -442,7 +442,7 @@ export async function createApplication (
|
|
|
442
442
|
|
|
443
443
|
const { shouldBreak } = await inquirer.prompt([
|
|
444
444
|
{
|
|
445
|
-
type: '
|
|
445
|
+
type: 'select',
|
|
446
446
|
name: 'shouldBreak',
|
|
447
447
|
message: 'Do you want to create another application?',
|
|
448
448
|
default: false,
|
|
@@ -464,7 +464,7 @@ export async function createApplication (
|
|
|
464
464
|
if (chooseEntrypoint) {
|
|
465
465
|
const results = await inquirer.prompt([
|
|
466
466
|
{
|
|
467
|
-
type: '
|
|
467
|
+
type: 'select',
|
|
468
468
|
name: 'entrypoint',
|
|
469
469
|
message: 'Which application should be exposed?',
|
|
470
470
|
choices: names.map(name => ({ name, value: name }))
|
|
@@ -489,7 +489,7 @@ export async function createApplication (
|
|
|
489
489
|
// Create project here
|
|
490
490
|
if (!generator.existingConfigRaw) {
|
|
491
491
|
const { initGitRepository } = await inquirer.prompt({
|
|
492
|
-
type: '
|
|
492
|
+
type: 'select',
|
|
493
493
|
name: 'initGitRepository',
|
|
494
494
|
message: 'Do you want to init the git repository?',
|
|
495
495
|
default: false,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-wattpm",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.58.0",
|
|
4
4
|
"description": "Create platformatic application interactive tool",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"columnify": "^1.6.0",
|
|
18
18
|
"execa": "^9.0.0",
|
|
19
|
-
"inquirer": "^
|
|
19
|
+
"inquirer": "^13.0.0",
|
|
20
20
|
"minimist": "^1.2.8",
|
|
21
21
|
"ora": "^6.3.1",
|
|
22
22
|
"pino": "^9.9.0",
|
|
@@ -24,12 +24,12 @@
|
|
|
24
24
|
"resolve": "^1.22.8",
|
|
25
25
|
"undici": "^7.27.2",
|
|
26
26
|
"which": "^3.0.1",
|
|
27
|
-
"@platformatic/foundation": "3.
|
|
28
|
-
"@platformatic/generators": "3.
|
|
27
|
+
"@platformatic/foundation": "3.58.0",
|
|
28
|
+
"@platformatic/generators": "3.58.0"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"@types/node": "^22.5.0",
|
|
32
|
-
"c8": "^
|
|
32
|
+
"c8": "^11.0.0",
|
|
33
33
|
"cleaner-spec-reporter": "^0.5.0",
|
|
34
34
|
"cross-env": "^7.0.3",
|
|
35
35
|
"eslint": "9",
|
|
@@ -39,10 +39,10 @@
|
|
|
39
39
|
"semver": "^7.6.0",
|
|
40
40
|
"typescript": "~5.8.0",
|
|
41
41
|
"yaml": "^2.4.1",
|
|
42
|
-
"@platformatic/db": "3.
|
|
43
|
-
"@platformatic/
|
|
44
|
-
"@platformatic/
|
|
45
|
-
"@platformatic/
|
|
42
|
+
"@platformatic/db": "3.58.0",
|
|
43
|
+
"@platformatic/runtime": "3.58.0",
|
|
44
|
+
"@platformatic/gateway": "3.58.0",
|
|
45
|
+
"@platformatic/service": "3.58.0"
|
|
46
46
|
},
|
|
47
47
|
"engines": {
|
|
48
48
|
"node": ">=22.19.0"
|