diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index f350fb5..491c98c 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -13,7 +13,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node: ["20.x"] + node: ["24.x"] steps: - name: Checkout repo diff --git a/.nvmrc b/.nvmrc index 85aee5a..18c92ea 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -v20 \ No newline at end of file +v24 \ No newline at end of file diff --git a/.prettierignore b/.prettierignore index 39cb013..7b2e1f7 100644 --- a/.prettierignore +++ b/.prettierignore @@ -2,4 +2,5 @@ coverage dist website/.docusaurus website/build -pnpm-lock.yaml \ No newline at end of file +pnpm-lock.yaml +src/set-version.js \ No newline at end of file diff --git a/README.md b/README.md index 3e7b98d..7446bc6 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ ✅  Modular by design and supports tree-shaking. ✅  Officially-supported, aligns 1:1 with the RAWeb API. -✅  Supports Node environments (16 and above). +✅  Supports Node environments (24 and above). ✅  Ships with TypeScript support and types. ✅  Automatically maps types and properties from RAWeb PHP calls. ✅  Small, <3Kb. diff --git a/package.json b/package.json index da6d3d6..a2cfda9 100644 --- a/package.json +++ b/package.json @@ -79,7 +79,7 @@ } }, "engines": { - "node": ">=16" + "node": ">=24" }, "release": { "branches": [ diff --git a/src/set-version.js b/src/set-version.js index 4f6a161..8c50233 100644 --- a/src/set-version.js +++ b/src/set-version.js @@ -1,4 +1,6 @@ -import packageJson from "../package.json" assert { type: "json" }; +// This file is on the .prettierignore list due to issues with the `with` keyword. Once +// the version of Prettier is updated, this file can be removed from the ignore list. +import packageJson from "../package.json" with { type: "json" }; const { version } = packageJson;