Skip to content

Commit

Permalink
refactor: upgrade project dependencies (#698)
Browse files Browse the repository at this point in the history
  • Loading branch information
piotr-oles authored Jan 28, 2022
1 parent c358dfb commit 954385e
Show file tree
Hide file tree
Showing 8 changed files with 2,028 additions and 4,372 deletions.
67 changes: 0 additions & 67 deletions .github/workflows/codeql-analysis.yml

This file was deleted.

18 changes: 9 additions & 9 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v2

- name: Setup node
uses: actions/setup-node@v1
uses: actions/setup-node@v2
with:
node-version: 16

Expand All @@ -30,7 +30,7 @@ jobs:
run: yarn build

- name: Upload build artifact
uses: actions/upload-artifact@v1
uses: actions/upload-artifact@v2
with:
name: lib
path: lib
Expand All @@ -43,10 +43,10 @@ jobs:
node: [12, 14, 16]
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v2

- name: Setup node
uses: actions/setup-node@v1
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node }}

Expand All @@ -72,7 +72,7 @@ jobs:
run: yarn install --frozen-lockfile

- name: Download build artifact
uses: actions/download-artifact@v1
uses: actions/download-artifact@v2
with:
name: lib
path: lib
Expand All @@ -91,18 +91,18 @@ jobs:
needs: [build, test]
if: github.event_name == 'push' && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/alpha' || github.ref == 'refs/heads/beta')
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v2

- name: Setup node
uses: actions/setup-node@v1
uses: actions/setup-node@v2
with:
node-version: 16

- name: Install dependencies
run: yarn install --frozen-lockfile

- name: Download build artifact
uses: actions/download-artifact@v1
uses: actions/download-artifact@v2
with:
name: lib
path: lib
Expand Down
63 changes: 31 additions & 32 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
"version": "0.0.0-semantic-release",
"description": "Runs typescript type checker and linter on separate process.",
"keywords": [
"fast",
"fork",
"linter",
"webpack",
"plugin",
"ts-loader",
"typescript",
"webpack"
"typecheck",
"ts-loader",
"webpack",
"fork",
"fast"
],
"bugs": {
"url": "https://github.com/TypeStrong/fork-ts-checker-webpack-plugin/issues"
Expand Down Expand Up @@ -55,18 +55,17 @@
}
},
"dependencies": {
"@babel/code-frame": "^7.14.5",
"@babel/code-frame": "^7.16.7",
"chalk": "^4.1.2",
"chokidar": "^3.5.2",
"cosmiconfig": "^7.0.0",
"chokidar": "^3.5.3",
"cosmiconfig": "^7.0.1",
"deepmerge": "^4.2.2",
"fs-extra": "^10.0.0",
"glob": "^7.1.7",
"memfs": "^3.2.2",
"memfs": "^3.4.1",
"minimatch": "^3.0.4",
"schema-utils": "3.1.1",
"schema-utils": "4.0.0",
"semver": "^7.3.5",
"tapable": "^2.0.0"
"tapable": "^2.2.1"
},
"peerDependencies": {
"typescript": ">3.6.0",
Expand All @@ -79,46 +78,46 @@
}
},
"devDependencies": {
"@commitlint/config-conventional": "^13.1.0",
"@commitlint/config-conventional": "^16.0.0",
"@semantic-release/commit-analyzer": "^8.0.1",
"@semantic-release/exec": "^5.0.0",
"@semantic-release/github": "^7.2.3",
"@semantic-release/npm": "^7.1.3",
"@semantic-release/release-notes-generator": "^9.0.3",
"@types/babel__code-frame": "^7.0.3",
"@types/cross-spawn": "^6.0.2",
"@types/fs-extra": "^9.0.12",
"@types/jest": "^26.0.24",
"@types/fs-extra": "^9.0.13",
"@types/jest": "^27.4.0",
"@types/json-schema": "^7.0.9",
"@types/minimatch": "^3.0.5",
"@types/mock-fs": "^4.13.1",
"@types/node": "^16.4.13",
"@types/rimraf": "^3.0.1",
"@types/semver": "^7.3.8",
"@typescript-eslint/eslint-plugin": "^5.1.0",
"@typescript-eslint/parser": "^5.1.0",
"commitlint": "^13.1.0",
"@types/rimraf": "^3.0.2",
"@types/semver": "^7.3.9",
"@typescript-eslint/eslint-plugin": "^5.10.1",
"@typescript-eslint/parser": "^5.10.1",
"commitlint": "^16.1.0",
"cross-env": "^7.0.3",
"eslint": "^7.32.0",
"eslint-plugin-import": "^2.25.2",
"eslint": "^8.8.0",
"eslint-plugin-import": "^2.25.4",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^4.0.0",
"git-cz": "^4.7.6",
"husky": "^7.0.0",
"jest": "^27.0.6",
"jest-circus": "^27.0.6",
"jest-environment-node": "^27.0.6",
"git-cz": "^4.8.0",
"husky": "^7.0.4",
"jest": "^27.4.7",
"jest-circus": "^27.4.6",
"jest-environment-node": "^27.4.6",
"json-schema": "^0.3.0",
"karton": "^0.4.1",
"lint-staged": "^11.1.2",
"mock-fs": "^5.0.0",
"prettier": "^2.3.2",
"mock-fs": "^5.1.2",
"prettier": "^2.5.1",
"rimraf": "^3.0.2",
"semantic-release": "^17.4.4",
"strip-ansi": "^6.0.0",
"ts-jest": "^27.0.4",
"typescript": "^4.3.5",
"webpack": "^5.49.0"
"ts-jest": "^27.1.3",
"typescript": "^4.5.5",
"webpack": "^5.67.0"
},
"engines": {
"node": ">=12.13.0",
Expand Down
2 changes: 1 addition & 1 deletion src/plugin-hooks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ function createPluginHooks() {
]),
waiting: new SyncHook<[webpack.Compilation]>(['compilation']),
canceled: new SyncHook<[webpack.Compilation]>(['compilation']),
error: new SyncHook<[Error, webpack.Compilation]>(['error', 'compilation']),
error: new SyncHook<[unknown, webpack.Compilation]>(['error', 'compilation']),
issues: new SyncWaterfallHook<[Issue[], webpack.Compilation | undefined], void>([
'issues',
'compilation',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ function assertTypeScriptVueExtensionSupport(config: TypeScriptVueExtensionConfi
throw new Error(
[
`Could not initialize '${compilerName}'. When you use 'typescript.extensions.vue' option, make sure to install '${compilerName}' and that the version matches that of 'vue'.`,
`Error details: ${error.message}`,
`Error details: ${String(error)}`,
].join('\n')
);
}
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ module.exports = {
},
globals: {
'ts-jest': {
tsConfig: '<rootDir>/tsconfig.json',
tsconfig: '<rootDir>/tsconfig.json',
},
},
};
2 changes: 1 addition & 1 deletion test/unit/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ module.exports = {
},
globals: {
'ts-jest': {
tsConfig: '<rootDir>/../tsconfig.json',
tsconfig: '<rootDir>/../tsconfig.json',
},
},
};
Loading

0 comments on commit 954385e

Please sign in to comment.