Comments (6)
It looks like if you add the package to bundledDependencies
it will not prune the package. For example:
"bundledDependencies": [
"ember", "handlebars", "jquery"
]
So maybe when installing, napa
should add the packages to that key to help with this flow?
from napa.
I'm not sure how I could fix it as I can't make npm prune
aware of my library. Any ideas?
from napa.
We could give a alias to the user to override prune
or create another script with prune-with-napa
.
from napa.
Hmm interesting. I wonder if we'd be opening pandora's box by beginning to wrap npm
commands to be napa
aware? napa prune
? Or really napa xxxx
just aliases down to the npm command and does special handling for the commands it needs to. Hmm...
from napa.
The thing is it's not a prune on napa, it's just to make npm aware there're napa packages.
from napa.
The bundledDependencies
solution didn't work for me, and, with this change, attempting to uninstall a package after npm had removed the extra folders caused npm to give the warning:
npm ERR! code E404
npm ERR! 404 Not Found: sphinxbase@*
from napa.
Related Issues (20)
- Zip/tar.gz error HOT 7
- some question, about how to use it. I just want to know where this package used to? HOT 3
- Can't download jQuery HOT 2
- --save flag HOT 1
- Download a single js file and give it a location HOT 1
- Custom install folder HOT 2
- Trouble installing a dependency that uses napa HOT 7
- Peer dependencies HOT 3
- can't napa be run on npm postInstall hook? HOT 1
- download a single JS file HOT 1
- Flat (stripped folders) of ZIPs / Update download to 5 HOT 1
- Yarn integration: Is it possible? HOT 2
- napa not working ubuntu HOT 3
- Default version for generated package.json is always '0.0.0' HOT 1
- Nested napa dependencies not resolving correctly
- Packages installed with napa removed after install other package HOT 5
- Corrupt cache HOT 1
- zip folder structure lost
- r HOT 1
- Downloading a jar unpacks it
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from napa.