fix(core): switch to @pushrocks/smartpromise
This commit is contained in:
parent
ec3e296d73
commit
585703fc55
8
package-lock.json
generated
8
package-lock.json
generated
@ -28,6 +28,14 @@
|
|||||||
"yargs": "^11.0.0"
|
"yargs": "^11.0.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"@pushrocks/smartpromise": {
|
||||||
|
"version": "2.0.2",
|
||||||
|
"resolved": "https://registry.npmjs.org/@pushrocks/smartpromise/-/smartpromise-2.0.2.tgz",
|
||||||
|
"integrity": "sha512-Rr4aLO2spAQ58TB9l3UwVs+keQu7gPXcYSO/5zLYNimEP7H237tFApX/qk80nwvHh2ATTBTgu0IcWKhHb5uVow==",
|
||||||
|
"requires": {
|
||||||
|
"util.promisify": "^1.0.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
"@types/chai": {
|
"@types/chai": {
|
||||||
"version": "4.1.4",
|
"version": "4.1.4",
|
||||||
"resolved": "https://registry.npmjs.org/@types/chai/-/chai-4.1.4.tgz",
|
"resolved": "https://registry.npmjs.org/@types/chai/-/chai-4.1.4.tgz",
|
||||||
|
@ -27,6 +27,7 @@
|
|||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@pushrocks/smartcli": "^3.0.2",
|
"@pushrocks/smartcli": "^3.0.2",
|
||||||
|
"@pushrocks/smartpromise": "^2.0.2",
|
||||||
"@types/lodash": "^4.14.110",
|
"@types/lodash": "^4.14.110",
|
||||||
"@types/shelljs": "^0.8.0",
|
"@types/shelljs": "^0.8.0",
|
||||||
"@types/through2": "^2.0.33",
|
"@types/through2": "^2.0.33",
|
||||||
@ -42,7 +43,6 @@
|
|||||||
"smartdelay": "^1.0.4",
|
"smartdelay": "^1.0.4",
|
||||||
"smartfile": "^4.2.20",
|
"smartfile": "^4.2.20",
|
||||||
"smartparam": "^1.0.2",
|
"smartparam": "^1.0.2",
|
||||||
"smartq": "^1.1.6",
|
|
||||||
"smartshell": "^1.0.19",
|
"smartshell": "^1.0.19",
|
||||||
"smartsocket": "^1.1.19",
|
"smartsocket": "^1.1.19",
|
||||||
"smartssh": "^1.2.2",
|
"smartssh": "^1.2.2",
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
import * as plugins from './npmci.plugins';
|
import * as plugins from './npmci.plugins';
|
||||||
import * as paths from './npmci.paths';
|
import * as paths from './npmci.paths';
|
||||||
|
|
||||||
import * as smartq from 'smartq';
|
import * as smartpromise from '@pushrocks/smartpromise';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* wether nvm is available or not
|
* wether nvm is available or not
|
||||||
*/
|
*/
|
||||||
export let nvmAvailable = smartq.defer<boolean>();
|
export let nvmAvailable = smartpromise.defer<boolean>();
|
||||||
/**
|
/**
|
||||||
* the smartshell instance for npmci
|
* the smartshell instance for npmci
|
||||||
*/
|
*/
|
||||||
|
@ -10,7 +10,7 @@ export import smartdelay = require('smartdelay');
|
|||||||
export import smartfile = require('smartfile');
|
export import smartfile = require('smartfile');
|
||||||
export import shelljs = require('shelljs');
|
export import shelljs = require('shelljs');
|
||||||
export import smartparam = require('smartparam');
|
export import smartparam = require('smartparam');
|
||||||
export import smartq = require('smartq');
|
export import smartpromise = require('@pushrocks/smartpromise');
|
||||||
export import smartshell = require('smartshell');
|
export import smartshell = require('smartshell');
|
||||||
export import smartsocket = require('smartsocket');
|
export import smartsocket = require('smartsocket');
|
||||||
export import smartsystem = require('smartsystem');
|
export import smartsystem = require('smartsystem');
|
||||||
|
Loading…
Reference in New Issue
Block a user