Skip to content

Commit 994d474

Browse files
committed
CLI documentation update from CI
1 parent 611c816 commit 994d474

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

cli-cache.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
"v8": "aa8fff11cdab94fff1a2160ee5241f5f4632e96b",
33
"v9": "64763a341e7aa5b456e696f956759bf9b3440dc1",
44
"v10": "f69c403700acb05dbb56d8516bca5130627e597c",
5-
"v11": "d006583e20731e8ae55cee94c3b7bd23cbd6f2d0"
5+
"v11": "5d82d0b4a4bd1424031fb68b4df740c1bbe5b172"
66
}

content/cli/v11/configuring-npm/package-json.mdx

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -305,12 +305,6 @@ These can not be included.
305305

306306
The "exports" provides a modern alternative to "main" allowing multiple entry points to be defined, conditional entry resolution support between environments, and preventing any other entry points besides those defined in "exports". This encapsulation allows module authors to clearly define the public interface for their package. For more details see the [node.js documentation on package entry points](https://nodejs.org/api/packages.html#package-entry-points)
307307

308-
### type
309-
310-
The `type` field defines the module format that Node.js should use for `.js` files in the package.
311-
312-
For more details, see the [Node.js documentation](https://nodejs.org/api/packages.html#type).
313-
314308
### main
315309

316310
The main field is a module ID that is the primary entry point to your program. That is, if your package is named `foo`, and a user installs it, and then does `require("foo")`, then your main module's exports object will be returned.

0 commit comments

Comments
 (0)