Skip to content

KostyaTretyak/npm-bug-with-monorepo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About

In monorepositories (with workspaces in package.json), npm publish and npm pack take into account .gitignore and ignore .npmignore. Tested with npm v9.6.7 and v10.1.0.

Init

npm i
cd packages/pkg1
npm pack

Now you can see that the packages/pkg1/pkg1-1.0.0.tgz archive does not contain a dist directory.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published