wattpm-utils 3.55.0 → 3.56.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/index.js +2 -1
- package/lib/commands/external.js +1 -2
- package/package.json +8 -6
package/index.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { createCliLogger, logFatalError, parseArgs } from '@platformatic/foundation'
|
|
2
|
+
import { updateGlobals } from '@platformatic/globals'
|
|
2
3
|
import { bold } from 'colorette'
|
|
3
4
|
import { createCommand } from './lib/commands/create.js'
|
|
4
5
|
import { installCommand, updateCommand } from './lib/commands/dependencies.js'
|
|
@@ -8,7 +9,7 @@ import { patchConfigCommand } from './lib/commands/patch-config.js'
|
|
|
8
9
|
import { version } from './lib/version.js'
|
|
9
10
|
|
|
10
11
|
export async function main () {
|
|
11
|
-
|
|
12
|
+
updateGlobals({ executable: this.executableId })
|
|
12
13
|
|
|
13
14
|
const options = {
|
|
14
15
|
'no-pretty': {
|
package/lib/commands/external.js
CHANGED
|
@@ -162,8 +162,7 @@ async function fixConfiguration (context, logger, root, configOption, skipDepend
|
|
|
162
162
|
|
|
163
163
|
if (!packageJson.dependencies[capability]) {
|
|
164
164
|
packageJson.dependencies[capability] = `^${version}`
|
|
165
|
-
packageJson.devDependencies
|
|
166
|
-
packageJson.devDependencies[capability] = undefined
|
|
165
|
+
delete packageJson.devDependencies?.[capability]
|
|
167
166
|
|
|
168
167
|
if (capability === '@platformatic/node') {
|
|
169
168
|
logger.info(
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "wattpm-utils",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.56.0",
|
|
4
4
|
"description": "The Node.js Application Server Utilities Commands",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -27,11 +27,13 @@
|
|
|
27
27
|
"colorette": "^2.0.20",
|
|
28
28
|
"dotenv": "^16.4.5",
|
|
29
29
|
"execa": "^9.4.0",
|
|
30
|
+
"fast-json-patch": "^3.1.1",
|
|
30
31
|
"semver": "^7.7.0",
|
|
31
32
|
"tar": "^7.5.7",
|
|
32
|
-
"@platformatic/foundation": "3.
|
|
33
|
-
"@platformatic/runtime": "3.
|
|
34
|
-
"create-wattpm": "3.
|
|
33
|
+
"@platformatic/foundation": "3.56.0",
|
|
34
|
+
"@platformatic/runtime": "3.56.0",
|
|
35
|
+
"create-wattpm": "3.56.0",
|
|
36
|
+
"@platformatic/globals": "3.56.0"
|
|
35
37
|
},
|
|
36
38
|
"devDependencies": {
|
|
37
39
|
"cleaner-spec-reporter": "^0.5.0",
|
|
@@ -40,8 +42,8 @@
|
|
|
40
42
|
"json-schema-to-typescript": "^15.0.0",
|
|
41
43
|
"neostandard": "^0.12.0",
|
|
42
44
|
"typescript": "^5.5.4",
|
|
43
|
-
"undici": "^7.
|
|
44
|
-
"@platformatic/node": "3.
|
|
45
|
+
"undici": "^7.27.2",
|
|
46
|
+
"@platformatic/node": "3.56.0"
|
|
45
47
|
},
|
|
46
48
|
"engines": {
|
|
47
49
|
"node": ">=22.19.0"
|