create-wattpm 3.37.0 → 3.38.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 +1 -1
  2. package/package.json +7 -7
package/lib/index.js CHANGED
@@ -118,7 +118,7 @@ async function importOrLocal ({ pkgManager, projectDir, pkg }) {
118
118
  args.push('-w')
119
119
  }
120
120
 
121
- await execa(pkgManager, ['install', ...args, pkg + version], { cwd: projectDir })
121
+ await execa(pkgManager, [pkgManager === 'npm' ? 'install' : 'add', ...args, pkg + version], { cwd: projectDir })
122
122
  spinner.succeed()
123
123
 
124
124
  const fileToImport = resolveModule.sync(pkg, { basedir: projectDir })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-wattpm",
3
- "version": "3.37.0",
3
+ "version": "3.38.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.0.0",
26
26
  "which": "^3.0.1",
27
- "@platformatic/foundation": "3.37.0",
28
- "@platformatic/generators": "3.37.0"
27
+ "@platformatic/foundation": "3.38.1",
28
+ "@platformatic/generators": "3.38.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": "~5.8.0",
41
41
  "yaml": "^2.4.1",
42
- "@platformatic/db": "3.37.0",
43
- "@platformatic/gateway": "3.37.0",
44
- "@platformatic/runtime": "3.37.0",
45
- "@platformatic/service": "3.37.0"
42
+ "@platformatic/db": "3.38.1",
43
+ "@platformatic/gateway": "3.38.1",
44
+ "@platformatic/service": "3.38.1",
45
+ "@platformatic/runtime": "3.38.1"
46
46
  },
47
47
  "engines": {
48
48
  "node": ">=22.19.0"