Skip to content

Commit 7154ce4

Browse files
committed
chore: update dev dependencies
1 parent 20396b6 commit 7154ce4

File tree

5 files changed

+556
-243
lines changed

5 files changed

+556
-243
lines changed

.eslintignore

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
/dist/**
2+
/node_modules/**

.eslintrc.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
{
22
"env": {
33
"node": true,
4-
"es2021": true
4+
"es6": true
55
},
66
"extends": [
77
"eslint:recommended",
8+
"plugin:@typescript-eslint/eslint-recommended",
89
"plugin:@typescript-eslint/recommended",
910
"plugin:prettier/recommended"
1011
],

package.json

+16-11
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,14 @@
33
"description": "GitHub Action to deploy to GitHub Pages",
44
"main": "src/main.ts",
55
"scripts": {
6-
"build": "ncc build --source-map --minify --license licenses.txt",
7-
"lint": "eslint src/**/*.ts",
8-
"format": "eslint --fix src/**/*.ts"
6+
"build": "ncc build src/main.ts --source-map --minify --license licenses.txt",
7+
"lint": "yarn run prettier && yarn run eslint",
8+
"format": "yarn run prettier:fix && yarn run eslint:fix",
9+
"eslint": "eslint --max-warnings=0 .",
10+
"eslint:fix": "eslint --fix .",
11+
"prettier": "prettier --check \"./**/*.ts\"",
12+
"prettier:fix": "prettier --write \"./**/*.ts\"",
13+
"all": "yarn run build && yarn run format"
914
},
1015
"repository": {
1116
"type": "git",
@@ -29,14 +34,14 @@
2934
"devDependencies": {
3035
"@types/fs-extra": "^11.0.1",
3136
"@types/node": "^20.6.0",
32-
"@typescript-eslint/eslint-plugin": "^5.59.2",
33-
"@typescript-eslint/parser": "^5.59.2",
34-
"@vercel/ncc": "^0.36.1",
35-
"eslint": "^8.40.0",
36-
"eslint-config-prettier": "^8.8.0",
37-
"eslint-plugin-prettier": "^4.2.1",
38-
"prettier": "^2.8.8",
37+
"@typescript-eslint/eslint-plugin": "^6.6.0",
38+
"@typescript-eslint/parser": "^6.6.0",
39+
"@vercel/ncc": "^0.38.0",
40+
"eslint": "^8.49.0",
41+
"eslint-config-prettier": "^9.0.0",
42+
"eslint-plugin-prettier": "^5.0.0",
43+
"prettier": "^3.0.3",
3944
"ts-node": "^10.9.1",
40-
"typescript": "^4.9.5"
45+
"typescript": "^5.2.2"
4146
}
4247
}

tsconfig.json

+7-3
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,19 @@
11
{
22
"compilerOptions": {
3+
"esModuleInterop": true,
34
"target": "es6",
45
"module": "commonjs",
6+
"strict": true,
7+
"sourceMap": true,
58
"newLine": "lf",
69
"outDir": "./lib",
710
"rootDir": "./src",
8-
"esModuleInterop": true,
911
"forceConsistentCasingInFileNames": true,
10-
"strict": true,
1112
"noImplicitAny": false,
13+
"resolveJsonModule": true,
1214
"useUnknownInCatchVariables": false,
1315
},
14-
"exclude": ["node_modules"]
16+
"exclude": [
17+
"node_modules"
18+
]
1519
}

0 commit comments

Comments
 (0)