Skip to content

Commit

Permalink
Merge pull request #1260 from eed3si9n/wip/update-docusaurus
Browse files Browse the repository at this point in the history
Update to Docusaurus 3.6.3
  • Loading branch information
eed3si9n authored Dec 17, 2024
2 parents 7b1c012 + de68b96 commit 3fe4917
Show file tree
Hide file tree
Showing 5 changed files with 2,499 additions and 1,526 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: 20
node-version: 22
- name: Setup Rust
uses: actions-rust-lang/setup-rust-toolchain@v1
- name: Install mdbook
Expand Down
29 changes: 8 additions & 21 deletions .github/workflows/cla.yml
Original file line number Diff line number Diff line change
@@ -1,24 +1,11 @@
name: Scala CLA
on: [pull_request]
name: "Check Scala CLA"
on:
pull_request:
jobs:
check:
cla-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Check CLA
env:
AUTHOR: ${{ github.event.pull_request.user.login }}
run: |
echo "Pull request submitted by $AUTHOR";
signed=$(curl -s "https://www.lightbend.com/contribute/cla/scala/check/$AUTHOR" | jq -r ".signed");
if [ "$signed" = "true" ] ; then
echo "CLA check for $AUTHOR successful";
else
echo "CLA check for $AUTHOR failed";
echo "Please sign the Scala CLA to contribute to the Scala compiler.";
echo "Go to https://www.lightbend.com/contribute/cla/scala and then";
echo "comment on the pull request to ask for a new check.";
echo "";
echo "Check if CLA is signed: https://www.lightbend.com/contribute/cla/scala/check/$AUTHOR";
exit 1;
fi;
- name: Verify CLA
uses: scala/cla-checker
with:
author: ${{ github.event.pull_request.user.login }}
2 changes: 1 addition & 1 deletion .node-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
20.11.0
22.12.0
14 changes: 9 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,22 @@
"write-heading-ids": "docusaurus write-heading-ids"
},
"dependencies": {
"@docusaurus/core": "3.1.0",
"@docusaurus/plugin-client-redirects": "3.1.0",
"@docusaurus/preset-classic": "3.1.0",
"@babel/helper-environment-visitor": "^7.24.7",
"@babel/helper-function-name": "^7.24.7",
"@babel/helper-hoist-variables": "^7.24.7",
"@babel/helper-split-export-declaration": "^7.24.7",
"@docusaurus/core": "^3.6.3",
"@docusaurus/plugin-client-redirects": "^3.6.3",
"@docusaurus/preset-classic": "^3.6.3",
"@mdx-js/react": "^3.0.0",
"clsx": "^2.0.0",
"prism-react-renderer": "^2.3.0",
"react": "^18.0.0",
"react-dom": "^18.0.0"
},
"devDependencies": {
"@docusaurus/module-type-aliases": "3.1.0",
"@docusaurus/types": "3.1.0"
"@docusaurus/module-type-aliases": "^3.6.3",
"@docusaurus/types": "^3.6.3"
},
"browserslist": {
"production": [
Expand Down
Loading

0 comments on commit 3fe4917

Please sign in to comment.