added new npmextra version
This commit is contained in:
parent
e6284cdde3
commit
b31994f163
9
dist/npmts.options.js
vendored
9
dist/npmts.options.js
vendored
@ -18,12 +18,9 @@ exports.run = function (argvArg) {
|
|||||||
watch: false
|
watch: false
|
||||||
};
|
};
|
||||||
// mix with configfile
|
// mix with configfile
|
||||||
npmts_promisechain_1.npmtsOra.text('looking for npmextra.json');
|
npmts_promisechain_1.npmtsOra.text('running npmextra');
|
||||||
let config = plugins.npmextra.dataFor({
|
let localNpmextra = new plugins.npmextra.Npmextra(paths.cwd);
|
||||||
toolName: 'npmts',
|
let config = localNpmextra.dataFor('npmts', defaultConfig);
|
||||||
defaultSettings: defaultConfig,
|
|
||||||
cwd: paths.cwd
|
|
||||||
});
|
|
||||||
// add argv
|
// add argv
|
||||||
config.argv = argvArg;
|
config.argv = argvArg;
|
||||||
// check mode
|
// check mode
|
||||||
|
@ -51,7 +51,7 @@
|
|||||||
"gulp-sourcemaps": "^1.6.0",
|
"gulp-sourcemaps": "^1.6.0",
|
||||||
"gulp-typedoc": "^2.0.0",
|
"gulp-typedoc": "^2.0.0",
|
||||||
"lodash": "^4.16.1",
|
"lodash": "^4.16.1",
|
||||||
"npmextra": "^1.0.12",
|
"npmextra": "^2.0.1",
|
||||||
"projectinfo": "1.0.3",
|
"projectinfo": "1.0.3",
|
||||||
"q": "^1.4.1",
|
"q": "^1.4.1",
|
||||||
"shelljs": "^0.7.4",
|
"shelljs": "^0.7.4",
|
||||||
|
@ -33,12 +33,13 @@ export var run = function (argvArg) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// mix with configfile
|
// mix with configfile
|
||||||
npmtsOra.text('looking for npmextra.json')
|
npmtsOra.text('running npmextra')
|
||||||
let config: INpmtsConfig = plugins.npmextra.dataFor<INpmtsConfig>({
|
|
||||||
toolName: 'npmts',
|
let localNpmextra = new plugins.npmextra.Npmextra(paths.cwd)
|
||||||
defaultSettings: defaultConfig,
|
let config: INpmtsConfig = localNpmextra.dataFor<INpmtsConfig>(
|
||||||
cwd: paths.cwd
|
'npmts',
|
||||||
})
|
defaultConfig
|
||||||
|
)
|
||||||
|
|
||||||
// add argv
|
// add argv
|
||||||
config.argv = argvArg
|
config.argv = argvArg
|
||||||
|
Loading…
Reference in New Issue
Block a user