Skip to content

Commit 4510a95

Browse files
committed
chore: upgrade peer dependencies
1 parent e99e668 commit 4510a95

File tree

5 files changed

+944
-191
lines changed

5 files changed

+944
-191
lines changed

.github/workflows/publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
- uses: actions/checkout@v2
1515
- uses: actions/setup-node@v1
1616
with:
17-
node-version: 12
17+
node-version: 18
1818
- run: yarn
1919
- run: yarn verify
2020

@@ -25,7 +25,7 @@ jobs:
2525
- uses: actions/checkout@v2
2626
- uses: actions/setup-node@v1
2727
with:
28-
node-version: 12
28+
node-version: 18
2929
registry-url: https://registry.npmjs.org/
3030
- run: yarn
3131
- run: npm publish

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515

1616
strategy:
1717
matrix:
18-
node-version: [12.x, 14.x, 16.x]
18+
node-version: [16.x, 18.x, 20.x]
1919

2020
steps:
2121
- uses: actions/checkout@v2

package.json

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -55,24 +55,24 @@
5555
"@rollup/plugin-commonjs": "~12.0.0",
5656
"@rollup/plugin-json": "~4.0.3",
5757
"@rollup/plugin-node-resolve": "~8.0.0",
58-
"@rollup/plugin-typescript": "~4.1.2",
58+
"@rollup/plugin-typescript": "~11.1.2",
5959
"@types/babel__core": "~7.1.7",
6060
"@types/babel__preset-env": "~7.9.0",
6161
"@types/eslint": "~7.28.1",
6262
"@types/jest": "~27.0.2",
6363
"@types/natural-compare-lite": "~1.4.0",
6464
"@types/rimraf": "~3.0.1",
6565
"@types/tmp": "~0.2.1",
66-
"@typescript-eslint/eslint-plugin": "~5.0.0",
67-
"@typescript-eslint/parser": "~5.0.0",
66+
"@typescript-eslint/eslint-plugin": "~6.4.0",
67+
"@typescript-eslint/parser": "~6.4.0",
6868
"babel-jest": "~26.6.3",
6969
"babel-plugin-module-resolver": "~4.1.0",
7070
"eslint": "~8.0.1",
71-
"eslint-config-prettier": "~8.3.0",
72-
"eslint-plugin-eslint-plugin": "~3.6.1",
73-
"eslint-plugin-import": "~2.25.2",
74-
"eslint-plugin-jest": "~25.0.6",
75-
"eslint-plugin-prettier": "~4.0.0",
71+
"eslint-config-prettier": "~9.0.0",
72+
"eslint-plugin-eslint-plugin": "~5.1.1",
73+
"eslint-plugin-import": "~2.28.0",
74+
"eslint-plugin-jest": "~27.2.3",
75+
"eslint-plugin-prettier": "~5.0.0",
7676
"http-server": "~13.0.0",
7777
"husky": "~4.2.5",
7878
"jest": "~27.2.5",
@@ -85,12 +85,12 @@
8585
"typescript": "~4.3.5"
8686
},
8787
"peerDependencies": {
88-
"@typescript-eslint/parser": "^1 || ^2 || ^3 || ^4 || ^5",
89-
"eslint": "^5 || ^6 || ^7 || ^8",
88+
"@typescript-eslint/parser": "^6",
89+
"eslint": "^7 || ^8",
9090
"typescript": "^3 || ^4 || ^5"
9191
},
9292
"engines": {
93-
"node": "12 || >= 13.9"
93+
"node": ">= 16"
9494
},
9595
"license": "ISC"
9696
}

tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
// "jsx": "preserve", /* Specify JSX code generation: 'preserve', 'react-native', or 'react'. */
1111
// "declaration": true /* Generates corresponding '.d.ts' file. */,
1212
// "declarationMap": true, /* Generates a sourcemap for each corresponding '.d.ts' file. */
13-
"sourceMap": true /* Generates corresponding '.map' file. */,
13+
"sourceMap": false /* Generates corresponding '.map' file. */,
1414
// "outFile": "./", /* Concatenate and emit output to single file. */
1515
"outDir": "lib" /* Redirect output structure to the directory. */,
1616
// "rootDir": "src" /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */,

0 commit comments

Comments
 (0)