@openpkg-ts/cli 0.6.4 → 0.7.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 +21 -216
- package/dist/index.js +178 -0
- package/package.json +16 -8
- package/dist/bin/openpkg.js +0 -990
- package/dist/shared/chunk-3s189drz.js +0 -4
- package/dist/src/index.d.ts +0 -42
- package/dist/src/index.js +0 -8
package/dist/src/index.d.ts
DELETED
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import { getExport, listExports } from "@openpkg-ts/sdk";
|
|
2
|
-
import { CategorizedBreaking } from "@openpkg-ts/spec";
|
|
3
|
-
type BreakingResult = {
|
|
4
|
-
breaking: CategorizedBreaking[];
|
|
5
|
-
count: number;
|
|
6
|
-
};
|
|
7
|
-
import { CategorizedBreaking as CategorizedBreaking2, SemverBump, SpecExportKind } from "@openpkg-ts/spec";
|
|
8
|
-
/**
|
|
9
|
-
* A changed with details about what changed
|
|
10
|
-
*/
|
|
11
|
-
interface ChangedExport {
|
|
12
|
-
id: string;
|
|
13
|
-
name: string;
|
|
14
|
-
kind: SpecExportKind;
|
|
15
|
-
description: string;
|
|
16
|
-
}
|
|
17
|
-
/**
|
|
18
|
-
* Enriched diff result with categorized changes
|
|
19
|
-
*/
|
|
20
|
-
interface DiffResult {
|
|
21
|
-
breaking: CategorizedBreaking2[];
|
|
22
|
-
added: string[];
|
|
23
|
-
removed: RemovedExport[];
|
|
24
|
-
changed: ChangedExport[];
|
|
25
|
-
docsOnly: string[];
|
|
26
|
-
summary: {
|
|
27
|
-
breakingCount: number;
|
|
28
|
-
addedCount: number;
|
|
29
|
-
removedCount: number;
|
|
30
|
-
changedCount: number;
|
|
31
|
-
docsOnlyCount: number;
|
|
32
|
-
semverBump: SemverBump;
|
|
33
|
-
semverReason: string;
|
|
34
|
-
};
|
|
35
|
-
}
|
|
36
|
-
interface RemovedExport {
|
|
37
|
-
id: string;
|
|
38
|
-
name: string;
|
|
39
|
-
kind: SpecExportKind;
|
|
40
|
-
}
|
|
41
|
-
import { FilterResult, FilterSummaryResult } from "./commands/filter";
|
|
42
|
-
export { listExports, getExport, RemovedExport, FilterSummaryResult, FilterResult, DiffResult, ChangedExport, BreakingResult };
|