@platformatic/basic 3.43.0 → 3.44.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/worker/child-process.js +7 -1
- package/package.json +5 -5
- package/schema.json +1 -1
|
@@ -721,7 +721,13 @@ async function main () {
|
|
|
721
721
|
}
|
|
722
722
|
|
|
723
723
|
if (data.config.application?.changeDirectoryBeforeExecution && data.root && isMainThread) {
|
|
724
|
-
|
|
724
|
+
let root = fileURLToPath(data.root)
|
|
725
|
+
|
|
726
|
+
if (typeof data.config.application?.changeDirectoryBeforeExecution === 'string') {
|
|
727
|
+
root = resolve(root, data.config.application.changeDirectoryBeforeExecution)
|
|
728
|
+
}
|
|
729
|
+
|
|
730
|
+
process.chdir(root)
|
|
725
731
|
}
|
|
726
732
|
|
|
727
733
|
const childProcess = new ChildProcess(executable)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@platformatic/basic",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.44.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"types": "index.d.ts",
|
|
@@ -25,10 +25,10 @@
|
|
|
25
25
|
"split2": "^4.2.0",
|
|
26
26
|
"undici": "^7.0.0",
|
|
27
27
|
"ws": "^8.18.0",
|
|
28
|
-
"@platformatic/foundation": "3.
|
|
29
|
-
"@platformatic/itc": "3.
|
|
30
|
-
"@platformatic/
|
|
31
|
-
"@platformatic/
|
|
28
|
+
"@platformatic/foundation": "3.44.0",
|
|
29
|
+
"@platformatic/itc": "3.44.0",
|
|
30
|
+
"@platformatic/metrics": "3.44.0",
|
|
31
|
+
"@platformatic/telemetry": "3.44.0"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
34
|
"cleaner-spec-reporter": "^0.5.0",
|
package/schema.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$id": "https://schemas.platformatic.dev/@platformatic/basic/3.
|
|
2
|
+
"$id": "https://schemas.platformatic.dev/@platformatic/basic/3.44.0.json",
|
|
3
3
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
4
|
"title": "Platformatic Basic Config",
|
|
5
5
|
"type": "object",
|