diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 16198a173..eb6c4e9b6 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -12,7 +12,7 @@ jobs: strategy: matrix: - node-version: [18.x, 20.x, 22.x] + node-version: [20.x, 22.x] steps: - uses: actions/checkout@v4 diff --git a/.npmrc b/.npmrc new file mode 100644 index 000000000..4fd021952 --- /dev/null +++ b/.npmrc @@ -0,0 +1 @@ +engine-strict=true \ No newline at end of file diff --git a/README.md b/README.md index c0e27510f..05b05381e 100644 --- a/README.md +++ b/README.md @@ -114,7 +114,7 @@ Puter is available as a hosted service at [**puter.com**](https://puter.com). - **Operating Systems:** Linux, macOS, Windows - **RAM:** 2GB minimum (4GB recommended) - **Disk Space:** 1GB free space -- **Node.js:** Version 16+ (Version 23+ recommended) +- **Node.js:** Version 20+ (Version 23+ recommended) - **npm:** Latest stable version
diff --git a/package.json b/package.json index a4c718821..128534d54 100644 --- a/package.json +++ b/package.json @@ -66,5 +66,8 @@ "sharp": "^0.34.3", "sharp-bmp": "^0.1.5", "sharp-ico": "^0.1.5" + }, + "engines": { + "node": ">=20.0.0" } -} +} \ No newline at end of file