@platformatic/basic 3.43.0 → 3.45.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.
@@ -721,7 +721,13 @@ async function main () {
721
721
  }
722
722
 
723
723
  if (data.config.application?.changeDirectoryBeforeExecution && data.root && isMainThread) {
724
- process.chdir(fileURLToPath(data.root))
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.43.0",
3
+ "version": "3.45.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.43.0",
29
- "@platformatic/itc": "3.43.0",
30
- "@platformatic/telemetry": "3.43.0",
31
- "@platformatic/metrics": "3.43.0"
28
+ "@platformatic/foundation": "3.45.0",
29
+ "@platformatic/itc": "3.45.0",
30
+ "@platformatic/metrics": "3.45.0",
31
+ "@platformatic/telemetry": "3.45.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.43.0.json",
2
+ "$id": "https://schemas.platformatic.dev/@platformatic/basic/3.45.0.json",
3
3
  "$schema": "http://json-schema.org/draft-07/schema#",
4
4
  "title": "Platformatic Basic Config",
5
5
  "type": "object",