Skip to content

Commit

Permalink
Upgrade docusaurus from beta to 2.0.1 (#57)
Browse files Browse the repository at this point in the history
* Bumped docusaurus to 2.0.1 and react to 17.0.2

* Bumped node to 16 also in GitHub Actions
  • Loading branch information
ffeltrinelli authored Aug 19, 2022
1 parent 8395459 commit 0a2b098
Show file tree
Hide file tree
Showing 7 changed files with 5,943 additions and 5,731 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release-gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:

- uses: actions/setup-node@v2
with:
node-version: '14'
node-version: '16'

- name: Install Node.js modules
run: npm ci
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '14'
node-version: '16'
- name: Install Dependencies
run: npm ci
- name: Run Tests
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
14
16
# To autoload the correct Node version, see https://github.com/nvm-sh/nvm#deeper-shell-integration
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
You should update the version number in the [package.json](./package.json) according to the semantic versioning,
then run `npm install`.

## 1.5.1
- Bumped to node 16, docusaurus 2.0.1, react 17.0.2

## 1.5.0
- Fetch list of repositories by topic with GitHub GraphQL API instead of hardcoded list.

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ See the live version [here](https://expediagroup.github.io/).
## ⚙ Technologies

This is a statically-rendered website using [Docusaurus v2](https://v2.docusaurus.io/).
You need Node.js 14 or later.
You need Node.js 16.
The produced static files are distributed as `GitHub Pages`.

## 👷 Local Development
Expand Down
11,650 changes: 5,930 additions & 5,720 deletions package-lock.json

Large diffs are not rendered by default.

13 changes: 6 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "expediagroup.github.io",
"version": "1.5.0",
"version": "1.5.1",
"private": true,
"scripts": {
"docusaurus": "docusaurus",
Expand All @@ -16,15 +16,14 @@
},
"dependencies": {
"@apollo/client": "^3.5.8",
"@docusaurus/core": "^2.0.0-beta.14",
"@docusaurus/preset-classic": "^2.0.0-beta.14",
"@mdx-js/react": "^1.6.21",
"@docusaurus/core": "^2.0.1",
"@docusaurus/preset-classic": "^2.0.1",
"cheerio": "^1.0.0-rc.10",
"cross-fetch": "^3.0.6",
"graphql": "^15.5.0",
"moment": "^2.29.1",
"react": "^16.14.0",
"react-dom": "^16.14.0",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-paginate": "^8.1.3",
"react-script-hook": "^1.3.0",
"rss-parser": "^3.12.0",
Expand All @@ -37,7 +36,7 @@
"jest-each": "^28.1.0",
"jest-environment-jsdom": "^28.1.0",
"memfs": "^3.4.1",
"react-test-renderer": "^16.14.0"
"react-test-renderer": "^17.0.2"
},
"browserslist": {
"production": [
Expand Down

0 comments on commit 0a2b098

Please sign in to comment.