create-wattpm 3.68.0 → 4.0.0-new-config.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.
Files changed (2) hide show
  1. package/lib/index.js +0 -24
  2. package/package.json +7 -7
package/lib/index.js CHANGED
@@ -459,32 +459,8 @@ export async function createApplication (
459
459
  }
460
460
  }
461
461
 
462
- let entrypoint = ''
463
- const chooseEntrypoint = names.length > 1 && (!generator.existingConfigRaw || !generator.existingConfigRaw.entrypoint)
464
-
465
- if (chooseEntrypoint) {
466
- const results = await inquirer.prompt([
467
- {
468
- type: 'select',
469
- name: 'entrypoint',
470
- message: 'Which application should be exposed?',
471
- choices: names.map(name => ({ name, value: name }))
472
- }
473
- ])
474
- entrypoint = results.entrypoint
475
- } else {
476
- entrypoint = names[0]
477
- }
478
-
479
- generator.setEntryPoint(entrypoint)
480
-
481
462
  await generator.ask()
482
463
  await generator.prepare()
483
-
484
- if (chooseEntrypoint) {
485
- await generator.updateConfigEntryPoint(entrypoint)
486
- }
487
-
488
464
  await generator.writeFiles()
489
465
 
490
466
  // Create project here
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-wattpm",
3
- "version": "3.68.0",
3
+ "version": "4.0.0-new-config.1",
4
4
  "description": "Create platformatic application interactive tool",
5
5
  "repository": {
6
6
  "type": "git",
@@ -24,8 +24,8 @@
24
24
  "resolve": "^1.22.8",
25
25
  "undici": "^7.27.2",
26
26
  "which": "^3.0.1",
27
- "@platformatic/foundation": "3.68.0",
28
- "@platformatic/generators": "3.68.0"
27
+ "@platformatic/generators": "4.0.0-new-config.1",
28
+ "@platformatic/foundation": "4.0.0-new-config.1"
29
29
  },
30
30
  "devDependencies": {
31
31
  "@types/node": "^22.5.0",
@@ -39,10 +39,10 @@
39
39
  "semver": "^7.6.0",
40
40
  "typescript": "~6.0.3",
41
41
  "yaml": "^2.4.1",
42
- "@platformatic/gateway": "3.68.0",
43
- "@platformatic/runtime": "3.68.0",
44
- "@platformatic/service": "3.68.0",
45
- "@platformatic/db": "3.68.0"
42
+ "@platformatic/db": "4.0.0-new-config.1",
43
+ "@platformatic/gateway": "4.0.0-new-config.1",
44
+ "@platformatic/runtime": "4.0.0-new-config.1",
45
+ "@platformatic/service": "4.0.0-new-config.1"
46
46
  },
47
47
  "engines": {
48
48
  "node": ">=22.19.0"