Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs(package.json): add brief section on exports, link to Node.js docs #7783

Merged
merged 1 commit into from
Sep 17, 2024

Conversation

wheresrhys
Copy link
Contributor

The package.json docs make no reference to the exports property, which seems like a huge omission

This PR copies a little text from the node.js docs and links to them - not sure if it's a good solution, but it's a start

@wheresrhys wheresrhys requested a review from a team as a code owner September 17, 2024 17:31
@wraithgar
Copy link
Member

This is a good approach: a boilerplate intro, and a link to the actual docs so that we don't run the risk of having to keep up to date w/ changes in more specific parts of the spec.

@wraithgar
Copy link
Member

I'm going to close #7323 in favor of this approach, which is what we were trying to guide that other PR towards.

@wraithgar wraithgar changed the title Refer to exports in package.json docs docs(package.json): add brief section on exports, link to Node.js docs Sep 17, 2024
@wraithgar wraithgar merged commit 63d6a73 into npm:latest Sep 17, 2024
1 check passed
@samualtnorman
Copy link

samualtnorman commented Sep 18, 2024

which is what we were trying to guide that other PR towards.

Either don't make comments like this or communicate what you want better in the future.

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.

3 participants