Skip to content

docs: Add note on relative path prefix for npm publish#9140

Merged
wraithgar merged 1 commit intonpm:latestfrom
pydsigner:patch-1
Mar 23, 2026
Merged

docs: Add note on relative path prefix for npm publish#9140
wraithgar merged 1 commit intonpm:latestfrom
pydsigner:patch-1

Conversation

@pydsigner
Copy link
Contributor

Clarify requirements for relative paths in npm publish.

This adds clarification on relative path support directly to the npm publish documentation. Currently, this documentation only alludes to package spec in the "see also" section, leaving it unclear that the unprefixed relative paths that are supported by most other tools will fail here. Enhancing this documentation is important since unprefixed relative paths result in surprising error messages that do not hint at the appropriate solution.

References

Related to #2796

Clarify requirements for relative paths in npm publish.
@pydsigner pydsigner requested a review from a team as a code owner March 22, 2026 04:30
@wraithgar wraithgar merged commit d1ee8a5 into npm:latest Mar 23, 2026
8 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.

2 participants