Skip to content

Commit

Permalink
Upgrade to Node 18. (ThePalaceProject#10)
Browse files Browse the repository at this point in the history
* Upgrade dependencies to support Node 18.

* Fix test errors.

* Update all package scripts for Node 18.

* Replace opds-web-client dependency with the palace fork.

* Update readme.

* Restore terser options.

* Update github actions to versions that use node > 12.
  • Loading branch information
ray-lee authored Feb 8, 2023
1 parent 09aeefa commit a15eff4
Show file tree
Hide file tree
Showing 24 changed files with 8,835 additions and 11,567 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ jobs:

steps:
- name: Checkout 🛎️
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Install Node.js 💻
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: 12
node-version: 18

- name: Install 🔧
run: npm ci
Expand All @@ -27,7 +27,7 @@ jobs:
run: npm run build-docs

- name: Deploy docs to GitHub pages 🚀
uses: JamesIves/github-pages-deploy-action@releases/v3
uses: JamesIves/github-pages-deploy-action@releases/v4
with:
BRANCH: gh-pages
FOLDER: docs
branch: gh-pages
folder: docs
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ jobs:

steps:

- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Install Node.js 💻
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: 12
node-version: 18
registry-url: https://registry.npmjs.org/

- name: Install locked dependencies 🔧
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,18 +17,18 @@ jobs:

steps:
- name: Checkout repo to sync
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
path: code

- name: Checkout CI scripts
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
repository: 'ThePalaceProject/ci-scripts'
path: ci

- name: Set up Python
uses: actions/setup-python@v2
uses: actions/setup-python@v3
with:
python-version: 3.8

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ jobs:

steps:
- name: Checkout 🛎️
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Install Node.js 💻
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: 12
node-version: 18

- name: Install locked dependencies 🔧
run: npm ci
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
## Changelog

### v1.0.0

- Upgrade dependencies to support Node 18.

### v0.0.2
- Sync up to v1.4.15 of https://github.com/NYPL-Simplified/registry_admin.
- Changed all instances of the Panel component to render contents only on click.
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ To see screenshots, read in-depth documentation, and find out more about the pro

This package is meant to be used with The Palace Project [Library Registry](https://github.com/thepalaceproject/library-registry).

Node.js version 12-14 is required to build and run the administrative interface.
Node.js version 18 is required to build and run the administrative interface.

### Cloning this repository

Expand Down
Loading

0 comments on commit a15eff4

Please sign in to comment.