Skip to content

Commit 46f74b0

Browse files
authored
Merge pull request #185 from apollo-server-integrations/chore
Drop support NodeJS 16
2 parents d7a6514 + 38616ec commit 46f74b0

File tree

5 files changed

+55
-30
lines changed

5 files changed

+55
-30
lines changed

.circleci/config.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ jobs:
4040
steps:
4141
- setup-node:
4242
node-version: <<parameters.node-version>>
43+
- run: npm run build
4344
- run: npm run test:ci
4445
- store_test_results:
4546
path: junit.xml
@@ -67,8 +68,8 @@ workflows:
6768
matrix:
6869
parameters:
6970
node-version:
70-
- "16"
7171
- "18"
7272
- "20"
73+
- "22"
7374
- Prettier
7475
- Spell Check

.codesandbox/ci.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
{
22
"sandboxes": [],
3-
"node": "16",
4-
"installCommand": "install-with-npm-8.5"
3+
"node": "18"
54
}

package-lock.json

Lines changed: 48 additions & 23 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@as-integrations/cloudflare-workers",
33
"description": "An integration to use Cloudflare Workers as a hosting service with Apollo Server v4",
4-
"version": "1.0.2",
4+
"version": "1.1.0",
55
"author": "Kim Nguyen Huu",
66
"license": "MIT",
77
"repository": {
@@ -23,12 +23,11 @@
2323
"main": "dist/index.js",
2424
"types": "dist/index.d.ts",
2525
"engines": {
26-
"node": ">=16.0"
26+
"node": ">=18.0"
2727
},
2828
"scripts": {
2929
"build": "tsc --build tsconfig.build.json",
3030
"clean": "git clean -dfqX",
31-
"install-with-npm-8.5": "npm i -g npm@^8.5.0 && npm i",
3231
"prepack": "npm run build",
3332
"prettier-check": "prettier --check .",
3433
"prettier-fix": "prettier --write .",
@@ -44,6 +43,7 @@
4443
"@changesets/cli": "2.28.1",
4544
"@cloudflare/workers-types": "4.20250214.0",
4645
"@types/jest": "29.5.14",
46+
"@types/node": "^18.19.76",
4747
"cspell": "8.17.5",
4848
"jest": "29.7.0",
4949
"jest-junit": "16.0.0",

renovate.json5

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
// versions we support.
1616
{
1717
"matchPackageNames": ["@types/node"],
18-
"allowedVersions": "16.x"
18+
"allowedVersions": "18.x"
1919
},
2020
],
2121
}

0 commit comments

Comments
 (0)