create-wattpm 3.0.6 → 3.2.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 +3 -2
- package/package.json +8 -8
package/lib/index.js
CHANGED
|
@@ -503,14 +503,15 @@ export async function createApplication (
|
|
|
503
503
|
}
|
|
504
504
|
}
|
|
505
505
|
|
|
506
|
-
|
|
506
|
+
const pnpmWorkspacePath = join(projectDir, 'pnpm-workspace.yaml')
|
|
507
|
+
if (packageManager === 'pnpm' && !existsSync(pnpmWorkspacePath)) {
|
|
507
508
|
// add pnpm-workspace.yaml file if needed
|
|
508
509
|
const content = `packages:
|
|
509
510
|
# all packages in direct subdirs of packages/
|
|
510
511
|
- 'applications/*'
|
|
511
512
|
- 'services/*'
|
|
512
513
|
- 'web/*'`
|
|
513
|
-
await writeFile(
|
|
514
|
+
await writeFile(pnpmWorkspacePath, content)
|
|
514
515
|
}
|
|
515
516
|
|
|
516
517
|
if (typeof install === 'function') {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-wattpm",
|
|
3
|
-
"version": "3.0
|
|
3
|
+
"version": "3.2.0",
|
|
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.0.0",
|
|
26
26
|
"which": "^3.0.1",
|
|
27
|
-
"@platformatic/
|
|
28
|
-
"@platformatic/
|
|
27
|
+
"@platformatic/generators": "3.2.0",
|
|
28
|
+
"@platformatic/foundation": "3.2.0"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"@types/node": "^22.5.0",
|
|
@@ -39,13 +39,13 @@
|
|
|
39
39
|
"semver": "^7.6.0",
|
|
40
40
|
"typescript": "~5.8.0",
|
|
41
41
|
"yaml": "^2.4.1",
|
|
42
|
-
"@platformatic/
|
|
43
|
-
"@platformatic/
|
|
44
|
-
"@platformatic/
|
|
45
|
-
"@platformatic/
|
|
42
|
+
"@platformatic/gateway": "3.2.0",
|
|
43
|
+
"@platformatic/runtime": "3.2.0",
|
|
44
|
+
"@platformatic/service": "3.2.0",
|
|
45
|
+
"@platformatic/db": "3.2.0"
|
|
46
46
|
},
|
|
47
47
|
"engines": {
|
|
48
|
-
"node": ">=22.
|
|
48
|
+
"node": ">=22.19.0"
|
|
49
49
|
},
|
|
50
50
|
"scripts": {
|
|
51
51
|
"test": "npm run test:unit && npm run test:cli",
|