@depup/fork-ts-checker-webpack-plugin 9.1.0-depup.0
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/LICENSE +21 -0
- package/README.md +42 -0
- package/changes.json +54 -0
- package/lib/files-change.d.ts +17 -0
- package/lib/files-change.js +57 -0
- package/lib/files-match.d.ts +7 -0
- package/lib/files-match.js +2 -0
- package/lib/formatter/basic-formatter.d.ts +3 -0
- package/lib/formatter/basic-formatter.js +13 -0
- package/lib/formatter/code-frame-formatter.d.ts +4 -0
- package/lib/formatter/code-frame-formatter.js +29 -0
- package/lib/formatter/formatter-config.d.ts +8 -0
- package/lib/formatter/formatter-config.js +36 -0
- package/lib/formatter/formatter-options.d.ts +14 -0
- package/lib/formatter/formatter-options.js +2 -0
- package/lib/formatter/formatter.d.ts +4 -0
- package/lib/formatter/formatter.js +2 -0
- package/lib/formatter/index.d.ts +6 -0
- package/lib/formatter/index.js +22 -0
- package/lib/formatter/stats-formatter.d.ts +3 -0
- package/lib/formatter/stats-formatter.js +28 -0
- package/lib/formatter/types/babel__code-frame.d.ts +21 -0
- package/lib/formatter/types/babel__code-frame.js +7 -0
- package/lib/formatter/webpack-formatter.d.ts +3 -0
- package/lib/formatter/webpack-formatter.js +32 -0
- package/lib/hooks/intercept-done-to-get-dev-server-tap.d.ts +5 -0
- package/lib/hooks/intercept-done-to-get-dev-server-tap.js +18 -0
- package/lib/hooks/tap-after-compile-to-add-dependencies.d.ts +5 -0
- package/lib/hooks/tap-after-compile-to-add-dependencies.js +31 -0
- package/lib/hooks/tap-after-compile-to-get-issues.d.ts +5 -0
- package/lib/hooks/tap-after-compile-to-get-issues.js +52 -0
- package/lib/hooks/tap-after-environment-to-patch-watching.d.ts +4 -0
- package/lib/hooks/tap-after-environment-to-patch-watching.js +22 -0
- package/lib/hooks/tap-done-to-async-get-issues.d.ts +5 -0
- package/lib/hooks/tap-done-to-async-get-issues.js +86 -0
- package/lib/hooks/tap-error-to-log-message.d.ts +4 -0
- package/lib/hooks/tap-error-to-log-message.js +32 -0
- package/lib/hooks/tap-start-to-run-workers.d.ts +8 -0
- package/lib/hooks/tap-start-to-run-workers.js +132 -0
- package/lib/hooks/tap-stop-to-terminate-workers.d.ts +5 -0
- package/lib/hooks/tap-stop-to-terminate-workers.js +26 -0
- package/lib/index.d.ts +2 -0
- package/lib/index.js +3 -0
- package/lib/infrastructure-logger.d.ts +9 -0
- package/lib/infrastructure-logger.js +14 -0
- package/lib/issue/index.d.ts +3 -0
- package/lib/issue/index.js +19 -0
- package/lib/issue/issue-config.d.ts +8 -0
- package/lib/issue/issue-config.js +29 -0
- package/lib/issue/issue-location.d.ts +8 -0
- package/lib/issue/issue-location.js +22 -0
- package/lib/issue/issue-match.d.ts +5 -0
- package/lib/issue/issue-match.js +20 -0
- package/lib/issue/issue-options.d.ts +8 -0
- package/lib/issue/issue-options.js +2 -0
- package/lib/issue/issue-position.d.ts +6 -0
- package/lib/issue/issue-position.js +16 -0
- package/lib/issue/issue-predicate.d.ts +5 -0
- package/lib/issue/issue-predicate.js +11 -0
- package/lib/issue/issue-severity.d.ts +4 -0
- package/lib/issue/issue-severity.js +12 -0
- package/lib/issue/issue-webpack-error.d.ts +9 -0
- package/lib/issue/issue-webpack-error.js +55 -0
- package/lib/issue/issue.d.ts +12 -0
- package/lib/issue/issue.js +41 -0
- package/lib/logger.d.ts +5 -0
- package/lib/logger.js +2 -0
- package/lib/plugin-config.d.ts +16 -0
- package/lib/plugin-config.js +26 -0
- package/lib/plugin-hooks.d.ts +20 -0
- package/lib/plugin-hooks.js +45 -0
- package/lib/plugin-options.d.ts +13 -0
- package/lib/plugin-options.js +2 -0
- package/lib/plugin-options.json +197 -0
- package/lib/plugin-pools.d.ts +4 -0
- package/lib/plugin-pools.js +32 -0
- package/lib/plugin-state.d.ts +18 -0
- package/lib/plugin-state.js +17 -0
- package/lib/plugin.d.ts +28 -0
- package/lib/plugin.js +86 -0
- package/lib/rpc/expose-rpc.d.ts +1 -0
- package/lib/rpc/expose-rpc.js +78 -0
- package/lib/rpc/index.d.ts +5 -0
- package/lib/rpc/index.js +12 -0
- package/lib/rpc/rpc-error.d.ts +6 -0
- package/lib/rpc/rpc-error.js +12 -0
- package/lib/rpc/rpc-worker.d.ts +13 -0
- package/lib/rpc/rpc-worker.js +83 -0
- package/lib/rpc/types.d.ts +19 -0
- package/lib/rpc/types.js +2 -0
- package/lib/rpc/wrap-rpc.d.ts +4 -0
- package/lib/rpc/wrap-rpc.js +79 -0
- package/lib/typescript/type-script-config-overwrite.d.ts +12 -0
- package/lib/typescript/type-script-config-overwrite.js +2 -0
- package/lib/typescript/type-script-diagnostics-options.d.ts +7 -0
- package/lib/typescript/type-script-diagnostics-options.js +2 -0
- package/lib/typescript/type-script-support.d.ts +3 -0
- package/lib/typescript/type-script-support.js +67 -0
- package/lib/typescript/type-script-worker-config.d.ts +17 -0
- package/lib/typescript/type-script-worker-config.js +18 -0
- package/lib/typescript/type-script-worker-options.d.ts +14 -0
- package/lib/typescript/type-script-worker-options.js +2 -0
- package/lib/typescript/worker/get-dependencies-worker.d.ts +5 -0
- package/lib/typescript/worker/get-dependencies-worker.js +15 -0
- package/lib/typescript/worker/get-issues-worker.d.ts +5 -0
- package/lib/typescript/worker/get-issues-worker.js +80 -0
- package/lib/typescript/worker/lib/artifacts.d.ts +4 -0
- package/lib/typescript/worker/lib/artifacts.js +94 -0
- package/lib/typescript/worker/lib/config.d.ts +15 -0
- package/lib/typescript/worker/lib/config.js +135 -0
- package/lib/typescript/worker/lib/dependencies.d.ts +3 -0
- package/lib/typescript/worker/lib/dependencies.js +85 -0
- package/lib/typescript/worker/lib/diagnostics.d.ts +7 -0
- package/lib/typescript/worker/lib/diagnostics.js +112 -0
- package/lib/typescript/worker/lib/emit.d.ts +2 -0
- package/lib/typescript/worker/lib/emit.js +13 -0
- package/lib/typescript/worker/lib/file-system/file-system.d.ts +18 -0
- package/lib/typescript/worker/lib/file-system/file-system.js +2 -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 +191 -0
- package/lib/typescript/worker/lib/host/compiler-host.d.ts +2 -0
- package/lib/typescript/worker/lib/host/compiler-host.js +10 -0
- package/lib/typescript/worker/lib/host/watch-compiler-host.d.ts +2 -0
- package/lib/typescript/worker/lib/host/watch-compiler-host.js +20 -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 +47 -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 +37 -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 +51 -0
- package/lib/typescript/worker/lib/system.d.ts +19 -0
- package/lib/typescript/worker/lib/system.js +232 -0
- package/lib/typescript/worker/lib/tracing.d.ts +4 -0
- package/lib/typescript/worker/lib/tracing.js +29 -0
- package/lib/typescript/worker/lib/tsbuildinfo.d.ts +4 -0
- package/lib/typescript/worker/lib/tsbuildinfo.js +96 -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/abort-error.d.ts +6 -0
- package/lib/utils/async/abort-error.js +15 -0
- package/lib/utils/async/controlled-promise.d.ts +6 -0
- package/lib/utils/async/controlled-promise.js +17 -0
- package/lib/utils/async/is-pending.d.ts +2 -0
- package/lib/utils/async/is-pending.js +10 -0
- package/lib/utils/async/pool.d.ts +10 -0
- package/lib/utils/async/pool.js +47 -0
- package/lib/utils/async/wait.d.ts +2 -0
- package/lib/utils/async/wait.js +7 -0
- package/lib/utils/path/forward-slash.d.ts +6 -0
- package/lib/utils/path/forward-slash.js +15 -0
- package/lib/utils/path/is-inside-another-path.d.ts +2 -0
- package/lib/utils/path/is-inside-another-path.js +22 -0
- package/lib/utils/path/relative-to-context.d.ts +2 -0
- package/lib/utils/path/relative-to-context.js +16 -0
- package/lib/watch/inclusive-node-watch-file-system.d.ts +15 -0
- package/lib/watch/inclusive-node-watch-file-system.js +166 -0
- package/lib/watch/watch-file-system.d.ts +16 -0
- package/lib/watch/watch-file-system.js +2 -0
- package/package.json +182 -0
|
@@ -0,0 +1,166 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.InclusiveNodeWatchFileSystem = void 0;
|
|
7
|
+
const path_1 = require("path");
|
|
8
|
+
const chokidar_1 = __importDefault(require("chokidar"));
|
|
9
|
+
const minimatch_1 = __importDefault(require("minimatch"));
|
|
10
|
+
const files_change_1 = require("../files-change");
|
|
11
|
+
const infrastructure_logger_1 = require("../infrastructure-logger");
|
|
12
|
+
const is_inside_another_path_1 = require("../utils/path/is-inside-another-path");
|
|
13
|
+
const BUILTIN_IGNORED_DIRS = ['.git'];
|
|
14
|
+
function createIsIgnored(ignored, excluded) {
|
|
15
|
+
const ignoredPatterns = ignored ? (Array.isArray(ignored) ? ignored : [ignored]) : [];
|
|
16
|
+
const ignoredFunctions = ignoredPatterns.map((pattern) => {
|
|
17
|
+
// ensure patterns are valid - see https://github.com/TypeStrong/fork-ts-checker-webpack-plugin/issues/594
|
|
18
|
+
if (typeof pattern === 'string') {
|
|
19
|
+
return (path) => (0, minimatch_1.default)(path, pattern);
|
|
20
|
+
}
|
|
21
|
+
else if (pattern instanceof RegExp) {
|
|
22
|
+
return (path) => pattern.test(path);
|
|
23
|
+
}
|
|
24
|
+
else {
|
|
25
|
+
// fallback to no-ignore function
|
|
26
|
+
return () => false;
|
|
27
|
+
}
|
|
28
|
+
});
|
|
29
|
+
ignoredFunctions.push((path) => excluded.some((excludedPath) => (0, is_inside_another_path_1.isInsideAnotherPath)(excludedPath, path)));
|
|
30
|
+
ignoredFunctions.push((path) => BUILTIN_IGNORED_DIRS.some((ignoredDir) => path.includes(`/${ignoredDir}/`) || path.includes(`\\${ignoredDir}\\`)));
|
|
31
|
+
return function isIgnored(path) {
|
|
32
|
+
return ignoredFunctions.some((ignoredFunction) => ignoredFunction(path));
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
class InclusiveNodeWatchFileSystem {
|
|
36
|
+
get watcher() {
|
|
37
|
+
var _a;
|
|
38
|
+
return this.watchFileSystem.watcher || ((_a = this.watchFileSystem.wfs) === null || _a === void 0 ? void 0 : _a.watcher);
|
|
39
|
+
}
|
|
40
|
+
constructor(watchFileSystem, compiler, pluginState) {
|
|
41
|
+
this.watchFileSystem = watchFileSystem;
|
|
42
|
+
this.compiler = compiler;
|
|
43
|
+
this.pluginState = pluginState;
|
|
44
|
+
this.paused = true;
|
|
45
|
+
this.watch = (files, dirs, missing, startTime, options, callback, callbackUndelayed) => {
|
|
46
|
+
var _a, _b, _c, _d;
|
|
47
|
+
const { debug } = (0, infrastructure_logger_1.getInfrastructureLogger)(this.compiler);
|
|
48
|
+
(0, files_change_1.clearFilesChange)(this.compiler);
|
|
49
|
+
const isIgnored = createIsIgnored(options === null || options === void 0 ? void 0 : options.ignored, ((_a = this.pluginState.lastDependencies) === null || _a === void 0 ? void 0 : _a.excluded) || []);
|
|
50
|
+
// use standard watch file system for files and missing
|
|
51
|
+
const standardWatcher = this.watchFileSystem.watch(files, dirs, missing, startTime, options, callback, callbackUndelayed);
|
|
52
|
+
(_b = this.watcher) === null || _b === void 0 ? void 0 : _b.on('change', (file) => {
|
|
53
|
+
if (typeof file !== 'string') {
|
|
54
|
+
return;
|
|
55
|
+
}
|
|
56
|
+
if (!isIgnored(file)) {
|
|
57
|
+
debug('Detected file change', file);
|
|
58
|
+
this.deletedFiles.delete(file);
|
|
59
|
+
(0, files_change_1.updateFilesChange)(this.compiler, { changedFiles: [file] });
|
|
60
|
+
}
|
|
61
|
+
else {
|
|
62
|
+
debug("Detected file change but it's ignored", file);
|
|
63
|
+
}
|
|
64
|
+
});
|
|
65
|
+
(_c = this.watcher) === null || _c === void 0 ? void 0 : _c.on('remove', (file) => {
|
|
66
|
+
if (typeof file !== 'string') {
|
|
67
|
+
return;
|
|
68
|
+
}
|
|
69
|
+
if (this.deletedFiles.has(file)) {
|
|
70
|
+
debug('Skipping duplicated remove event.');
|
|
71
|
+
return;
|
|
72
|
+
}
|
|
73
|
+
if (!isIgnored(file)) {
|
|
74
|
+
debug('Detected file remove', file);
|
|
75
|
+
this.deletedFiles.add(file);
|
|
76
|
+
(0, files_change_1.updateFilesChange)(this.compiler, { deletedFiles: [file] });
|
|
77
|
+
}
|
|
78
|
+
else {
|
|
79
|
+
debug("Detected file remove but it's ignored", file);
|
|
80
|
+
}
|
|
81
|
+
});
|
|
82
|
+
// calculate what to change
|
|
83
|
+
const prevDirs = Array.from(this.dirsWatchers.keys());
|
|
84
|
+
const nextDirs = Array.from(((_d = this.pluginState.lastDependencies) === null || _d === void 0 ? void 0 : _d.dirs) || []);
|
|
85
|
+
const dirsToUnwatch = prevDirs.filter((prevDir) => !nextDirs.includes(prevDir));
|
|
86
|
+
const dirsToWatch = nextDirs.filter((nextDir) => !prevDirs.includes(nextDir) && !isIgnored(nextDir));
|
|
87
|
+
// update dirs watcher
|
|
88
|
+
dirsToUnwatch.forEach((dirToUnwatch) => {
|
|
89
|
+
var _a;
|
|
90
|
+
(_a = this.dirsWatchers.get(dirToUnwatch)) === null || _a === void 0 ? void 0 : _a.close();
|
|
91
|
+
this.dirsWatchers.delete(dirToUnwatch);
|
|
92
|
+
});
|
|
93
|
+
dirsToWatch.forEach((dirToWatch) => {
|
|
94
|
+
const interval = typeof (options === null || options === void 0 ? void 0 : options.poll) === 'number' ? options.poll : undefined;
|
|
95
|
+
const dirWatcher = chokidar_1.default.watch(dirToWatch, {
|
|
96
|
+
ignoreInitial: true,
|
|
97
|
+
ignorePermissionErrors: true,
|
|
98
|
+
ignored: (path) => isIgnored(path),
|
|
99
|
+
usePolling: (options === null || options === void 0 ? void 0 : options.poll) ? true : undefined,
|
|
100
|
+
interval: interval,
|
|
101
|
+
binaryInterval: interval,
|
|
102
|
+
alwaysStat: true,
|
|
103
|
+
atomic: true,
|
|
104
|
+
awaitWriteFinish: true,
|
|
105
|
+
});
|
|
106
|
+
dirWatcher.on('add', (file, stats) => {
|
|
107
|
+
var _a, _b;
|
|
108
|
+
if (this.paused) {
|
|
109
|
+
return;
|
|
110
|
+
}
|
|
111
|
+
const extension = (0, path_1.extname)(file);
|
|
112
|
+
const supportedExtensions = ((_a = this.pluginState.lastDependencies) === null || _a === void 0 ? void 0 : _a.extensions) || [];
|
|
113
|
+
if (!supportedExtensions.includes(extension)) {
|
|
114
|
+
debug('Detected new file add but extension is not supported', file);
|
|
115
|
+
return;
|
|
116
|
+
}
|
|
117
|
+
debug('Detected new file add', file);
|
|
118
|
+
this.deletedFiles.delete(file);
|
|
119
|
+
(0, files_change_1.updateFilesChange)(this.compiler, { changedFiles: [file] });
|
|
120
|
+
(_b = this.watcher) === null || _b === void 0 ? void 0 : _b._onChange(dirToWatch, (stats === null || stats === void 0 ? void 0 : stats.mtimeMs) || (stats === null || stats === void 0 ? void 0 : stats.ctimeMs) || 1, file, 'rename');
|
|
121
|
+
});
|
|
122
|
+
dirWatcher.on('unlink', (file) => {
|
|
123
|
+
var _a, _b;
|
|
124
|
+
if (this.paused) {
|
|
125
|
+
return;
|
|
126
|
+
}
|
|
127
|
+
const extension = (0, path_1.extname)(file);
|
|
128
|
+
const supportedExtensions = ((_a = this.pluginState.lastDependencies) === null || _a === void 0 ? void 0 : _a.extensions) || [];
|
|
129
|
+
if (!supportedExtensions.includes(extension)) {
|
|
130
|
+
debug('Detected new file remove but extension is not supported', file);
|
|
131
|
+
return;
|
|
132
|
+
}
|
|
133
|
+
if (this.deletedFiles.has(file)) {
|
|
134
|
+
debug('Skipping duplicated unlink event.');
|
|
135
|
+
return;
|
|
136
|
+
}
|
|
137
|
+
debug('Detected new file remove', file);
|
|
138
|
+
this.deletedFiles.add(file);
|
|
139
|
+
(0, files_change_1.updateFilesChange)(this.compiler, { deletedFiles: [file] });
|
|
140
|
+
(_b = this.watcher) === null || _b === void 0 ? void 0 : _b._onRemove(dirToWatch, file, 'rename');
|
|
141
|
+
});
|
|
142
|
+
this.dirsWatchers.set(dirToWatch, dirWatcher);
|
|
143
|
+
});
|
|
144
|
+
this.paused = false;
|
|
145
|
+
return Object.assign(Object.assign({}, standardWatcher), { close: () => {
|
|
146
|
+
(0, files_change_1.clearFilesChange)(this.compiler);
|
|
147
|
+
if (standardWatcher) {
|
|
148
|
+
standardWatcher.close();
|
|
149
|
+
}
|
|
150
|
+
this.dirsWatchers.forEach((dirWatcher) => {
|
|
151
|
+
dirWatcher === null || dirWatcher === void 0 ? void 0 : dirWatcher.close();
|
|
152
|
+
});
|
|
153
|
+
this.dirsWatchers.clear();
|
|
154
|
+
this.paused = true;
|
|
155
|
+
}, pause: () => {
|
|
156
|
+
if (standardWatcher) {
|
|
157
|
+
standardWatcher.pause();
|
|
158
|
+
}
|
|
159
|
+
this.paused = true;
|
|
160
|
+
} });
|
|
161
|
+
};
|
|
162
|
+
this.dirsWatchers = new Map();
|
|
163
|
+
this.deletedFiles = new Set();
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
exports.InclusiveNodeWatchFileSystem = InclusiveNodeWatchFileSystem;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/// <reference types="node" />
|
|
2
|
+
import type { EventEmitter } from 'events';
|
|
3
|
+
import type * as webpack from 'webpack';
|
|
4
|
+
interface Watchpack extends EventEmitter {
|
|
5
|
+
_onChange(item: string, mtime: number, file: string, type?: string): void;
|
|
6
|
+
_onRemove(item: string, file: string, type?: string): void;
|
|
7
|
+
}
|
|
8
|
+
type Watch = NonNullable<webpack.Compiler['watchFileSystem']>['watch'];
|
|
9
|
+
interface WatchFileSystem {
|
|
10
|
+
watcher?: Watchpack;
|
|
11
|
+
wfs?: {
|
|
12
|
+
watcher: Watchpack;
|
|
13
|
+
};
|
|
14
|
+
watch: Watch;
|
|
15
|
+
}
|
|
16
|
+
export { WatchFileSystem, Watchpack };
|
package/package.json
ADDED
|
@@ -0,0 +1,182 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@depup/fork-ts-checker-webpack-plugin",
|
|
3
|
+
"version": "9.1.0-depup.0",
|
|
4
|
+
"description": "[DepUp] Runs typescript type checker and linter on separate process.",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"depup",
|
|
7
|
+
"dependency-bumped",
|
|
8
|
+
"updated-deps",
|
|
9
|
+
"fork-ts-checker-webpack-plugin",
|
|
10
|
+
"webpack",
|
|
11
|
+
"plugin",
|
|
12
|
+
"typescript",
|
|
13
|
+
"typecheck",
|
|
14
|
+
"ts-loader",
|
|
15
|
+
"fork",
|
|
16
|
+
"fast"
|
|
17
|
+
],
|
|
18
|
+
"bugs": {
|
|
19
|
+
"url": "https://github.com/TypeStrong/fork-ts-checker-webpack-plugin/issues"
|
|
20
|
+
},
|
|
21
|
+
"repository": {
|
|
22
|
+
"type": "git",
|
|
23
|
+
"url": "https://github.com/TypeStrong/fork-ts-checker-webpack-plugin.git"
|
|
24
|
+
},
|
|
25
|
+
"license": "MIT",
|
|
26
|
+
"author": "Piotr Oleś <piotrek.oles@gmail.com>",
|
|
27
|
+
"contributors": [
|
|
28
|
+
"Piotr Oleś <piotrek.oles@gmail.com> (https://github.com/piotr-oles)",
|
|
29
|
+
"John Reilly <johnny_reilly@hotmail.com> (https://johnnyreilly.com)"
|
|
30
|
+
],
|
|
31
|
+
"files": [
|
|
32
|
+
"lib",
|
|
33
|
+
"changes.json",
|
|
34
|
+
"README.md"
|
|
35
|
+
],
|
|
36
|
+
"main": "lib/index.js",
|
|
37
|
+
"types": "lib/index.d.ts",
|
|
38
|
+
"scripts": {
|
|
39
|
+
"build": "cross-env rimraf lib && cross-env tsc --version && cross-env tsc",
|
|
40
|
+
"lint": "cross-env eslint ./src ./test --ext .ts",
|
|
41
|
+
"test": "yarn build && yarn test:unit && yarn test:e2e",
|
|
42
|
+
"test:unit": "cross-env jest --config=test/unit/jest.config.js",
|
|
43
|
+
"test:e2e": "npm pack && cross-env YARN_ENABLE_IMMUTABLE_INSTALLS=false jest --config=test/e2e/jest.config.js --ci -i -b",
|
|
44
|
+
"precommit": "cross-env lint-staged && yarn build && yarn test:unit",
|
|
45
|
+
"commit": "cross-env git-cz",
|
|
46
|
+
"semantic-release": "semantic-release"
|
|
47
|
+
},
|
|
48
|
+
"commitlint": {
|
|
49
|
+
"extends": [
|
|
50
|
+
"@commitlint/config-conventional"
|
|
51
|
+
]
|
|
52
|
+
},
|
|
53
|
+
"lint-staged": {
|
|
54
|
+
"*.ts": "eslint --fix"
|
|
55
|
+
},
|
|
56
|
+
"config": {
|
|
57
|
+
"commitizen": {
|
|
58
|
+
"path": "cz-conventional-changelog"
|
|
59
|
+
}
|
|
60
|
+
},
|
|
61
|
+
"dependencies": {
|
|
62
|
+
"@babel/code-frame": "^7.29.0",
|
|
63
|
+
"chalk": "^5.6.2",
|
|
64
|
+
"chokidar": "^5.0.0",
|
|
65
|
+
"cosmiconfig": "^9.0.1",
|
|
66
|
+
"deepmerge": "^4.3.1",
|
|
67
|
+
"fs-extra": "^11.3.4",
|
|
68
|
+
"memfs": "^4.56.11",
|
|
69
|
+
"minimatch": "^10.2.4",
|
|
70
|
+
"node-abort-controller": "^3.1.1",
|
|
71
|
+
"schema-utils": "^4.3.3",
|
|
72
|
+
"semver": "^7.7.4",
|
|
73
|
+
"tapable": "^2.3.0"
|
|
74
|
+
},
|
|
75
|
+
"peerDependencies": {
|
|
76
|
+
"typescript": ">3.6.0",
|
|
77
|
+
"webpack": "^5.11.0"
|
|
78
|
+
},
|
|
79
|
+
"devDependencies": {
|
|
80
|
+
"@commitlint/config-conventional": "^16.0.0",
|
|
81
|
+
"@semantic-release/commit-analyzer": "^8.0.1",
|
|
82
|
+
"@semantic-release/exec": "^5.0.0",
|
|
83
|
+
"@semantic-release/github": "^7.2.3",
|
|
84
|
+
"@semantic-release/npm": "^7.1.3",
|
|
85
|
+
"@semantic-release/release-notes-generator": "^9.0.3",
|
|
86
|
+
"@types/babel__code-frame": "^7.0.3",
|
|
87
|
+
"@types/cross-spawn": "^6.0.2",
|
|
88
|
+
"@types/fs-extra": "^9.0.13",
|
|
89
|
+
"@types/jest": "^27.4.0",
|
|
90
|
+
"@types/json-schema": "^7.0.9",
|
|
91
|
+
"@types/minimatch": "^3.0.5",
|
|
92
|
+
"@types/mock-fs": "^4.13.1",
|
|
93
|
+
"@types/node": "^16.4.13",
|
|
94
|
+
"@types/rimraf": "^3.0.2",
|
|
95
|
+
"@types/semver": "^7.3.9",
|
|
96
|
+
"@typescript-eslint/eslint-plugin": "^5.10.1",
|
|
97
|
+
"@typescript-eslint/parser": "^5.10.1",
|
|
98
|
+
"commitlint": "^16.1.0",
|
|
99
|
+
"cross-env": "^7.0.3",
|
|
100
|
+
"eslint": "^8.8.0",
|
|
101
|
+
"eslint-plugin-import": "^2.25.4",
|
|
102
|
+
"eslint-plugin-node": "^11.1.0",
|
|
103
|
+
"eslint-plugin-prettier": "^4.0.0",
|
|
104
|
+
"git-cz": "^4.8.0",
|
|
105
|
+
"husky": "^7.0.4",
|
|
106
|
+
"jest": "^27.4.7",
|
|
107
|
+
"jest-circus": "^27.4.6",
|
|
108
|
+
"jest-environment-node": "^27.4.6",
|
|
109
|
+
"json-schema": "^0.4.0",
|
|
110
|
+
"karton": "^0.4.1",
|
|
111
|
+
"lint-staged": "^11.1.2",
|
|
112
|
+
"mock-fs": "^5.1.2",
|
|
113
|
+
"prettier": "^2.5.1",
|
|
114
|
+
"rimraf": "^3.0.2",
|
|
115
|
+
"semantic-release": "^17.4.4",
|
|
116
|
+
"strip-ansi": "^6.0.0",
|
|
117
|
+
"ts-jest": "^27.1.3",
|
|
118
|
+
"typescript": "^4.5.5",
|
|
119
|
+
"webpack": "^5.67.0"
|
|
120
|
+
},
|
|
121
|
+
"engines": {
|
|
122
|
+
"node": ">=14.21.3"
|
|
123
|
+
},
|
|
124
|
+
"packageManager": "yarn@4.7.0",
|
|
125
|
+
"depup": {
|
|
126
|
+
"changes": {
|
|
127
|
+
"@babel/code-frame": {
|
|
128
|
+
"from": "^7.16.7",
|
|
129
|
+
"to": "^7.29.0"
|
|
130
|
+
},
|
|
131
|
+
"chalk": {
|
|
132
|
+
"from": "^4.1.2",
|
|
133
|
+
"to": "^5.6.2"
|
|
134
|
+
},
|
|
135
|
+
"chokidar": {
|
|
136
|
+
"from": "^4.0.1",
|
|
137
|
+
"to": "^5.0.0"
|
|
138
|
+
},
|
|
139
|
+
"cosmiconfig": {
|
|
140
|
+
"from": "^8.2.0",
|
|
141
|
+
"to": "^9.0.1"
|
|
142
|
+
},
|
|
143
|
+
"deepmerge": {
|
|
144
|
+
"from": "^4.2.2",
|
|
145
|
+
"to": "^4.3.1"
|
|
146
|
+
},
|
|
147
|
+
"fs-extra": {
|
|
148
|
+
"from": "^10.0.0",
|
|
149
|
+
"to": "^11.3.4"
|
|
150
|
+
},
|
|
151
|
+
"memfs": {
|
|
152
|
+
"from": "^3.4.1",
|
|
153
|
+
"to": "^4.56.11"
|
|
154
|
+
},
|
|
155
|
+
"minimatch": {
|
|
156
|
+
"from": "^3.0.4",
|
|
157
|
+
"to": "^10.2.4"
|
|
158
|
+
},
|
|
159
|
+
"node-abort-controller": {
|
|
160
|
+
"from": "^3.0.1",
|
|
161
|
+
"to": "^3.1.1"
|
|
162
|
+
},
|
|
163
|
+
"schema-utils": {
|
|
164
|
+
"from": "^3.1.1",
|
|
165
|
+
"to": "^4.3.3"
|
|
166
|
+
},
|
|
167
|
+
"semver": {
|
|
168
|
+
"from": "^7.3.5",
|
|
169
|
+
"to": "^7.7.4"
|
|
170
|
+
},
|
|
171
|
+
"tapable": {
|
|
172
|
+
"from": "^2.2.1",
|
|
173
|
+
"to": "^2.3.0"
|
|
174
|
+
}
|
|
175
|
+
},
|
|
176
|
+
"depsUpdated": 12,
|
|
177
|
+
"originalPackage": "fork-ts-checker-webpack-plugin",
|
|
178
|
+
"originalVersion": "9.1.0",
|
|
179
|
+
"processedAt": "2026-03-17T16:36:17.496Z",
|
|
180
|
+
"smokeTest": "failed"
|
|
181
|
+
}
|
|
182
|
+
}
|