@platformatic/generators 4.0.0-new-config.5 → 4.0.0-new-config.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/lib/base-generator.js +2 -1
- package/package.json +2 -2
package/lib/base-generator.js
CHANGED
|
@@ -71,7 +71,7 @@ class BaseGenerator extends FileGenerator {
|
|
|
71
71
|
hostname: '0.0.0.0',
|
|
72
72
|
plugin: false,
|
|
73
73
|
tests: false,
|
|
74
|
-
typescript:
|
|
74
|
+
typescript: true,
|
|
75
75
|
initGitRepository: false,
|
|
76
76
|
dependencies: {},
|
|
77
77
|
devDependencies: {},
|
|
@@ -535,6 +535,7 @@ class BaseGenerator extends FileGenerator {
|
|
|
535
535
|
const template = {
|
|
536
536
|
name: `${this.config.applicationName}`,
|
|
537
537
|
version: '0.1.0',
|
|
538
|
+
type: 'module',
|
|
538
539
|
scripts: {
|
|
539
540
|
dev: 'wattpm dev',
|
|
540
541
|
start: 'wattpm start',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@platformatic/generators",
|
|
3
|
-
"version": "4.0.0-new-config.
|
|
3
|
+
"version": "4.0.0-new-config.7",
|
|
4
4
|
"description": "Main classes and utils for generators.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"magicast": "^0.5.4",
|
|
25
25
|
"pino": "^9.9.0",
|
|
26
26
|
"undici": "^8.5.0",
|
|
27
|
-
"@platformatic/foundation": "4.0.0-new-config.
|
|
27
|
+
"@platformatic/foundation": "4.0.0-new-config.7"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"@types/inquirer": "^9.0.7",
|