Skip to content

Commit 50cc9f9

Browse files
thymikeeclaude
andcommitted
fix(scripts): keep the notices format owner's exports to its consumers
The empty-bundle notice is internal to the renderer, and the hand-written size-report-package-notices.d.mts joins the existing size-report-package.d.mts Fallow entry: its consumers resolve it through tsc, not an import edge. Co-Authored-By: Claude Opus 5.5 <[email protected]>
1 parent 96505ce commit 50cc9f9

3 files changed

Lines changed: 2 additions & 3 deletions

File tree

‎.fallowrc.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@
7575
// A hand-written type surface for a plain-Node .mjs the typechecked program (and Fallow's
7676
// graph) cannot import; its only consumer is the .mjs's real importers, resolved by tsc, not
7777
// by an import edge. Same shape as the help-conformance declaration files above.
78-
"scripts/size-report-package.d.mts"
78+
"scripts/size-report-package*.d.mts"
7979
],
8080
"dynamicallyLoaded": [
8181
"packages/daemon/src/execution/interaction/index.ts",

‎scripts/size-report-package-notices.d.mts‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
// Type surface for the plain-Node notices format module; keep it in step with its exports.
2-
export const NO_BUNDLED_DEPENDENCIES_NOTICE: string;
32
export type NoticeDependency = Readonly<{
43
name: string;
54
version: string;

‎scripts/size-report-package-notices.mjs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// The THIRD_PARTY_NOTICES.txt format: the build renders it and the pack gate reads it. It imports
22
// nothing, so the standalone size-report copy runs it without the repository's dependencies.
33

4-
export const NO_BUNDLED_DEPENDENCIES_NOTICE = 'No third-party dependencies are bundled.\n';
4+
const NO_BUNDLED_DEPENDENCIES_NOTICE = 'No third-party dependencies are bundled.\n';
55

66
/**
77
* The heading that opens a numbered license section. Every attribution is written before the first

0 commit comments

Comments
 (0)