uni-run 1.0.11 → 1.0.13
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.
|
@@ -69,6 +69,14 @@ exports.default = [
|
|
|
69
69
|
return ['bash', ...args];
|
|
70
70
|
},
|
|
71
71
|
}),
|
|
72
|
+
new Executor_1.default('Fish Shell', {
|
|
73
|
+
extensions: ['fish'],
|
|
74
|
+
checkInstallation: ['fish', '--version'],
|
|
75
|
+
installMessage: 'Please install Fish from https://fishshell.com',
|
|
76
|
+
run(args) {
|
|
77
|
+
return ['fish', ...args];
|
|
78
|
+
},
|
|
79
|
+
}),
|
|
72
80
|
new Executor_1.default('Lua', {
|
|
73
81
|
extensions: ['lua'],
|
|
74
82
|
checkInstallation: ['lua', '-v'],
|
|
@@ -64,6 +64,14 @@ export default [
|
|
|
64
64
|
return ['bash', ...args];
|
|
65
65
|
},
|
|
66
66
|
}),
|
|
67
|
+
new Executor('Fish Shell', {
|
|
68
|
+
extensions: ['fish'],
|
|
69
|
+
checkInstallation: ['fish', '--version'],
|
|
70
|
+
installMessage: 'Please install Fish from https://fishshell.com',
|
|
71
|
+
run(args) {
|
|
72
|
+
return ['fish', ...args];
|
|
73
|
+
},
|
|
74
|
+
}),
|
|
67
75
|
new Executor('Lua', {
|
|
68
76
|
extensions: ['lua'],
|
|
69
77
|
checkInstallation: ['lua', '-v'],
|
package/dist/execution/index.cjs
CHANGED
|
@@ -84,7 +84,7 @@ class Execution {
|
|
|
84
84
|
argv0: this.command,
|
|
85
85
|
cwd: this.options.cwd,
|
|
86
86
|
shell: this.options.shell,
|
|
87
|
-
env: Object.assign({}, this.options.env),
|
|
87
|
+
env: Object.assign(Object.assign({}, process.env), this.options.env),
|
|
88
88
|
stdio: this.options.silent ? 'ignore' : 'inherit',
|
|
89
89
|
});
|
|
90
90
|
this.child.on('exit', (code) => {
|
package/dist/execution/index.mjs
CHANGED
|
@@ -56,7 +56,7 @@ export default class Execution {
|
|
|
56
56
|
argv0: this.command,
|
|
57
57
|
cwd: this.options.cwd,
|
|
58
58
|
shell: this.options.shell,
|
|
59
|
-
env: Object.assign({}, this.options.env),
|
|
59
|
+
env: Object.assign(Object.assign({}, process.env), this.options.env),
|
|
60
60
|
stdio: this.options.silent ? 'ignore' : 'inherit',
|
|
61
61
|
});
|
|
62
62
|
this.child.on('exit', (code) => {
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "uni-run",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.13",
|
|
4
4
|
"description": "Universal Runner for many language",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"dev": "npmize dev",
|
|
7
7
|
"build": "npmize build",
|
|
8
8
|
"tsc": "tsc --watch --noEmit",
|
|
9
|
-
"cjs": "node ./dist/__lab__/index.cjs",
|
|
10
|
-
"mjs": "node ./dist/__lab__/index.mjs",
|
|
9
|
+
"cjs": "node --watch ./dist/__lab__/index.cjs",
|
|
10
|
+
"mjs": "node --watch ./dist/__lab__/index.mjs",
|
|
11
11
|
"lab": "run ./src/__lab__/index.ts --focus ./src"
|
|
12
12
|
},
|
|
13
13
|
"main": "./dist/index.cjs",
|