You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
BREAKING CHANGE: this module now follows a strict order of operations when applying ignore rules. if a package.json containing a 'files' array is present, then top level .npmignore and .gitignore files will both be ignored entirely
a `.npmignore` file at `dir/.npmignore` will be honored, as well as `dir/subdir/.npmignore`.
96
+
97
+
Any specific file matched by an exact filename in the package.json `files`
98
+
list will be included, and cannot be excluded, by any `.npmignore` files.
137
99
138
100
## API
139
101
140
102
Same API as [ignore-walk](http://npm.im/ignore-walk), just hard-coded
141
103
file list and rule sets.
142
104
143
-
The `Walker` and `WalkerSync` classes take a `bundled` argument, which
144
-
is a list of package names to include from node_modules. When calling
145
-
the top-level `packlist()` and `packlist.sync()` functions, this
146
-
module calls into `npm-bundled` directly.
105
+
The `Walker` class will load an [arborist](https://github.com/npm/cli/tree/latest/workspaces/arborist) tree, and if any bundled dependencies are found will include them as well as their own dependencies in the resulting file set.
0 commit comments