@mark1russell7/api-report 0.0.0-bootstrap.0 → 0.1.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/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Mark Russell
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -1,3 +1,87 @@
1
1
  # @mark1russell7/api-report
2
2
 
3
- This version is a placeholder. The release workflow of https://github.com/mark1russell7/template publishes the real versions. Use a later version.
3
+ This package keeps a report of the public API of each package of a workspace. The report comes from the built `.d.ts` files. A check in CI fails when a report differs from the build. Thus each change of the public API shows in the diff of the pull request.
4
+
5
+ ## What a report has
6
+
7
+ Each public package has its report in `test/api/public-api.txt`. The report has these parts:
8
+
9
+ - The names of each entry of the `exports` field, with the declaration file of each name. A subpath pattern (`./*`) gives one entry for each file that it matches.
10
+ - The ambient declarations (`declare module`, `declare global`, `export as namespace`) of each file that an entry reaches.
11
+ - The commands of the `bin` field.
12
+ - The declaration of each name, without comments and without private members.
13
+
14
+ The tool reads the fields of `publishConfig` as pnpm publishes them. Thus a source package (`main` is `src/index.ts`) gets the report of its built entries. The text is the same on Windows and on Linux. A change of a comment or of a private field does not change the report.
15
+
16
+ TypeScript 7 has no stable compiler API. Thus the tool reads the declaration files as text. It knows the output of `tsc` and of `tsdown`. An unknown form of statement gives an error, not a wrong report.
17
+
18
+ ## Use
19
+
20
+ Install the package:
21
+
22
+ ```sh
23
+ pnpm add -D @mark1russell7/api-report
24
+ ```
25
+
26
+ Add the script `"check:api": "api-report check"` to the root `package.json`. The shared CI of the template starts `check:api` after `build` (`CI.md`).
27
+
28
+ Write the reports the first time, and after each change of the API that you accept:
29
+
30
+ ```sh
31
+ pnpm -r build
32
+ pnpm exec api-report update
33
+ git diff -- 'packages/*/test/api/public-api.txt'
34
+ ```
35
+
36
+ Then commit the reports with the change. Put the pathspec of `git diff` in quotes, so that git and not the shell reads the `*`.
37
+
38
+ ## Commands
39
+
40
+ | Command | What it does |
41
+ |---|---|
42
+ | `api-report check` | It compares each report with the built `.d.ts` files. It shows the diff of each changed report. The exit code is 1 when a report differs, is missing or has an error. |
43
+ | `api-report update` | It writes each report that is not current. It removes the report of a package that became private. |
44
+
45
+ In GitHub Actions, `check` also writes the diff to the summary of the run (`GITHUB_STEP_SUMMARY`).
46
+
47
+ | Option | What it sets |
48
+ |---|---|
49
+ | `--root <folder>` | The root of the repository. The default is the current folder. |
50
+ | `--packages <glob>` | A glob of package folders. Use it again for more globs. |
51
+ | `--report <path>` | The path of the report in each package folder. |
52
+ | `--include-private` | Each private package also gets a report. |
53
+ | `--no-publish-config` | The tool reads the fields of `package.json` without `publishConfig`. |
54
+ | `<package folder>` | Only these packages. A named private package also gets a report. |
55
+
56
+ ## Configuration
57
+
58
+ The field `apiReport` of the root `package.json` sets the defaults. The options of the command replace them.
59
+
60
+ | Field | Default | What it sets |
61
+ |---|---|---|
62
+ | `packages` | the `packages` list of `pnpm-workspace.yaml`, or the `workspaces` field | The globs of the package folders. A glob that starts with `!` removes folders. |
63
+ | `report` | `test/api/public-api.txt` | The path of the report in each package folder. |
64
+ | `includePrivate` | `false` | Each private package also gets a report. |
65
+ | `publishConfig` | `true` | The fields of `publishConfig` replace the fields of the source. |
66
+ | `tool` | `api-report` | The command that the header of each report names. |
67
+
68
+ A glob knows `*` (a part of one folder name), `?`, `**` (zero or more folders) and `{a,b}`. A repository with no workspace is one package: the root.
69
+
70
+ ```json
71
+ {
72
+ "apiReport": {
73
+ "packages": ["packages/*", "apps/*", "!packages/internal-*"]
74
+ }
75
+ }
76
+ ```
77
+
78
+ ## Library
79
+
80
+ The package also exports the functions of the tool:
81
+
82
+ - `runReports(options)` compares or writes the reports, and gives the result of each package. `runCli(args, io)` is the bin.
83
+ - `packageReport(folder)` and `apiReport(name, root, entries)` give the text of one report.
84
+ - `entriesOf(manifest, folder)`, `publishedManifest(manifest)` and `binsOf(manifest)` read a `package.json`.
85
+ - `parseDeclarations(text)` and `statementsOf(text)` read a declaration file.
86
+ - `packageFolders(root, globs)`, `globFolders(root, glob)`, `globToRegExp(glob)` and `workspaceGlobs(root)` find the packages.
87
+ - `diffLines(before, after)` and `unifiedDiff(before, after)` give a line diff.
package/build/cli.d.ts ADDED
@@ -0,0 +1 @@
1
+ export {}
package/build/cli.js ADDED
@@ -0,0 +1,17 @@
1
+ #!/usr/bin/env node
2
+ import { a as runCli } from "./run-Crc3nL8C.js";
3
+ // src/cli.ts
4
+ try {
5
+ process.exitCode = runCli(process.argv.slice(2), {
6
+ cwd: process.cwd(),
7
+ env: process.env,
8
+ stdout: (text) => process.stdout.write(text),
9
+ stderr: (text) => process.stderr.write(text)
10
+ });
11
+ } catch (error) {
12
+ process.stderr.write(`api-report: ${error instanceof Error ? error.stack ?? error.message : String(error)}\n`);
13
+ process.exitCode = 1;
14
+ }
15
+ export {};
16
+
17
+ //# sourceMappingURL=cli.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cli.js","names":[],"sources":["../src/cli.ts"],"sourcesContent":["#!/usr/bin/env node\n// The bin `api-report`. The work is in run.ts, so a test can start the same CLI in a fixture folder.\nimport { runCli } from \"./run.ts\";\n\ntry {\n process.exitCode = runCli(process.argv.slice(2), {\n cwd: process.cwd(),\n env: process.env,\n stdout: (text) => process.stdout.write(text),\n stderr: (text) => process.stderr.write(text),\n });\n} catch (error) {\n process.stderr.write(`api-report: ${error instanceof Error ? (error.stack ?? error.message) : String(error)}\\n`);\n process.exitCode = 1;\n}\n"],"mappings":";;;AAIA,IAAI;CACF,QAAQ,WAAW,OAAO,QAAQ,KAAK,MAAM,CAAC,GAAG;EAC/C,KAAK,QAAQ,IAAI;EACjB,KAAK,QAAQ;EACb,SAAS,SAAS,QAAQ,OAAO,MAAM,IAAI;EAC3C,SAAS,SAAS,QAAQ,OAAO,MAAM,IAAI;CAC7C,CAAC;AACH,SAAS,OAAO;CACd,QAAQ,OAAO,MAAM,eAAe,iBAAiB,QAAS,MAAM,SAAS,MAAM,UAAW,OAAO,KAAK,EAAE,GAAG;CAC/G,QAAQ,WAAW;AACrB"}
@@ -0,0 +1,265 @@
1
+ /**
2
+ * The reader of the text of a declaration file. TypeScript 7 has no stable compiler API, so this
3
+ * module reads the `.d.ts` files as text. The declaration emit of `tsc` and of `tsdown` is regular,
4
+ * and an unknown form of statement throws.
5
+ */
6
+ /** An import of a declaration file, by its local name. */
7
+ interface ImportBinding {
8
+ /** The module specifier. */
9
+ readonly from: string;
10
+ /** The imported name, or `default`, `export=` or `*`. */
11
+ readonly imported: string;
12
+ readonly typeOnly: boolean;
13
+ }
14
+ /** A name that a module exports from its own scope. */
15
+ interface LocalExport {
16
+ /** The local name of the exported name. */
17
+ readonly local: string;
18
+ readonly typeOnly: boolean;
19
+ }
20
+ /** A part of an `export { a as b } from "x"` statement. */
21
+ interface Reexport {
22
+ readonly imported: string;
23
+ readonly exported: string;
24
+ readonly typeOnly: boolean;
25
+ readonly from: string;
26
+ }
27
+ /** The statements of one declaration file, sorted by their kind. */
28
+ interface DeclarationInfo {
29
+ /** The declarations of the module by name, exported or not. */
30
+ readonly locals: Map<string, string[]>;
31
+ /** The names that the module exports from its own scope, by the exported name. */
32
+ readonly exported: Map<string, LocalExport>;
33
+ /** The `export { a as b } from "x"` parts. */
34
+ readonly reexports: Reexport[];
35
+ /** The `export * from "x"` statements. */
36
+ readonly stars: {
37
+ readonly from: string;
38
+ readonly typeOnly: boolean;
39
+ }[];
40
+ /** The `export * as name from "x"` statements. */
41
+ readonly namespaces: {
42
+ readonly name: string;
43
+ readonly from: string;
44
+ readonly typeOnly: boolean;
45
+ }[];
46
+ /** The imports by local name. */
47
+ readonly imports: Map<string, ImportBinding>;
48
+ /** The ambient declarations by label: `declare module "x"`, `declare global`, `export as namespace X`. */
49
+ readonly ambient: Map<string, string[]>;
50
+ /** Each module specifier that the file names: the files that it reaches. */
51
+ readonly references: Set<string>;
52
+ }
53
+ /**
54
+ * This function splits the text of a declaration file into its top-level statements. It removes the
55
+ * comments, the blank lines and the spaces at the ends of the lines.
56
+ */
57
+ export declare function statementsOf(source: string): string[];
58
+ /**
59
+ * This function sorts the statements of the text of one declaration file by their kind. `file`
60
+ * names the file in the errors. An unknown form of statement throws.
61
+ */
62
+ export declare function parseDeclarations(source: string, file?: string): DeclarationInfo;
63
+ /** A line diff (the algorithm of Myers) and its text in the unified format of `diff -u` and git. */
64
+ /** An operation of a line diff: a kept line, a removed line or an added line. */
65
+ interface DiffLine {
66
+ readonly kind: " " | "-" | "+";
67
+ readonly text: string;
68
+ }
69
+ /** This function gives the shortest edit script that changes the lines `before` into the lines `after`. */
70
+ export declare function diffLines(before: readonly string[], after: readonly string[]): DiffLine[];
71
+ /** The options of a unified diff. */
72
+ interface UnifiedDiffOptions {
73
+ /** The number of kept lines around each change. The default is 3. */
74
+ readonly context?: number;
75
+ /** The name of the file before the change, after `---`. */
76
+ readonly from?: string;
77
+ /** The name of the file after the change, after `+++`. */
78
+ readonly to?: string;
79
+ }
80
+ /**
81
+ * This function gives the change from the text `before` to the text `after` in the unified format.
82
+ * The result is an empty string when the texts are the same.
83
+ */
84
+ export declare function unifiedDiff(before: string, after: string, options?: UnifiedDiffOptions): string;
85
+ /** The fields of a `package.json` file that the report reads. */
86
+ interface Manifest {
87
+ readonly name?: string;
88
+ readonly private?: boolean;
89
+ readonly exports?: unknown;
90
+ readonly imports?: unknown;
91
+ readonly types?: unknown;
92
+ readonly typings?: unknown;
93
+ readonly main?: unknown;
94
+ readonly bin?: unknown;
95
+ readonly publishConfig?: Readonly<Record<string, unknown>>;
96
+ readonly [field: string]: unknown;
97
+ }
98
+ /** An entry of a package: a subpath and its declaration file, or a note when it has none. */
99
+ interface Entry {
100
+ /** The subpath of the `exports` field, for example `.` or `./client`. */
101
+ readonly subpath: string;
102
+ /** The declaration file, relative to the package folder, for example `./build/index.d.ts`. */
103
+ readonly types?: string;
104
+ /** This text tells why the entry has no declaration file. */
105
+ readonly note?: string;
106
+ }
107
+ /** A command of the `bin` field of a package. */
108
+ interface Bin {
109
+ readonly name: string;
110
+ readonly path: string;
111
+ }
112
+ /**
113
+ * The fields of `publishConfig` that pnpm puts in the published `package.json`. A source package of
114
+ * the template has `main: ./src/index.ts`, and its `publishConfig` gives the built entries.
115
+ */
116
+ export declare const PUBLISH_CONFIG_FIELDS: readonly string[];
117
+ /** The order of the code units: the same on each machine, with no locale. */
118
+ export declare const byCode: (a: string, b: string) => number;
119
+ /** This function gives the manifest as pnpm publishes it: the fields of `publishConfig` replace the fields of the source. */
120
+ export declare function publishedManifest(manifest: Manifest): Manifest;
121
+ /**
122
+ * This function gives the declaration file of a JavaScript or declaration path: `a.js` gives
123
+ * `a.d.ts`, and `a.mjs` gives `a.d.mts`. The result is undefined for a file of another kind.
124
+ */
125
+ export declare function declarationPathOf(path: string): string | undefined;
126
+ /** This function matches `subpath` with the key `pattern` of an `exports` or `imports` field. It gives the part of the `*`. */
127
+ export declare function patternMatch(pattern: string, subpath: string): string | undefined;
128
+ /**
129
+ * This function gives the target of an `exports` value for a TypeScript consumer: the first known
130
+ * condition, in the order of the object. The result is `null` for an excluded subpath, and undefined
131
+ * when no condition fits.
132
+ */
133
+ export declare function targetOf(value: unknown): string | null | undefined;
134
+ /**
135
+ * This function gives the entries of a package, in the order of the `exports` field. The
136
+ * `./package.json` entry is not part of the API. A subpath pattern (`./*`) gives one entry for each
137
+ * declaration file that it matches. `root` is the package folder.
138
+ */
139
+ export declare function entriesOf(manifest: Manifest, root: string): Entry[];
140
+ /** This function gives the commands of the `bin` field, in name order. A string `bin` has the name of the package without its scope. */
141
+ export declare function binsOf(manifest: Manifest): Bin[];
142
+ /** The command that the header of a report names, when the options give no other command. */
143
+ export declare const DEFAULT_TOOL = "api-report";
144
+ /** The options of a report. */
145
+ interface ReportOptions {
146
+ /** The manifest of the package: the report reads its `imports` and `bin` fields. */
147
+ readonly manifest?: Manifest;
148
+ /** The command that the header names, for example `api-report` or `node scripts/api-report.mjs`. */
149
+ readonly tool?: string;
150
+ }
151
+ /** The number of lines of the header of a report. */
152
+ export declare const HEADER_LINES = 5;
153
+ /**
154
+ * This function gives the report of the public API of a package. `entries` gives the subpath and
155
+ * the declaration file of each entry, relative to `root`. The report has the exported names of each
156
+ * entry, the bins of the manifest, and then the declaration of each name.
157
+ */
158
+ export declare function apiReport(packageName: string, root: string, entries: readonly Entry[], options?: ReportOptions): string;
159
+ /** The options of the report of a package folder. */
160
+ interface PackageReportOptions {
161
+ /** The command that the header names. */
162
+ readonly tool?: string;
163
+ /** When true (the default), the fields of `publishConfig` replace the fields of the source, as pnpm publishes them. */
164
+ readonly publishConfig?: boolean;
165
+ }
166
+ /** This function gives the report of the package in the folder `dir`. */
167
+ export declare function packageReport(dir: string, options?: PackageReportOptions): string;
168
+ /** The path of the report in a package folder, when the configuration gives no other path. */
169
+ export declare const REPORT_FILE = "test/api/public-api.txt";
170
+ /** The configuration of the reports: the field `apiReport` of the root `package.json`, or the options of the CLI. */
171
+ interface ApiReportConfig {
172
+ /** The globs of the package folders, relative to the root. A glob that starts with `!` removes folders. The default is the globs of the workspace. */
173
+ readonly packages?: readonly string[];
174
+ /** The path of the report in each package folder. The default is `test/api/public-api.txt`. */
175
+ readonly report?: string;
176
+ /** When true, each private package also gets a report. The default is false. */
177
+ readonly includePrivate?: boolean;
178
+ /** When false, the report reads the fields of `package.json` without `publishConfig`. The default is true. */
179
+ readonly publishConfig?: boolean;
180
+ /** The command that the header of each report names. The default is `api-report`. */
181
+ readonly tool?: string;
182
+ }
183
+ /** The command: `check` compares the reports, and `update` writes them. */
184
+ type Mode = "check" | "update";
185
+ /** The options of `runReports`. */
186
+ interface RunOptions extends ApiReportConfig {
187
+ readonly mode: Mode;
188
+ /** The root of the repository. */
189
+ readonly root: string;
190
+ /** The package folders to examine. They replace the globs, and a named private package gets a report. */
191
+ readonly folders?: readonly string[];
192
+ }
193
+ /** The result of one package. */
194
+ interface PackageResult {
195
+ /** The package folder, relative to the root, with `/`. */
196
+ readonly folder: string;
197
+ /** The report file, relative to the root, with `/`. */
198
+ readonly file: string;
199
+ /**
200
+ * `same`: the report is current. `changed` and `new`: the report differs or is missing (`check`),
201
+ * or the command wrote it (`update`). `stale`: a private package has a report. `private`: the
202
+ * package has no report. `error`: the command did not make the report.
203
+ */
204
+ readonly status: "same" | "changed" | "new" | "stale" | "private" | "error";
205
+ /** The change from the committed report to the new report, in the unified format. */
206
+ readonly diff?: string;
207
+ readonly error?: string;
208
+ }
209
+ /** The result of `runReports`. */
210
+ interface RunResult {
211
+ readonly mode: Mode;
212
+ readonly packages: readonly PackageResult[];
213
+ /** True when the command fails: an error, or (`check` only) a report that is not current. */
214
+ readonly failed: boolean;
215
+ }
216
+ /**
217
+ * This function reads the field `apiReport` of the `package.json` file at `root`. The result is an
218
+ * empty configuration when the field does not exist.
219
+ *
220
+ * @throws Error when the field is not an object, or a value has the wrong type
221
+ */
222
+ export declare function readConfig(root: string): ApiReportConfig;
223
+ /** This function compares (`check`) or writes (`update`) the report of each package. It writes nothing in `check` mode. */
224
+ export declare function runReports(options: RunOptions): RunResult;
225
+ /** This function gives the text of a result for a terminal or a CI log. */
226
+ export declare function formatResult(result: RunResult, tool?: string): string;
227
+ /** This function gives the result as Markdown for the summary of a GitHub Actions run. It gives an empty string when all reports are current. */
228
+ export declare function summaryMarkdown(result: RunResult): string;
229
+ /** The input and output of `runCli`. */
230
+ interface CliIo {
231
+ readonly cwd: string;
232
+ readonly env: Readonly<Record<string, string | undefined>>;
233
+ readonly stdout: (text: string) => void;
234
+ readonly stderr: (text: string) => void;
235
+ }
236
+ /** The help text of the bin. */
237
+ export declare const USAGE: string;
238
+ /** This function starts the bin with the arguments `args`, and gives its exit code. */
239
+ export declare function runCli(args: readonly string[], io: CliIo): number;
240
+ /**
241
+ * This function gives a regular expression for a glob of `/` paths. `*` matches a part of one path
242
+ * segment, `?` matches one character, `**` matches zero or more segments, and `{a,b}` matches one of
243
+ * its parts. The function escapes each other special character.
244
+ */
245
+ export declare function globToRegExp(glob: string): RegExp;
246
+ /**
247
+ * This function gives the folders under `root` that a glob names, as `/` paths relative to `root`,
248
+ * in the order of the code units. It does not go into `node_modules` or a folder that starts with `.`.
249
+ */
250
+ export declare function globFolders(root: string, glob: string): string[];
251
+ /**
252
+ * This function gives the globs of the workspace at `root`: the `packages` list of
253
+ * `pnpm-workspace.yaml`, then the `workspaces` field of `package.json`. The result is undefined when
254
+ * the repository has no workspace.
255
+ */
256
+ export declare function workspaceGlobs(root: string): string[] | undefined;
257
+ /**
258
+ * This function gives the package folders of the repository at `root`: the folders of the globs
259
+ * that have a `package.json` file. A glob that starts with `!` removes folders. Without globs, the
260
+ * function reads the globs of the workspace, and a repository with no workspace is one package.
261
+ * The result has absolute paths, in the order of the code units.
262
+ */
263
+ export declare function packageFolders(root: string, globs?: readonly string[] | undefined): string[];
264
+ export type { ApiReportConfig, Bin, CliIo, DeclarationInfo, DiffLine, Entry, ImportBinding, LocalExport, Manifest, Mode, PackageReportOptions, PackageResult, Reexport, ReportOptions, RunOptions, RunResult, UnifiedDiffOptions };
265
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","names":[],"sources":["../src/declarations.ts","../src/diff.ts","../src/entries.ts","../src/report.ts","../src/run.ts","../src/workspace.ts"],"mappings":";;;;;;UAOiB;;WAEN;;WAEA;WACA;;;UAIM;;WAEN;WACA;;;UAIM;WACN;WACA;WACA;WACA;;;UAIM;;WAEN,QAAQ;;WAER,UAAU,YAAY;;WAEtB,WAAW;;WAEX;aAAkB;aAAuB;;;WAEzC;aAAuB;aAAuB;aAAuB;;;WAErE,SAAS,YAAY;;WAErB,SAAS;;WAET,YAAY;;;;;;wBAYP,aAAa;;;;;wBAiJb,kBAAkB,gBAAgB,gBAAkB;;;UCzMnD;WACN;WACA;;;wBAOK,UAAU,2BAA2B,2BAA2B;;UAoE/D;;WAEN;;WAEA;;WAEA;;;;;;wBAOK,YAAY,gBAAgB,eAAe,UAAS;;UCrFnD;WACN;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA,gBAAgB,SAAS;;;;UAKnB;;WAEN;;WAEA;;WAEA;;;UAIM;WACN;WACA;;;;;;qBAUE;;qBAGA,SAAU,WAAW;;wBAMlB,kBAAkB,UAAU,WAAW;;;;;wBAYvC,kBAAkB;;wBAQlB,aAAa,iBAAiB;;;;;;wBAc9B,SAAS;;;;;;wBAkDT,UAAU,UAAU,UAAU,eAAe;;wBAsD7C,OAAO,UAAU,WAAW;;qBC7K/B;;UAGI;;WAEN,WAAW;;WAEX;;;qBAiJE;;;;;;wBAOG,UAAU,qBAAqB,cAAc,kBAAkB,SAAS,UAAS;;UA8DhF;;WAEN;;WAEA;;;wBAIK,cAAc,aAAa,UAAS;;qBC3OvC;;UAGI;;WAEN;;WAEA;;WAEA;;WAEA;;WAEA;;;KAIC;;UAGK,mBAAmB;WACzB,MAAM;;WAEN;;WAEA;;;UAIM;;WAEN;;WAEA;;;;;;WAMA;;WAEA;WACA;;;UAIM;WACN,MAAM;WACN,mBAAmB;;WAEnB;;;;;;;;wBASK,WAAW,eAAe;;wBAsC1B,WAAW,SAAS,aAAa;;wBAuEjC,aAAa,QAAQ,WAAW;;wBAyBhC,gBAAgB,QAAQ;;UAWvB;WACN;WACA,KAAK,SAAS;WACd,SAAS;WACT,SAAS;;;qBAIP;;wBAmBG,OAAO,yBAAyB,IAAI;;;;;;wBCnOpC,aAAa,eAAe;;;;;wBA+C5B,YAAY,cAAc;;;;;;wBA8B1B,eAAe;;;;;;;wBAwCf,eAAe,cAAc"}
package/build/index.js ADDED
@@ -0,0 +1 @@
1
+ export { f as DEFAULT_TOOL, p as HEADER_LINES, g as PUBLISH_CONFIG_FIELDS, t as REPORT_FILE, n as USAGE, m as apiReport, _ as binsOf, v as byCode, y as declarationPathOf, w as diffLines, b as entriesOf, r as formatResult, c as globFolders, l as globToRegExp, u as packageFolders, h as packageReport, E as parseDeclarations, x as patternMatch, S as publishedManifest, i as readConfig, a as runCli, o as runReports, D as statementsOf, s as summaryMarkdown, C as targetOf, T as unifiedDiff, d as workspaceGlobs } from "./run-Crc3nL8C.js";