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
feat: change interactions between files array and ignore files to be more consistent (#88)
BREAKING CHANGE: this module now follows a strict order of operations when applying ignore rules. if a `files` array is present in the package.json, then rules in `.gitignore` and `.npmignore` files from the root will be ignored.
a `.npmignore` file at `dir/.npmignore` will be honored, as well as `dir/subdir/.npmignore`.
95
+
96
+
Any specific file matched by an exact filename in the package.json `files` list will be included, and cannot be excluded, by any `.npmignore` files.
137
97
138
98
## API
139
99
140
100
Same API as [ignore-walk](http://npm.im/ignore-walk), just hard-coded
141
101
file list and rule sets.
142
102
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.
103
+
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