@flighthq/importdiagnostics 0.2.1-next.841.373388f → 0.3.0-next.1032.e2b99fc
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/contract.d.ts +3 -0
- package/dist/contract.d.ts.map +1 -0
- package/dist/contract.js +3 -0
- package/dist/contract.js.map +1 -0
- package/dist/importDiagnosticCollector.d.ts +1 -1
- package/dist/importDiagnosticCollector.d.ts.map +1 -1
- package/dist/importDiagnosticText.d.ts +1 -1
- package/dist/importDiagnosticText.d.ts.map +1 -1
- package/dist/index.d.ts +1 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -2
- package/dist/index.js.map +1 -1
- package/package.json +6 -2
- package/src/importDiagnosticCollector.test.ts +2 -2
- package/src/importDiagnosticText.test.ts +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"contract.d.ts","sourceRoot":"","sources":["../src/contract.ts"],"names":[],"mappings":"AAAA,cAAc,6BAA6B,CAAC;AAC5C,cAAc,wBAAwB,CAAC"}
|
package/dist/contract.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"contract.js","sourceRoot":"","sources":["../src/contract.ts"],"names":[],"mappings":"AAAA,cAAc,6BAA6B,CAAC;AAC5C,cAAc,wBAAwB,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ImportDiagnostic, ImportDiagnosticSeverity } from '@flighthq/types';
|
|
1
|
+
import type { ImportDiagnostic, ImportDiagnosticSeverity } from '@flighthq/types/contract';
|
|
2
2
|
export declare function collectImportDiagnostics(run: (sink: ImportDiagnostic[]) => void): ImportDiagnostic[];
|
|
3
3
|
export declare function reportImportDiagnostic(sink: ImportDiagnostic[] | undefined, severity: ImportDiagnosticSeverity, kind: string, origin: string, detail?: Readonly<Record<string, boolean | number | string>>): void;
|
|
4
4
|
//# sourceMappingURL=importDiagnosticCollector.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"importDiagnosticCollector.d.ts","sourceRoot":"","sources":["../src/importDiagnosticCollector.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,wBAAwB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"importDiagnosticCollector.d.ts","sourceRoot":"","sources":["../src/importDiagnosticCollector.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,wBAAwB,EAAE,MAAM,0BAA0B,CAAC;AAiB3F,wBAAgB,wBAAwB,CAAC,GAAG,EAAE,CAAC,IAAI,EAAE,gBAAgB,EAAE,KAAK,IAAI,GAAG,gBAAgB,EAAE,CAIpG;AAcD,wBAAgB,sBAAsB,CACpC,IAAI,EAAE,gBAAgB,EAAE,GAAG,SAAS,EACpC,QAAQ,EAAE,wBAAwB,EAClC,IAAI,EAAE,MAAM,EACZ,MAAM,EAAE,MAAM,EACd,MAAM,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,GAAG,MAAM,GAAG,MAAM,CAAC,CAAC,GAC3D,IAAI,CAGN"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type { ImportDiagnostic } from '@flighthq/types';
|
|
1
|
+
import type { ImportDiagnostic } from '@flighthq/types/contract';
|
|
2
2
|
export declare function formatImportDiagnostic(diagnostic: Readonly<ImportDiagnostic>): string;
|
|
3
3
|
//# sourceMappingURL=importDiagnosticText.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"importDiagnosticText.d.ts","sourceRoot":"","sources":["../src/importDiagnosticText.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"importDiagnosticText.d.ts","sourceRoot":"","sources":["../src/importDiagnosticText.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AASjE,wBAAgB,sBAAsB,CAAC,UAAU,EAAE,QAAQ,CAAC,gBAAgB,CAAC,GAAG,MAAM,CAQrF"}
|
package/dist/index.d.ts
CHANGED
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,sBAAsB,EAAE,sBAAsB,EAAE,MAAM,YAAY,CAAC"}
|
package/dist/index.js
CHANGED
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,sBAAsB,EAAE,sBAAsB,EAAE,MAAM,YAAY,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flighthq/importdiagnostics",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.0-next.1032.e2b99fc",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/flighthq/flight.git",
|
|
@@ -13,6 +13,10 @@
|
|
|
13
13
|
".": {
|
|
14
14
|
"types": "./dist/index.d.ts",
|
|
15
15
|
"default": "./dist/index.js"
|
|
16
|
+
},
|
|
17
|
+
"./contract": {
|
|
18
|
+
"types": "./dist/contract.d.ts",
|
|
19
|
+
"default": "./dist/contract.js"
|
|
16
20
|
}
|
|
17
21
|
},
|
|
18
22
|
"files": [
|
|
@@ -32,7 +36,7 @@
|
|
|
32
36
|
"clean:dist": "tsx ../../scripts/clean-package-dist.ts"
|
|
33
37
|
},
|
|
34
38
|
"dependencies": {
|
|
35
|
-
"@flighthq/types": "0.
|
|
39
|
+
"@flighthq/types": "0.3.0-next.1032.e2b99fc"
|
|
36
40
|
},
|
|
37
41
|
"devDependencies": {
|
|
38
42
|
"typescript": "^5.3.0"
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { ImportDiagnostic } from '@flighthq/types';
|
|
2
|
-
import { ImportDiagnosticSeverity } from '@flighthq/types';
|
|
1
|
+
import type { ImportDiagnostic } from '@flighthq/types/contract';
|
|
2
|
+
import { ImportDiagnosticSeverity } from '@flighthq/types/contract';
|
|
3
3
|
import { describe, expect, it } from 'vitest';
|
|
4
4
|
|
|
5
5
|
import { collectImportDiagnostics, reportImportDiagnostic } from './importDiagnosticCollector';
|