Skip to content

fix(tools-git): fix exports key not being prefixed with .#4171

Merged
tido64 merged 1 commit into
mainfrom
tido/tools-git/fix-exports
May 20, 2026
Merged

fix(tools-git): fix exports key not being prefixed with .#4171
tido64 merged 1 commit into
mainfrom
tido/tools-git/fix-exports

Conversation

@tido64
Copy link
Copy Markdown
Member

@tido64 tido64 commented May 20, 2026

Description

npm really should've caught this but it apparently does zero checks.

The actual error message:
Error [ERR_INVALID_PACKAGE_CONFIG]: Invalid package config /~/node_modules/@rnx-kit/tools-git/package.json while importing file:///~/scripts/affected.mts. "exports" cannot contain some keys starting with '.' and some not. The exports object must either be an object of package subpath keys or an object of main entry condition name keys only.

Test plan

n/a

@tido64 tido64 enabled auto-merge (squash) May 20, 2026 17:55
@tido64 tido64 merged commit def052e into main May 20, 2026
15 checks passed
@tido64 tido64 deleted the tido/tools-git/fix-exports branch May 20, 2026 18:00
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.

2 participants