fork-ts-checker-webpack-plugin 5.0.13 → 5.0.14
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.
|
@@ -60,4 +60,4 @@ class ForkTsCheckerWebpackPlugin {
|
|
|
60
60
|
}
|
|
61
61
|
}
|
|
62
62
|
exports.ForkTsCheckerWebpackPlugin = ForkTsCheckerWebpackPlugin;
|
|
63
|
-
ForkTsCheckerWebpackPlugin.version = '5.0.
|
|
63
|
+
ForkTsCheckerWebpackPlugin.version = '5.0.14'; // will be replaced by the @semantic-release/exec
|
|
@@ -1,5 +1,13 @@
|
|
|
1
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
|
+
};
|
|
2
9
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
const ts = __importStar(require("typescript"));
|
|
3
11
|
const ControlledWatchCompilerHost_1 = require("./ControlledWatchCompilerHost");
|
|
4
12
|
function createControlledWatchSolutionBuilderHost(parsedCommandLine, system, createProgram, reportDiagnostic, reportWatchStatus, reportSolutionBuilderStatus, afterProgramCreate, afterProgramEmitAndDiagnostics, hostExtensions = []) {
|
|
5
13
|
const controlledWatchCompilerHost = ControlledWatchCompilerHost_1.createControlledWatchCompilerHost(parsedCommandLine, system, createProgram, reportDiagnostic, reportWatchStatus, afterProgramCreate, hostExtensions);
|
|
@@ -32,6 +40,13 @@ function createControlledWatchSolutionBuilderHost(parsedCommandLine, system, cre
|
|
|
32
40
|
},
|
|
33
41
|
deleteFile(fileName) {
|
|
34
42
|
system.deleteFile(fileName);
|
|
43
|
+
},
|
|
44
|
+
getParsedCommandLine(fileName) {
|
|
45
|
+
return ts.getParsedCommandLineOfConfigFile(fileName, { skipLibCheck: true }, Object.assign(Object.assign({}, system), { onUnRecoverableConfigFileDiagnostic: (diagnostic) => {
|
|
46
|
+
if (reportDiagnostic) {
|
|
47
|
+
reportDiagnostic(diagnostic);
|
|
48
|
+
}
|
|
49
|
+
} }));
|
|
35
50
|
} });
|
|
36
51
|
hostExtensions.forEach((hostExtension) => {
|
|
37
52
|
if (hostExtension.extendWatchSolutionBuilderHost) {
|