@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.
@@ -1,4 +0,0 @@
1
- import { createRequire } from "node:module";
2
- var __require = /* @__PURE__ */ createRequire(import.meta.url);
3
-
4
- export { __require };
@@ -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 };
package/dist/src/index.js DELETED
@@ -1,8 +0,0 @@
1
- import"../shared/chunk-3s189drz.js";
2
-
3
- // src/index.ts
4
- import { getExport, listExports } from "@openpkg-ts/sdk";
5
- export {
6
- listExports,
7
- getExport
8
- };