scripts-orchestrator 1.2.0 → 1.2.1
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/index.js +3 -1
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -21,7 +21,9 @@ if (!fs.existsSync(configPath)) {
|
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
// Import the config file
|
|
24
|
-
const
|
|
24
|
+
const configFilePath = path.resolve(process.cwd(), configPath);
|
|
25
|
+
const fileUrl = new URL(`file://${configFilePath}`).href;
|
|
26
|
+
const commandsConfig = (await import(fileUrl)).default;
|
|
25
27
|
|
|
26
28
|
// Create and run the orchestrator
|
|
27
29
|
const orchestrator = new Orchestrator(commandsConfig);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "scripts-orchestrator",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.1",
|
|
4
4
|
"description": "A powerful script orchestrator for running parallel commands with dependency management, background processes, and health checks",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"type": "module",
|