Repository navigation
Add gulp and package updates to release - #666
roblourens merged 3 commits into
Conversation
| "minor": "npm version minor -m '%s'", | ||
| "major": "npm version major -m '%s'" | ||
| "major": "npm version major -m '%s'", | ||
| "package": "gulp package" |
There was a problem hiding this comment.
When you change the package.json. Do you also want to check in package-lock.json?
There was a problem hiding this comment.
Normally we should. These changes are only for build/compile time, and they shouldn't affect anything that we release. I don't want to change package-lock.json in this commit and potentially change one of the version of the dependencies that we used in VS 15.7 originally
| }); | ||
| gulp.task('vsce-package', function () { | ||
| return vsce.createVSIX(); | ||
| const cliOptions = minimist(process.argv.slice(2)); |
There was a problem hiding this comment.
It seems obvious to most people, but can you add a comment to explain 2 for those not?
There was a problem hiding this comment.
I cherry-picked this change from the master branch, so I'd rather leave them as-is. Feel free to send a PR to master with any improvements you want to make.
There was a problem hiding this comment.
2 is taking the args after gulp vsce-package ...
| const vsce = require('vsce'); | ||
| const es = require('event-stream'); | ||
| const runSequence = require('run-sequence'); | ||
| const del = require('del'); |
There was a problem hiding this comment.
Where is del used please?
There was a problem hiding this comment.
This was part of a commit I cherry-picked from master. I don't think it's currently used but I'd rather not change anything else.
Add command needed to build this package for VS