Skip to content

Commit 02a8c24

Browse files
authored
Update to support fastify v5 (#300)
* Update to fastify v5 * Minimize diff * Widen fastify support to ^5.3.0 * Fastify v5 requires Typescript >= 5.4 * Update circle matrix to reflect new support window * Replace Node 16 and 18 references with Node 20 * Use tsx to fix postbuild script * Try to update circleci * Fix circleci and prettier * Fix tsconfig resolution error and incompatible @apollo/server dependencies * Fix prettier * Remove @oly_op/tsconfig
1 parent 52783e7 commit 02a8c24

File tree

10 files changed

+1530
-722
lines changed

10 files changed

+1530
-722
lines changed

.circleci/config.yml

Lines changed: 25 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
version: 2.1
22

33
orbs:
4-
node: circleci/node@5.1.0
4+
node: circleci/node@7.1.0
55

66
commands:
77
install-volta:
@@ -35,8 +35,9 @@ jobs:
3535
parameters:
3636
node-version:
3737
type: string
38-
docker:
39-
- image: cimg/base:stable
38+
executor:
39+
name: node/default
40+
tag: "<<parameters.node-version>>"
4041
steps:
4142
- setup-node:
4243
node-version: <<parameters.node-version>>
@@ -45,29 +46,34 @@ jobs:
4546
- store_test_results:
4647
path: junit.xml
4748
Incremental Delivery:
48-
docker:
49-
- image: cimg/base:stable
49+
executor:
50+
name: node/default
51+
tag: "20.19"
5052
environment:
5153
INCREMENTAL_DELIVERY_TESTS_ENABLED: t
5254
steps:
5355
- setup-node:
54-
node-version: "18"
55-
# Install a prerelease of graphql-js 17 with incremental delivery support.
56-
# --legacy-peer-deps because nothing expects v17 yet.
56+
node-version: "20.19"
5757
- run: npm i --legacy-peer-deps graphql@17.0.0-alpha.1.canary.pr.3361.04ab27334641e170ce0e05bc927b972991953882
5858
- run: npm run test:ci
5959
Lint:
60-
docker:
61-
- image: cimg/base:stable
60+
executor:
61+
name: node/default
62+
tag: "20.19"
6263
steps:
63-
- setup-node
64-
- run: npm run lint
64+
- checkout
65+
- node/install-packages
66+
- run:
67+
command: npm run lint
6568
Prettier:
66-
docker:
67-
- image: cimg/base:stable
69+
executor:
70+
name: node/default
71+
tag: "20.19"
6872
steps:
69-
- setup-node
70-
- run: npm run prettier-check
73+
- checkout
74+
- node/install-packages
75+
- run:
76+
command: npm run prettier-check
7177

7278
workflows:
7379
Build:
@@ -79,7 +85,7 @@ workflows:
7985
matrix:
8086
parameters:
8187
node-version:
82-
- "16"
83-
- "18"
84-
- "20"
88+
- "20.19"
89+
- "22.15"
90+
- "24.0"
8591
- Incremental Delivery

.codesandbox/ci.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
2-
"node": "18",
2+
"node": "20",
33
"sandboxes": []
44
}

0 commit comments

Comments
 (0)