Skip to content

Commit 3911f09

Browse files
committed
Update dev dependencies
1 parent 16b3c75 commit 3911f09

7 files changed

Lines changed: 67 additions & 79 deletions

File tree

.eslintrc.js

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

.github/workflows/ci.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,9 @@ on:
55
branches: [main]
66
pull_request:
77
schedule:
8-
- cron: "0 0 * * *"
8+
- cron: '0 0 * * *'
99

1010
jobs:
11-
1211
unit-tests:
1312
name: Unit tests
1413
runs-on: ubuntu-latest

.github/workflows/release.yml

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

88
permissions:
9-
id-token: write # Required for OIDC
9+
id-token: write # Required for OIDC
1010
contents: read
1111

1212
jobs:

eslint.config.js

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
'use strict';
2+
3+
const tseslint = require('typescript-eslint');
4+
const importPlugin = require('eslint-plugin-import');
5+
const prettier = require('eslint-config-prettier');
6+
7+
module.exports = tseslint.config(
8+
{ ignores: ['dist/**'] },
9+
{
10+
rules: {
11+
'no-new': 'off',
12+
},
13+
},
14+
{
15+
files: ['**/*.ts'],
16+
extends: [
17+
...tseslint.configs.recommended,
18+
importPlugin.flatConfigs.recommended,
19+
importPlugin.flatConfigs.typescript,
20+
],
21+
languageOptions: {
22+
parserOptions: {
23+
project: 'tsconfig.test.json',
24+
},
25+
},
26+
rules: {
27+
'@typescript-eslint/no-floating-promises': 'error',
28+
'@typescript-eslint/no-misused-promises': 'error',
29+
'@typescript-eslint/no-explicit-any': 'warn',
30+
},
31+
},
32+
prettier,
33+
);

package.json

Lines changed: 14 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -18,20 +18,19 @@
1818
"@bref.sh/layers": "^3.0.0"
1919
},
2020
"devDependencies": {
21-
"@types/lodash": "^4.14.195",
22-
"@types/node": "^18.11.3",
23-
"@typescript-eslint/eslint-plugin": "^5.40.1",
24-
"@typescript-eslint/parser": "^5.40.1",
25-
"aws-cdk-lib": "^2.240.0",
26-
"constructs": "^10.0.0",
27-
"esbuild-node-tsc": "^1.8.5",
28-
"eslint": "8.22.0",
29-
"eslint-config-prettier": "^8.8.0",
30-
"eslint-plugin-import": "^2.27.5",
31-
"lodash": "^4.17.21",
32-
"nodemon": "^2.0.20",
33-
"prettier": "^2.7.1",
34-
"typescript": "5.0.4",
35-
"vitest": "^0.32.2"
21+
"@types/lodash": "^4.17.24",
22+
"@types/node": "^25.6.0",
23+
"aws-cdk-lib": "^2.250.0",
24+
"constructs": "^10.6.0",
25+
"esbuild-node-tsc": "^2.0.5",
26+
"eslint": "^9.39.4",
27+
"eslint-config-prettier": "^10.1.8",
28+
"eslint-plugin-import": "^2.32.0",
29+
"lodash": "^4.18.1",
30+
"nodemon": "^3.1.14",
31+
"prettier": "^3.8.3",
32+
"typescript": "6.0.3",
33+
"typescript-eslint": "^8.59.0",
34+
"vitest": "^4.1.5"
3635
}
3736
}

tsconfig.json

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
{
2-
"compilerOptions": {
3-
"module": "commonjs",
4-
"target": "es2019",
5-
"outDir": "dist",
6-
"declaration": true,
7-
"esModuleInterop": true,
8-
"allowJs": true,
9-
"skipLibCheck": true,
10-
// Useful for debugging (stack traces)
11-
"sourceMap": true,
12-
"resolveJsonModule": true,
13-
"strictNullChecks": true,
14-
"types": ["node"]
15-
},
16-
"include": ["src"]
2+
"compilerOptions": {
3+
"module": "commonjs",
4+
"target": "es2019",
5+
"outDir": "dist",
6+
"declaration": true,
7+
"esModuleInterop": true,
8+
"allowJs": true,
9+
"skipLibCheck": true,
10+
// Useful for debugging (stack traces)
11+
"sourceMap": true,
12+
"resolveJsonModule": true,
13+
"strictNullChecks": true,
14+
"types": ["node"]
15+
},
16+
"include": ["src"]
1717
}

tsconfig.test.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
2-
"extends": "./tsconfig.json",
3-
"include": ["src", "test"]
4-
}
2+
"extends": "./tsconfig.json",
3+
"include": ["src", "test"]
4+
}

0 commit comments

Comments
 (0)