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
Between npm@9, npm@10 there are changes which are related to packing and file inclusion. Please provide reproduction case with package.json as fields like files in package.json can impact the packing, logs, configs, etc to understand this issue better and to conclude if it's an bug/error or wrong usage/expectation of npm pack/publish command.
Is there an existing issue for this?
This issue exists in the latest npm version
Current Behavior
When I use npm v10.9.2 and run npm publish or npm pack not all the files and folders are included
Expected Behavior
But with npm v9.5.1 it works as expected and every file is included
As you can see from the logs above that the dist/schemas folder is not included in v10.9.2
Steps To Reproduce
I am attaching the .npmignore and .gitignore files
.gitignore :
.npmignore:
Also the schemas folder is available in dist folder.
Environment
The text was updated successfully, but these errors were encountered: