A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/npm/cli/commit/1be8e9500826e7aef041976fd908658f473caf23 below:

update ignore rules · npm/cli@1be8e95 · GitHub

File tree Expand file treeCollapse file tree 3 files changed

+10

-2

lines changed

Filter options

Expand file treeCollapse file tree 3 files changed

+10

-2

lines changed Original file line number Diff line number Diff line change

@@ -83,6 +83,9 @@ See [`developers`](/using-npm/developers) for full details on what's

83 83

included in the published package, as well as details on how the package is

84 84

built.

85 85 86 +

See [`package.json`](/configuring-npm/package-json) for more info on

87 +

what can and can't be ignored.

88 + 86 89

### Configuration

87 90 88 91

<!-- AUTOGENERATED CONFIG DESCRIPTIONS -->

Original file line number Diff line number Diff line change

@@ -324,6 +324,7 @@ Some files are always ignored by default:

324 324

if you wish it to be published)

325 325

* `pnpm-lock.yaml`

326 326

* `yarn.lock`

327 +

* `bun.lockb`

327 328 328 329

Most of these ignored files can be included specifically if included in

329 330

the `files` globs. Exceptions to this are:

@@ -334,6 +335,7 @@ the `files` globs. Exceptions to this are:

334 335

* `package-lock.json`

335 336

* `pnpm-lock.yaml`

336 337

* `yarn.lock`

338 +

* `bun.lockb`

337 339 338 340

These can not be included.

339 341 Original file line number Diff line number Diff line change

@@ -112,8 +112,8 @@ as `.gitignore` files:

112 112

* You can end patterns with a forward slash `/` to specify a directory.

113 113

* You can negate a pattern by starting it with an exclamation point `!`.

114 114 115 -

By default, the following paths and files are ignored, so there's no

116 -

need to add them to `.npmignore` explicitly:

115 +

By default, some paths and files are ignored, so there's no

116 +

need to add them to `.npmignore` explicitly. Some examples are:

117 117 118 118

* `.*.swp`

119 119

* `._*`

@@ -148,6 +148,9 @@ property of `package.json`, which is an array of file or directory names

148 148

that should be included in your package. Sometimes manually picking

149 149

which items to allow is easier to manage than building a block list.

150 150 151 +

See [`package.json`](/configuring-npm/package-json) for more info on

152 +

what can and can't be ignored.

153 + 151 154

#### Testing whether your `.npmignore` or `files` config works

152 155 153 156

If you want to double check that your package will include only the files

You can’t perform that action at this time.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4