Skip to content

Commit 3ffe39e

Browse files
committed
feat: bump dependencies and add some improvements
1 parent 22bf8d7 commit 3ffe39e

8 files changed

Lines changed: 2678 additions & 2528 deletions

File tree

.changeset/poor-suns-hammer.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
'@as-integrations/koa': major
3+
---
4+
5+
Upgrade to koa v3, @koa/bodyparser and node 22
6+
Since koa v3 only supports node >= 22, we do it too.
7+
Making it compatible with koa-bodyparser and @koa/bodyparser (which is the more up-to-date version)
8+
9+
Adding the call to next() as in https://github.com/apollo-server-integrations/apollo-server-integration-koa/pull/232

.eslintrc.cjs

Lines changed: 0 additions & 17 deletions
This file was deleted.

eslint.config.cjs

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
const tsPlugin = require('@typescript-eslint/eslint-plugin');
2+
const tsParser = require('@typescript-eslint/parser');
3+
4+
module.exports = [
5+
{
6+
files: ['src/**/*.ts'],
7+
languageOptions: {
8+
parser: tsParser,
9+
parserOptions: {
10+
project: 'tsconfig.eslint.json',
11+
tsconfigRootDir: __dirname,
12+
},
13+
},
14+
plugins: {
15+
'@typescript-eslint': tsPlugin,
16+
},
17+
rules: {
18+
'@typescript-eslint/consistent-type-imports': 'error',
19+
},
20+
},
21+
];

0 commit comments

Comments
 (0)