Skip to content

Commit 5148c48

Browse files
committed
refactor: upgrade project dependencies
1 parent c358dfb commit 5148c48

File tree

8 files changed

+2028
-4372
lines changed

8 files changed

+2028
-4372
lines changed

.github/workflows/codeql-analysis.yml

-67
This file was deleted.

.github/workflows/main.yml

+9-9
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ jobs:
44
build:
55
runs-on: ubuntu-latest
66
steps:
7-
- uses: actions/checkout@v1
7+
- uses: actions/checkout@v2
88

99
- name: Setup node
10-
uses: actions/setup-node@v1
10+
uses: actions/setup-node@v2
1111
with:
1212
node-version: 16
1313

@@ -30,7 +30,7 @@ jobs:
3030
run: yarn build
3131

3232
- name: Upload build artifact
33-
uses: actions/upload-artifact@v1
33+
uses: actions/upload-artifact@v2
3434
with:
3535
name: lib
3636
path: lib
@@ -43,10 +43,10 @@ jobs:
4343
node: [12, 14, 16]
4444
os: [ubuntu-latest, macos-latest, windows-latest]
4545
steps:
46-
- uses: actions/checkout@v1
46+
- uses: actions/checkout@v2
4747

4848
- name: Setup node
49-
uses: actions/setup-node@v1
49+
uses: actions/setup-node@v2
5050
with:
5151
node-version: ${{ matrix.node }}
5252

@@ -72,7 +72,7 @@ jobs:
7272
run: yarn install --frozen-lockfile
7373

7474
- name: Download build artifact
75-
uses: actions/download-artifact@v1
75+
uses: actions/download-artifact@v2
7676
with:
7777
name: lib
7878
path: lib
@@ -91,18 +91,18 @@ jobs:
9191
needs: [build, test]
9292
if: github.event_name == 'push' && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/alpha' || github.ref == 'refs/heads/beta')
9393
steps:
94-
- uses: actions/checkout@v1
94+
- uses: actions/checkout@v2
9595

9696
- name: Setup node
97-
uses: actions/setup-node@v1
97+
uses: actions/setup-node@v2
9898
with:
9999
node-version: 16
100100

101101
- name: Install dependencies
102102
run: yarn install --frozen-lockfile
103103

104104
- name: Download build artifact
105-
uses: actions/download-artifact@v1
105+
uses: actions/download-artifact@v2
106106
with:
107107
name: lib
108108
path: lib

package.json

