Compare commits

...

2 Commits

Author SHA1 Message Date
71588595e6 5.4.37 2016-09-24 16:57:41 +02:00
b31994f163 added new npmextra version 2016-09-24 16:57:30 +02:00
3 changed files with 12 additions and 14 deletions

View File

@ -18,12 +18,9 @@ exports.run = function (argvArg) {
watch: false
};
// mix with configfile
npmts_promisechain_1.npmtsOra.text('looking for npmextra.json');
let config = plugins.npmextra.dataFor({
toolName: 'npmts',
defaultSettings: defaultConfig,
cwd: paths.cwd
});
npmts_promisechain_1.npmtsOra.text('running npmextra');
let localNpmextra = new plugins.npmextra.Npmextra(paths.cwd);
let config = localNpmextra.dataFor('npmts', defaultConfig);
// add argv
config.argv = argvArg;
// check mode

View File

@ -1,6 +1,6 @@
{
"name": "npmts",
"version": "5.4.36",
"version": "5.4.37",
"description": "Write npm modules with TypeScript without hassle. TypeScript ready. Fully ES6.",
"main": "dist/index.js",
"bin": {
@ -51,7 +51,7 @@
"gulp-sourcemaps": "^1.6.0",
"gulp-typedoc": "^2.0.0",
"lodash": "^4.16.1",
"npmextra": "^1.0.12",
"npmextra": "^2.0.1",
"projectinfo": "1.0.3",
"q": "^1.4.1",
"shelljs": "^0.7.4",

View File

@ -33,12 +33,13 @@ export var run = function (argvArg) {
}
// mix with configfile
npmtsOra.text('looking for npmextra.json')
let config: INpmtsConfig = plugins.npmextra.dataFor<INpmtsConfig>({
toolName: 'npmts',
defaultSettings: defaultConfig,
cwd: paths.cwd
})
npmtsOra.text('running npmextra')
let localNpmextra = new plugins.npmextra.Npmextra(paths.cwd)
let config: INpmtsConfig = localNpmextra.dataFor<INpmtsConfig>(
'npmts',
defaultConfig
)
// add argv
config.argv = argvArg