Skip to content

Commit

Permalink
Merge pull request #412 from NYPL-Simplified/TGR-16/update-packages
Browse files Browse the repository at this point in the history
TGR-16: Updating to node 20 and upgrading packages.
  • Loading branch information
EdwinGuzman authored Jul 17, 2024
2 parents 29211c2 + 200d545 commit fb15b9b
Show file tree
Hide file tree
Showing 20 changed files with 13,696 additions and 29,574 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Set up Node
uses: actions/setup-node@v2
with:
node-version: '10.x'
node-version: '20.x'

- name: Install dependencies
run: npm ci
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@ jobs:
- name: Set up Node
uses: actions/setup-node@v2
with:
# node 10 is the node used in the docker image for circulation
node-version: '10.x'
node-version: '20.x'

- name: Install dependencies
run: npm ci
Expand Down
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
20
28 changes: 28 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,33 @@
## Changelog

### v0.6.0

NYPL Remediation Team update

This release includes the minimum updates required for working on Node 20 and patching npm security vulnerablities.

#### Added

- Added an `.nvmrc` file for node 20 usage.
- Added `NODE_OPTIONS=--openssl-legacy-provider` to the npm `prod` script command.
- Added the following npm packages:
`@types/recharts`, `sass`,

#### Updated

- Updated Github Actions to use node 20.
- Updated code to conform to updated Typescript version.
- Updated a few unit tests to work with updated drag and drop package.
- Updated the following npm packages:
`@babel/present-env`, `@babel/preset-react`, `@babel/preset-typescript`, `@testing-library/jest-dom`, `@testing-library/react`, `@types/mocha`, `@types/node`, `@types/prop-types`, `@types/react`, `@types/react-redux`, `@typescript-eslint/eslint-plugin`, `babel-jest`, `bootstrap`, `colors-cli`, `css-loader`, `draft-convert`, `enzyme`, `enzyme-adapter-react-16`, `eslint`, `eslint-config-prettier`, `eslint-plugin-jsx-a11y`, `eslint-plugin-prettier`, `eslint-plugin-react`, `fetch-mock`, `file-loader`, `follow-redirects`, `husky`, `jest`, `jsdom`, `lint-staged`, `mini-css-extract-plugin`, `mocha`, `nightwatch`, `numeral`, `opds-feed-parser`, `opds-web-client`, `prop-types`, `qa`, `react`, `react-axe`, `react-beautiful-dnd`, `react-bootstrap`, `react-color`, `react-dom`, `react-redux`, `react-router`, `redux`, `redux-thunk`, `request`, `sass-lint`, `sass-loader`, `selenium-standalone`, `sinon`, `style-loader`, `terser-webpack-plugin`, `ts-loader`, `ts-node`, `typedoc`, `typescript`, `uglifyjs-webpack-plugin`, `webpack`, `webpack-cli`, `webpack-merge`

#### Removed

- Removed `tslint-react-a11y` from `tslint` configuration.
- Removed eslint config in `lint-staged` command.
- Removed the following npm packages:
`font-awesome`, `isomorphic-fetch`, `@babel/core`, `eslint-plugin-react-hooks`, `json-loader`, `node-sass`, `tslint-react-a11y`

### v0.5.17

- Added GET requests for updated lists every time a list is updated which allowed for the removal of the draft state.
Expand Down
Loading

0 comments on commit fb15b9b

Please sign in to comment.