fork-ts-checker-webpack-plugin 6.4.2 → 7.0.0-alpha.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +25 -103
- package/lib/ForkTsCheckerWebpackPlugin.d.ts +11 -12
- package/lib/ForkTsCheckerWebpackPlugin.js +49 -49
- package/lib/ForkTsCheckerWebpackPluginConfiguration.d.ts +6 -8
- package/lib/ForkTsCheckerWebpackPluginConfiguration.js +3 -4
- package/lib/ForkTsCheckerWebpackPluginOptions.d.ts +4 -6
- package/lib/ForkTsCheckerWebpackPluginOptions.json +73 -111
- package/lib/ForkTsCheckerWebpackPluginState.d.ts +5 -6
- package/lib/ForkTsCheckerWebpackPluginState.js +2 -2
- package/lib/{reporter/FilesChange.d.ts → files-change.d.ts} +4 -4
- package/lib/{reporter/FilesChange.js → files-change.js} +4 -3
- package/lib/{reporter/FilesMatch.d.ts → files-match.d.ts} +0 -0
- package/lib/{eslint-reporter/EsLintReporterOptions.js → files-match.js} +0 -0
- package/lib/formatter/BasicFormatter.d.ts +1 -1
- package/lib/formatter/BasicFormatter.js +1 -0
- package/lib/formatter/CodeFrameFormatter.d.ts +1 -1
- package/lib/formatter/CodeFrameFormatter.js +2 -1
- package/lib/formatter/Formatter.d.ts +1 -1
- package/lib/formatter/FormatterConfiguration.d.ts +3 -3
- package/lib/formatter/FormatterConfiguration.js +21 -2
- package/lib/formatter/FormatterOptions.d.ts +11 -6
- package/lib/formatter/WebpackFormatter.d.ts +1 -1
- package/lib/formatter/WebpackFormatter.js +6 -6
- package/lib/formatter/index.d.ts +0 -1
- package/lib/formatter/index.js +16 -8
- package/lib/hooks/interceptDoneToGetWebpackDevServerTap.d.ts +3 -3
- package/lib/hooks/interceptDoneToGetWebpackDevServerTap.js +4 -0
- package/lib/hooks/pluginHooks.d.ts +13 -13
- package/lib/hooks/pluginHooks.js +1 -0
- package/lib/hooks/pluginPools.d.ts +4 -0
- package/lib/hooks/pluginPools.js +28 -0
- package/lib/hooks/tapAfterCompileToAddDependencies.d.ts +3 -3
- package/lib/hooks/tapAfterCompileToAddDependencies.js +4 -0
- package/lib/hooks/tapAfterCompileToGetIssues.d.ts +3 -3
- package/lib/hooks/tapAfterCompileToGetIssues.js +5 -1
- package/lib/hooks/tapAfterEnvironmentToPatchWatching.d.ts +2 -2
- package/lib/hooks/tapAfterEnvironmentToPatchWatching.js +10 -1
- package/lib/hooks/tapDoneToAsyncGetIssues.d.ts +3 -3
- package/lib/hooks/tapDoneToAsyncGetIssues.js +7 -7
- package/lib/hooks/tapErrorToLogMessage.d.ts +2 -2
- package/lib/hooks/tapErrorToLogMessage.js +5 -4
- package/lib/hooks/tapStartToRunWorkers.d.ts +8 -0
- package/lib/hooks/tapStartToRunWorkers.js +95 -0
- package/lib/hooks/tapStopToTerminateWorkers.d.ts +5 -0
- package/lib/hooks/tapStopToTerminateWorkers.js +26 -0
- package/lib/infrastructure-logger.d.ts +10 -0
- package/lib/infrastructure-logger.js +15 -0
- package/lib/issue/Issue.d.ts +2 -3
- package/lib/issue/Issue.js +2 -3
- package/lib/issue/IssueConfiguration.d.ts +3 -3
- package/lib/issue/IssueConfiguration.js +1 -0
- package/lib/issue/IssueLocation.d.ts +2 -2
- package/lib/issue/IssueLocation.js +17 -2
- package/lib/issue/IssueMatch.d.ts +3 -3
- package/lib/issue/IssueMatch.js +3 -3
- package/lib/issue/IssueOptions.d.ts +2 -2
- package/lib/issue/IssuePosition.js +1 -0
- package/lib/issue/IssuePredicate.d.ts +1 -1
- package/lib/issue/IssuePredicate.js +1 -0
- package/lib/issue/IssueSeverity.js +1 -0
- package/lib/issue/IssueWebpackError.d.ts +3 -3
- package/lib/issue/IssueWebpackError.js +7 -5
- package/lib/issue/index.js +13 -6
- package/lib/logger/LoggerConfiguration.d.ts +3 -3
- package/lib/logger/LoggerConfiguration.js +2 -1
- package/lib/logger/LoggerFactory.d.ts +2 -2
- package/lib/logger/LoggerFactory.js +2 -1
- package/lib/logger/LoggerOptions.d.ts +2 -2
- package/lib/logger/PartialLogger.d.ts +1 -1
- package/lib/logger/PartialLogger.js +1 -0
- package/lib/logger/WebpackInfrastructureLogger.d.ts +2 -2
- package/lib/logger/WebpackInfrastructureLogger.js +1 -0
- package/lib/{typescript-reporter → typescript}/TypeScriptConfigurationOverwrite.d.ts +1 -1
- package/lib/{typescript-reporter → typescript}/TypeScriptConfigurationOverwrite.js +0 -0
- package/lib/{typescript-reporter → typescript}/TypeScriptDiagnosticsOptions.d.ts +0 -0
- package/lib/{typescript-reporter → typescript}/TypeScriptDiagnosticsOptions.js +0 -0
- package/lib/{typescript-reporter → typescript}/TypeScriptReporterConfiguration.d.ts +5 -5
- package/lib/{typescript-reporter → typescript}/TypeScriptReporterConfiguration.js +2 -0
- package/lib/{typescript-reporter → typescript}/TypeScriptReporterOptions.d.ts +4 -5
- package/lib/{typescript-reporter → typescript}/TypeScriptReporterOptions.js +0 -0
- package/lib/{typescript-reporter → typescript}/TypeScriptSupport.d.ts +1 -1
- package/lib/{typescript-reporter → typescript}/TypeScriptSupport.js +26 -11
- package/lib/{typescript-reporter → typescript}/extension/TypeScriptEmbeddedExtension.d.ts +1 -1
- package/lib/{typescript-reporter → typescript}/extension/TypeScriptEmbeddedExtension.js +2 -1
- package/lib/{typescript-reporter → typescript}/extension/TypeScriptExtension.d.ts +2 -2
- package/lib/{typescript-reporter → typescript}/extension/TypeScriptExtension.js +0 -0
- package/lib/typescript/extension/vue/TypeScriptVueExtension.d.ts +4 -0
- package/lib/{typescript-reporter → typescript}/extension/vue/TypeScriptVueExtension.js +2 -1
- package/lib/{typescript-reporter → typescript}/extension/vue/TypeScriptVueExtensionConfiguration.d.ts +1 -1
- package/lib/{typescript-reporter → typescript}/extension/vue/TypeScriptVueExtensionConfiguration.js +1 -0
- package/lib/{typescript-reporter → typescript}/extension/vue/TypeScriptVueExtensionOptions.d.ts +0 -0
- package/lib/{typescript-reporter → typescript}/extension/vue/TypeScriptVueExtensionOptions.js +0 -0
- package/lib/{typescript-reporter → typescript}/extension/vue/TypeScriptVueExtensionSupport.d.ts +1 -1
- package/lib/{typescript-reporter → typescript}/extension/vue/TypeScriptVueExtensionSupport.js +1 -0
- package/lib/{typescript-reporter → typescript}/extension/vue/types/vue-template-compiler.d.ts +0 -0
- package/lib/{typescript-reporter → typescript}/extension/vue/types/vue-template-compiler.js +0 -0
- package/lib/{typescript-reporter → typescript}/extension/vue/types/vue__compiler-sfc.d.ts +0 -0
- package/lib/{typescript-reporter → typescript}/extension/vue/types/vue__compiler-sfc.js +0 -0
- package/lib/typescript/worker/get-dependencies-worker.d.ts +5 -0
- package/lib/typescript/worker/get-dependencies-worker.js +18 -0
- package/lib/typescript/worker/get-issues-worker.d.ts +5 -0
- package/lib/typescript/worker/get-issues-worker.js +76 -0
- package/lib/typescript/worker/lib/artifacts.d.ts +4 -0
- package/lib/typescript/worker/lib/artifacts.js +90 -0
- package/lib/typescript/worker/lib/config.d.ts +14 -0
- package/lib/typescript/worker/lib/config.js +114 -0
- package/lib/typescript/worker/lib/dependencies.d.ts +3 -0
- package/lib/typescript/worker/lib/dependencies.js +87 -0
- package/lib/typescript/worker/lib/diagnostics.d.ts +7 -0
- package/lib/typescript/worker/lib/diagnostics.js +100 -0
- package/lib/typescript/worker/lib/extensions.d.ts +3 -0
- package/lib/typescript/worker/lib/extensions.js +11 -0
- package/lib/{typescript-reporter/file-system/FileSystem.d.ts → typescript/worker/lib/file-system/file-system.d.ts} +2 -3
- package/lib/{eslint-reporter/types/eslint.js → typescript/worker/lib/file-system/file-system.js} +0 -0
- package/lib/typescript/worker/lib/file-system/mem-file-system.d.ts +5 -0
- package/lib/typescript/worker/lib/file-system/mem-file-system.js +78 -0
- package/lib/typescript/worker/lib/file-system/passive-file-system.d.ts +5 -0
- package/lib/typescript/worker/lib/file-system/passive-file-system.js +65 -0
- package/lib/typescript/worker/lib/file-system/real-file-system.d.ts +5 -0
- package/lib/typescript/worker/lib/file-system/real-file-system.js +187 -0
- package/lib/typescript/worker/lib/host/compiler-host.d.ts +2 -0
- package/lib/typescript/worker/lib/host/compiler-host.js +17 -0
- package/lib/typescript/worker/lib/host/watch-compiler-host.d.ts +2 -0
- package/lib/typescript/worker/lib/host/watch-compiler-host.js +32 -0
- package/lib/typescript/worker/lib/host/watch-solution-builder-host.d.ts +2 -0
- package/lib/typescript/worker/lib/host/watch-solution-builder-host.js +54 -0
- package/lib/typescript/worker/lib/performance.d.ts +3 -0
- package/lib/typescript/worker/lib/performance.js +32 -0
- package/lib/typescript/worker/lib/program/program.d.ts +2 -0
- package/lib/typescript/worker/lib/program/program.js +32 -0
- package/lib/typescript/worker/lib/program/solution-builder.d.ts +2 -0
- package/lib/typescript/worker/lib/program/solution-builder.js +39 -0
- package/lib/typescript/worker/lib/program/watch-program.d.ts +3 -0
- package/lib/typescript/worker/lib/program/watch-program.js +49 -0
- package/lib/{typescript-reporter/reporter/ControlledTypeScriptSystem.d.ts → typescript/worker/lib/system.d.ts} +4 -6
- package/lib/typescript/worker/lib/system.js +209 -0
- package/lib/typescript/worker/lib/tracing.d.ts +4 -0
- package/lib/typescript/worker/lib/tracing.js +28 -0
- package/lib/typescript/worker/lib/tsbuildinfo.d.ts +4 -0
- package/lib/typescript/worker/lib/tsbuildinfo.js +92 -0
- package/lib/typescript/worker/lib/typescript.d.ts +2 -0
- package/lib/typescript/worker/lib/typescript.js +6 -0
- package/lib/typescript/worker/lib/worker-config.d.ts +2 -0
- package/lib/typescript/worker/lib/worker-config.js +5 -0
- package/lib/utils/async/pool.d.ts +2 -1
- package/lib/utils/async/pool.js +13 -14
- package/lib/utils/path/relativeToContext.d.ts +2 -0
- package/lib/utils/path/relativeToContext.js +16 -0
- package/lib/{rpc/rpc-ipc/error/RpcIpcMessagePortClosedError.d.ts → utils/rpc/error.d.ts} +2 -3
- package/lib/utils/rpc/error.js +12 -0
- package/lib/utils/rpc/expose.d.ts +1 -0
- package/lib/utils/rpc/expose.js +78 -0
- package/lib/utils/rpc/index.d.ts +5 -0
- package/lib/utils/rpc/index.js +12 -0
- package/lib/utils/rpc/types.d.ts +19 -0
- package/lib/{reporter/FilesMatch.js → utils/rpc/types.js} +0 -0
- package/lib/utils/rpc/worker.d.ts +13 -0
- package/lib/utils/rpc/worker.js +79 -0
- package/lib/utils/rpc/wrap.d.ts +4 -0
- package/lib/utils/rpc/wrap.js +96 -0
- package/lib/watch/InclusiveNodeWatchFileSystem.d.ts +5 -5
- package/lib/watch/InclusiveNodeWatchFileSystem.js +90 -92
- package/lib/watch/WatchFileSystem.d.ts +5 -22
- package/package.json +50 -67
- package/CHANGELOG.md +0 -318
- package/changelog.config.js +0 -36
- package/lib/error/OperationCanceledError.d.ts +0 -4
- package/lib/error/OperationCanceledError.js +0 -9
- package/lib/eslint-reporter/EsLintReporterConfiguration.d.ts +0 -11
- package/lib/eslint-reporter/EsLintReporterConfiguration.js +0 -26
- package/lib/eslint-reporter/EsLintReporterOptions.d.ts +0 -8
- package/lib/eslint-reporter/assertEsLintSupport.d.ts +0 -3
- package/lib/eslint-reporter/assertEsLintSupport.js +0 -30
- package/lib/eslint-reporter/issue/EsLintIssueFactory.d.ts +0 -4
- package/lib/eslint-reporter/issue/EsLintIssueFactory.js +0 -32
- package/lib/eslint-reporter/reporter/EsLintReporter.d.ts +0 -4
- package/lib/eslint-reporter/reporter/EsLintReporter.js +0 -179
- package/lib/eslint-reporter/reporter/EsLintReporterRpcClient.d.ts +0 -4
- package/lib/eslint-reporter/reporter/EsLintReporterRpcClient.js +0 -13
- package/lib/eslint-reporter/reporter/EsLintReporterRpcService.d.ts +0 -1
- package/lib/eslint-reporter/reporter/EsLintReporterRpcService.js +0 -11
- package/lib/eslint-reporter/types/eslint.d.ts +0 -37
- package/lib/formatter/FormatterFactory.d.ts +0 -13
- package/lib/formatter/FormatterFactory.js +0 -18
- package/lib/hooks/tapStartToConnectAndRunReporter.d.ts +0 -6
- package/lib/hooks/tapStartToConnectAndRunReporter.js +0 -125
- package/lib/hooks/tapStopToDisconnectReporter.d.ts +0 -5
- package/lib/hooks/tapStopToDisconnectReporter.js +0 -29
- package/lib/profile/Performance.d.ts +0 -11
- package/lib/profile/Performance.js +0 -62
- package/lib/reporter/AggregatedReporter.d.ts +0 -6
- package/lib/reporter/AggregatedReporter.js +0 -60
- package/lib/reporter/Report.d.ts +0 -8
- package/lib/reporter/Report.js +0 -2
- package/lib/reporter/Reporter.d.ts +0 -6
- package/lib/reporter/Reporter.js +0 -2
- package/lib/reporter/index.d.ts +0 -7
- package/lib/reporter/index.js +0 -9
- package/lib/reporter/reporter-rpc/ReporterRpcClient.d.ts +0 -10
- package/lib/reporter/reporter-rpc/ReporterRpcClient.js +0 -82
- package/lib/reporter/reporter-rpc/ReporterRpcProcedure.d.ts +0 -10
- package/lib/reporter/reporter-rpc/ReporterRpcProcedure.js +0 -12
- package/lib/reporter/reporter-rpc/ReporterRpcService.d.ts +0 -9
- package/lib/reporter/reporter-rpc/ReporterRpcService.js +0 -74
- package/lib/rpc/RpcClient.d.ts +0 -10
- package/lib/rpc/RpcClient.js +0 -78
- package/lib/rpc/RpcHost.d.ts +0 -6
- package/lib/rpc/RpcHost.js +0 -2
- package/lib/rpc/RpcMessage.d.ts +0 -26
- package/lib/rpc/RpcMessage.js +0 -45
- package/lib/rpc/RpcMessageChannel.d.ts +0 -10
- package/lib/rpc/RpcMessageChannel.js +0 -49
- package/lib/rpc/RpcMessagePort.d.ts +0 -14
- package/lib/rpc/RpcMessagePort.js +0 -2
- package/lib/rpc/RpcProcedure.d.ts +0 -5
- package/lib/rpc/RpcProcedure.js +0 -2
- package/lib/rpc/RpcService.d.ts +0 -12
- package/lib/rpc/RpcService.js +0 -63
- package/lib/rpc/error/RpcMessagePortClosedError.d.ts +0 -3
- package/lib/rpc/error/RpcMessagePortClosedError.js +0 -5
- package/lib/rpc/error/RpcRemoteError.d.ts +0 -6
- package/lib/rpc/error/RpcRemoteError.js +0 -17
- package/lib/rpc/index.d.ts +0 -7
- package/lib/rpc/index.js +0 -9
- package/lib/rpc/rpc-ipc/ProcessLike.d.ts +0 -12
- package/lib/rpc/rpc-ipc/ProcessLike.js +0 -3
- package/lib/rpc/rpc-ipc/RpcIpcMessageChannel.d.ts +0 -3
- package/lib/rpc/rpc-ipc/RpcIpcMessageChannel.js +0 -10
- package/lib/rpc/rpc-ipc/RpcIpcMessagePort.d.ts +0 -5
- package/lib/rpc/rpc-ipc/RpcIpcMessagePort.js +0 -150
- package/lib/rpc/rpc-ipc/error/RpcIpcMessagePortClosedError.js +0 -12
- package/lib/rpc/rpc-ipc/index.d.ts +0 -2
- package/lib/rpc/rpc-ipc/index.js +0 -7
- package/lib/typescript-reporter/extension/vue/TypeScriptVueExtension.d.ts +0 -4
- package/lib/typescript-reporter/file-system/FileSystem.js +0 -2
- package/lib/typescript-reporter/file-system/MemFileSystem.d.ts +0 -8
- package/lib/typescript-reporter/file-system/MemFileSystem.js +0 -81
- package/lib/typescript-reporter/file-system/PassiveFileSystem.d.ts +0 -9
- package/lib/typescript-reporter/file-system/PassiveFileSystem.js +0 -68
- package/lib/typescript-reporter/file-system/RealFileSystem.d.ts +0 -8
- package/lib/typescript-reporter/file-system/RealFileSystem.js +0 -179
- package/lib/typescript-reporter/issue/TypeScriptIssueFactory.d.ts +0 -4
- package/lib/typescript-reporter/issue/TypeScriptIssueFactory.js +0 -45
- package/lib/typescript-reporter/profile/TypeScriptPerformance.d.ts +0 -10
- package/lib/typescript-reporter/profile/TypeScriptPerformance.js +0 -33
- package/lib/typescript-reporter/reporter/ControlledTypeScriptSystem.js +0 -229
- package/lib/typescript-reporter/reporter/ControlledWatchCompilerHost.d.ts +0 -5
- package/lib/typescript-reporter/reporter/ControlledWatchCompilerHost.js +0 -28
- package/lib/typescript-reporter/reporter/ControlledWatchSolutionBuilderHost.d.ts +0 -5
- package/lib/typescript-reporter/reporter/ControlledWatchSolutionBuilderHost.js +0 -50
- package/lib/typescript-reporter/reporter/TypeScriptConfigurationParser.d.ts +0 -8
- package/lib/typescript-reporter/reporter/TypeScriptConfigurationParser.js +0 -136
- package/lib/typescript-reporter/reporter/TypeScriptReporter.d.ts +0 -4
- package/lib/typescript-reporter/reporter/TypeScriptReporter.js +0 -352
- package/lib/typescript-reporter/reporter/TypeScriptReporterRpcClient.d.ts +0 -4
- package/lib/typescript-reporter/reporter/TypeScriptReporterRpcClient.js +0 -13
- package/lib/typescript-reporter/reporter/TypeScriptReporterRpcService.d.ts +0 -1
- package/lib/typescript-reporter/reporter/TypeScriptReporterRpcService.js +0 -11
- package/lib/watch/CompilerWithWatchFileSystem.d.ts +0 -6
- package/lib/watch/CompilerWithWatchFileSystem.js +0 -2
|
@@ -1,33 +1,16 @@
|
|
|
1
1
|
/// <reference types="node" />
|
|
2
|
-
import { EventEmitter } from 'events';
|
|
3
|
-
|
|
4
|
-
aggregateTimeout: number;
|
|
5
|
-
poll: boolean;
|
|
6
|
-
followSymlinks: boolean;
|
|
7
|
-
ignored: string | RegExp | Function | (string | RegExp | Function)[];
|
|
8
|
-
}
|
|
2
|
+
import type { EventEmitter } from 'events';
|
|
3
|
+
import type webpack from 'webpack';
|
|
9
4
|
interface Watchpack extends EventEmitter {
|
|
10
5
|
_onChange(item: string, mtime: number, file: string, type?: string): void;
|
|
11
6
|
_onRemove(item: string, file: string, type?: string): void;
|
|
12
7
|
}
|
|
13
|
-
|
|
14
|
-
close(): void;
|
|
15
|
-
pause(): void;
|
|
16
|
-
getFileTimestamps(): Map<string, number>;
|
|
17
|
-
getContextTimestamps(): Map<string, number>;
|
|
18
|
-
}
|
|
19
|
-
interface WatcherV5 {
|
|
20
|
-
close(): void;
|
|
21
|
-
pause(): void;
|
|
22
|
-
getFileTimeInfoEntries(): Map<string, number>;
|
|
23
|
-
getContextTimeInfoEntries(): Map<string, number>;
|
|
24
|
-
}
|
|
25
|
-
declare type Watcher = WatcherV4 | WatcherV5;
|
|
8
|
+
declare type Watch = webpack.Compiler['watchFileSystem']['watch'];
|
|
26
9
|
interface WatchFileSystem {
|
|
27
10
|
watcher: Watchpack;
|
|
28
11
|
wfs?: {
|
|
29
12
|
watcher: Watchpack;
|
|
30
13
|
};
|
|
31
|
-
watch
|
|
14
|
+
watch: Watch;
|
|
32
15
|
}
|
|
33
|
-
export { WatchFileSystem,
|
|
16
|
+
export { WatchFileSystem, Watchpack };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "fork-ts-checker-webpack-plugin",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "7.0.0-alpha.11",
|
|
4
4
|
"description": "Runs typescript type checker and linter on separate process.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"fast",
|
|
@@ -38,13 +38,8 @@
|
|
|
38
38
|
"test:e2e": "npm pack && cross-env jest --config=test/e2e/jest.config.js --ci -i -b",
|
|
39
39
|
"precommit": "cross-env lint-staged && yarn build && yarn test:unit",
|
|
40
40
|
"commit": "cross-env git-cz",
|
|
41
|
-
"semantic-release": "semantic-release"
|
|
42
|
-
|
|
43
|
-
"husky": {
|
|
44
|
-
"hooks": {
|
|
45
|
-
"pre-commit": "lint-staged && yarn build && yarn test:unit",
|
|
46
|
-
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
|
|
47
|
-
}
|
|
41
|
+
"semantic-release": "semantic-release",
|
|
42
|
+
"prepare": "husky install"
|
|
48
43
|
},
|
|
49
44
|
"commitlint": {
|
|
50
45
|
"extends": [
|
|
@@ -60,79 +55,67 @@
|
|
|
60
55
|
}
|
|
61
56
|
},
|
|
62
57
|
"dependencies": {
|
|
63
|
-
"@babel/code-frame": "^7.
|
|
64
|
-
"
|
|
65
|
-
"
|
|
66
|
-
"
|
|
67
|
-
"cosmiconfig": "^6.0.0",
|
|
58
|
+
"@babel/code-frame": "^7.14.5",
|
|
59
|
+
"chalk": "^4.1.2",
|
|
60
|
+
"chokidar": "^3.5.2",
|
|
61
|
+
"cosmiconfig": "^7.0.0",
|
|
68
62
|
"deepmerge": "^4.2.2",
|
|
69
|
-
"fs-extra": "^
|
|
70
|
-
"glob": "^7.1.
|
|
71
|
-
"memfs": "^3.
|
|
63
|
+
"fs-extra": "^10.0.0",
|
|
64
|
+
"glob": "^7.1.7",
|
|
65
|
+
"memfs": "^3.2.2",
|
|
72
66
|
"minimatch": "^3.0.4",
|
|
73
|
-
"schema-utils": "
|
|
74
|
-
"semver": "^7.3.
|
|
75
|
-
"tapable": "^
|
|
67
|
+
"schema-utils": "3.1.1",
|
|
68
|
+
"semver": "^7.3.5",
|
|
69
|
+
"tapable": "^2.0.0"
|
|
76
70
|
},
|
|
77
71
|
"peerDependencies": {
|
|
78
|
-
"
|
|
79
|
-
"
|
|
80
|
-
"webpack": ">= 4",
|
|
81
|
-
"vue-template-compiler": "*"
|
|
82
|
-
},
|
|
83
|
-
"peerDependenciesMeta": {
|
|
84
|
-
"eslint": {
|
|
85
|
-
"optional": true
|
|
86
|
-
},
|
|
87
|
-
"vue-template-compiler": {
|
|
88
|
-
"optional": true
|
|
89
|
-
}
|
|
72
|
+
"typescript": ">3.6.0",
|
|
73
|
+
"webpack": "^5.11.0"
|
|
90
74
|
},
|
|
91
75
|
"devDependencies": {
|
|
92
|
-
"@commitlint/config-conventional": "^
|
|
76
|
+
"@commitlint/config-conventional": "^13.1.0",
|
|
93
77
|
"@semantic-release/commit-analyzer": "^8.0.1",
|
|
94
78
|
"@semantic-release/exec": "^5.0.0",
|
|
95
|
-
"@semantic-release/github": "^7.
|
|
96
|
-
"@semantic-release/npm": "^7.
|
|
97
|
-
"@semantic-release/release-notes-generator": "^9.0.
|
|
98
|
-
"@types/babel__code-frame": "^7.0.
|
|
79
|
+
"@semantic-release/github": "^7.2.3",
|
|
80
|
+
"@semantic-release/npm": "^7.1.3",
|
|
81
|
+
"@semantic-release/release-notes-generator": "^9.0.3",
|
|
82
|
+
"@types/babel__code-frame": "^7.0.3",
|
|
99
83
|
"@types/cross-spawn": "^6.0.2",
|
|
100
|
-
"@types/
|
|
101
|
-
"@types/
|
|
102
|
-
"@types/
|
|
103
|
-
"@types/minimatch": "^3.0.
|
|
104
|
-
"@types/mock-fs": "^4.13.
|
|
105
|
-
"@types/node": "^
|
|
106
|
-
"@types/rimraf": "^3.0.
|
|
107
|
-
"@types/semver": "^7.3.
|
|
108
|
-
"@
|
|
109
|
-
"@typescript-eslint/
|
|
110
|
-
"
|
|
111
|
-
"
|
|
112
|
-
"
|
|
113
|
-
"
|
|
114
|
-
"eslint": "^6.8.0",
|
|
115
|
-
"eslint-config-prettier": "^6.13.0",
|
|
84
|
+
"@types/fs-extra": "^9.0.12",
|
|
85
|
+
"@types/jest": "^26.0.24",
|
|
86
|
+
"@types/json-schema": "^7.0.9",
|
|
87
|
+
"@types/minimatch": "^3.0.5",
|
|
88
|
+
"@types/mock-fs": "^4.13.1",
|
|
89
|
+
"@types/node": "^16.4.13",
|
|
90
|
+
"@types/rimraf": "^3.0.1",
|
|
91
|
+
"@types/semver": "^7.3.8",
|
|
92
|
+
"@typescript-eslint/eslint-plugin": "^5.1.0",
|
|
93
|
+
"@typescript-eslint/parser": "^5.1.0",
|
|
94
|
+
"commitlint": "^13.1.0",
|
|
95
|
+
"cross-env": "^7.0.3",
|
|
96
|
+
"eslint": "^7.32.0",
|
|
97
|
+
"eslint-plugin-import": "^2.25.2",
|
|
116
98
|
"eslint-plugin-node": "^11.1.0",
|
|
117
|
-
"eslint-plugin-prettier": "^
|
|
118
|
-
"git-cz": "^4.7.
|
|
119
|
-
"husky": "^
|
|
120
|
-
"jest": "^
|
|
121
|
-
"jest-circus": "^
|
|
122
|
-
"jest-environment-node": "^
|
|
123
|
-
"
|
|
124
|
-
"
|
|
125
|
-
"
|
|
99
|
+
"eslint-plugin-prettier": "^4.0.0",
|
|
100
|
+
"git-cz": "^4.7.6",
|
|
101
|
+
"husky": "^7.0.0",
|
|
102
|
+
"jest": "^27.0.6",
|
|
103
|
+
"jest-circus": "^27.0.6",
|
|
104
|
+
"jest-environment-node": "^27.0.6",
|
|
105
|
+
"json-schema": "^0.3.0",
|
|
106
|
+
"karton": "^0.4.1",
|
|
107
|
+
"lint-staged": "^11.1.2",
|
|
108
|
+
"mock-fs": "^5.0.0",
|
|
109
|
+
"prettier": "^2.3.2",
|
|
126
110
|
"rimraf": "^3.0.2",
|
|
127
|
-
"semantic-release": "^17.
|
|
111
|
+
"semantic-release": "^17.4.4",
|
|
128
112
|
"strip-ansi": "^6.0.0",
|
|
129
|
-
"
|
|
130
|
-
"
|
|
131
|
-
"
|
|
132
|
-
"webpack": "^4.42.1"
|
|
113
|
+
"ts-jest": "^27.0.4",
|
|
114
|
+
"typescript": "^4.3.5",
|
|
115
|
+
"webpack": "^5.49.0"
|
|
133
116
|
},
|
|
134
117
|
"engines": {
|
|
135
|
-
"node": ">=
|
|
118
|
+
"node": ">=12.13.0",
|
|
136
119
|
"yarn": ">=1.0.0"
|
|
137
120
|
}
|
|
138
121
|
}
|
package/CHANGELOG.md
DELETED
|
@@ -1,318 +0,0 @@
|
|
|
1
|
-
## ⚠️ Next versions are available only on the [GitHub Releases](https://github.com/TypeStrong/fork-ts-checker-webpack-plugin/releases) page ⚠️
|
|
2
|
-
|
|
3
|
-
# [1.3.0-beta.1](https://github.com/TypeStrong/fork-ts-checker-webpack-plugin/compare/v1.2.0...v1.3.0-beta.1@beta) (2019-04-30)
|
|
4
|
-
|
|
5
|
-
### Bug Fixes
|
|
6
|
-
|
|
7
|
-
- **tests:** fix linter tests that were doing nothing ([d078278](https://github.com/TypeStrong/fork-ts-checker-webpack-plugin/commit/d078278))
|
|
8
|
-
- **tests:** linter tests - useTypescriptIncrementalApi usage ([e0020d6](https://github.com/TypeStrong/fork-ts-checker-webpack-plugin/commit/e0020d6))
|
|
9
|
-
- **tests:** rework vue integration tests ([5ad2568](https://github.com/TypeStrong/fork-ts-checker-webpack-plugin/commit/5ad2568))
|
|
10
|
-
|
|
11
|
-
### Features
|
|
12
|
-
|
|
13
|
-
- **apiincrementalchecker:** improve generation of diagnostics ([ae80e5f](https://github.com/TypeStrong/fork-ts-checker-webpack-plugin/commit/ae80e5f)), closes [#257](https://github.com/TypeStrong/fork-ts-checker-webpack-plugin/issues/257)
|
|
14
|
-
|
|
15
|
-
# [1.2.0](https://github.com/TypeStrong/fork-ts-checker-webpack-plugin/compare/v1.1.1...v1.2.0) (2019-04-22)
|
|
16
|
-
|
|
17
|
-
### Bug Fixes
|
|
18
|
-
|
|
19
|
-
- semantic-release update `CHANGELOG.md` on the git repo ([8ad58af](https://github.com/TypeStrong/fork-ts-checker-webpack-plugin/commit/8ad58af))
|
|
20
|
-
|
|
21
|
-
### Features
|
|
22
|
-
|
|
23
|
-
- add semantic-release integration ([5fe0653](https://github.com/TypeStrong/fork-ts-checker-webpack-plugin/commit/5fe0653))
|
|
24
|
-
|
|
25
|
-
# [1.2.0-beta.4](https://github.com/TypeStrong/fork-ts-checker-webpack-plugin/compare/v1.2.0-beta.3@beta...v1.2.0-beta.4@beta) (2019-04-23)
|
|
26
|
-
|
|
27
|
-
### Bug Fixes
|
|
28
|
-
|
|
29
|
-
- **tests:** fix linter tests that were doing nothing ([d078278](https://github.com/TypeStrong/fork-ts-checker-webpack-plugin/commit/d078278))
|
|
30
|
-
- **tests:** linter tests - useTypescriptIncrementalApi usage ([e0020d6](https://github.com/TypeStrong/fork-ts-checker-webpack-plugin/commit/e0020d6))
|
|
31
|
-
|
|
32
|
-
### Features
|
|
33
|
-
|
|
34
|
-
- **apiincrementalchecker:** improve generation of diagnostics ([ae80e5f](https://github.com/TypeStrong/fork-ts-checker-webpack-plugin/commit/ae80e5f)), closes [#257](https://github.com/TypeStrong/fork-ts-checker-webpack-plugin/issues/257)
|
|
35
|
-
|
|
36
|
-
# [1.2.0-beta.3](https://github.com/TypeStrong/fork-ts-checker-webpack-plugin/compare/v1.2.0-beta.2@beta...v1.2.0-beta.3@beta) (2019-04-22)
|
|
37
|
-
|
|
38
|
-
### Bug Fixes
|
|
39
|
-
|
|
40
|
-
- **tests:** rework vue integration tests ([5ad2568](https://github.com/TypeStrong/fork-ts-checker-webpack-plugin/commit/5ad2568))
|
|
41
|
-
|
|
42
|
-
# [1.2.0-beta.2](https://github.com/TypeStrong/fork-ts-checker-webpack-plugin/compare/v1.2.0-beta.1@beta...v1.2.0-beta.2@beta) (2019-04-22)
|
|
43
|
-
|
|
44
|
-
### Bug Fixes
|
|
45
|
-
|
|
46
|
-
- semantic-release update `CHANGELOG.md` on the git repo ([8ad58af](https://github.com/TypeStrong/fork-ts-checker-webpack-plugin/commit/8ad58af))
|
|
47
|
-
|
|
48
|
-
# [1.2.0-beta.1](https://github.com/TypeStrong/fork-ts-checker-webpack-plugin/compare/v1.1.0...v1.2.0-beta.1@beta) (2019-04-22)
|
|
49
|
-
|
|
50
|
-
### Features
|
|
51
|
-
|
|
52
|
-
- add semantic-release integration ([5fe0653](https://github.com/TypeStrong/fork-ts-checker-webpack-plugin/commit/5fe0653))
|
|
53
|
-
|
|
54
|
-
## v1.1.1
|
|
55
|
-
|
|
56
|
-
- [Fix a regression w/ plugins like tsconfig-paths-webpack-plugin](https://github.com/TypeStrong/fork-ts-checker-webpack-plugin/pull/260)
|
|
57
|
-
|
|
58
|
-
## v1.1.0
|
|
59
|
-
|
|
60
|
-
- [Add new custom resolution options](https://github.com/TypeStrong/fork-ts-checker-webpack-plugin/pull/250)
|
|
61
|
-
|
|
62
|
-
## v1.0.4
|
|
63
|
-
|
|
64
|
-
- [gracefully handle error thrown from the service](https://github.com/TypeStrong/fork-ts-checker-webpack-plugin/pull/249)
|
|
65
|
-
|
|
66
|
-
## v1.0.3
|
|
67
|
-
|
|
68
|
-
- [use worker-rpc library for inter-process communication](https://github.com/TypeStrong/fork-ts-checker-webpack-plugin/pull/231)
|
|
69
|
-
|
|
70
|
-
## v1.0.2
|
|
71
|
-
|
|
72
|
-
- [Fix ignoreLintWarning mark warnings as errors](https://github.com/TypeStrong/fork-ts-checker-webpack-plugin/pull/243)
|
|
73
|
-
|
|
74
|
-
## v1.0.1
|
|
75
|
-
|
|
76
|
-
- [Apply rounding to compilation time](https://github.com/TypeStrong/fork-ts-checker-webpack-plugin/pull/235)
|
|
77
|
-
|
|
78
|
-
## v1.0.0
|
|
79
|
-
|
|
80
|
-
- [Going 1.0](https://github.com/TypeStrong/fork-ts-checker-webpack-plugin/pull/218)
|
|
81
|
-
|
|
82
|
-
This is the first major version of `fork-ts-checker-webpack-plugin`. A long time coming :-)
|
|
83
|
-
|
|
84
|
-
There are actually no breaking changes that we're aware of; users of 0.x `fork-ts-checker-webpack-plugin` should be be able to upgrade without any drama. Users of TypeScript 3+ may notice a performance improvement as by default the plugin now uses the [incremental watch API](https://github.com/Microsoft/TypeScript/pull/20234) in TypeScript. Should this prove problematic you can opt out of using it by supplying `useTypescriptIncrementalApi: false`.
|
|
85
|
-
|
|
86
|
-
We are aware of an [issue with Vue and the incremental API](https://github.com/TypeStrong/fork-ts-checker-webpack-plugin/issues/219). We hope it will be fixed soon - a generous member of the community is taking a look. In the meantime, we will _not_ default to using the incremental watch API when in Vue mode.
|
|
87
|
-
|
|
88
|
-
The plugin supports webpack 2, 3, 4 and 5 alpha and TypeScript 2.1+ alongside tslint 4+.
|
|
89
|
-
|
|
90
|
-
See also: https://blog.johnnyreilly.com/2019/03/the-big-one-point-oh.html
|
|
91
|
-
|
|
92
|
-
## v1.0.0-alpha.10
|
|
93
|
-
|
|
94
|
-
- [Fix incremental api to work with TS 3+ by default](https://github.com/TypeStrong/fork-ts-checker-webpack-plugin/pull/223)
|
|
95
|
-
|
|
96
|
-
## v1.0.0-alpha.9
|
|
97
|
-
|
|
98
|
-
- [Default to incremental api usage to true if TS 3+](https://github.com/TypeStrong/fork-ts-checker-webpack-plugin/pull/217)
|
|
99
|
-
|
|
100
|
-
## v1.0.0-alpha.8
|
|
101
|
-
|
|
102
|
-
- [Respect tslint configs hierarchical order](https://github.com/TypeStrong/fork-ts-checker-webpack-plugin/pull/214)
|
|
103
|
-
|
|
104
|
-
## v1.0.0-alpha.7
|
|
105
|
-
|
|
106
|
-
- [Add ignoreLintWarnings option](https://github.com/TypeStrong/fork-ts-checker-webpack-plugin/pull/213)
|
|
107
|
-
|
|
108
|
-
## v1.0.0-alpha.6
|
|
109
|
-
|
|
110
|
-
- [don't directly depend upon typescript](https://github.com/TypeStrong/fork-ts-checker-webpack-plugin/pull/208)
|
|
111
|
-
|
|
112
|
-
## v1.0.0-alpha.5
|
|
113
|
-
|
|
114
|
-
- [can now provide path where typescript can be found](https://github.com/TypeStrong/fork-ts-checker-webpack-plugin/pull/204)
|
|
115
|
-
|
|
116
|
-
## v1.0.0-alpha.4
|
|
117
|
-
|
|
118
|
-
- [make node 6 compatible](https://github.com/TypeStrong/fork-ts-checker-webpack-plugin/pull/202)
|
|
119
|
-
|
|
120
|
-
## v1.0.0-alpha.3
|
|
121
|
-
|
|
122
|
-
- [replace peerDeps with runtime checks](https://github.com/TypeStrong/fork-ts-checker-webpack-plugin/pull/201)
|
|
123
|
-
|
|
124
|
-
## v1.0.0-alpha.2
|
|
125
|
-
|
|
126
|
-
- [Add `useTypescriptIncrementalApi`](https://github.com/TypeStrong/fork-ts-checker-webpack-plugin/pull/198) (#196)
|
|
127
|
-
|
|
128
|
-
## v1.0.0-alpha.1
|
|
129
|
-
|
|
130
|
-
- [Use object-spread instead of `Object.assign`](https://github.com/TypeStrong/fork-ts-checker-webpack-plugin/pull/194) (#194)
|
|
131
|
-
|
|
132
|
-
## v1.0.0-alpha.0
|
|
133
|
-
|
|
134
|
-
- [Add support for webpack 5](https://github.com/TypeStrong/fork-ts-checker-webpack-plugin/pull/166)
|
|
135
|
-
|
|
136
|
-
### Breaking Changes
|
|
137
|
-
|
|
138
|
-
Version `1.x` additionally supports webpack 5 alongside webpack 4, whose hooks are now tapped differently:
|
|
139
|
-
|
|
140
|
-
```diff
|
|
141
|
-
- compiler.hooks.forkTsCheckerDone.tap(...args)
|
|
142
|
-
+ const forkTsCheckerHooks = ForkTsCheckerWebpackPlugin.getCompilerHooks(compiler)
|
|
143
|
-
+ forkTsCheckerHooks.done.tap(...args)
|
|
144
|
-
```
|
|
145
|
-
|
|
146
|
-
v1.0.0-alpha.0 drops support for node 6.
|
|
147
|
-
|
|
148
|
-
## v0.5.2
|
|
149
|
-
|
|
150
|
-
- [Fix erroneous error on diagnostics at 0 line; remove deprecated fs.existsSync](https://github.com/TypeStrong/fork-ts-checker-webpack-plugin/pull/190) (#190)
|
|
151
|
-
|
|
152
|
-
## v0.5.1
|
|
153
|
-
|
|
154
|
-
- [Make the checker compile with TypeScript 3.2](https://github.com/TypeStrong/fork-ts-checker-webpack-plugin/pull/189)
|
|
155
|
-
|
|
156
|
-
## 0.5.0
|
|
157
|
-
|
|
158
|
-
- Removed unused dependency `resolve`.
|
|
159
|
-
- Replace `lodash` usage with native calls.
|
|
160
|
-
- ** Breaking Changes**:
|
|
161
|
-
- Removed all getters from `NormalizedMessage`, use direct property access instead.
|
|
162
|
-
- **Internal**:
|
|
163
|
-
- Test against ts-loader v5
|
|
164
|
-
- Enable all strict type checks
|
|
165
|
-
- Update dev dependencies
|
|
166
|
-
|
|
167
|
-
## v0.4.15
|
|
168
|
-
|
|
169
|
-
- [Add `tslintAutoFix` option to be passed on to tslint to auto format typescript files](https://github.com/TypeStrong/fork-ts-checker-webpack-plugin/pull/174) (#174)
|
|
170
|
-
|
|
171
|
-
## v0.4.14
|
|
172
|
-
|
|
173
|
-
- [Add support for `reportFiles` option](https://github.com/TypeStrong/fork-ts-checker-webpack-plugin/pull/179) (#179)
|
|
174
|
-
|
|
175
|
-
## v0.4.13
|
|
176
|
-
|
|
177
|
-
- [Merge in `compilerOptions` prior to calling `parseJsonConfigFileContent`](https://github.com/TypeStrong/fork-ts-checker-webpack-plugin/pull/176) (#176)
|
|
178
|
-
|
|
179
|
-
## v0.4.12
|
|
180
|
-
|
|
181
|
-
- [Add `compilerOptions` option](https://github.com/TypeStrong/fork-ts-checker-webpack-plugin/pull/173) (#173)
|
|
182
|
-
|
|
183
|
-
## v0.4.11
|
|
184
|
-
|
|
185
|
-
- [Fix os.cpus is not a function](https://github.com/TypeStrong/fork-ts-checker-webpack-plugin/pull/172) (#172)
|
|
186
|
-
|
|
187
|
-
## v0.4.10
|
|
188
|
-
|
|
189
|
-
- [Allow fork-ts-checker-webpack-plugin to be imported in .ts files using ESM import syntax](https://github.com/TypeStrong/fork-ts-checker-webpack-plugin/pull/163) (#163)
|
|
190
|
-
|
|
191
|
-
## v0.4.9
|
|
192
|
-
|
|
193
|
-
- [Set "compilationDone" before resolving "forkTsCheckerServiceBeforeStart"](https://github.com/TypeStrong/fork-ts-checker-webpack-plugin/pull/146) (#146)
|
|
194
|
-
|
|
195
|
-
## v0.4.8
|
|
196
|
-
|
|
197
|
-
- [Fix(types collision): update webpack](https://github.com/TypeStrong/fork-ts-checker-webpack-plugin/pull/151) (#142)
|
|
198
|
-
|
|
199
|
-
## v0.4.7
|
|
200
|
-
|
|
201
|
-
- [Fix(types collision): update chalk and chokidar](https://github.com/TypeStrong/fork-ts-checker-webpack-plugin/pull/147) (#142)
|
|
202
|
-
- [Fix(logger): Don't limit Options.logger to Console type](https://github.com/TypeStrong/fork-ts-checker-webpack-plugin/pull/143)
|
|
203
|
-
|
|
204
|
-
## v0.4.6
|
|
205
|
-
|
|
206
|
-
- [Fix(types): Make options Partial<Options>](https://github.com/TypeStrong/fork-ts-checker-webpack-plugin/pull/141) (#140)
|
|
207
|
-
|
|
208
|
-
## v0.4.5
|
|
209
|
-
|
|
210
|
-
- [Fix(types): Add types to the plugin](https://github.com/TypeStrong/fork-ts-checker-webpack-plugin/pull/139) (#137)
|
|
211
|
-
- [Fix(vue): Avoid false positive of no-consecutive-blank-lines TSLint rule in Vue file](https://github.com/TypeStrong/fork-ts-checker-webpack-plugin/pull/138) (#130)
|
|
212
|
-
|
|
213
|
-
## v0.4.4
|
|
214
|
-
|
|
215
|
-
- [Fix(vue): resolve src attribute on the script block on Vue files](https://github.com/TypeStrong/fork-ts-checker-webpack-plugin/pull/130) (#111, #85)
|
|
216
|
-
- Add TypeScript ^3.0.0 to peerDependencies
|
|
217
|
-
|
|
218
|
-
## v0.4.3
|
|
219
|
-
|
|
220
|
-
- Fix "File system lag can cause Invalid source file errors to slip through" (#127)
|
|
221
|
-
|
|
222
|
-
## v0.4.2
|
|
223
|
-
|
|
224
|
-
- Format messages when `async` is false
|
|
225
|
-
|
|
226
|
-
## v0.4.1
|
|
227
|
-
|
|
228
|
-
- Fix webpack 4 hooks bug
|
|
229
|
-
|
|
230
|
-
## v0.4.0
|
|
231
|
-
|
|
232
|
-
- Support webpack 4
|
|
233
|
-
|
|
234
|
-
## v0.3.0
|
|
235
|
-
|
|
236
|
-
- Add `vue` support
|
|
237
|
-
|
|
238
|
-
## v0.2.10
|
|
239
|
-
|
|
240
|
-
- Fix #80 "Cannot read property 'getLineAndCharacterOfPosition' of undefined"
|
|
241
|
-
- Fix #76 "TypeError: Cannot read property '0' of undefined"
|
|
242
|
-
|
|
243
|
-
## v0.2.9
|
|
244
|
-
|
|
245
|
-
- Make errors formatting closer to `ts-loader` style
|
|
246
|
-
- Handle tslint exclude option
|
|
247
|
-
|
|
248
|
-
## v0.2.8
|
|
249
|
-
|
|
250
|
-
- Add `checkSyntacticErrors` option
|
|
251
|
-
- Fix `process.env` pass to the child process
|
|
252
|
-
- Add `fork-ts-checker-service-before-start` hook
|
|
253
|
-
|
|
254
|
-
## v0.2.7
|
|
255
|
-
|
|
256
|
-
- Fix service is not killed when webpack watch is done
|
|
257
|
-
|
|
258
|
-
## v0.2.6
|
|
259
|
-
|
|
260
|
-
- Add diagnostics/lints formatters - `formatter` and `formatterOptions` option
|
|
261
|
-
|
|
262
|
-
## v0.2.5
|
|
263
|
-
|
|
264
|
-
- Add `async` option - more information in `README.md`
|
|
265
|
-
|
|
266
|
-
## v0.2.4
|
|
267
|
-
|
|
268
|
-
- Fix `ESLint: "fork-ts-checker-webpack-plugin" is not published.` issue
|
|
269
|
-
|
|
270
|
-
## v0.2.3
|
|
271
|
-
|
|
272
|
-
- Add support for webpack 3 as peerDependency
|
|
273
|
-
|
|
274
|
-
## v0.2.2
|
|
275
|
-
|
|
276
|
-
- Force `isolatedModule: false` in checker compiler for better performance
|
|
277
|
-
|
|
278
|
-
## v0.2.1
|
|
279
|
-
|
|
280
|
-
- Fix for `tslint: true` option issue
|
|
281
|
-
|
|
282
|
-
## v0.2.0
|
|
283
|
-
|
|
284
|
-
- tsconfig.json and tslint.json path are not printed anymore.
|
|
285
|
-
- `watch` option is not used on 'build' mode
|
|
286
|
-
- Handle case with no options object (`new ForkTsCheckerWebpacPlugin()`)
|
|
287
|
-
- Basic integration tests (along units)
|
|
288
|
-
- **Breaking changes**:
|
|
289
|
-
- tslint is not enabled by default - you have to set `tslint: true` or `tslint: './path/to/tslint.json'` to enable it.
|
|
290
|
-
- `blockEmit` option is removed - it choose automatically - blocks always on 'build' mode, never on 'watch' mode.
|
|
291
|
-
|
|
292
|
-
## v0.1.5
|
|
293
|
-
|
|
294
|
-
- Disable tslint if module is not installed and no tslint path is passed
|
|
295
|
-
- Improve README.md
|
|
296
|
-
|
|
297
|
-
## v0.1.4
|
|
298
|
-
|
|
299
|
-
- Fix send to closed channel case
|
|
300
|
-
- Fix removed files case
|
|
301
|
-
- Add `fork-ts-checker-service-start-error` hook
|
|
302
|
-
|
|
303
|
-
## v0.1.3
|
|
304
|
-
|
|
305
|
-
- Fix "Cannot read property 'mtime' of undefined on OSX"
|
|
306
|
-
|
|
307
|
-
## v0.1.2
|
|
308
|
-
|
|
309
|
-
- Workers mode works correctly (fixed typo)
|
|
310
|
-
|
|
311
|
-
## v0.1.1
|
|
312
|
-
|
|
313
|
-
- Support memory limit in multi-process mode
|
|
314
|
-
- Handle already closed channel case on sending ipc message
|
|
315
|
-
|
|
316
|
-
## v0.1.0
|
|
317
|
-
|
|
318
|
-
- Initial release - not production ready.
|
package/changelog.config.js
DELETED
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
module.exports = {
|
|
2
|
-
list: ['feat', 'fix', 'refactor', 'perf', 'test', 'chore', 'docs'],
|
|
3
|
-
maxMessageLength: 64,
|
|
4
|
-
minMessageLength: 3,
|
|
5
|
-
questions: ['type', 'subject', 'body', 'breaking', 'issues'],
|
|
6
|
-
types: {
|
|
7
|
-
feat: {
|
|
8
|
-
description: 'A new feature',
|
|
9
|
-
value: 'feat',
|
|
10
|
-
},
|
|
11
|
-
fix: {
|
|
12
|
-
description: 'A bug fix',
|
|
13
|
-
value: 'fix',
|
|
14
|
-
},
|
|
15
|
-
refactor: {
|
|
16
|
-
description: 'A code change that neither adds a feature or fixes a bug',
|
|
17
|
-
value: 'refactor',
|
|
18
|
-
},
|
|
19
|
-
perf: {
|
|
20
|
-
description: 'A code change that improves performance',
|
|
21
|
-
value: 'perf',
|
|
22
|
-
},
|
|
23
|
-
test: {
|
|
24
|
-
description: 'Adding missing tests',
|
|
25
|
-
value: 'test',
|
|
26
|
-
},
|
|
27
|
-
chore: {
|
|
28
|
-
description: 'Build process, CI or auxiliary tool changes',
|
|
29
|
-
value: 'chore',
|
|
30
|
-
},
|
|
31
|
-
docs: {
|
|
32
|
-
description: 'Documentation only changes',
|
|
33
|
-
value: 'docs',
|
|
34
|
-
},
|
|
35
|
-
},
|
|
36
|
-
};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import webpack from 'webpack';
|
|
2
|
-
import { EsLintReporterOptions } from './EsLintReporterOptions';
|
|
3
|
-
import { CLIEngineOptions } from './types/eslint';
|
|
4
|
-
interface EsLintReporterConfiguration {
|
|
5
|
-
enabled: boolean;
|
|
6
|
-
memoryLimit: number;
|
|
7
|
-
options: CLIEngineOptions;
|
|
8
|
-
files: string[];
|
|
9
|
-
}
|
|
10
|
-
declare function createEsLintReporterConfiguration(compiler: webpack.Compiler, options: EsLintReporterOptions | undefined): EsLintReporterConfiguration;
|
|
11
|
-
export { EsLintReporterConfiguration, createEsLintReporterConfiguration };
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const path_1 = require("path");
|
|
4
|
-
function castToArray(value) {
|
|
5
|
-
if (!value) {
|
|
6
|
-
return [];
|
|
7
|
-
}
|
|
8
|
-
else if (!Array.isArray(value)) {
|
|
9
|
-
return [value];
|
|
10
|
-
}
|
|
11
|
-
else {
|
|
12
|
-
return value;
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
function createEsLintReporterConfiguration(compiler, options) {
|
|
16
|
-
const filesPatterns = (typeof options === 'object' ? castToArray(options.files) : []).map((filesPattern) =>
|
|
17
|
-
// ensure that `filesPattern` is an absolute path
|
|
18
|
-
path_1.isAbsolute(filesPattern)
|
|
19
|
-
? filesPattern
|
|
20
|
-
: path_1.join(compiler.options.context || process.cwd(), filesPattern));
|
|
21
|
-
return Object.assign(Object.assign({ enabled: !!options &&
|
|
22
|
-
typeof options !== 'boolean' &&
|
|
23
|
-
filesPatterns.length > 0 && // enable by default if files are provided
|
|
24
|
-
options.enabled !== false, memoryLimit: 2048 }, (typeof options === 'object' ? options : {})), { files: filesPatterns, options: Object.assign({ cwd: compiler.options.context || process.cwd(), extensions: ['.ts', '.tsx', '.js', '.jsx'] }, (typeof options === 'object' ? options.options || {} : {})) });
|
|
25
|
-
}
|
|
26
|
-
exports.createEsLintReporterConfiguration = createEsLintReporterConfiguration;
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
3
|
-
if (mod && mod.__esModule) return mod;
|
|
4
|
-
var result = {};
|
|
5
|
-
if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];
|
|
6
|
-
result["default"] = mod;
|
|
7
|
-
return result;
|
|
8
|
-
};
|
|
9
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
-
const semver = __importStar(require("semver"));
|
|
11
|
-
function assertEsLintSupport(configuration) {
|
|
12
|
-
if (semver.lt(process.version, '8.10.0')) {
|
|
13
|
-
throw new Error(`To use 'eslint' option, please update to Node.js >= v8.10.0 ` +
|
|
14
|
-
`(current version is ${process.version})`);
|
|
15
|
-
}
|
|
16
|
-
let eslintVersion;
|
|
17
|
-
try {
|
|
18
|
-
eslintVersion = require('eslint').Linter.version;
|
|
19
|
-
}
|
|
20
|
-
catch (error) {
|
|
21
|
-
throw new Error(`When you use 'eslint' option, make sure to install 'eslint'.`);
|
|
22
|
-
}
|
|
23
|
-
if (semver.lt(eslintVersion, '6.0.0')) {
|
|
24
|
-
throw new Error(`Cannot use current eslint version of ${eslintVersion}, the minimum required version is 6.0.0`);
|
|
25
|
-
}
|
|
26
|
-
if (!configuration.files) {
|
|
27
|
-
throw new Error('The `eslint.files` settings is required for EsLint reporter to work.');
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
exports.assertEsLintSupport = assertEsLintSupport;
|