ts-checker-rspack-plugin 1.7.2 → 1.9.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/README.md +2 -0
- package/lib/files-match.d.ts +5 -0
- package/lib/getDependenciesWorker.js +13 -16
- package/lib/getIssuesWorker.js +13 -16
- package/lib/index.js +2687 -1092
- package/lib/plugin.d.ts +2 -2
- package/lib/typescript/type-script-go-runner.d.ts +1 -1
- package/package.json +8 -6
package/lib/plugin.d.ts
CHANGED
|
@@ -17,7 +17,7 @@ declare class TsCheckerRspackPlugin {
|
|
|
17
17
|
private readonly options;
|
|
18
18
|
constructor(options?: TsCheckerRspackPluginOptions);
|
|
19
19
|
static getCompilerHooks(compiler: rspack.Compiler): {
|
|
20
|
-
start: import("@rspack/lite-tapable", { with: { "resolution-mode": "import" } }).AsyncSeriesWaterfallHook<[import("./files-change").FilesChange, rspack.Compilation], import("./files-change").FilesChange, {
|
|
20
|
+
start: import("@rspack/lite-tapable", { with: { "resolution-mode": "import" } }).AsyncSeriesWaterfallHook<[import("./files-change.js").FilesChange, rspack.Compilation], import("./files-change.js").FilesChange, {
|
|
21
21
|
_UnsetAdditionalOptions: true;
|
|
22
22
|
}>;
|
|
23
23
|
waiting: import("@rspack/lite-tapable", { with: { "resolution-mode": "import" } }).SyncHook<[rspack.Compilation], void, {
|
|
@@ -29,7 +29,7 @@ declare class TsCheckerRspackPlugin {
|
|
|
29
29
|
error: import("@rspack/lite-tapable", { with: { "resolution-mode": "import" } }).SyncHook<[unknown, rspack.Compilation], void, {
|
|
30
30
|
_UnsetAdditionalOptions: true;
|
|
31
31
|
}>;
|
|
32
|
-
issues: import("@rspack/lite-tapable", { with: { "resolution-mode": "import" } }).SyncWaterfallHook<[import("./issue/index.js").Issue[], rspack.Compilation | undefined], import("./issue").Issue[], {
|
|
32
|
+
issues: import("@rspack/lite-tapable", { with: { "resolution-mode": "import" } }).SyncWaterfallHook<[import("./issue/index.js").Issue[], rspack.Compilation | undefined], import("./issue/index.js").Issue[], {
|
|
33
33
|
_UnsetAdditionalOptions: true;
|
|
34
34
|
}>;
|
|
35
35
|
};
|
|
@@ -18,6 +18,6 @@ declare function parseTypeScriptGoIssues(output: string, config: TypeScriptWorke
|
|
|
18
18
|
declare function createTypeScriptGoExitIssues(output: string, signal: NodeJS.Signals | null, config: TypeScriptWorkerConfig, defaultSeverity?: IssueDefaultSeverity): Issue[];
|
|
19
19
|
declare function isTypeScriptGoIssue(issue: Issue): boolean;
|
|
20
20
|
declare function isTypeScriptGoStatsError(error: unknown): boolean;
|
|
21
|
-
declare function runTypeScriptGo(config: TypeScriptWorkerConfig, logger: Pick<Logger, 'error'>, defaultSeverity?: IssueDefaultSeverity, signal?: AbortSignal, emittedFiles?: Map<string, number>): Promise<Issue[]>;
|
|
21
|
+
declare function runTypeScriptGo(config: TypeScriptWorkerConfig, logger: Pick<Logger, 'error'>, defaultSeverity?: IssueDefaultSeverity, signal?: AbortSignal, emittedFiles?: Map<string, number>, dependencies?: FilesMatch | Promise<FilesMatch | undefined>): Promise<Issue[]>;
|
|
22
22
|
declare function getTypeScriptGoDependencies(config: TypeScriptWorkerConfig): Promise<FilesMatch>;
|
|
23
23
|
export { createTypeScriptGoArgs, createTypeScriptGoExitIssues, getTypeScriptGoDependencies, getTypeScriptGoErrorCount, isTypeScriptGoIssue, isTypeScriptGoStatsError, parseTypeScriptGoIssues, resolveTypeScriptGoExecutable, resolveTypeScriptGoBinPath, resolveTypeScriptGoPackageJsonPath, runTypeScriptGo, shouldRefreshTypeScriptGoDependencies, toComparisonPath, };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ts-checker-rspack-plugin",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.9.0",
|
|
4
4
|
"description": "Runs typescript type checker and linter on separate process.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"rspack",
|
|
@@ -25,23 +25,25 @@
|
|
|
25
25
|
"dependencies": {
|
|
26
26
|
"@rspack/lite-tapable": "^1.3.0",
|
|
27
27
|
"chokidar": "^4.0.3",
|
|
28
|
-
"memfs": "^4.80.
|
|
28
|
+
"memfs": "^4.80.1",
|
|
29
29
|
"picocolors": "^1.1.1"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
32
|
"@babel/code-frame": "^7.29.7",
|
|
33
|
-
"@rspack/core": "^2.
|
|
33
|
+
"@rspack/core": "^2.3.3",
|
|
34
34
|
"@rstackjs/test-utils": "^1.0.0",
|
|
35
35
|
"@types/babel__code-frame": "^7.27.0",
|
|
36
36
|
"@types/is-glob": "^4.0.4",
|
|
37
37
|
"@types/node": "^24.19.2",
|
|
38
38
|
"@typescript/native-preview": "7.0.0-dev.20260707.2",
|
|
39
39
|
"cross-env": "^10.1.0",
|
|
40
|
+
"get-tsconfig": "4.14.3",
|
|
40
41
|
"is-glob": "^4.0.3",
|
|
41
|
-
"minimatch": "^
|
|
42
|
-
"rstack": "^0.
|
|
42
|
+
"minimatch": "^11.0.0",
|
|
43
|
+
"rstack": "^0.9.5",
|
|
43
44
|
"strip-ansi": "^7.2.0",
|
|
44
|
-
"typescript": "^6.0.3"
|
|
45
|
+
"typescript": "^6.0.3",
|
|
46
|
+
"typescript-7-1": "npm:typescript@7.1.0-dev.20261121.1"
|
|
45
47
|
},
|
|
46
48
|
"peerDependencies": {
|
|
47
49
|
"@rspack/core": "^1.0.0 || ^2.0.0",
|