Skip to content

Commit 3bec884

Browse files
Charles Fonsecabarddoo
andauthored
chore: update Apollo server and other dependencies (#87)
* chore: update Apollo server and other dependencies - Upgraded Apollo Server and related packages to version 5.0.0. - Updated Changesets CLI and changelog GitHub integration to latest versions. - Adjusted TypeScript and Node.js versions in Volta configuration. - Refactored test cases for Azure Functions v4 to streamline server initialization. - Enhanced mock server to handle async iterable responses and improved error handling. - Introduced a utility function to transform async iterable strings into Uint8Array for fetch requests. - Modified TypeScript configuration to exclude sample directories from build. - Added source maps and ES module interoperability to test TypeScript configuration. * chore: update Node.js version in CI workflows and tests to 20.x --------- Co-authored-by: Charles Fonseca <[email protected]>
1 parent b5c0c41 commit 3bec884

File tree

15 files changed

+17081
-10751
lines changed

15 files changed

+17081
-10751
lines changed

.circleci/config.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,9 @@ workflows:
6767
matrix:
6868
parameters:
6969
node-version:
70-
- '14'
71-
- '16'
7270
- '18'
71+
- '20'
72+
- '22'
73+
- '24'
7374
- Prettier
7475
- Spell Check

.github/workflows/ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on:
44
pull_request:
55

66
env:
7-
NODE_VERSION: 18.x
7+
NODE_VERSION: 20.x
88

99
jobs:
1010
build:

.github/workflows/release-pr.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
- main
77

88
env:
9-
NODE_VERSION: 18.x
9+
NODE_VERSION: 20.x
1010

1111
jobs:
1212
build:

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
18
1+
20

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ This is a simple package allows you to integrate Apollo Server into an Azure Fun
1010

1111
## **Requirements**
1212

13-
- **[Node.js v16](https://nodejs.org/)** or later
13+
- **[Node.js v18](https://nodejs.org/)** or later
1414
- **[Azure Functions v4](https://learn.microsoft.com/azure/azure-functions/functions-overview)** or later
1515
- **[GraphQL.js v16](https://graphql.org/graphql-js/)** or later
1616
- **[Apollo Server v4](https://www.apollographql.com/docs/apollo-server/)** or later
@@ -102,3 +102,4 @@ app.http('graphql', {
102102
# Contributors
103103

104104
- Aaron Powell ([aaronpowell](https://github.com/aaronpowell))
105+
- Charles Fonseca ([barddoo](https://github.com/barddoo))

cspell-dict.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,5 @@ tracestate
1212
withrequired
1313
aaronpowell
1414
undici
15+
barddoo
16+
fonseca

jest.config.ts

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,12 @@ const config: Config.InitialOptions = {
44
preset: 'ts-jest',
55
testEnvironment: 'node',
66
roots: ['src'],
7-
globals: {
8-
'ts-jest': {
9-
tsconfig: 'tsconfig.test.json',
10-
},
7+
transform: {
8+
'^.+\\.ts$': ['ts-jest', { tsconfig: 'tsconfig.test.json' }],
119
},
1210
testRegex: '/__tests__/.*.test.ts$',
1311
verbose: true,
12+
forceExit: true,
1413
};
1514

1615
export default config;

0 commit comments

Comments
 (0)