diff --git a/website/.nvmrc b/website/.nvmrc index 209e3ef4..a45fd52c 100644 --- a/website/.nvmrc +++ b/website/.nvmrc @@ -1 +1 @@ -20 +24 diff --git a/website/README.md b/website/README.md index 862ac0a8..86d3a5cd 100644 --- a/website/README.md +++ b/website/README.md @@ -1,8 +1,12 @@ # Website -This folder holds the sources for the website, built using [Docusaurus 2](https://docusaurus.io/) +This folder holds the sources for the website, built using [Docusaurus 3](https://docusaurus.io/) , a modern static website generator. +## Requirements + +Node.js 24 (see `.nvmrc`), matching the Node.js version used by the Vercel deployment. + ## Installation ```bash diff --git a/website/package.json b/website/package.json index 8a90a74e..362352a6 100644 --- a/website/package.json +++ b/website/package.json @@ -27,6 +27,9 @@ "react-table": "^7.8.0", "url-loader": "^4.1.1" }, + "engines": { + "node": "24.x" + }, "browserslist": { "production": [ ">0.5%", diff --git a/website/vercel.json b/website/vercel.json new file mode 100644 index 00000000..f635717b --- /dev/null +++ b/website/vercel.json @@ -0,0 +1,5 @@ +{ + "$schema": "https://openapi.vercel.sh/vercel.json", + "buildCommand": "yarn build", + "outputDirectory": "build" +} diff --git a/website/yarn.lock b/website/yarn.lock index 91464743..2bb0fcd4 100644 --- a/website/yarn.lock +++ b/website/yarn.lock @@ -4995,25 +4995,10 @@ caniuse-api@^3.0.0: lodash.memoize "^4.1.2" lodash.uniq "^4.5.0" -caniuse-lite@^1.0.0, caniuse-lite@^1.0.30001580: - version "1.0.30001581" - resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001581.tgz#0dfd4db9e94edbdca67d57348ebc070dece279f4" - integrity sha512-whlTkwhqV2tUmP3oYhtNfaWGYHDdS3JYFQBKXxcUR9qqPWsRhFHhoISO2Xnl/g0xyKzht9mI1LZpiNWfMzHixQ== - -caniuse-lite@^1.0.30001646, caniuse-lite@^1.0.30001669: - version "1.0.30001684" - resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001684.tgz#0eca437bab7d5f03452ff0ef9de8299be6b08e16" - integrity sha512-G1LRwLIQjBQoyq0ZJGqGIJUXzJ8irpbjHLpVRXDvBEScFJ9b17sgK6vlx0GAJFE21okD7zXl08rRRUfq6HdoEQ== - -caniuse-lite@^1.0.30001754: - version "1.0.30001757" - resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001757.tgz#a46ff91449c69522a462996c6aac4ef95d7ccc5e" - integrity sha512-r0nnL/I28Zi/yjk1el6ilj27tKcdjLsNqAOZr0yVjWPrSQyHgKI2INaEWw21bAQSv2LXRt1XuCS/GomNpWOxsQ== - -caniuse-lite@^1.0.30001759: - version "1.0.30001769" - resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001769.tgz#1ad91594fad7dc233777c2781879ab5409f7d9c2" - integrity sha512-BCfFL1sHijQlBGWBMuJyhZUhzo7wer5sVj9hqekB/7xn0Ypy+pER/edCYQm4exbXj4WiySGp40P8UuTh6w1srg== +caniuse-lite@^1.0.0, caniuse-lite@^1.0.30001580, caniuse-lite@^1.0.30001646, caniuse-lite@^1.0.30001669, caniuse-lite@^1.0.30001754, caniuse-lite@^1.0.30001759: + version "1.0.30001809" + resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001809.tgz" + integrity sha512-xxWVywk6a6Arlk+hymeycyn/VgqEfLDxupvhH/xiY5SJ/18kmi9o6MiO320DCUzypORHLtvh0I4i04tUhCNHNQ== ccount@^2.0.0: version "2.0.1"