Skip to content

Commit 67788c7

Browse files
ryan-williamsclaude
andcommitted
CI: flush stale ./cf-access / ./schema.sql exports from the dist branch (one publish)
npm-dist deep-merges source `exports` into the dist branch's package.json, so removed keys survive; a non-empty `exports_map` makes it drop exports whose files are missing. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DyJyzSYpRxJuL6x6NyjpG3
1 parent 76c23b5 commit 67788c7

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

‎.github/workflows/ci.yml‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,10 @@ jobs:
4949
# file list, which silently drops any migration added after it;
5050
# `verify-dist` fails the publish if the shipped set diverges from source.
5151
extra_files: migrations,README.md
52+
# One publish only: the dist branch's package.json still carries
53+
# `./cf-access` and `./schema.sql` (npm-dist deep-merges `exports`), and
54+
# a non-empty exports_map makes it drop entries whose files are gone.
55+
exports_map: '{}'
5256

5357
# Install the published branch exactly as a consumer would, and use it.
5458
# The `test` job runs against `src/`, which says nothing about whether the

0 commit comments

Comments
 (0)