-
Notifications
You must be signed in to change notification settings - Fork 5k
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
Release - 1.2.7 #3470
Release - 1.2.7 #3470
Changes from all commits
1d04bee
b0fc357
4185ffa
68fa5e1
7cdcca9
a66e541
a5bfd01
c42d3e8
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{ | ||
"version": "1.2.5", | ||
"version": "1.2.7", | ||
"lerna": "2.0.0", | ||
"command": { | ||
"init": { | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
{ | ||
"name": "web3", | ||
"name": "web3.js", | ||
nivida marked this conversation as resolved.
Show resolved
Hide resolved
|
||
"private": true, | ||
"version": "1.2.6", | ||
"version": "1.2.7", | ||
"description": "Ethereum JavaScript API wrapper repository", | ||
"license": "LGPL-3.0", | ||
"engines": { | ||
|
@@ -20,10 +20,11 @@ | |
} | ||
], | ||
"scripts": { | ||
"version": "npm run build-all", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Shouldn't those modified or additional commands not be a separate PR to be aligned with the contribution guidelines from @cgewecke? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. NOT a good idea to have a script named the same as a discrete step in the NPM release-lifecycle unless you fully intend to follow the documented behavior (not sure lerna can/will/do/acknowledge that re: the root
See: https://docs.npmjs.com/misc/scripts Maybe that's the case, but NOTE-ing out of caution. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes thanks that was exactly our intention, it is to build the minified file after bumping package versions but before committing the working state. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Hmmm... not entirely sure, but sounds like maybe It's been awhile since I looked closely at this monorepo, but if you have There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Also, consider There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
I agree.. I've added the
Sadly no.. I've noticed the min file has to be on GitHub because many do use it for their tutorials and courses or of whatever reason :-) There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
I would add this command/alias to the required places without defining a There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There's more about this in the lerna documentation for version command lifecycle scripts. |
||
"postinstall": "lerna bootstrap", | ||
"build": "gulp", | ||
"build-all": "gulp all", | ||
"release": "lerna bootstrap; lerna publish", | ||
"build": "lerna bootstrap && gulp", | ||
"build-all": "lerna bootstrap && gulp all", | ||
"publish": "lerna publish", | ||
"bootstrap": "lerna bootstrap", | ||
"watch": "gulp watch", | ||
"docs": "cd docs; make html;", | ||
|
@@ -132,7 +133,7 @@ | |
"karma-firefox-launcher": "^1.2.0", | ||
"karma-mocha": "^1.3.0", | ||
"karma-spec-reporter": "0.0.32", | ||
"lerna": "^3.18.3", | ||
"lerna": "^3.20.2", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. What exactly was the reason to bump two minor versions of lerna? 🤔 There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The lerna project is quite good about adhering to semver, so this should only pick-up bug fixes and new featuresl There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yep, I agree and know.. just thought it is out of the scope of this PR idk (4.1 contribution rules) :-) There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. For additional background: the existence of several moderate/high vulnerability audit warnings originating in Lerna was flagged by a longtime contributor in this 2744 comment, yesterday. |
||
"mocha": "^6.2.1", | ||
"nyc": "^14.1.1", | ||
"pify": "^4.0.1", | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think these comments are non-related to this PR.. see point 4.1 of the contribution guidelines.