@platformatic/service 3.5.1 → 3.6.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 +1 -0
- package/lib/generator.js +17 -17
- package/package.json +7 -7
- package/schema.json +14 -2
package/config.d.ts
CHANGED
|
@@ -314,6 +314,7 @@ export interface PlatformaticServiceConfig {
|
|
|
314
314
|
[k: string]: unknown;
|
|
315
315
|
}[];
|
|
316
316
|
workers?: number | string;
|
|
317
|
+
workersRestartDelay?: number | string;
|
|
317
318
|
logger?: {
|
|
318
319
|
level: (
|
|
319
320
|
| ("fatal" | "error" | "warn" | "info" | "debug" | "trace" | "silent")
|
package/lib/generator.js
CHANGED
|
@@ -171,24 +171,24 @@ $__POST__
|
|
|
171
171
|
|
|
172
172
|
const TS_CONFIG = `
|
|
173
173
|
{
|
|
174
|
-
compilerOptions: {
|
|
175
|
-
module:
|
|
176
|
-
esModuleInterop: true,
|
|
177
|
-
target:
|
|
178
|
-
sourceMap: true,
|
|
179
|
-
pretty: true,
|
|
180
|
-
noEmitOnError: true,
|
|
181
|
-
incremental: true,
|
|
182
|
-
strict: true,
|
|
183
|
-
outDir:
|
|
184
|
-
skipLibCheck: true
|
|
174
|
+
"compilerOptions": {
|
|
175
|
+
"module": "commonjs",
|
|
176
|
+
"esModuleInterop": true,
|
|
177
|
+
"target": "es2020",
|
|
178
|
+
"sourceMap": true,
|
|
179
|
+
"pretty": true,
|
|
180
|
+
"noEmitOnError": true,
|
|
181
|
+
"incremental": true,
|
|
182
|
+
"strict": true,
|
|
183
|
+
"outDir": "dist",
|
|
184
|
+
"skipLibCheck": true
|
|
185
185
|
},
|
|
186
|
-
watchOptions: {
|
|
187
|
-
watchFile:
|
|
188
|
-
watchDirectory:
|
|
189
|
-
fallbackPolling:
|
|
190
|
-
synchronousWatchDirectory: true,
|
|
191
|
-
excludeDirectories: [
|
|
186
|
+
"watchOptions": {
|
|
187
|
+
"watchFile": "fixedPollingInterval",
|
|
188
|
+
"watchDirectory": "fixedPollingInterval",
|
|
189
|
+
"fallbackPolling": "dynamicPriority",
|
|
190
|
+
"synchronousWatchDirectory": true,
|
|
191
|
+
"excludeDirectories": ["**/node_modules", "dist"]
|
|
192
192
|
}
|
|
193
193
|
}
|
|
194
194
|
`
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@platformatic/service",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.6.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"types": "index.d.ts",
|
|
@@ -67,12 +67,12 @@
|
|
|
67
67
|
"rfdc": "^1.3.1",
|
|
68
68
|
"semgrator": "^0.3.0",
|
|
69
69
|
"undici": "^7.0.0",
|
|
70
|
-
"@platformatic/
|
|
71
|
-
"@platformatic/
|
|
72
|
-
"@platformatic/
|
|
73
|
-
"@platformatic/scalar-theme": "3.
|
|
74
|
-
"@platformatic/
|
|
75
|
-
"@platformatic/
|
|
70
|
+
"@platformatic/foundation": "3.6.0",
|
|
71
|
+
"@platformatic/generators": "3.6.0",
|
|
72
|
+
"@platformatic/metrics": "3.6.0",
|
|
73
|
+
"@platformatic/scalar-theme": "3.6.0",
|
|
74
|
+
"@platformatic/basic": "3.6.0",
|
|
75
|
+
"@platformatic/telemetry": "3.6.0"
|
|
76
76
|
},
|
|
77
77
|
"engines": {
|
|
78
78
|
"node": ">=22.19.0"
|
package/schema.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$id": "https://schemas.platformatic.dev/@platformatic/service/3.
|
|
3
|
-
"version": "3.
|
|
2
|
+
"$id": "https://schemas.platformatic.dev/@platformatic/service/3.6.0.json",
|
|
3
|
+
"version": "3.6.0",
|
|
4
4
|
"title": "Platformatic Service Config",
|
|
5
5
|
"type": "object",
|
|
6
6
|
"properties": {
|
|
@@ -1262,6 +1262,18 @@
|
|
|
1262
1262
|
],
|
|
1263
1263
|
"default": 1
|
|
1264
1264
|
},
|
|
1265
|
+
"workersRestartDelay": {
|
|
1266
|
+
"anyOf": [
|
|
1267
|
+
{
|
|
1268
|
+
"type": "number",
|
|
1269
|
+
"minimum": 0
|
|
1270
|
+
},
|
|
1271
|
+
{
|
|
1272
|
+
"type": "string"
|
|
1273
|
+
}
|
|
1274
|
+
],
|
|
1275
|
+
"default": 0
|
|
1276
|
+
},
|
|
1265
1277
|
"logger": {
|
|
1266
1278
|
"type": "object",
|
|
1267
1279
|
"properties": {
|