+31-32
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@
33
"version": "0.0.0-semantic-release",
44
"description": "Runs typescript type checker and linter on separate process.",
55
"keywords": [
6-
"fast",
7-
"fork",
8-
"linter",
96
"webpack",
107
"plugin",
11-
"ts-loader",
128
"typescript",
13-
"webpack"
9+
"typecheck",
10+
"ts-loader",
11+
"webpack",
12+
"fork",
13+
"fast"
1414
],
1515
"bugs": {
1616
"url": "https://github.com/TypeStrong/fork-ts-checker-webpack-plugin/issues"
@@ -55,18 +55,17 @@
5555
}
5656
},
5757
"dependencies": {
58-
"@babel/code-frame": "^7.14.5",
58+
"@babel/code-frame": "^7.16.7",
5959
"chalk": "^4.1.2",
60-
"chokidar": "^3.5.2",
61-
"cosmiconfig": "^7.0.0",
60+
"chokidar": "^3.5.3",
61+
"cosmiconfig": "^7.0.1",
6262
"deepmerge": "^4.2.2",
6363
"fs-extra": "^10.0.0",
64-
"glob": "^7.1.7",
65-
"memfs": "^3.2.2",
64+
"memfs": "^3.4.1",
6665
"minimatch": "^3.0.4",
67-
"schema-utils": "3.1.1",
66+
"schema-utils": "4.0.0",
6867
"semver": "^7.3.5",
69-
"tapable": "^2.0.0"
68+
"tapable": "^2.2.1"
7069
},
7170
"peerDependencies": {
7271
"typescript": ">3.6.0",
@@ -79,46 +78,46 @@
7978
}
8079
},
8180
"devDependencies": {
82-
"@commitlint/config-conventional": "^13.1.0",
81+
"@commitlint/config-conventional": "^16.0.0",
8382
"@semantic-release/commit-analyzer": "^8.0.1",
8483
"@semantic-release/exec": "^5.0.0",
8584
"@semantic-release/github": "^7.2.3",
8685
"@semantic-release/npm": "^7.1.3",
8786
"@semantic-release/release-notes-generator": "^9.0.3",
8887
"@types/babel__code-frame": "^7.0.3",
8988
"@types/cross-spawn": "^6.0.2",
90-
"@types/fs-extra": "^9.0.12",
91-
"@types/jest": "^26.0.24",
89+
"@types/fs-extra": "^9.0.13",
90+
"@types/jest": "^27.4.0",
9291
"@types/json-schema": "^7.0.9",
9392
"@types/minimatch": "^3.0.5",
9493
"@types/mock-fs": "^4.13.1",
9594
"@types/node": "^16.4.13",
96-
"@types/rimraf": "^3.0.1",
97-
"@types/semver": "^7.3.8",
98-
"@typescript-eslint/eslint-plugin": "^5.1.0",
99-
"@typescript-eslint/parser": "^5.1.0",
100-
"commitlint": "^13.1.0",
95+
"@types/rimraf": "^3.0.2",
96+
"@types/semver": "^7.3.9",
97+
"@typescript-eslint/eslint-plugin": "^5.10.1",
98+
"@typescript-eslint/parser": "^5.10.1",
99+
"commitlint": "^16.1.0",
101100
"cross-env": "^7.0.3",
102-
"eslint": "^7.32.0",
103-
"eslint-plugin-import": "^2.25.2",
101+
"eslint": "^8.8.0",
102+
"eslint-plugin-import": "^2.25.4",
104103
"eslint-plugin-node": "^11.1.0",
105104
"eslint-plugin-prettier": "^4.0.0",
106-
"git-cz": "^4.7.6",
107-
"husky": "^7.0.0",
108-
"jest": "^27.0.6",
109-
"jest-circus": "^27.0.6",
110-
"jest-environment-node": "^27.0.6",
105+
"git-cz": "^4.8.0",
106+
"husky": "^7.0.4",
107+
"jest": "^27.4.7",
108+
"jest-circus": "^27.4.6",
109+
"jest-environment-node": "^27.4.6",
111110
"json-schema": "^0.3.0",
112111
"karton": "^0.4.1",
113112
"lint-staged": "^11.1.2",
114-
"mock-fs": "^5.0.0",
115-
"prettier": "^2.3.2",
113+
"mock-fs": "^5.1.2",
114+
"prettier": "^2.5.1",
116115
"rimraf": "^3.0.2",
117116
"semantic-release": "^17.4.4",
118117
"strip-ansi": "^6.0.0",
119-
"ts-jest": "^27.0.4",
120-
"typescript": "^4.3.5",
121-
"webpack": "^5.49.0"
118+
"ts-jest": "^27.1.3",
119+
"typescript": "^4.5.5",
120+
"webpack": "^5.67.0"
122121
},
123122
"engines": {
124123
"node": ">=12.13.0",

src/plugin-hooks.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ function createPluginHooks() {
1717
]),
1818
waiting: new SyncHook<[webpack.Compilation]>(['compilation']),
1919
canceled: new SyncHook<[webpack.Compilation]>(['compilation']),
20-
error: new SyncHook<[Error, webpack.Compilation]>(['error', 'compilation']),
20+
error: new SyncHook<[unknown, webpack.Compilation]>(['error', 'compilation']),
2121
issues: new SyncWaterfallHook<[Issue[], webpack.Compilation | undefined], void>([
2222
'issues',
2323
'compilation',

src/typescript/extension/vue/type-script-vue-extension-support.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ function assertTypeScriptVueExtensionSupport(config: TypeScriptVueExtensionConfi
1313
throw new Error(
1414
[
1515
`Could not initialize '${compilerName}'. When you use 'typescript.extensions.vue' option, make sure to install '${compilerName}' and that the version matches that of 'vue'.`,
16-
`Error details: ${error.message}`,
16+
`Error details: ${String(error)}`,
1717
].join('\n')
1818
);
1919
}

test/e2e/jest.config.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ module.exports = {
1111
},
1212
globals: {
1313
'ts-jest': {
14-
tsConfig: '<rootDir>/tsconfig.json',
14+
tsconfig: '<rootDir>/tsconfig.json',
1515
},
1616
},
1717
};

test/unit/jest.config.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ module.exports = {
88
},
99
globals: {
1010
'ts-jest': {
11-
tsConfig: '<rootDir>/../tsconfig.json',
11+
tsconfig: '<rootDir>/../tsconfig.json',
1212
},
1313
},
1414
};

0 commit comments

Comments
 (0)