Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/ripe-dryers-count.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@as-integrations/aws-lambda': major
---

Upgrade all essential dependencies to support apollo server v5
3 changes: 1 addition & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,8 @@ workflows:
matrix:
parameters:
node-version:
- "16"
- "18"
- "20"
- "22"
- Prettier
- Lint
- Spell Check
Expand Down
2 changes: 1 addition & 1 deletion .codesandbox/ci.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"sandboxes": ["apollo-server-integration-aws-lambda-k6ismd"],
"node": "18"
"node": "20"
}
17 changes: 0 additions & 17 deletions .eslintrc.cjs

This file was deleted.

4 changes: 2 additions & 2 deletions .github/workflows/release-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ jobs:
# This makes Actions fetch all Git history so that Changesets can generate changelogs with the correct commits
fetch-depth: 0

- name: Setup Node.js 16.x
- name: Setup Node.js 22.x
uses: actions/setup-node@v4
with:
node-version: 16.x
node-version: 22.x

- name: Install Dependencies
run: npm i
Expand Down
1 change: 0 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,6 @@
```

The 3 event handlers provided by the package are:

- `createAPIGatewayProxyEventV2RequestHandler()`
- `createALBEventRequestHandler()`
- `createAPIGatewayProxyEventRequestHandler()`
Expand Down
28 changes: 28 additions & 0 deletions eslint.config.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
const { defineConfig } = require('eslint/config');

const tsParser = require('@typescript-eslint/parser');
const typescriptEslint = require('@typescript-eslint/eslint-plugin');

module.exports = defineConfig([
{},
{
files: ['src/**/*.ts'],

languageOptions: {
parser: tsParser,

parserOptions: {
project: 'tsconfig.eslint.json',
tsconfigRootDir: __dirname,
},
},

plugins: {
'@typescript-eslint': typescriptEslint,
},

rules: {
'@typescript-eslint/consistent-type-imports': 'error',
},
},
]);
Loading