11.3.0 (2026-06-22)
11.2.0 (2026-06-05)
7e2513d#291 exclude patchedDependencies patch files from the package tarball (#291) (@manzoorwanijk)
11.1.0 (2026-05-22)
11.0.0 (2026-05-15)
npm-packlistnow supports node^22.22.2 || ^24.15.0 || >=26.0.0- template-oss-apply
- Entries in
files[]are now interpreted as glob patterns anchored to the package root, with no special-case overrides. Slashless negations like!readme.mdonly match at the root — use!**/readme.mdto remove at every depth. An exact file path infiles[]no longer overrides a nested.npmignorerule that excludes it; remove the rule from.npmignoreif you need such a file to ship. Listing a default-ignored file (e.g..npmignore,.npmrc) infiles[]no longer forces it to be packed. npm-shrinkwrap.jsonis no longer included in published tarballs by default. Publishers who need to ship a locked dependency tree should usebundleDependencies; publishers with a legitimate reason to include a file literally namednpm-shrinkwrap.jsoncan still opt back in with a negatedfilesentry.- bun.lock is now excluded from package contents by default. If you need to include it, add "bun.lock" to the "files" array in your package.json.
da9502e#286 bump to new node engine range (@owlstronaut)943b8ec#286 template-oss-apply (@owlstronaut)2ec1c00#281 exclude npm-shrinkwrap.json from package contents (@owlstronaut)59a8d0f#279 exclude bun.lock from package contents (@owlstronaut)
e768b3a#286 template-oss-apply (@owlstronaut)b1c2c16#286 bumping @npmcli/template-oss from 4.30.0 to 5.1.0 (@owlstronaut)13f4e2b#279 template-oss-apply (@owlstronaut)261224f#278 bump @npmcli/template-oss from 4.29.0 to 4.30.0 (#278) (@dependabot[bot], @npm-cli-bot)
10.0.4 (2026-02-20)
ae8cbee#276 only warn about gitignore fallback at package root, not subdirectories (#276) (@umeshmore45)
de1e875#272 bump @npmcli/eslint-config from 5.1.0 to 6.0.0 (#272) (@dependabot[bot])04102d9#275 bump @npmcli/template-oss from 4.28.1 to 4.29.0 (#275) (@dependabot[bot], @npm-cli-bot, @owlstronaut)
10.0.3 (2025-10-22)
c23dea8#269 bump @npmcli/template-oss from 4.26.0 to 4.27.1 (#269) (@dependabot[bot], @npm-cli-bot)
10.0.2 (2025-09-22)
5d905ef#266 bump @npmcli/template-oss from 4.25.0 to 4.25.1 (#266) (@dependabot[bot], @npm-cli-bot)
10.0.1 (2025-07-24)
7e5f43b#256 bump @npmcli/arborist from 8.0.0 to 9.0.0 (#256) (@dependabot[bot])7e3cd57#261 bump @npmcli/template-oss from 4.24.4 to 4.25.0 (#261) (@dependabot[bot], @owlstronaut)
10.0.0 (2024-11-25)
- this module is now compatible with the following node versions: ^20.17.0 || >=22.9.0
bun.lockbis now included in the strict ignorelist
67fef03update engines to ^20.17.0 || >=22.9.0 (#254) (@wraithgar)
fd425fabump @npmcli/eslint-config from 4.0.5 to 5.0.1 (#250) (@dependabot[bot])3b66b5a#252 bump @npmcli/arborist from 7.5.4 to 8.0.0 (#252) (@dependabot[bot])e688d26bump @npmcli/template-oss from 4.23.3 to 4.23.4 (#251) (@dependabot[bot], @npm-cli-bot)
9.0.0 (2024-09-25)
npm-packlistnow supports node^18.17.0 || >=20.5.0
46ed801#245 bump @npmcli/eslint-config from 4.0.5 to 5.0.0 (#245) (@dependabot[bot])625ddca#240 bump @npmcli/arborist from 6.5.1 to 7.5.4 (#240) (@dependabot[bot])e2eb28d#247 run template-oss-apply (@hashtagchris)3c27bb3#230 bump @npmcli/template-oss to 4.22.0 (@lukekarrys)fa9e80d#242 bump @npmcli/template-oss from 4.22.0 to 4.23.3 (#242) (@dependabot[bot])cb4a823#230 postinstall for dependabot template-oss PR (@lukekarrys)
8.0.2 (2024-01-03)
728d68a#214 handling of directory glob (#214) (@mohd-akram)837af58#210 avoid modifying singleton variable (#210) (@mohd-akram)
8.0.1 (2023-12-06)
8fc4df1#204 always ignore .npmrc files at every level (@wraithgar)cd5ddbd#205 preserve slashes in specified files (#205) (@mohd-akram)
20fe0cd#207 bump @npmcli/template-oss from 4.21.1 to 4.21.2 (#207) (@dependabot[bot], @lukekarrys)f8be7bd#202 bump @npmcli/template-oss from 4.19.0 to 4.21.1 (#202) (@dependabot[bot], @lukekarrys)8e1d900#204 tests reflect fixed ignore-walk rules (@wraithgar)6d7cbe9#181 postinstall for dependabot template-oss PR (@lukekarrys)80ec501#181 bump @npmcli/template-oss from 4.18.1 to 4.19.0 (@dependabot[bot])f327738#179 postinstall for dependabot template-oss PR (@lukekarrys)a770a96#179 bump @npmcli/template-oss from 4.18.0 to 4.18.1 (@dependabot[bot])
8.0.0 (2023-08-24)
- The files array can now be used to exclude non-root readme, license, licence, and copying files.
7.0.4 (2022-12-07)
e5256de#149 skip missing optional deps when bundling, closes npm/cli#5924 (#149) (@nlf)
7.0.3 (2022-12-07)
7.0.2 (2022-10-26)
7.0.1 (2022-10-17)
7.0.0 (2022-10-04)
7.0.0-pre.1 (2022-10-03)
- if npm-shrinkwrap.json is included in your .npmignore, the shrinkwrap will now be excluded from your packlist.
7.0.0-pre.0 (2022-09-26)
treeis now the first parameter- the arborist tree must now be provided in the options and will not be generated for you. the npm-packlist bin has also been removed.
87c778emake the required tree the first parameter (@lukekarrys)123875aremove dependency on arborist, require tree to be passed in (@nlf)
6.0.1 (2022-09-23)
6.0.0 (2022-09-21)
- this module now follows a strict order of operations when applying ignore rules. if a
filesarray is present in the package.json, then rules in.gitignoreand.npmignorefiles from the root will be ignored. npm-packlistis now compatible with the following semver range for node:^14.17.0 || ^16.13.0 || >=18.0.0
c37371b#88 change interactions betweenfilesarray and ignore files to be more consistent (#88) (@nlf)a2c96ef#123 postinstall for dependabot template-oss PR (@lukekarrys)
5.1.3 (2022-08-25)
5.1.2 (2022-08-23)
5.1.1 (2022-05-31)
5.1.0 (2022-05-25)
5.0.4 (2022-05-19)
- do not pack workspaces by default (0f31f71)
- respect gitignore and npmignore files in workspace roots (839e6e8)
5.0.3 (2022-05-04)
5.0.2 (2022-04-21)
- normalize win32 paths before globbing (16f1343)
5.0.1 (2022-04-20)
5.0.0 (2022-04-06)
- this module no longer supports synchronous usage
4.0.0 (2022-03-03)
- This drops support for node10 and non-LTS versions of node12 and node14