Skip to content

[CU-123vqc2bhet] Add files field so pnpm 12 git installs keep build output - #1

Merged
billouboq merged 1 commit into
masterfrom
CU-123vqc2bhet/files-field
Sep 23, 2026
Merged

billouboq merged 1 commit into
masterfrom
CU-123vqc2bhet/files-field

Conversation

@billouboq

Copy link
Copy Markdown

Summary

Add a files field (build, src/index.tsx) to package.json.

pnpm 12 packs a prepared git dependency using the repo's .gitignore when no files field exists. .gitignore lists /build, so only main (build/index.js) survives, and consumers fail on ./katex-script / ./katex-style (beedeez-main web builds: Module not found).

ClickUp

https://app.clickup.com/t/123vqc2bhet

Test plan

Installed as a git dependency in a scratch project:

  • pnpm 12.5.1 @ 7f7bf49 (current master): build/ = index.js only.
  • pnpm 12.5.1 @ this branch: all 9 build files (index, katex-script, katex-style × .js/.d.ts/.js.map).
  • pnpm 10.34.5 @ this branch: all 9 build files (no regression on the current toolchain).

Follow-up in beedeez-main: bump the react-native-katex commit and its allowBuilds depPath key.

🤖 Generated with Claude Code

…utput

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@billouboq
billouboq merged commit 75c9449 into master Sep 23, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant