release-it
Advanced tools
Comparing version 2.5.4 to 2.6.0
@@ -42,3 +42,21 @@ { | ||
"tokenRef": "GITHUB_TOKEN" | ||
}, | ||
"prompt": { | ||
"src": { | ||
"status": false, | ||
"commit": true, | ||
"tag": true, | ||
"push": true, | ||
"release": true, | ||
"publish": false | ||
}, | ||
"dist": { | ||
"status": false, | ||
"commit": true, | ||
"tag": true, | ||
"push": true, | ||
"release": true, | ||
"publish": false | ||
} | ||
} | ||
} |
@@ -28,3 +28,3 @@ var util = require('./util'), | ||
message: 'Show updated files?', | ||
default: false | ||
default: options.prompt[subject].status | ||
}, | ||
@@ -38,3 +38,3 @@ task: tasks.status | ||
message: 'Commit (' + util.format(options.commitMessage, options.version) + ')?', | ||
default: true, | ||
default: options.prompt[subject].commit, | ||
when: function() { | ||
@@ -51,3 +51,3 @@ return config.process.get(subject + '_has_changes') !== false; | ||
message: 'Tag (' + util.format(options.tagName, options.version) + ')?', | ||
default: true | ||
default: options.prompt[subject].tag | ||
}, | ||
@@ -61,3 +61,3 @@ task: tasks.tag | ||
message: 'Push?', | ||
default: true | ||
default: options.prompt[subject].push | ||
}, | ||
@@ -71,3 +71,3 @@ task: sequence.bind(null, [tasks.push, tasks.pushTags]) | ||
message: 'Create a release on GitHub (' + util.format(options.github.releaseName, options.version) + ')?', | ||
default: true, | ||
default: options.prompt[subject].release, | ||
when: function(answers) { | ||
@@ -84,3 +84,3 @@ return options.github.release | ||
message: 'Publish "' + options.name + '" to npm?', | ||
default: false, | ||
default: options.prompt[subject].publish, | ||
when: function() { | ||
@@ -87,0 +87,0 @@ return !options.npm.private && shouldPublish(options, subject); |
@@ -231,5 +231,7 @@ var util = require('./util'), | ||
if(err) { | ||
console.log(err); | ||
log[attempt + 1 < attempts ? 'warn' : 'error'](err.defaultMessage + ' (Attempt ' + (attempt + 1) + ' of ' + attempts + ')'); | ||
log[attempt + 1 < attempts ? 'warn' : 'error'](err.message); | ||
} else { | ||
console.log(response); | ||
log.execution('node-github', response.meta.location, response.tag_name, response.name); | ||
@@ -236,0 +238,0 @@ log.verbose(response.body); |
{ | ||
"name": "release-it", | ||
"version": "2.5.4", | ||
"version": "2.6.0", | ||
"description": "Interactive release tool for Git repositories. Increment version, commit, tag, push, build, publish to npm. Supports to build and release to a distribution/component repository.", | ||
@@ -36,7 +36,7 @@ "keywords": [ | ||
"chalk": "1.1.3", | ||
"github": "7.2.0", | ||
"github": "9.1.0", | ||
"glob": "7.1.1", | ||
"graceful-fs": "4.1.10", | ||
"inquirer": "1.2.2", | ||
"lodash": "4.16.6", | ||
"graceful-fs": "4.1.11", | ||
"inquirer": "3.0.6", | ||
"lodash": "4.17.4", | ||
"minimist": "1.2.0", | ||
@@ -46,5 +46,5 @@ "mkdirp": "0.5.1", | ||
"semver": "5.3.0", | ||
"shelljs": "0.7.5", | ||
"when": "3.7.7" | ||
"shelljs": "0.7.6", | ||
"when": "3.7.8" | ||
} | ||
} |
@@ -136,4 +136,22 @@ # Release It! | ||
"releaseName": "Release %s", | ||
"prerelease": false, | ||
"preRelease": false, | ||
"tokenRef": "GITHUB_TOKEN" | ||
}, | ||
"prompt": { | ||
"src": { | ||
"status": false, | ||
"commit": true, | ||
"tag": true, | ||
"push": true, | ||
"release": true, | ||
"publish": false | ||
}, | ||
"dist": { | ||
"status": false, | ||
"commit": true, | ||
"tag": true, | ||
"push": true, | ||
"release": true, | ||
"publish": false | ||
} | ||
} | ||
@@ -140,0 +158,0 @@ } |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
47497
1073
256
+ Addedansi-regex@3.0.1(transitive)
+ Addedchardet@0.4.2(transitive)
+ Addedcli-cursor@2.1.0(transitive)
+ Addedexternal-editor@2.2.0(transitive)
+ Addedfigures@2.0.0(transitive)
+ Addedgithub@9.1.0(transitive)
+ Addedgraceful-fs@4.1.11(transitive)
+ Addediconv-lite@0.4.24(transitive)
+ Addedinquirer@3.0.6(transitive)
+ Addedis-fullwidth-code-point@2.0.0(transitive)
+ Addedlodash@4.17.4(transitive)
+ Addedmimic-fn@1.2.0(transitive)
+ Addedmute-stream@0.0.7(transitive)
+ Addedonetime@2.0.1(transitive)
+ Addedrestore-cursor@2.0.0(transitive)
+ Addedsafer-buffer@2.1.2(transitive)
+ Addedshelljs@0.7.6(transitive)
+ Addedsignal-exit@3.0.7(transitive)
+ Addedstring-width@2.1.1(transitive)
+ Addedstrip-ansi@4.0.0(transitive)
+ Addedtmp@0.0.33(transitive)
+ Addedwhen@3.7.8(transitive)
- Removedbuffer-from@1.1.2(transitive)
- Removedcli-cursor@1.0.2(transitive)
- Removedcode-point-at@1.1.0(transitive)
- Removedconcat-stream@1.6.2(transitive)
- Removedcore-util-is@1.0.3(transitive)
- Removedexit-hook@1.1.1(transitive)
- Removedexternal-editor@1.1.1(transitive)
- Removedfigures@1.7.0(transitive)
- Removedgithub@7.2.0(transitive)
- Removedgraceful-fs@4.1.10(transitive)
- Removedinquirer@1.2.2(transitive)
- Removedis-fullwidth-code-point@1.0.0(transitive)
- Removedisarray@1.0.0(transitive)
- Removedlodash@4.16.6(transitive)
- Removedmute-stream@0.0.6(transitive)
- Removednumber-is-nan@1.0.1(transitive)
- Removedobject-assign@4.1.1(transitive)
- Removedonetime@1.1.0(transitive)
- Removedos-shim@0.1.3(transitive)
- Removedpinkie@2.0.4(transitive)
- Removedpinkie-promise@2.0.1(transitive)
- Removedprocess-nextick-args@2.0.1(transitive)
- Removedreadable-stream@2.3.8(transitive)
- Removedrestore-cursor@1.0.1(transitive)
- Removedsafe-buffer@5.1.2(transitive)
- Removedshelljs@0.7.5(transitive)
- Removedspawn-sync@1.0.15(transitive)
- Removedstring-width@1.0.2(transitive)
- Removedstring_decoder@1.1.1(transitive)
- Removedtmp@0.0.29(transitive)
- Removedtypedarray@0.0.6(transitive)
- Removedutil-deprecate@1.0.2(transitive)
- Removedwhen@3.7.7(transitive)
Updatedgithub@9.1.0
Updatedgraceful-fs@4.1.11
Updatedinquirer@3.0.6
Updatedlodash@4.17.4
Updatedshelljs@0.7.6
Updatedwhen@3.7.8