@alint-js/plugin-js 0.1.0 → 0.1.1
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/dist/index.d.mts +16 -3
- package/dist/index.mjs +11 -9
- package/package.json +4 -4
package/dist/index.d.mts
CHANGED
|
@@ -705,7 +705,7 @@ interface Config$1<TIssue extends BaseIssue$1<unknown>> {
|
|
|
705
705
|
readonly abortPipeEarly?: boolean | undefined;
|
|
706
706
|
}
|
|
707
707
|
//#endregion
|
|
708
|
-
//#region ../core/dist/types-
|
|
708
|
+
//#region ../core/dist/types-DKylUrAn.d.mts
|
|
709
709
|
//#region src/config/types.d.ts
|
|
710
710
|
type ModelSize = 'large' | 'medium' | 'small';
|
|
711
711
|
interface RunnerCacheConfig {
|
|
@@ -838,11 +838,24 @@ interface ProcessorDefinition {
|
|
|
838
838
|
postprocess?: (diagnostics: DiagnosticDescriptor[], context: ProcessorPostprocessContext) => Awaitable<DiagnosticDescriptor[]>;
|
|
839
839
|
preprocess: (file: SourceFile, context: ProcessorContext) => Awaitable<ProcessedSource[]>;
|
|
840
840
|
}
|
|
841
|
+
interface ProjectFileEntry {
|
|
842
|
+
contentHash: string;
|
|
843
|
+
language: string;
|
|
844
|
+
path: string;
|
|
845
|
+
targetCount: number;
|
|
846
|
+
}
|
|
841
847
|
interface ProjectTarget {
|
|
842
|
-
files:
|
|
848
|
+
files: readonly ProjectFileEntry[];
|
|
843
849
|
kind: 'project';
|
|
844
850
|
root: string;
|
|
845
|
-
targets:
|
|
851
|
+
targets: readonly ProjectTargetEntry[];
|
|
852
|
+
}
|
|
853
|
+
interface ProjectTargetEntry {
|
|
854
|
+
filePath: string;
|
|
855
|
+
identity: string;
|
|
856
|
+
kind: string;
|
|
857
|
+
name?: string;
|
|
858
|
+
range?: SourceRange;
|
|
846
859
|
}
|
|
847
860
|
type RuleCacheConfig = boolean | {
|
|
848
861
|
level?: 'target';
|
package/dist/index.mjs
CHANGED
|
@@ -5207,17 +5207,19 @@ function createMixedLayersWithoutAbstractionRule(dependencies = defaultMixedLaye
|
|
|
5207
5207
|
*
|
|
5208
5208
|
* Triggering workflow:
|
|
5209
5209
|
*
|
|
5210
|
-
* `
|
|
5211
|
-
* -> `
|
|
5212
|
-
* ->
|
|
5213
|
-
* ->
|
|
5214
|
-
* -> `mixed-layers-without-abstraction-draft-
|
|
5215
|
-
* -> `mixed-layers-without-abstraction-
|
|
5216
|
-
* ->
|
|
5217
|
-
* -> {@link
|
|
5210
|
+
* `executeSourceSession`
|
|
5211
|
+
* -> `sourceExecution`
|
|
5212
|
+
* -> `RuleHandlers.onTargetFile`
|
|
5213
|
+
* -> {@link onTargetFile}
|
|
5214
|
+
* -> `mixed-layers-without-abstraction-draft-1`
|
|
5215
|
+
* -> `mixed-layers-without-abstraction-draft-2`
|
|
5216
|
+
* -> `mixed-layers-without-abstraction-review`
|
|
5217
|
+
* -> {@link selectReportedMixedLayerFindings}
|
|
5218
|
+
* -> {@link reportMixedLayerFindings}
|
|
5218
5219
|
*
|
|
5219
5220
|
* Upstream:
|
|
5220
|
-
* - `
|
|
5221
|
+
* - `executeSourceSession` owns source extraction, source-backed job lifetime, and
|
|
5222
|
+
* handler selection through `sourceExecution` in `packages/core/src/core/source/session.ts`
|
|
5221
5223
|
*
|
|
5222
5224
|
* Downstream:
|
|
5223
5225
|
* - {@link generateStructured} -> coverage and data-flow draft
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alint-js/plugin-js",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.1.
|
|
4
|
+
"version": "0.1.1",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": {
|
|
7
7
|
"types": "./dist/index.d.mts",
|
|
@@ -16,9 +16,9 @@
|
|
|
16
16
|
"@valibot/to-json-schema": "^1.7.1",
|
|
17
17
|
"apeira": "^0.0.7",
|
|
18
18
|
"valibot": "^1.4.2",
|
|
19
|
-
"@alint-js/
|
|
20
|
-
"@alint-js/tools-fs": "0.1.
|
|
21
|
-
"@alint-js/
|
|
19
|
+
"@alint-js/plugin": "0.1.1",
|
|
20
|
+
"@alint-js/tools-fs": "0.1.1",
|
|
21
|
+
"@alint-js/core": "0.1.1"
|
|
22
22
|
},
|
|
23
23
|
"scripts": {
|
|
24
24
|
"build": "tsdown",
|