Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 7c1700e

Browse filesBrowse files
aduh95MylesBorins
authored andcommitted
doc: move package config docs to separate page
This part of the docs aims to contain documentation regarding package configuration that covers both ESM and CJS realms. * Move Enabling section * Update Enabling section * Remove -u flag * Package scopes do not carry through `node_modules` folders Refs: nodejs/modules#539 Co-authored-by: Geoffrey Booth <webmaster@geoffreybooth.com>> Co-authored-by: Guy Bedford <guybedford@gmail.com> Backport-PR-URL: #35757 PR-URL: #34748 Reviewed-By: Derek Lewis <DerekNonGeneric@inf.is> Reviewed-By: Geoffrey Booth <webmaster@geoffreybooth.com> Reviewed-By: Guy Bedford <guybedford@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Ruy Adorno <ruyadorno@github.com>
1 parent 7510667 commit 7c1700e
Copy full SHA for 7c1700e

File tree

Expand file treeCollapse file tree

5 files changed

+865
-819
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

5 files changed

+865
-819
lines changed
Open diff view settings
Collapse file

‎.eslintrc.js‎

Copy file name to clipboardExpand all lines: .eslintrc.js
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ module.exports = {
4444
files: [
4545
'doc/api/esm.md',
4646
'doc/api/modules.md',
47+
'doc/api/packages.md',
4748
'test/es-module/test-esm-type-flag.js',
4849
'test/es-module/test-esm-type-flag-alias.js',
4950
'*.mjs',
Collapse file

‎doc/api/errors.md‎

Copy file name to clipboardExpand all lines: doc/api/errors.md
+4-4Lines changed: 4 additions & 4 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -2529,14 +2529,14 @@ closed.
25292529
[crypto digest algorithm]: crypto.html#crypto_crypto_gethashes
25302530
[domains]: domain.html
25312531
[event emitter-based]: events.html#events_class_eventemitter
2532-
[exports]: esm.html#esm_package_entry_points
2532+
[exports]: packages.html#packages_package_entry_points
25332533
[file descriptors]: https://en.wikipedia.org/wiki/File_descriptor
25342534
[policy]: policy.html
25352535
[stream-based]: stream.html
25362536
[syscall]: https://man7.org/linux/man-pages/man2/syscalls.2.html
25372537
[Subresource Integrity specification]: https://www.w3.org/TR/SRI/#the-integrity-attribute
25382538
[try-catch]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/try...catch
25392539
[vm]: vm.html
2540-
[self-reference a package using its name]: esm.html#esm_self_referencing_a_package_using_its_name
2541-
[define a custom subpath]: esm.html#esm_subpath_exports
2542-
["imports" field]: esm.html#esm_internal_package_imports
2540+
[self-reference a package using its name]: packages.html#packages_self_referencing_a_package_using_its_name
2541+
[define a custom subpath]: packages.html#packages_subpath_exports
2542+
["imports" field]: packages.html#packages_internal_package_imports

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.