It looks like this is a change in how later versions of npm do the packing. It packs as expected locally when using npm 8.19.4 (on Node 16) , but for npm 9.6.7 (on Node 18) and npm 9.8.0 (on Node 20) it excludes the lib/configs/recommended.*, lib/config/all.*, and lib/rules/* files.
Starting with version 1.9.0 we're getting this error:
It looks like this is a change in how later versions of
npm
do the packing. It packs as expected locally when using npm8.19.4
(on Node 16) , but for npm9.6.7
(on Node 18) and npm9.8.0
(on Node 20) it excludes thelib/configs/recommended.*
,lib/config/all.*
, andlib/rules/*
files.