diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 08566f8..b9a6684 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -17,7 +17,7 @@ jobs: - name: Setup Node uses: actions/setup-node@v3 with: - node-version: 18 + node-version: 20 - name: Install dependencies run: npm ci - name: Run tests @@ -34,7 +34,7 @@ jobs: - name: Setup Node uses: actions/setup-node@v3 with: - node-version: 18 + node-version: 20 - name: Install dependencies run: npm ci - name: Install Playwright Browsers diff --git a/.prettierignore b/.prettierignore index d9ac84b..5ba6eae 100644 --- a/.prettierignore +++ b/.prettierignore @@ -4,3 +4,5 @@ backend/sendmessage/build frontend/dist frontend/dist-ssr backend/packaged.yaml +.tool-versions +.prettierignore diff --git a/.tool-versions b/.tool-versions index fa7162c..7bd5f0b 100644 --- a/.tool-versions +++ b/.tool-versions @@ -1,2 +1 @@ -nodejs lts-gallium -# Gallium = Node v16 +nodejs 20.10.0 diff --git a/package-lock.json b/package-lock.json index 75d52cb..afd0bb2 100644 --- a/package-lock.json +++ b/package-lock.json @@ -19,7 +19,7 @@ "@testing-library/jest-dom": "^6.1.3", "@testing-library/preact": "^3.2.3", "@types/aws-lambda": "^8.10.121", - "@types/node": "^18.17.15", + "@types/node": "20.0.0", "@types/ws": "^8.5.5", "@typescript-eslint/eslint-plugin": "^6.7.0", "@typescript-eslint/parser": "^6.7.0", @@ -48,8 +48,8 @@ "ws": "^8.14.1" }, "engines": { - "node": ">=18.0.0", - "npm": ">=9.0.0" + "node": ">=20.0.0", + "npm": ">=10.0.0" } }, "node_modules/@aashutoshrathi/word-wrap": { @@ -2293,9 +2293,9 @@ "integrity": "sha512-Hr5Jfhc9eYOQNPYO5WLDq/n4jqijdHNlDXjuAQkkt+mWdQR+XJToOHrsD4cPaMXpn6KO7y2+wM8AZEs8VpBLVA==" }, "node_modules/@types/node": { - "version": "18.17.15", - "resolved": "https://registry.npmjs.org/@types/node/-/node-18.17.15.tgz", - "integrity": "sha512-2yrWpBk32tvV/JAd3HNHWuZn/VDN1P+72hWirHnvsvTGSqbANi+kSeuQR9yAHnbvaBvHDsoTdXV0Fe+iRtHLKA==" + "version": "20.0.0", + "resolved": "https://registry.npmjs.org/@types/node/-/node-20.0.0.tgz", + "integrity": "sha512-cD2uPTDnQQCVpmRefonO98/PPijuOnnEy5oytWJFPY1N9aJCz2wJ5kSGWO+zJoed2cY2JxQh6yBuUq4vIn61hw==" }, "node_modules/@types/semver": { "version": "7.5.2", @@ -9793,9 +9793,9 @@ "integrity": "sha512-Hr5Jfhc9eYOQNPYO5WLDq/n4jqijdHNlDXjuAQkkt+mWdQR+XJToOHrsD4cPaMXpn6KO7y2+wM8AZEs8VpBLVA==" }, "@types/node": { - "version": "18.17.15", - "resolved": "https://registry.npmjs.org/@types/node/-/node-18.17.15.tgz", - "integrity": "sha512-2yrWpBk32tvV/JAd3HNHWuZn/VDN1P+72hWirHnvsvTGSqbANi+kSeuQR9yAHnbvaBvHDsoTdXV0Fe+iRtHLKA==" + "version": "20.0.0", + "resolved": "https://registry.npmjs.org/@types/node/-/node-20.0.0.tgz", + "integrity": "sha512-cD2uPTDnQQCVpmRefonO98/PPijuOnnEy5oytWJFPY1N9aJCz2wJ5kSGWO+zJoed2cY2JxQh6yBuUq4vIn61hw==" }, "@types/semver": { "version": "7.5.2", diff --git a/package.json b/package.json index fee36bd..b1d4b60 100644 --- a/package.json +++ b/package.json @@ -41,7 +41,7 @@ "@testing-library/jest-dom": "^6.1.3", "@testing-library/preact": "^3.2.3", "@types/aws-lambda": "^8.10.121", - "@types/node": "^18.17.15", + "@types/node": "20.0.0", "@types/ws": "^8.5.5", "@typescript-eslint/eslint-plugin": "^6.7.0", "@typescript-eslint/parser": "^6.7.0", @@ -70,7 +70,7 @@ "ws": "^8.14.1" }, "engines": { - "node": ">=18.0.0", - "npm": ">=9.0.0" + "node": ">=20.0.0", + "npm": ">=10.0.0" } }