Skip to content
This repository was archived by the owner on Dec 6, 2022. It is now read-only.

Add gulp and package updates to release - #666

Merged
roblourens merged 3 commits into
microsoft:VS/15.7from
digeff:add_gulp_and_package_updates_to_release
May 14, 2018
Merged

roblourens merged 3 commits into
microsoft:VS/15.7from
digeff:add_gulp_and_package_updates_to_release

Conversation

@digeff

@digeff digeff commented May 14, 2018

Copy link
Copy Markdown
Contributor

Add command needed to build this package for VS

@digeff
digeff changed the base branch from master to VS/15.7 May 14, 2018 22:17
Comment thread package.json
"minor": "npm version minor -m '%s'",
"major": "npm version major -m '%s'"
"major": "npm version major -m '%s'",
"package": "gulp package"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When you change the package.json. Do you also want to check in package-lock.json?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

Comment thread gulpfile.js
});
gulp.task('vsce-package', function () {
return vsce.createVSIX();
const cliOptions = minimist(process.argv.slice(2));

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seems obvious to most people, but can you add a comment to explain 2 for those not?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

2 is taking the args after gulp vsce-package ...

Comment thread gulpfile.js
const vsce = require('vsce');
const es = require('event-stream');
const runSequence = require('run-sequence');
const del = require('del');

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Where is del used please?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@roblourens
roblourens merged commit c0f495f into microsoft:VS/15.7 May 14, 2018
@roblourens roblourens added this to the May 2018 milestone Jun 1, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants