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 node to v14 #5130

Merged
merged 1 commit into from
Jan 4, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ jobs:
- name: Set up NodeJS
uses: actions/setup-node@v2-beta
with:
node-version: "10.15.1"
node-version: "14.18.2"

- name: Set up environment
run: sudo apt-get install libelf1
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile-node
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:10.15.1
FROM node:14.18.2
LABEL maintainer "ODL DevOps <[email protected]>"

RUN apt-get update && apt-get install libelf1
Expand Down
13 changes: 7 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"awesome-phonenumber": "^2.35.0",
"axios-mock-adapter": "^1.8.1",
"babel-core": "^6.24.1",
"babel-eslint": "^8.1.1",
"babel-eslint": "^10.1.0",
"babel-loader": "^7.0.0",
"babel-plugin-jsx": "^1.2.0",
"babel-plugin-syntax-dynamic-import": "^6.18.0",
Expand Down Expand Up @@ -47,15 +47,16 @@
"diacritics": "^1.3.0",
"draft-js": "^0.10.1",
"draft-js-export-html": "^1.4.1",
"eslint": "6.6.0",
"eslint": "7",
"eslint-config-defaults": "9.0.0",
"eslint-config-google": "^0.9.1",
"eslint-config-mitodl": "0.0.7",
"eslint-config-mitodl": "0.1.0",
"eslint-plugin-babel": "^4.1.1",
"eslint-plugin-flow-vars": "^0.5.0",
"eslint-plugin-flowtype": "^2.35.1",
"eslint-plugin-mocha": "4.11.0",
"eslint-plugin-react": "7.1.0",
"eslint-plugin-react-hooks": "4",
"express": "^4.15.3",
"fetch-mock": "^5.11.0",
"file-loader": "^0.11.1",
Expand All @@ -79,7 +80,7 @@
"nyc": "^15.0.0",
"object.entries": "^1.0.4",
"postcss-loader": "^2.0.5",
"prettier-eslint-cli": "^5.0.0",
"prettier-eslint-cli": "^5.0.1",
"prop-types": "^15.5.10",
"ramda": "^0.24.0",
"react": "~16.8",
Expand Down Expand Up @@ -133,8 +134,8 @@
"webpack-hot-middleware": "^2.17.1"
},
"engines": {
"node": "10.15.1",
"yarn": "1.13.0"
"node": "14.18.2",
"yarn": "1.22.15"
},
"scripts": {
"postinstall": "./webpack_if_prod.sh",
Expand Down
2 changes: 2 additions & 0 deletions static/js/global_init.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,9 @@ const FakeTransition = ({ children }) => children()
const FakeCSSTransition = props =>
props.in ? <FakeTransition>{props.children}</FakeTransition> : null
// adapted from https://testing-library.com/docs/example-react-transition-group
// eslint-disable-next-line no-import-assign
ReactTransitionGroup.Transition = FakeTransition
// eslint-disable-next-line no-import-assign
ReactTransitionGroup.CSSTransition = FakeCSSTransition

// eslint-disable-next-line mocha/no-top-level-hooks
Expand Down
Loading