scripts-orchestrator 1.1.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.
Files changed (2) hide show
  1. package/index.js +3 -1
  2. package/package.json +5 -5
package/index.js CHANGED
@@ -21,7 +21,9 @@ if (!fs.existsSync(configPath)) {
21
21
  }
22
22
 
23
23
  // Import the config file
24
- const commandsConfig = (await import(path.resolve(process.cwd(), configPath))).default;
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,11 +1,11 @@
1
1
  {
2
2
  "name": "scripts-orchestrator",
3
- "version": "1.1.0",
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",
7
7
  "bin": {
8
- "scripts-orchestrator": "./index.js"
8
+ "scripts-orchestrator": "index.js"
9
9
  },
10
10
  "scripts": {
11
11
  "test": "echo \"Error: no test specified\" && exit 1",
@@ -29,12 +29,12 @@
29
29
  "license": "MIT",
30
30
  "repository": {
31
31
  "type": "git",
32
- "url": "git+https://github.com/vivekkodira/scripts-orchestrator.git"
32
+ "url": "git+https://github.com/Pratishthan/scripts-orchestrator"
33
33
  },
34
34
  "bugs": {
35
- "url": "https://github.com/vivekkodira/scripts-orchestrator/issues"
35
+ "url": "https://github.com/Pratishthan/scripts-orchestrator/issues"
36
36
  },
37
- "homepage": "https://github.com/vivekkodira/scripts-orchestrator#readme",
37
+ "homepage": "https://github.com/Pratishthan/scripts-orchestrator#readme",
38
38
  "engines": {
39
39
  "node": ">=14.0.0"
40
40
  },