-
Notifications
You must be signed in to change notification settings - Fork 316
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
reporter-web-app: Support bootstrapping NPM and Yarn #862
Conversation
666bcd1
to
40fbb3d
Compare
40fbb3d
to
8241767
Compare
reporter-web-app/build.gradle
Outdated
|
||
// Installing NPM is needed for installing Yarn because | ||
// the Gradle Node plugin install Yarn via NPM. | ||
npmVersion = '6.4.0' |
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.
Shouldn't we use the latest 6.4.1
?
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.
@fviernau and I agreed to use 6.4.0 to align with what we currently use in .appveyor.yml
and .travis.yml
.
reporter-web-app/build.gradle
Outdated
@@ -5,7 +5,11 @@ plugins { | |||
node { | |||
version = '8.11.4' | |||
yarnVersion = '1.9.4' | |||
|
|||
// Installing NPM is needed for installing Yarn because |
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.
Commit message: Second paragraph is weird, what about: "Also set a fixed NPM version to ensure reproducible builds." Also it's a bit weird to have [2] before [1]. And nit: "Support" should be capitalized in the title for consistency with other commits.
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.
More commit message nits: "... installs Yarn ...", "... to not negatively ..."
reporter-web-app/build.gradle
Outdated
// Installing NPM is needed for installing Yarn because | ||
// the Gradle Node plugin install Yarn via NPM. | ||
npmVersion = '6.4.0' | ||
// Setting download flag is required for bootstrapping NPM |
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.
Missing dot at end of sentence.
4d758ab
to
d29babb
Compare
NPM needs to be installed in order to bootstrap Yarn since the Gradle Node plugin installs Yarn via NPM, see also [1] [2]. For this installation to work the download flag needs to be set. Also set a fixed NPM version for the reproducibility of builds. [1] srs/gradle-node-plugin#175 [2] srs/gradle-node-plugin#186
d29babb
to
e7ce944
Compare
NPM needs to be installed in order to bootstrap Yarn
since the Gradle Node plugin install Yarn via NPM. For
this installation to work the download flag needs to
be set.
Also for not nefatively affecting reproducibility of
build setting a fixed NPM version.
See also the related issue [2] and open pull request [1].
[1] srs/gradle-node-plugin#186
[2] srs/gradle-node-plugin#175
This change is