Skip to content

doc: document self-referencing a package name - #31680

Closed
giltayar wants to merge 1 commit into
nodejs:masterfrom
giltayar:self-reference-module
Closed

doc: document self-referencing a package name#31680
giltayar wants to merge 1 commit into
nodejs:masterfrom
giltayar:self-reference-module

Conversation

@giltayar

Copy link
Copy Markdown
Contributor

Added a section for "Self-referencing a package using its name" that documents
importing a package's own exports (this was missed when adding the feature).

Checklist

@nodejs-github-botnodejs-github-bot added doc Issues and PRs related to the documentations. esm Issues and PRs related to the ECMAScript Modules implementation. labels Feb 7, 2020
@giltayar
giltayarforce-pushed the self-reference-module branch from d206dcb to fb077efCompareFebruary 7, 2020 22:09

@hybristhybrist left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for adding this! Looks good, one thing that may be confusing.

Comment threaddoc/api/esm.md Outdated
Comment threaddoc/api/esm.md Outdated
@hybrist

Copy link
Copy Markdown
Contributor

/cc @nodejs/modules-active-members

@MylesBorinsMylesBorins left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Comment threaddoc/api/esm.md Outdated
Comment threaddoc/api/esm.md Outdated
Comment threaddoc/api/esm.md Outdated
@giltayar
giltayarforce-pushed the self-reference-module branch from 6d38758 to 256fe12CompareFebruary 8, 2020 00:04
Comment threaddoc/api/esm.md Outdated
@giltayar

Copy link
Copy Markdown
ContributorAuthor

Not sure about the protocol, and there's nothing in the guidelines about this: should I squash the commits?

@GeoffreyBooth

Copy link
Copy Markdown
Member

Not sure about the protocol, and there's nothing in the guidelines about this: should I squash the commits?

Yes, I think this PR would be appropriate for squashing. The commit message should follow the guidelines, such as starting with module: doc:.

@giltayar
giltayarforce-pushed the self-reference-module branch from b942e48 to 0873607CompareFebruary 13, 2020 13:42
@giltayar

Copy link
Copy Markdown
ContributorAuthor

Rebased and squashed.

Comment threaddoc/api/esm.md Outdated
Comment threaddoc/api/esm.md Outdated
Comment threaddoc/api/esm.md Outdated
Added a section for "Self-referencing a package using its name" that documents
importing a package's own exports (this was missed when adding the feature).
@giltayar
giltayarforce-pushed the self-reference-module branch from 302d8d6 to b260d06CompareFebruary 13, 2020 21:37
@hybristhybrist added the author ready PRs that have at least one approval, no pending requests for changes, and a CI started. label Mar 2, 2020
@hybrist

Copy link
Copy Markdown
Contributor

Sorry for losing track of this. I assume this is good to land. I plan to do it at some point this week if nobody else beats me to it.

@addaleax

Copy link
Copy Markdown
Member

Landed in 9dbe6ab

@addaleaxaddaleax closed this Mar 9, 2020
addaleax pushed a commit that referenced this pull request Mar 9, 2020
Added a section for "Self-referencing a package using its name" that
documents importing a package's own exports (this was missed when
adding the feature).
PR-URL: #31680
Reviewed-By: Jan Krems <jan.krems@gmail.com>
Reviewed-By: Myles Borins <myles.borins@gmail.com>
Reviewed-By: Geoffrey Booth <webmaster@geoffreybooth.com>
MylesBorins pushed a commit that referenced this pull request Mar 9, 2020
Added a section for "Self-referencing a package using its name" that
documents importing a package's own exports (this was missed when
adding the feature).
PR-URL: #31680
Reviewed-By: Jan Krems <jan.krems@gmail.com>
Reviewed-By: Myles Borins <myles.borins@gmail.com>
Reviewed-By: Geoffrey Booth <webmaster@geoffreybooth.com>
@MylesBorinsMylesBorins mentioned this pull request Mar 10, 2020
codebytere pushed a commit that referenced this pull request Mar 17, 2020
Added a section for "Self-referencing a package using its name" that
documents importing a package's own exports (this was missed when
adding the feature).
PR-URL: #31680
Reviewed-By: Jan Krems <jan.krems@gmail.com>
Reviewed-By: Myles Borins <myles.borins@gmail.com>
Reviewed-By: Geoffrey Booth <webmaster@geoffreybooth.com>
@codebyterecodebytere mentioned this pull request Mar 17, 2020
codebytere pushed a commit that referenced this pull request Mar 23, 2020
Added a section for "Self-referencing a package using its name" that
documents importing a package's own exports (this was missed when
adding the feature).
PR-URL: #31680
Reviewed-By: Jan Krems <jan.krems@gmail.com>
Reviewed-By: Myles Borins <myles.borins@gmail.com>
Reviewed-By: Geoffrey Booth <webmaster@geoffreybooth.com>
codebytere pushed a commit that referenced this pull request Mar 30, 2020
Added a section for "Self-referencing a package using its name" that
documents importing a package's own exports (this was missed when
adding the feature).
PR-URL: #31680
Reviewed-By: Jan Krems <jan.krems@gmail.com>
Reviewed-By: Myles Borins <myles.borins@gmail.com>
Reviewed-By: Geoffrey Booth <webmaster@geoffreybooth.com>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author readyPRs that have at least one approval, no pending requests for changes, and a CI started.docIssues and PRs related to the documentations.esmIssues and PRs related to the ECMAScript Modules implementation.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants

@giltayar@hybrist@GeoffreyBooth@addaleax@MylesBorins@nodejs-github-bot