@platformatic/node 3.27.0 → 3.28.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/config.d.ts +2 -0
- package/lib/capability.js +1 -10
- package/package.json +6 -6
- package/schema.json +20 -1
package/config.d.ts
CHANGED
|
@@ -499,6 +499,7 @@ export interface PlatformaticNodeJsConfig {
|
|
|
499
499
|
[k: string]: string;
|
|
500
500
|
};
|
|
501
501
|
sourceMaps?: boolean;
|
|
502
|
+
nodeModulesSourceMaps?: string[];
|
|
502
503
|
scheduler?: {
|
|
503
504
|
enabled?: boolean | string;
|
|
504
505
|
name: string;
|
|
@@ -553,6 +554,7 @@ export interface PlatformaticNodeJsConfig {
|
|
|
553
554
|
};
|
|
554
555
|
envfile?: string;
|
|
555
556
|
sourceMaps?: boolean;
|
|
557
|
+
nodeModulesSourceMaps?: string[];
|
|
556
558
|
packageManager?: "npm" | "pnpm" | "yarn";
|
|
557
559
|
preload?: string | string[];
|
|
558
560
|
nodeOptions?: string;
|
package/lib/capability.js
CHANGED
|
@@ -265,16 +265,7 @@ export class NodeCapability extends BaseCapability {
|
|
|
265
265
|
return
|
|
266
266
|
}
|
|
267
267
|
|
|
268
|
-
return
|
|
269
|
-
this.#server.close(error => {
|
|
270
|
-
/* c8 ignore next 3 */
|
|
271
|
-
if (error) {
|
|
272
|
-
return reject(error)
|
|
273
|
-
}
|
|
274
|
-
|
|
275
|
-
resolve()
|
|
276
|
-
})
|
|
277
|
-
})
|
|
268
|
+
return this._closeServer(this.#server)
|
|
278
269
|
}
|
|
279
270
|
|
|
280
271
|
async build () {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@platformatic/node",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.28.0",
|
|
4
4
|
"description": "Platformatic Node.js Capability",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -18,9 +18,9 @@
|
|
|
18
18
|
"@watchable/unpromise": "^1.0.2",
|
|
19
19
|
"json5": "^2.2.3",
|
|
20
20
|
"light-my-request": "^6.0.0",
|
|
21
|
-
"@platformatic/basic": "3.
|
|
22
|
-
"@platformatic/foundation": "3.
|
|
23
|
-
"@platformatic/generators": "3.
|
|
21
|
+
"@platformatic/basic": "3.28.0",
|
|
22
|
+
"@platformatic/foundation": "3.28.0",
|
|
23
|
+
"@platformatic/generators": "3.28.0"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
26
|
"cleaner-spec-reporter": "^0.5.0",
|
|
@@ -32,8 +32,8 @@
|
|
|
32
32
|
"neostandard": "^0.12.0",
|
|
33
33
|
"tsx": "^4.19.0",
|
|
34
34
|
"typescript": "^5.5.4",
|
|
35
|
-
"@platformatic/gateway": "3.
|
|
36
|
-
"@platformatic/service": "3.
|
|
35
|
+
"@platformatic/gateway": "3.28.0",
|
|
36
|
+
"@platformatic/service": "3.28.0"
|
|
37
37
|
},
|
|
38
38
|
"engines": {
|
|
39
39
|
"node": ">=22.19.0"
|
package/schema.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$id": "https://schemas.platformatic.dev/@platformatic/node/3.
|
|
2
|
+
"$id": "https://schemas.platformatic.dev/@platformatic/node/3.28.0.json",
|
|
3
3
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
4
|
"title": "Platformatic Node.js Config",
|
|
5
5
|
"type": "object",
|
|
@@ -593,6 +593,12 @@
|
|
|
593
593
|
"sourceMaps": {
|
|
594
594
|
"type": "boolean"
|
|
595
595
|
},
|
|
596
|
+
"nodeModulesSourceMaps": {
|
|
597
|
+
"type": "array",
|
|
598
|
+
"items": {
|
|
599
|
+
"type": "string"
|
|
600
|
+
}
|
|
601
|
+
},
|
|
596
602
|
"packageManager": {
|
|
597
603
|
"type": "string",
|
|
598
604
|
"enum": [
|
|
@@ -1839,6 +1845,13 @@
|
|
|
1839
1845
|
"type": "boolean",
|
|
1840
1846
|
"default": false
|
|
1841
1847
|
},
|
|
1848
|
+
"nodeModulesSourceMaps": {
|
|
1849
|
+
"type": "array",
|
|
1850
|
+
"items": {
|
|
1851
|
+
"type": "string"
|
|
1852
|
+
},
|
|
1853
|
+
"default": []
|
|
1854
|
+
},
|
|
1842
1855
|
"scheduler": {
|
|
1843
1856
|
"type": "array",
|
|
1844
1857
|
"items": {
|
|
@@ -2092,6 +2105,12 @@
|
|
|
2092
2105
|
"sourceMaps": {
|
|
2093
2106
|
"type": "boolean"
|
|
2094
2107
|
},
|
|
2108
|
+
"nodeModulesSourceMaps": {
|
|
2109
|
+
"type": "array",
|
|
2110
|
+
"items": {
|
|
2111
|
+
"type": "string"
|
|
2112
|
+
}
|
|
2113
|
+
},
|
|
2095
2114
|
"packageManager": {
|
|
2096
2115
|
"type": "string",
|
|
2097
2116
|
"enum": [
|