@gkalpak/aliases 0.14.1 → 0.14.3
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/bin/aio/aioall.js +4 -3
- package/bin/aio/aioatt.js +4 -3
- package/bin/aio/aiobd.js +4 -3
- package/bin/aio/aiord.js +4 -3
- package/bin/aio/aiorm.js +4 -3
- package/bin/config/cfgbash.js +1 -1
- package/bin/config/cfgbash.wsl.js +1 -1
- package/bin/config/cfggit.js +1 -1
- package/bin/config/cfggit.win32.js +1 -1
- package/bin/config/cfggit.wsl.js +1 -1
- package/bin/config/cfggpg.js +1 -1
- package/bin/config/cfgssh.js +1 -1
- package/bin/config/cfgvim.js +1 -1
- package/bin/config/cfgwsl.js +4 -3
- package/bin/config/cfgwsl.wsl.js +2 -2
- package/bin/docker/dkrall.js +4 -3
- package/bin/docker/dkratt.js +4 -3
- package/bin/docker/dkrbd.js +4 -3
- package/bin/docker/dkrrd.js +4 -3
- package/bin/docker/dkrrm.js +4 -3
- package/bin/git/gaa.js +4 -3
- package/bin/git/gb.js +4 -3
- package/bin/git/gba.js +4 -3
- package/bin/git/gbc.js +4 -3
- package/bin/git/gbcd.js +4 -3
- package/bin/git/gbco.js +4 -3
- package/bin/git/gbd.js +4 -3
- package/bin/git/gbdio.js +4 -3
- package/bin/git/gbdr.js +4 -3
- package/bin/git/gcl.js +4 -3
- package/bin/git/gcm.js +4 -3
- package/bin/git/gcma.js +4 -3
- package/bin/git/gcmane.js +4 -3
- package/bin/git/gcmf.js +4 -3
- package/bin/git/gcmfc.js +4 -3
- package/bin/git/gcmfs.js +4 -3
- package/bin/git/gcmi.js +4 -3
- package/bin/git/gcmia.js +4 -3
- package/bin/git/gcmiane.js +4 -3
- package/bin/git/gcmif.js +4 -3
- package/bin/git/gcmifc.js +4 -3
- package/bin/git/gcmifs.js +4 -3
- package/bin/git/gco.js +4 -3
- package/bin/git/gcod.js +4 -3
- package/bin/git/gcoghpr-cleanup.js +4 -3
- package/bin/git/gcopr.js +4 -3
- package/bin/git/gcp.js +4 -3
- package/bin/git/gcpa.js +4 -3
- package/bin/git/gcpc.js +4 -3
- package/bin/git/gcpx.js +4 -3
- package/bin/git/gcpxl.js +4 -3
- package/bin/git/gd.js +4 -3
- package/bin/git/gd1.js +4 -3
- package/bin/git/gdefb.js +4 -3
- package/bin/git/gdh.js +4 -3
- package/bin/git/gdn.js +4 -3
- package/bin/git/gdn1.js +4 -3
- package/bin/git/gdnh.js +4 -3
- package/bin/git/gl.js +4 -3
- package/bin/git/gl1.js +4 -3
- package/bin/git/gl1g.js +4 -3
- package/bin/git/gmt.js +4 -3
- package/bin/git/gngprh.js +4 -3
- package/bin/git/gngprm.js +4 -3
- package/bin/git/gp.js +4 -3
- package/bin/git/gp1.js +4 -3
- package/bin/git/gpf.js +4 -3
- package/bin/git/gpr.js +4 -3
- package/bin/git/gpro.js +4 -3
- package/bin/git/gprod.js +4 -3
- package/bin/git/gpru.js +4 -3
- package/bin/git/gprud.js +4 -3
- package/bin/git/grb.js +4 -3
- package/bin/git/grba.js +4 -3
- package/bin/git/grbc.js +4 -3
- package/bin/git/grbd.js +4 -3
- package/bin/git/grbi.js +4 -3
- package/bin/git/grbia.js +4 -3
- package/bin/git/grbin.js +4 -3
- package/bin/git/grs.js +4 -3
- package/bin/git/grs1.js +4 -3
- package/bin/git/gs.js +4 -3
- package/bin/git/gsh.js +4 -3
- package/bin/git/gshg.js +4 -3
- package/bin/git/gshn.js +4 -3
- package/bin/git/gshng.js +4 -3
- package/bin/git/gst.js +4 -3
- package/bin/git/gstk.js +4 -3
- package/bin/git/gstl.js +4 -3
- package/bin/git/gstm.js +4 -3
- package/bin/git/gstp.js +4 -3
- package/bin/git/gsync.js +4 -3
- package/bin/misc/alv.js +1 -1
- package/bin/misc/ll.darwin.js +4 -3
- package/bin/misc/ll.js +4 -3
- package/bin/misc/lla.darwin.js +4 -3
- package/bin/misc/lla.js +4 -3
- package/bin/misc/osv.darwin.js +4 -3
- package/bin/misc/osv.js +4 -3
- package/bin/misc/osv.win32.js +4 -3
- package/bin/misc/salfup.js +4 -3
- package/bin/node/nad.js +4 -3
- package/bin/node/naga.js +4 -3
- package/bin/node/nap.js +4 -3
- package/bin/node/niin.js +4 -3
- package/bin/node/nls.js +4 -3
- package/bin/node/nls1.js +4 -3
- package/bin/node/nlsg.js +4 -3
- package/bin/node/nlsg1.js +4 -3
- package/bin/node/nr.js +4 -3
- package/bin/node/nrd.js +4 -3
- package/bin/node/nrin.js +4 -3
- package/bin/node/nrp.js +4 -3
- package/bin/node/nrx.js +4 -3
- package/bin/node/ns.js +4 -3
- package/bin/node/nsin.js +4 -3
- package/bin/node/nsx.js +4 -3
- package/bin/node/nt.js +4 -3
- package/bin/node/ntin.js +4 -3
- package/bin/node/ntx.js +4 -3
- package/bin/node/nua.js +4 -3
- package/bin/node/nud.js +4 -3
- package/bin/node/nup.js +4 -3
- package/bin/node/nv.js +4 -3
- package/bin/node/nvls.js +4 -3
- package/bin/node/nvls.win32.js +4 -3
- package/bin/node/nvlsa.js +4 -3
- package/bin/node/nvlsa.win32.js +4 -3
- package/bin/node/nvmup.js +4 -3
- package/bin/node/nvmup.win32.js +4 -3
- package/bin/node/srv.js +4 -3
- package/bin/node/srvw.js +4 -3
- package/bin/node/yad.js +4 -3
- package/bin/node/yaga.js +4 -3
- package/bin/node/yap.js +4 -3
- package/bin/node/yiin.js +4 -3
- package/bin/node/yls.js +4 -3
- package/bin/node/yls1.js +4 -3
- package/bin/node/ylsg.js +4 -3
- package/bin/node/ylsg1.js +4 -3
- package/bin/node/yr.js +4 -3
- package/bin/node/yrd.js +4 -3
- package/bin/node/yrin.js +4 -3
- package/bin/node/yrp.js +4 -3
- package/bin/node/yrx.js +4 -3
- package/bin/node/ys.js +4 -3
- package/bin/node/ysin.js +4 -3
- package/bin/node/ysx.js +4 -3
- package/bin/node/yt.js +4 -3
- package/bin/node/ytin.js +4 -3
- package/bin/node/ytx.js +4 -3
- package/bin/node/yua.js +4 -3
- package/bin/node/yud.js +4 -3
- package/bin/node/yup.js +4 -3
- package/lib/alias-scripts/g-pick-branch.js +4 -2
- package/lib/alias-scripts/g-pick-commit.js +4 -2
- package/lib/alias-scripts/gcoghpr.js +5 -2
- package/lib/alias-scripts/nvu.js +19 -17
- package/lib/alias.js +1 -2
- package/lib/constants.js +8 -4
- package/lib/helper.js +2 -2
- package/package.json +2 -2
package/bin/misc/ll.darwin.js
CHANGED
|
@@ -5,7 +5,8 @@ import {isMain, onError} from '../../lib/utils.js';
|
|
|
5
5
|
const cmd = 'ls -Ghl $*';
|
|
6
6
|
export default cmd;
|
|
7
7
|
if (isMain(import.meta.url)) {
|
|
8
|
-
const {args, config} = commandUtils.preprocessArgs(process.argv.slice(2));
|
|
9
|
-
// eslint-disable-next-line quotes
|
|
10
|
-
|
|
8
|
+
const {args, config: runtimeConfig} = commandUtils.preprocessArgs(process.argv.slice(2));
|
|
9
|
+
// eslint-disable-next-line max-len, quotes
|
|
10
|
+
const config = Object.assign({sapVersion: 2}, {}, runtimeConfig);
|
|
11
|
+
commandUtils.run(cmd, args, config).catch(onError);
|
|
11
12
|
}
|
package/bin/misc/ll.js
CHANGED
|
@@ -5,7 +5,8 @@ import {isMain, onError} from '../../lib/utils.js';
|
|
|
5
5
|
const cmd = 'ls --color=auto -hl $*';
|
|
6
6
|
export default cmd;
|
|
7
7
|
if (isMain(import.meta.url)) {
|
|
8
|
-
const {args, config} = commandUtils.preprocessArgs(process.argv.slice(2));
|
|
9
|
-
// eslint-disable-next-line quotes
|
|
10
|
-
|
|
8
|
+
const {args, config: runtimeConfig} = commandUtils.preprocessArgs(process.argv.slice(2));
|
|
9
|
+
// eslint-disable-next-line max-len, quotes
|
|
10
|
+
const config = Object.assign({sapVersion: 2}, {}, runtimeConfig);
|
|
11
|
+
commandUtils.run(cmd, args, config).catch(onError);
|
|
11
12
|
}
|
package/bin/misc/lla.darwin.js
CHANGED
|
@@ -5,7 +5,8 @@ import {isMain, onError} from '../../lib/utils.js';
|
|
|
5
5
|
const cmd = 'ls -aGhl $*';
|
|
6
6
|
export default cmd;
|
|
7
7
|
if (isMain(import.meta.url)) {
|
|
8
|
-
const {args, config} = commandUtils.preprocessArgs(process.argv.slice(2));
|
|
9
|
-
// eslint-disable-next-line quotes
|
|
10
|
-
|
|
8
|
+
const {args, config: runtimeConfig} = commandUtils.preprocessArgs(process.argv.slice(2));
|
|
9
|
+
// eslint-disable-next-line max-len, quotes
|
|
10
|
+
const config = Object.assign({sapVersion: 2}, {}, runtimeConfig);
|
|
11
|
+
commandUtils.run(cmd, args, config).catch(onError);
|
|
11
12
|
}
|
package/bin/misc/lla.js
CHANGED
|
@@ -5,7 +5,8 @@ import {isMain, onError} from '../../lib/utils.js';
|
|
|
5
5
|
const cmd = 'ls --color=auto -ahl $*';
|
|
6
6
|
export default cmd;
|
|
7
7
|
if (isMain(import.meta.url)) {
|
|
8
|
-
const {args, config} = commandUtils.preprocessArgs(process.argv.slice(2));
|
|
9
|
-
// eslint-disable-next-line quotes
|
|
10
|
-
|
|
8
|
+
const {args, config: runtimeConfig} = commandUtils.preprocessArgs(process.argv.slice(2));
|
|
9
|
+
// eslint-disable-next-line max-len, quotes
|
|
10
|
+
const config = Object.assign({sapVersion: 2}, {}, runtimeConfig);
|
|
11
|
+
commandUtils.run(cmd, args, config).catch(onError);
|
|
11
12
|
}
|
package/bin/misc/osv.darwin.js
CHANGED
|
@@ -5,7 +5,8 @@ import {isMain, onError} from '../../lib/utils.js';
|
|
|
5
5
|
const cmd = 'sw_vers';
|
|
6
6
|
export default cmd;
|
|
7
7
|
if (isMain(import.meta.url)) {
|
|
8
|
-
const {args, config} = commandUtils.preprocessArgs(process.argv.slice(2));
|
|
9
|
-
// eslint-disable-next-line quotes
|
|
10
|
-
|
|
8
|
+
const {args, config: runtimeConfig} = commandUtils.preprocessArgs(process.argv.slice(2));
|
|
9
|
+
// eslint-disable-next-line max-len, quotes
|
|
10
|
+
const config = Object.assign({sapVersion: 2}, {}, runtimeConfig);
|
|
11
|
+
commandUtils.run(cmd, args, config).catch(onError);
|
|
11
12
|
}
|
package/bin/misc/osv.js
CHANGED
|
@@ -5,7 +5,8 @@ import {isMain, onError} from '../../lib/utils.js';
|
|
|
5
5
|
const cmd = 'command -v lsb_release && lsb_release -a || cat /etc/os-release';
|
|
6
6
|
export default cmd;
|
|
7
7
|
if (isMain(import.meta.url)) {
|
|
8
|
-
const {args, config} = commandUtils.preprocessArgs(process.argv.slice(2));
|
|
9
|
-
// eslint-disable-next-line quotes
|
|
10
|
-
|
|
8
|
+
const {args, config: runtimeConfig} = commandUtils.preprocessArgs(process.argv.slice(2));
|
|
9
|
+
// eslint-disable-next-line max-len, quotes
|
|
10
|
+
const config = Object.assign({sapVersion: 2}, {}, runtimeConfig);
|
|
11
|
+
commandUtils.run(cmd, args, config).catch(onError);
|
|
11
12
|
}
|
package/bin/misc/osv.win32.js
CHANGED
|
@@ -5,7 +5,8 @@ import {isMain, onError} from '../../lib/utils.js';
|
|
|
5
5
|
const cmd = 'ver';
|
|
6
6
|
export default cmd;
|
|
7
7
|
if (isMain(import.meta.url)) {
|
|
8
|
-
const {args, config} = commandUtils.preprocessArgs(process.argv.slice(2));
|
|
9
|
-
// eslint-disable-next-line quotes
|
|
10
|
-
|
|
8
|
+
const {args, config: runtimeConfig} = commandUtils.preprocessArgs(process.argv.slice(2));
|
|
9
|
+
// eslint-disable-next-line max-len, quotes
|
|
10
|
+
const config = Object.assign({sapVersion: 2}, {}, runtimeConfig);
|
|
11
|
+
commandUtils.run(cmd, args, config).catch(onError);
|
|
11
12
|
}
|
package/bin/misc/salfup.js
CHANGED
|
@@ -5,7 +5,8 @@ import {isMain, onError} from '../../lib/utils.js';
|
|
|
5
5
|
const cmd = 'npm install --global @gkalpak/aliases $*';
|
|
6
6
|
export default cmd;
|
|
7
7
|
if (isMain(import.meta.url)) {
|
|
8
|
-
const {args, config} = commandUtils.preprocessArgs(process.argv.slice(2));
|
|
9
|
-
// eslint-disable-next-line quotes
|
|
10
|
-
|
|
8
|
+
const {args, config: runtimeConfig} = commandUtils.preprocessArgs(process.argv.slice(2));
|
|
9
|
+
// eslint-disable-next-line max-len, quotes
|
|
10
|
+
const config = Object.assign({sapVersion: 2}, {}, runtimeConfig);
|
|
11
|
+
commandUtils.run(cmd, args, config).catch(onError);
|
|
11
12
|
}
|
package/bin/node/nad.js
CHANGED
|
@@ -5,7 +5,8 @@ import {isMain, onError} from '../../lib/utils.js';
|
|
|
5
5
|
const cmd = 'npm install $* --save-dev';
|
|
6
6
|
export default cmd;
|
|
7
7
|
if (isMain(import.meta.url)) {
|
|
8
|
-
const {args, config} = commandUtils.preprocessArgs(process.argv.slice(2));
|
|
9
|
-
// eslint-disable-next-line quotes
|
|
10
|
-
|
|
8
|
+
const {args, config: runtimeConfig} = commandUtils.preprocessArgs(process.argv.slice(2));
|
|
9
|
+
// eslint-disable-next-line max-len, quotes
|
|
10
|
+
const config = Object.assign({sapVersion: 2}, {}, runtimeConfig);
|
|
11
|
+
commandUtils.run(cmd, args, config).catch(onError);
|
|
11
12
|
}
|
package/bin/node/naga.js
CHANGED
|
@@ -5,7 +5,8 @@ import {isMain, onError} from '../../lib/utils.js';
|
|
|
5
5
|
const cmd = 'npm install --global @gkalpak/aliases @gkalpak/cli-utils @gkalpak/ng-maintain eslint firebase-tools http-server light-server pnpm shx typescript verdaccio watch yarn $*';
|
|
6
6
|
export default cmd;
|
|
7
7
|
if (isMain(import.meta.url)) {
|
|
8
|
-
const {args, config} = commandUtils.preprocessArgs(process.argv.slice(2));
|
|
9
|
-
// eslint-disable-next-line quotes
|
|
10
|
-
|
|
8
|
+
const {args, config: runtimeConfig} = commandUtils.preprocessArgs(process.argv.slice(2));
|
|
9
|
+
// eslint-disable-next-line max-len, quotes
|
|
10
|
+
const config = Object.assign({sapVersion: 2}, {}, runtimeConfig);
|
|
11
|
+
commandUtils.run(cmd, args, config).catch(onError);
|
|
11
12
|
}
|
package/bin/node/nap.js
CHANGED
|
@@ -5,7 +5,8 @@ import {isMain, onError} from '../../lib/utils.js';
|
|
|
5
5
|
const cmd = 'npm install $* --save';
|
|
6
6
|
export default cmd;
|
|
7
7
|
if (isMain(import.meta.url)) {
|
|
8
|
-
const {args, config} = commandUtils.preprocessArgs(process.argv.slice(2));
|
|
9
|
-
// eslint-disable-next-line quotes
|
|
10
|
-
|
|
8
|
+
const {args, config: runtimeConfig} = commandUtils.preprocessArgs(process.argv.slice(2));
|
|
9
|
+
// eslint-disable-next-line max-len, quotes
|
|
10
|
+
const config = Object.assign({sapVersion: 2}, {}, runtimeConfig);
|
|
11
|
+
commandUtils.run(cmd, args, config).catch(onError);
|
|
11
12
|
}
|
package/bin/node/niin.js
CHANGED
|
@@ -5,7 +5,8 @@ import {isMain, onError} from '../../lib/utils.js';
|
|
|
5
5
|
const cmd = 'npm --prefix=$1 install $2*';
|
|
6
6
|
export default cmd;
|
|
7
7
|
if (isMain(import.meta.url)) {
|
|
8
|
-
const {args, config} = commandUtils.preprocessArgs(process.argv.slice(2));
|
|
9
|
-
// eslint-disable-next-line quotes
|
|
10
|
-
|
|
8
|
+
const {args, config: runtimeConfig} = commandUtils.preprocessArgs(process.argv.slice(2));
|
|
9
|
+
// eslint-disable-next-line max-len, quotes
|
|
10
|
+
const config = Object.assign({sapVersion: 2}, {}, runtimeConfig);
|
|
11
|
+
commandUtils.run(cmd, args, config).catch(onError);
|
|
11
12
|
}
|
package/bin/node/nls.js
CHANGED
|
@@ -5,7 +5,8 @@ import {isMain, onError} from '../../lib/utils.js';
|
|
|
5
5
|
const cmd = 'npm list --depth=0 $*';
|
|
6
6
|
export default cmd;
|
|
7
7
|
if (isMain(import.meta.url)) {
|
|
8
|
-
const {args, config} = commandUtils.preprocessArgs(process.argv.slice(2));
|
|
9
|
-
// eslint-disable-next-line quotes
|
|
10
|
-
|
|
8
|
+
const {args, config: runtimeConfig} = commandUtils.preprocessArgs(process.argv.slice(2));
|
|
9
|
+
// eslint-disable-next-line max-len, quotes
|
|
10
|
+
const config = Object.assign({sapVersion: 2}, {}, runtimeConfig);
|
|
11
|
+
commandUtils.run(cmd, args, config).catch(onError);
|
|
11
12
|
}
|
package/bin/node/nls1.js
CHANGED
|
@@ -5,7 +5,8 @@ import {isMain, onError} from '../../lib/utils.js';
|
|
|
5
5
|
const cmd = 'npm list --depth=1 $*';
|
|
6
6
|
export default cmd;
|
|
7
7
|
if (isMain(import.meta.url)) {
|
|
8
|
-
const {args, config} = commandUtils.preprocessArgs(process.argv.slice(2));
|
|
9
|
-
// eslint-disable-next-line quotes
|
|
10
|
-
|
|
8
|
+
const {args, config: runtimeConfig} = commandUtils.preprocessArgs(process.argv.slice(2));
|
|
9
|
+
// eslint-disable-next-line max-len, quotes
|
|
10
|
+
const config = Object.assign({sapVersion: 2}, {}, runtimeConfig);
|
|
11
|
+
commandUtils.run(cmd, args, config).catch(onError);
|
|
11
12
|
}
|
package/bin/node/nlsg.js
CHANGED
|
@@ -5,7 +5,8 @@ import {isMain, onError} from '../../lib/utils.js';
|
|
|
5
5
|
const cmd = 'npm list --depth=0 --global $*';
|
|
6
6
|
export default cmd;
|
|
7
7
|
if (isMain(import.meta.url)) {
|
|
8
|
-
const {args, config} = commandUtils.preprocessArgs(process.argv.slice(2));
|
|
9
|
-
// eslint-disable-next-line quotes
|
|
10
|
-
|
|
8
|
+
const {args, config: runtimeConfig} = commandUtils.preprocessArgs(process.argv.slice(2));
|
|
9
|
+
// eslint-disable-next-line max-len, quotes
|
|
10
|
+
const config = Object.assign({sapVersion: 2}, {}, runtimeConfig);
|
|
11
|
+
commandUtils.run(cmd, args, config).catch(onError);
|
|
11
12
|
}
|
package/bin/node/nlsg1.js
CHANGED
|
@@ -5,7 +5,8 @@ import {isMain, onError} from '../../lib/utils.js';
|
|
|
5
5
|
const cmd = 'npm list --depth=1 --global $*';
|
|
6
6
|
export default cmd;
|
|
7
7
|
if (isMain(import.meta.url)) {
|
|
8
|
-
const {args, config} = commandUtils.preprocessArgs(process.argv.slice(2));
|
|
9
|
-
// eslint-disable-next-line quotes
|
|
10
|
-
|
|
8
|
+
const {args, config: runtimeConfig} = commandUtils.preprocessArgs(process.argv.slice(2));
|
|
9
|
+
// eslint-disable-next-line max-len, quotes
|
|
10
|
+
const config = Object.assign({sapVersion: 2}, {}, runtimeConfig);
|
|
11
|
+
commandUtils.run(cmd, args, config).catch(onError);
|
|
11
12
|
}
|
package/bin/node/nr.js
CHANGED
|
@@ -5,7 +5,8 @@ import {isMain, onError} from '../../lib/utils.js';
|
|
|
5
5
|
const cmd = 'npm run $*';
|
|
6
6
|
export default cmd;
|
|
7
7
|
if (isMain(import.meta.url)) {
|
|
8
|
-
const {args, config} = commandUtils.preprocessArgs(process.argv.slice(2));
|
|
9
|
-
// eslint-disable-next-line quotes
|
|
10
|
-
|
|
8
|
+
const {args, config: runtimeConfig} = commandUtils.preprocessArgs(process.argv.slice(2));
|
|
9
|
+
// eslint-disable-next-line max-len, quotes
|
|
10
|
+
const config = Object.assign({sapVersion: 2}, {}, runtimeConfig);
|
|
11
|
+
commandUtils.run(cmd, args, config).catch(onError);
|
|
11
12
|
}
|
package/bin/node/nrd.js
CHANGED
|
@@ -5,7 +5,8 @@ import {isMain, onError} from '../../lib/utils.js';
|
|
|
5
5
|
const cmd = 'npm remove $* --save-dev';
|
|
6
6
|
export default cmd;
|
|
7
7
|
if (isMain(import.meta.url)) {
|
|
8
|
-
const {args, config} = commandUtils.preprocessArgs(process.argv.slice(2));
|
|
9
|
-
// eslint-disable-next-line quotes
|
|
10
|
-
|
|
8
|
+
const {args, config: runtimeConfig} = commandUtils.preprocessArgs(process.argv.slice(2));
|
|
9
|
+
// eslint-disable-next-line max-len, quotes
|
|
10
|
+
const config = Object.assign({sapVersion: 2}, {}, runtimeConfig);
|
|
11
|
+
commandUtils.run(cmd, args, config).catch(onError);
|
|
11
12
|
}
|
package/bin/node/nrin.js
CHANGED
|
@@ -5,7 +5,8 @@ import {isMain, onError} from '../../lib/utils.js';
|
|
|
5
5
|
const cmd = 'npm --prefix=$1 run $2*';
|
|
6
6
|
export default cmd;
|
|
7
7
|
if (isMain(import.meta.url)) {
|
|
8
|
-
const {args, config} = commandUtils.preprocessArgs(process.argv.slice(2));
|
|
9
|
-
// eslint-disable-next-line quotes
|
|
10
|
-
|
|
8
|
+
const {args, config: runtimeConfig} = commandUtils.preprocessArgs(process.argv.slice(2));
|
|
9
|
+
// eslint-disable-next-line max-len, quotes
|
|
10
|
+
const config = Object.assign({sapVersion: 2}, {}, runtimeConfig);
|
|
11
|
+
commandUtils.run(cmd, args, config).catch(onError);
|
|
11
12
|
}
|
package/bin/node/nrp.js
CHANGED
|
@@ -5,7 +5,8 @@ import {isMain, onError} from '../../lib/utils.js';
|
|
|
5
5
|
const cmd = 'npm remove $* --save';
|
|
6
6
|
export default cmd;
|
|
7
7
|
if (isMain(import.meta.url)) {
|
|
8
|
-
const {args, config} = commandUtils.preprocessArgs(process.argv.slice(2));
|
|
9
|
-
// eslint-disable-next-line quotes
|
|
10
|
-
|
|
8
|
+
const {args, config: runtimeConfig} = commandUtils.preprocessArgs(process.argv.slice(2));
|
|
9
|
+
// eslint-disable-next-line max-len, quotes
|
|
10
|
+
const config = Object.assign({sapVersion: 2}, {}, runtimeConfig);
|
|
11
|
+
commandUtils.run(cmd, args, config).catch(onError);
|
|
11
12
|
}
|
package/bin/node/nrx.js
CHANGED
|
@@ -5,7 +5,8 @@ import {isMain, onError} from '../../lib/utils.js';
|
|
|
5
5
|
const cmd = 'npm run $*';
|
|
6
6
|
export default cmd;
|
|
7
7
|
if (isMain(import.meta.url)) {
|
|
8
|
-
const {args, config} = commandUtils.preprocessArgs(process.argv.slice(2));
|
|
9
|
-
// eslint-disable-next-line quotes
|
|
10
|
-
|
|
8
|
+
const {args, config: runtimeConfig} = commandUtils.preprocessArgs(process.argv.slice(2));
|
|
9
|
+
// eslint-disable-next-line max-len, quotes
|
|
10
|
+
const config = Object.assign({sapVersion: 2}, {"suppressTbj":true}, runtimeConfig);
|
|
11
|
+
commandUtils.run(cmd, args, config).catch(onError);
|
|
11
12
|
}
|
package/bin/node/ns.js
CHANGED
|
@@ -5,7 +5,8 @@ import {isMain, onError} from '../../lib/utils.js';
|
|
|
5
5
|
const cmd = 'npm start $*';
|
|
6
6
|
export default cmd;
|
|
7
7
|
if (isMain(import.meta.url)) {
|
|
8
|
-
const {args, config} = commandUtils.preprocessArgs(process.argv.slice(2));
|
|
9
|
-
// eslint-disable-next-line quotes
|
|
10
|
-
|
|
8
|
+
const {args, config: runtimeConfig} = commandUtils.preprocessArgs(process.argv.slice(2));
|
|
9
|
+
// eslint-disable-next-line max-len, quotes
|
|
10
|
+
const config = Object.assign({sapVersion: 2}, {}, runtimeConfig);
|
|
11
|
+
commandUtils.run(cmd, args, config).catch(onError);
|
|
11
12
|
}
|
package/bin/node/nsin.js
CHANGED
|
@@ -5,7 +5,8 @@ import {isMain, onError} from '../../lib/utils.js';
|
|
|
5
5
|
const cmd = 'npm --prefix=$1 start $2*';
|
|
6
6
|
export default cmd;
|
|
7
7
|
if (isMain(import.meta.url)) {
|
|
8
|
-
const {args, config} = commandUtils.preprocessArgs(process.argv.slice(2));
|
|
9
|
-
// eslint-disable-next-line quotes
|
|
10
|
-
|
|
8
|
+
const {args, config: runtimeConfig} = commandUtils.preprocessArgs(process.argv.slice(2));
|
|
9
|
+
// eslint-disable-next-line max-len, quotes
|
|
10
|
+
const config = Object.assign({sapVersion: 2}, {}, runtimeConfig);
|
|
11
|
+
commandUtils.run(cmd, args, config).catch(onError);
|
|
11
12
|
}
|
package/bin/node/nsx.js
CHANGED
|
@@ -5,7 +5,8 @@ import {isMain, onError} from '../../lib/utils.js';
|
|
|
5
5
|
const cmd = 'npm start $*';
|
|
6
6
|
export default cmd;
|
|
7
7
|
if (isMain(import.meta.url)) {
|
|
8
|
-
const {args, config} = commandUtils.preprocessArgs(process.argv.slice(2));
|
|
9
|
-
// eslint-disable-next-line quotes
|
|
10
|
-
|
|
8
|
+
const {args, config: runtimeConfig} = commandUtils.preprocessArgs(process.argv.slice(2));
|
|
9
|
+
// eslint-disable-next-line max-len, quotes
|
|
10
|
+
const config = Object.assign({sapVersion: 2}, {"suppressTbj":true}, runtimeConfig);
|
|
11
|
+
commandUtils.run(cmd, args, config).catch(onError);
|
|
11
12
|
}
|
package/bin/node/nt.js
CHANGED
|
@@ -5,7 +5,8 @@ import {isMain, onError} from '../../lib/utils.js';
|
|
|
5
5
|
const cmd = 'npm test $*';
|
|
6
6
|
export default cmd;
|
|
7
7
|
if (isMain(import.meta.url)) {
|
|
8
|
-
const {args, config} = commandUtils.preprocessArgs(process.argv.slice(2));
|
|
9
|
-
// eslint-disable-next-line quotes
|
|
10
|
-
|
|
8
|
+
const {args, config: runtimeConfig} = commandUtils.preprocessArgs(process.argv.slice(2));
|
|
9
|
+
// eslint-disable-next-line max-len, quotes
|
|
10
|
+
const config = Object.assign({sapVersion: 2}, {}, runtimeConfig);
|
|
11
|
+
commandUtils.run(cmd, args, config).catch(onError);
|
|
11
12
|
}
|
package/bin/node/ntin.js
CHANGED
|
@@ -5,7 +5,8 @@ import {isMain, onError} from '../../lib/utils.js';
|
|
|
5
5
|
const cmd = 'npm --prefix=$1 test $2*';
|
|
6
6
|
export default cmd;
|
|
7
7
|
if (isMain(import.meta.url)) {
|
|
8
|
-
const {args, config} = commandUtils.preprocessArgs(process.argv.slice(2));
|
|
9
|
-
// eslint-disable-next-line quotes
|
|
10
|
-
|
|
8
|
+
const {args, config: runtimeConfig} = commandUtils.preprocessArgs(process.argv.slice(2));
|
|
9
|
+
// eslint-disable-next-line max-len, quotes
|
|
10
|
+
const config = Object.assign({sapVersion: 2}, {}, runtimeConfig);
|
|
11
|
+
commandUtils.run(cmd, args, config).catch(onError);
|
|
11
12
|
}
|
package/bin/node/ntx.js
CHANGED
|
@@ -5,7 +5,8 @@ import {isMain, onError} from '../../lib/utils.js';
|
|
|
5
5
|
const cmd = 'npm test $*';
|
|
6
6
|
export default cmd;
|
|
7
7
|
if (isMain(import.meta.url)) {
|
|
8
|
-
const {args, config} = commandUtils.preprocessArgs(process.argv.slice(2));
|
|
9
|
-
// eslint-disable-next-line quotes
|
|
10
|
-
|
|
8
|
+
const {args, config: runtimeConfig} = commandUtils.preprocessArgs(process.argv.slice(2));
|
|
9
|
+
// eslint-disable-next-line max-len, quotes
|
|
10
|
+
const config = Object.assign({sapVersion: 2}, {"suppressTbj":true}, runtimeConfig);
|
|
11
|
+
commandUtils.run(cmd, args, config).catch(onError);
|
|
11
12
|
}
|
package/bin/node/nua.js
CHANGED
|
@@ -5,7 +5,8 @@ import {isMain, onError} from '../../lib/utils.js';
|
|
|
5
5
|
const cmd = 'node --eval "/* Update dependencies. */ const deps = Object.keys(require(\'./package.json\').dependencies || {}).map(x => x + \'@latest\'); const cmd = \'nap \' + deps.join(\' \'); console.log(\'\\nUpdating \' + deps.length + \' dependencies...\'); console.log(\' Command: \' + cmd); deps.length && child_process.execSync(cmd, {shell: true, stdio: \'inherit\'});" && node --eval "/* Update devDependencies. */ const deps = Object.keys(require(\'./package.json\').devDependencies || {}).map(x => x + \'@latest\'); const cmd = \'nad \' + deps.join(\' \'); console.log(\'\\nUpdating \' + deps.length + \' devDependencies...\'); console.log(\' Command: \' + cmd); deps.length && child_process.execSync(cmd, {shell: true, stdio: \'inherit\'});"';
|
|
6
6
|
export default cmd;
|
|
7
7
|
if (isMain(import.meta.url)) {
|
|
8
|
-
const {args, config} = commandUtils.preprocessArgs(process.argv.slice(2));
|
|
9
|
-
// eslint-disable-next-line quotes
|
|
10
|
-
|
|
8
|
+
const {args, config: runtimeConfig} = commandUtils.preprocessArgs(process.argv.slice(2));
|
|
9
|
+
// eslint-disable-next-line max-len, quotes
|
|
10
|
+
const config = Object.assign({sapVersion: 2}, {}, runtimeConfig);
|
|
11
|
+
commandUtils.run(cmd, args, config).catch(onError);
|
|
11
12
|
}
|
package/bin/node/nud.js
CHANGED
|
@@ -5,7 +5,8 @@ import {isMain, onError} from '../../lib/utils.js';
|
|
|
5
5
|
const cmd = 'node --eval "/* Update devDependencies. */ const deps = Object.keys(require(\'./package.json\').devDependencies || {}).map(x => x + \'@latest\'); const cmd = \'nad \' + deps.join(\' \'); console.log(\'\\nUpdating \' + deps.length + \' devDependencies...\'); console.log(\' Command: \' + cmd); deps.length && child_process.execSync(cmd, {shell: true, stdio: \'inherit\'});"';
|
|
6
6
|
export default cmd;
|
|
7
7
|
if (isMain(import.meta.url)) {
|
|
8
|
-
const {args, config} = commandUtils.preprocessArgs(process.argv.slice(2));
|
|
9
|
-
// eslint-disable-next-line quotes
|
|
10
|
-
|
|
8
|
+
const {args, config: runtimeConfig} = commandUtils.preprocessArgs(process.argv.slice(2));
|
|
9
|
+
// eslint-disable-next-line max-len, quotes
|
|
10
|
+
const config = Object.assign({sapVersion: 2}, {}, runtimeConfig);
|
|
11
|
+
commandUtils.run(cmd, args, config).catch(onError);
|
|
11
12
|
}
|
package/bin/node/nup.js
CHANGED
|
@@ -5,7 +5,8 @@ import {isMain, onError} from '../../lib/utils.js';
|
|
|
5
5
|
const cmd = 'node --eval "/* Update dependencies. */ const deps = Object.keys(require(\'./package.json\').dependencies || {}).map(x => x + \'@latest\'); const cmd = \'nap \' + deps.join(\' \'); console.log(\'\\nUpdating \' + deps.length + \' dependencies...\'); console.log(\' Command: \' + cmd); deps.length && child_process.execSync(cmd, {shell: true, stdio: \'inherit\'});"';
|
|
6
6
|
export default cmd;
|
|
7
7
|
if (isMain(import.meta.url)) {
|
|
8
|
-
const {args, config} = commandUtils.preprocessArgs(process.argv.slice(2));
|
|
9
|
-
// eslint-disable-next-line quotes
|
|
10
|
-
|
|
8
|
+
const {args, config: runtimeConfig} = commandUtils.preprocessArgs(process.argv.slice(2));
|
|
9
|
+
// eslint-disable-next-line max-len, quotes
|
|
10
|
+
const config = Object.assign({sapVersion: 2}, {}, runtimeConfig);
|
|
11
|
+
commandUtils.run(cmd, args, config).catch(onError);
|
|
11
12
|
}
|
package/bin/node/nv.js
CHANGED
|
@@ -5,7 +5,8 @@ import {isMain, onError} from '../../lib/utils.js';
|
|
|
5
5
|
const cmd = 'node --version';
|
|
6
6
|
export default cmd;
|
|
7
7
|
if (isMain(import.meta.url)) {
|
|
8
|
-
const {args, config} = commandUtils.preprocessArgs(process.argv.slice(2));
|
|
9
|
-
// eslint-disable-next-line quotes
|
|
10
|
-
|
|
8
|
+
const {args, config: runtimeConfig} = commandUtils.preprocessArgs(process.argv.slice(2));
|
|
9
|
+
// eslint-disable-next-line max-len, quotes
|
|
10
|
+
const config = Object.assign({sapVersion: 2}, {}, runtimeConfig);
|
|
11
|
+
commandUtils.run(cmd, args, config).catch(onError);
|
|
11
12
|
}
|
package/bin/node/nvls.js
CHANGED
|
@@ -5,7 +5,8 @@ import {isMain, onError} from '../../lib/utils.js';
|
|
|
5
5
|
const cmd = '. $NVM_DIR/nvm.sh && nvm use ${0:::node --version} --silent && nvm list $*';
|
|
6
6
|
export default cmd;
|
|
7
7
|
if (isMain(import.meta.url)) {
|
|
8
|
-
const {args, config} = commandUtils.preprocessArgs(process.argv.slice(2));
|
|
9
|
-
// eslint-disable-next-line quotes
|
|
10
|
-
|
|
8
|
+
const {args, config: runtimeConfig} = commandUtils.preprocessArgs(process.argv.slice(2));
|
|
9
|
+
// eslint-disable-next-line max-len, quotes
|
|
10
|
+
const config = Object.assign({sapVersion: 2}, {}, runtimeConfig);
|
|
11
|
+
commandUtils.run(cmd, args, config).catch(onError);
|
|
11
12
|
}
|
package/bin/node/nvls.win32.js
CHANGED
|
@@ -5,7 +5,8 @@ import {isMain, onError} from '../../lib/utils.js';
|
|
|
5
5
|
const cmd = 'nvm list $*';
|
|
6
6
|
export default cmd;
|
|
7
7
|
if (isMain(import.meta.url)) {
|
|
8
|
-
const {args, config} = commandUtils.preprocessArgs(process.argv.slice(2));
|
|
9
|
-
// eslint-disable-next-line quotes
|
|
10
|
-
|
|
8
|
+
const {args, config: runtimeConfig} = commandUtils.preprocessArgs(process.argv.slice(2));
|
|
9
|
+
// eslint-disable-next-line max-len, quotes
|
|
10
|
+
const config = Object.assign({sapVersion: 2}, {}, runtimeConfig);
|
|
11
|
+
commandUtils.run(cmd, args, config).catch(onError);
|
|
11
12
|
}
|
package/bin/node/nvlsa.js
CHANGED
|
@@ -5,7 +5,8 @@ import {isMain, onError} from '../../lib/utils.js';
|
|
|
5
5
|
const cmd = '. $NVM_DIR/nvm.sh && nvm use ${0:::node --version} --silent && nvm list-remote $*';
|
|
6
6
|
export default cmd;
|
|
7
7
|
if (isMain(import.meta.url)) {
|
|
8
|
-
const {args, config} = commandUtils.preprocessArgs(process.argv.slice(2));
|
|
9
|
-
// eslint-disable-next-line quotes
|
|
10
|
-
|
|
8
|
+
const {args, config: runtimeConfig} = commandUtils.preprocessArgs(process.argv.slice(2));
|
|
9
|
+
// eslint-disable-next-line max-len, quotes
|
|
10
|
+
const config = Object.assign({sapVersion: 2}, {}, runtimeConfig);
|
|
11
|
+
commandUtils.run(cmd, args, config).catch(onError);
|
|
11
12
|
}
|
package/bin/node/nvlsa.win32.js
CHANGED
|
@@ -5,7 +5,8 @@ import {isMain, onError} from '../../lib/utils.js';
|
|
|
5
5
|
const cmd = 'nvm list available $*';
|
|
6
6
|
export default cmd;
|
|
7
7
|
if (isMain(import.meta.url)) {
|
|
8
|
-
const {args, config} = commandUtils.preprocessArgs(process.argv.slice(2));
|
|
9
|
-
// eslint-disable-next-line quotes
|
|
10
|
-
|
|
8
|
+
const {args, config: runtimeConfig} = commandUtils.preprocessArgs(process.argv.slice(2));
|
|
9
|
+
// eslint-disable-next-line max-len, quotes
|
|
10
|
+
const config = Object.assign({sapVersion: 2}, {}, runtimeConfig);
|
|
11
|
+
commandUtils.run(cmd, args, config).catch(onError);
|
|
11
12
|
}
|
package/bin/node/nvmup.js
CHANGED
|
@@ -5,7 +5,8 @@ import {isMain, onError} from '../../lib/utils.js';
|
|
|
5
5
|
const cmd = 'node --eval "/* NVM update instructions */ (async () => { try { const currentVersion = require(\'child_process\').execSync(\'. $NVM_DIR/nvm.sh && nvm --version\', {encoding: \'utf8\', shell: true}).trim(); const latestVersion = await new Promise((resolve, reject) => require(\'https\').get(\'https://api.github.com/repos/nvm-sh/nvm/tags?per_page=1\', {headers: {\'User-Agent\': \'Node.js\'}}, res => { let responseText = \'\'; res.on(\'data\', d => responseText += d).on(\'error\', reject).on(\'end\', () => resolve(JSON.parse(responseText)[0].name.replace(/^v/, \'\'))); }).on(\'error\', reject).end()); const message = (currentVersion === latestVersion) ? \'Already up to date.\' : \'Update available.\'; const escapedInstructionsTmpl = \'Run: \\\'curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v{{version}}/install.sh | bash\\\' (or \\\'wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v{{version}}/install.sh | bash\\\')\'; console.log(\'Current version: \' + currentVersion); console.log(\'Latest version: \' + latestVersion); console.log(\'\\n \' + message); console.log(\'\\nUpdate instructions (https://github.com/nvm-sh/nvm#install--update-script):\'); console.log(\' \' + escapedInstructionsTmpl.split(\'{{version}}\').join(latestVersion)); } catch (err) { console.error(\'ERROR:\', err); process.exit(1); } })();"';
|
|
6
6
|
export default cmd;
|
|
7
7
|
if (isMain(import.meta.url)) {
|
|
8
|
-
const {args, config} = commandUtils.preprocessArgs(process.argv.slice(2));
|
|
9
|
-
// eslint-disable-next-line quotes
|
|
10
|
-
|
|
8
|
+
const {args, config: runtimeConfig} = commandUtils.preprocessArgs(process.argv.slice(2));
|
|
9
|
+
// eslint-disable-next-line max-len, quotes
|
|
10
|
+
const config = Object.assign({sapVersion: 2}, {}, runtimeConfig);
|
|
11
|
+
commandUtils.run(cmd, args, config).catch(onError);
|
|
11
12
|
}
|
package/bin/node/nvmup.win32.js
CHANGED
|
@@ -5,7 +5,8 @@ import {isMain, onError} from '../../lib/utils.js';
|
|
|
5
5
|
const cmd = 'node --eval "/* NVM update instructions */ (async () => { try { const currentVersion = require(\'child_process\').execSync(\'nvm version\', {encoding: \'utf8\', shell: true}).trim(); const latestVersion = await new Promise((resolve, reject) => require(\'https\').get(\'https://api.github.com/repos/coreybutler/nvm-windows/tags?per_page=1\', {headers: {\'User-Agent\': \'Node.js\'}}, res => { let responseText = \'\'; res.on(\'data\', d => responseText += d).on(\'error\', reject).on(\'end\', () => resolve(JSON.parse(responseText)[0].name.replace(/^v/, \'\'))); }).on(\'error\', reject).end()); const message = (currentVersion === latestVersion) ? \'Already up to date.\' : \'Update available.\'; const escapedInstructionsTmpl = \'Download and run: https://github.com/coreybutler/nvm-windows/releases/download/{{version}}/nvm-setup.exe\'; console.log(\'Current version: \' + currentVersion); console.log(\'Latest version: \' + latestVersion); console.log(\'\\n \' + message); console.log(\'\\nUpdate instructions (https://github.com/coreybutler/nvm-windows#installation--upgrades):\'); console.log(\' \' + escapedInstructionsTmpl.split(\'{{version}}\').join(latestVersion)); } catch (err) { console.error(\'ERROR:\', err); process.exit(1); } })();"';
|
|
6
6
|
export default cmd;
|
|
7
7
|
if (isMain(import.meta.url)) {
|
|
8
|
-
const {args, config} = commandUtils.preprocessArgs(process.argv.slice(2));
|
|
9
|
-
// eslint-disable-next-line quotes
|
|
10
|
-
|
|
8
|
+
const {args, config: runtimeConfig} = commandUtils.preprocessArgs(process.argv.slice(2));
|
|
9
|
+
// eslint-disable-next-line max-len, quotes
|
|
10
|
+
const config = Object.assign({sapVersion: 2}, {}, runtimeConfig);
|
|
11
|
+
commandUtils.run(cmd, args, config).catch(onError);
|
|
11
12
|
}
|
package/bin/node/srv.js
CHANGED
|
@@ -5,7 +5,8 @@ import {isMain, onError} from '../../lib/utils.js';
|
|
|
5
5
|
const cmd = 'http-server "${1:.}" --port="4000" $2*';
|
|
6
6
|
export default cmd;
|
|
7
7
|
if (isMain(import.meta.url)) {
|
|
8
|
-
const {args, config} = commandUtils.preprocessArgs(process.argv.slice(2));
|
|
9
|
-
// eslint-disable-next-line quotes
|
|
10
|
-
|
|
8
|
+
const {args, config: runtimeConfig} = commandUtils.preprocessArgs(process.argv.slice(2));
|
|
9
|
+
// eslint-disable-next-line max-len, quotes
|
|
10
|
+
const config = Object.assign({sapVersion: 2}, {}, runtimeConfig);
|
|
11
|
+
commandUtils.run(cmd, args, config).catch(onError);
|
|
11
12
|
}
|
package/bin/node/srvw.js
CHANGED
|
@@ -5,7 +5,8 @@ import {isMain, onError} from '../../lib/utils.js';
|
|
|
5
5
|
const cmd = 'light-server --bind="localhost" --historyindex="/index.html" --serve="${1:.}" --watchexp="${1:.}/**" $2*';
|
|
6
6
|
export default cmd;
|
|
7
7
|
if (isMain(import.meta.url)) {
|
|
8
|
-
const {args, config} = commandUtils.preprocessArgs(process.argv.slice(2));
|
|
9
|
-
// eslint-disable-next-line quotes
|
|
10
|
-
|
|
8
|
+
const {args, config: runtimeConfig} = commandUtils.preprocessArgs(process.argv.slice(2));
|
|
9
|
+
// eslint-disable-next-line max-len, quotes
|
|
10
|
+
const config = Object.assign({sapVersion: 2}, {"suppressTbj":true}, runtimeConfig);
|
|
11
|
+
commandUtils.run(cmd, args, config).catch(onError);
|
|
11
12
|
}
|
package/bin/node/yad.js
CHANGED
|
@@ -5,7 +5,8 @@ import {isMain, onError} from '../../lib/utils.js';
|
|
|
5
5
|
const cmd = 'yarn add $* --dev';
|
|
6
6
|
export default cmd;
|
|
7
7
|
if (isMain(import.meta.url)) {
|
|
8
|
-
const {args, config} = commandUtils.preprocessArgs(process.argv.slice(2));
|
|
9
|
-
// eslint-disable-next-line quotes
|
|
10
|
-
|
|
8
|
+
const {args, config: runtimeConfig} = commandUtils.preprocessArgs(process.argv.slice(2));
|
|
9
|
+
// eslint-disable-next-line max-len, quotes
|
|
10
|
+
const config = Object.assign({sapVersion: 2}, {}, runtimeConfig);
|
|
11
|
+
commandUtils.run(cmd, args, config).catch(onError);
|
|
11
12
|
}
|
package/bin/node/yaga.js
CHANGED
|
@@ -5,7 +5,8 @@ import {isMain, onError} from '../../lib/utils.js';
|
|
|
5
5
|
const cmd = 'yarn global add @gkalpak/aliases @gkalpak/cli-utils @gkalpak/ng-maintain eslint firebase-tools http-server light-server pnpm shx typescript verdaccio watch $*';
|
|
6
6
|
export default cmd;
|
|
7
7
|
if (isMain(import.meta.url)) {
|
|
8
|
-
const {args, config} = commandUtils.preprocessArgs(process.argv.slice(2));
|
|
9
|
-
// eslint-disable-next-line quotes
|
|
10
|
-
|
|
8
|
+
const {args, config: runtimeConfig} = commandUtils.preprocessArgs(process.argv.slice(2));
|
|
9
|
+
// eslint-disable-next-line max-len, quotes
|
|
10
|
+
const config = Object.assign({sapVersion: 2}, {}, runtimeConfig);
|
|
11
|
+
commandUtils.run(cmd, args, config).catch(onError);
|
|
11
12
|
}
|
package/bin/node/yap.js
CHANGED
|
@@ -5,7 +5,8 @@ import {isMain, onError} from '../../lib/utils.js';
|
|
|
5
5
|
const cmd = 'yarn add $*';
|
|
6
6
|
export default cmd;
|
|
7
7
|
if (isMain(import.meta.url)) {
|
|
8
|
-
const {args, config} = commandUtils.preprocessArgs(process.argv.slice(2));
|
|
9
|
-
// eslint-disable-next-line quotes
|
|
10
|
-
|
|
8
|
+
const {args, config: runtimeConfig} = commandUtils.preprocessArgs(process.argv.slice(2));
|
|
9
|
+
// eslint-disable-next-line max-len, quotes
|
|
10
|
+
const config = Object.assign({sapVersion: 2}, {}, runtimeConfig);
|
|
11
|
+
commandUtils.run(cmd, args, config).catch(onError);
|
|
11
12
|
}
|
package/bin/node/yiin.js
CHANGED
|
@@ -5,7 +5,8 @@ import {isMain, onError} from '../../lib/utils.js';
|
|
|
5
5
|
const cmd = 'yarn --cwd=$1 install $2*';
|
|
6
6
|
export default cmd;
|
|
7
7
|
if (isMain(import.meta.url)) {
|
|
8
|
-
const {args, config} = commandUtils.preprocessArgs(process.argv.slice(2));
|
|
9
|
-
// eslint-disable-next-line quotes
|
|
10
|
-
|
|
8
|
+
const {args, config: runtimeConfig} = commandUtils.preprocessArgs(process.argv.slice(2));
|
|
9
|
+
// eslint-disable-next-line max-len, quotes
|
|
10
|
+
const config = Object.assign({sapVersion: 2}, {}, runtimeConfig);
|
|
11
|
+
commandUtils.run(cmd, args, config).catch(onError);
|
|
11
12
|
}
|
package/bin/node/yls.js
CHANGED
|
@@ -5,7 +5,8 @@ import {isMain, onError} from '../../lib/utils.js';
|
|
|
5
5
|
const cmd = 'yarn list --depth=0 $*';
|
|
6
6
|
export default cmd;
|
|
7
7
|
if (isMain(import.meta.url)) {
|
|
8
|
-
const {args, config} = commandUtils.preprocessArgs(process.argv.slice(2));
|
|
9
|
-
// eslint-disable-next-line quotes
|
|
10
|
-
|
|
8
|
+
const {args, config: runtimeConfig} = commandUtils.preprocessArgs(process.argv.slice(2));
|
|
9
|
+
// eslint-disable-next-line max-len, quotes
|
|
10
|
+
const config = Object.assign({sapVersion: 2}, {}, runtimeConfig);
|
|
11
|
+
commandUtils.run(cmd, args, config).catch(onError);
|
|
11
12
|
}
|