Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version 0.10.2 #202

Merged
merged 6 commits into from
Apr 12, 2020
Merged

Version 0.10.2 #202

merged 6 commits into from
Apr 12, 2020

Conversation

blag
Copy link
Contributor

@blag blag commented Apr 11, 2020

Bump version to 0.10.2 and update changelog.

I also properly shrinkwrapped the package to npm-shrinkwrap.json, so that's a lot smaller and a lot more reasonable now.

I completely removed npm-shrinkwrap.json, because it doesn't allow Travis CI to install devDependencies that are necessary to run tests. Then I did some searching around and found this blog that walks through package.json, package-lock.json, and npm-shrinkwrap.json. It's not entirely clear from that blog whether or not we should be using package-lock.json or npm-shrinkwrap.json, because he doesn't explicitly cover what would be appropriate when publishing a plugin type of package on NPM.

However, I googled "hubot plugin npm-shrinkwrap.json" and the only search result was...this very repository. Starting to suspect we had been doing the wrong thing, I searched for "hubot plugin package-lock.json" and got a lot more search results:

And most tellingly, none of those plugins had npm-shrinkwrap.json files!

Due to that, this PR:

  • removes our npm-shrinkwrap.json file
  • tweaks .gitignore
  • regenerated the package-lock.json file

I also figured out that the package-lock.json file saves dev: true for all devDependencies, so we should be able to ignore those dependencies when updating this in st2chatops, and also when generating that project's package lock file. If anybody knows any JS and/or NPM gurus that can double check this decision, please contact them.

I also double checked that our CI builds all actually did pass all of the tests for the node versions that we care about, since they "passed" but should have failed in #200. There's a failure with Node v12, but we don't support that yet so it's not a big deal. We do test it though, and include it as an allowed failure.

Copy link
Member

@arm4b arm4b left a comment

Choose a reason for hiding this comment

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

👍

Copy link
Member

@nmaludy nmaludy left a comment

Choose a reason for hiding this comment

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

LGTM

@blag blag merged commit 707b186 into master Apr 12, 2020
@blag blag deleted the bump-version-0.10.2 branch April 12, 2020 03:47
@blag
Copy link
Contributor Author

blag commented Apr 12, 2020

Published to NPM. 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants