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

[YUNIKORN-2899] chore: update node version to LTS, update package and solve warnings #476

Closed
wants to merge 5 commits into from
Closed
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/auto-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
- name: "Build and run website locally"
working-directory: './yunikorn-master'
run: |
NODE_VERSION=$(cat .nvmrc) && NODE_VERSION=${NODE_VERSION:-18.17}
NODE_VERSION=$(cat .nvmrc) && NODE_VERSION=${NODE_VERSION:-20.17}
git log master --pretty=format:"Auto refresh: %s" -n 1 > ../asf-site-commit.txt
docker build -t yunikorn/yunikorn-website:2.0.0 . --build-arg NODE_VERSION=${NODE_VERSION}
docker run --name yunikorn-site -d -p 3000:3000 yunikorn/yunikorn-website:2.0.0
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,5 @@ jobs:
run: ./check_license.sh
- name: Build the site image
run: |
NODE_VERSION=$(cat .nvmrc) && NODE_VERSION=${NODE_VERSION:-18.17}
NODE_VERSION=$(cat .nvmrc) && NODE_VERSION=${NODE_VERSION:-20.17}
docker build -t yunikorn/yunikorn-website:2.0.0 . --build-arg NODE_VERSION=${NODE_VERSION}
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
18.19
20.17
16 changes: 9 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,19 @@
"preinstall": "npx only-allow pnpm",
"start": "docusaurus start",
"build": "docusaurus build",
"serve": "docusaurus serve",
"swizzle": "docusaurus swizzle",
"deploy": "docusaurus deploy",
"release": "docusaurus docs:version"
},
"dependencies": {
"@docusaurus/core": "3.2.1",
"@docusaurus/preset-classic": "3.2.1",
"@docusaurus/theme-search-algolia": "3.2.1",
"@docusaurus/core": "3.5.2",
"@docusaurus/preset-classic": "3.5.2",
"@docusaurus/theme-search-algolia": "3.5.2",
"@mdx-js/react": "^3.0.1",
"axios": "1.6.8",
"clsx": "^2.1.0",
"node": "^18.20.1",
ryankert01 marked this conversation as resolved.
Show resolved Hide resolved
"axios": "^1.7.7",
"clsx": "^2.1.1",
"node": "^20.17.0",
"react": "18.2.0",
"react-dom": "18.2.0"
},
Expand All @@ -39,7 +40,8 @@
"trim@<0.0.3": ">=0.0.3",
"loader-utils@>=3.0.0 <3.2.1": ">=3.2.1",
"minimatch@<3.0.5": ">=3.0.5",
"axios@>=0.8.1 <0.28.0": ">=0.28.0"
"axios@>=0.8.1 <0.28.0": ">=0.28.0",
"path-to-regexp@>=2.0.0 <3.3.0": ">=3.3.0"
}
}
}
Loading