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

Upgrade to node LTS 8.12.0 / npm 6.4.1 #1555

Merged
merged 5 commits into from
Oct 11, 2018
Merged

Conversation

inodb
Copy link
Member

@inodb inodb commented Oct 11, 2018

This allows us to use npm ci (https://docs.npmjs.com/cli/ci), which doesn't change package.json or
package-lock.json and fails when installation can't be completed with the
specified dependencies. Also ran npm audit which upgraded a few dependencies.
Furthermore upgrade node-sass, because the binary from the old version is gone.

UPDATE
Needed to update the screenshots. There is some shifting of the fonts and the scrollbar looks a bit different, because we are using a new circleci image with prolly a slightly different chrome version.

  • works on jitpack
  • works on heroku

pieterlukasse and others added 2 commits October 11, 2018 16:33
This will help early detection of missing / outdated dependencies.
This allows us to use `npm ci`, which doesn't change package.json or
package-lock.json and fails when installation can't be completed with the
specified dependencies. Also ran npm audit which upgraded a few dependencies.
Furthermore upgrade node-sass, because the binary from the old version is gone.
@@ -1,85 +0,0 @@
language: node_js
Copy link
Member Author

Choose a reason for hiding this comment

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

not using travis anymore

@@ -36,7 +36,7 @@
</goals>
<!-- Optional configuration which provides for running any npm command -->
<configuration>
<arguments>install --production</arguments>
<arguments>ci --only=production</arguments>
Copy link
Member Author

Choose a reason for hiding this comment

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

use npm ci for jitpack as well (jitpack is actually for java, which is why we are using a pom file)

@@ -139,12 +139,12 @@
"mobx-react-router": "^3.1.2",
"mobx-utils": "^2.0.1",
"mobxpromise": "^1.3.1",
"node-sass": "^4.3.0",
"node-sass": "^4.9.3",
Copy link
Member Author

Choose a reason for hiding this comment

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

this upgrade was necessary because the binary was missing for 4.3.0

There is some shifting of the fonts, because we are using a new circleci image
with perhaps slightly different chrome version.
@pieterlukasse
Copy link
Member

Nice! Thanks @inodb 👍

@inodb inodb deleted the upgrade-npm branch January 11, 2022 23:01
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.

4 participants