@platformatic/foundation 3.0.5 → 3.1.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/node.js +1 -1
- package/lib/schema.js +13 -2
- package/package.json +2 -2
package/lib/node.js
CHANGED
|
@@ -5,7 +5,7 @@ const currentPlatform = platform()
|
|
|
5
5
|
|
|
6
6
|
export function checkNodeVersionForApplications () {
|
|
7
7
|
const currentVersion = process.version
|
|
8
|
-
const minimumVersion = '22.
|
|
8
|
+
const minimumVersion = '22.19.0'
|
|
9
9
|
|
|
10
10
|
if (lt(currentVersion, minimumVersion)) {
|
|
11
11
|
throw new Error(
|
package/lib/schema.js
CHANGED
|
@@ -1077,8 +1077,19 @@ export const runtimeProperties = {
|
|
|
1077
1077
|
}
|
|
1078
1078
|
]
|
|
1079
1079
|
},
|
|
1080
|
-
|
|
1081
|
-
|
|
1080
|
+
plugins: {
|
|
1081
|
+
type: 'array',
|
|
1082
|
+
items: {
|
|
1083
|
+
anyOf: [
|
|
1084
|
+
{
|
|
1085
|
+
type: 'string',
|
|
1086
|
+
resolvePath: true
|
|
1087
|
+
}
|
|
1088
|
+
]
|
|
1089
|
+
}
|
|
1090
|
+
}
|
|
1091
|
+
},
|
|
1092
|
+
additionalProperties: false
|
|
1082
1093
|
}
|
|
1083
1094
|
]
|
|
1084
1095
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@platformatic/foundation",
|
|
3
|
-
"version": "3.0
|
|
3
|
+
"version": "3.1.0",
|
|
4
4
|
"description": "Platformatic Foundation",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"types": "index.d.ts",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"typescript": "^5.5.4"
|
|
45
45
|
},
|
|
46
46
|
"engines": {
|
|
47
|
-
"node": ">=22.
|
|
47
|
+
"node": ">=22.19.0"
|
|
48
48
|
},
|
|
49
49
|
"scripts": {
|
|
50
50
|
"test": "node --test --test-reporter=cleaner-spec-reporter --test-concurrency=1 --test-timeout=2000000 test/*.test.js test/**/*.test.js",
|