Comments (4)
--without-publish
was added to test the result of normal run. So, I believe that it should be equal to normal run.
What do you plan to use without-publish
?
from clean-publish.
For example, if you use --contents
flag of np
, I think it’s unecessary to set publish scripts in distribution package directory since those scripts will be executed inside current directory. So basically, setting this flag just prepares directory with final package content and it’s up to you to publish it.
Or, maybe there could be another option for achieveing this?
from clean-publish.
We can remove scripts used during publish
, but not used on user’s machine 👍. Send PR.
Am I right that none of these scripts will be used during npm i YOUR_PACKAGE
?
from clean-publish.
Am I right that none of these scripts will be used during
npm i YOUR_PACKAGE
?
Those are scripts which are mainly used on publishing. postinstall
and uninstall
are left since they are used on install.
from clean-publish.
Related Issues (20)
- support `scripts.postinstall` like syntax for `fields`, or provide a way to override exceptions HOT 2
- Error: Cannot find module 'package.json' HOT 10
- Dry run mode (like `npm publish --dry-run`) HOT 5
- Scripts aren't ignore, which causes an endless loop HOT 4
- clean-publish for publishing vscode extensions? HOT 1
- semantic-release HOT 1
- Remove "files" from package.json config HOT 2
- Separate CLI API of the JS API HOT 1
- Unexpected cleaning while `--clean-comments` HOT 1
- Package published with CRLF line-endings HOT 2
- Color output in --before-script
- Fail if error happened in clear-package-json HOT 1
- Cannot pass input file if isTTY is false HOT 1
- Usage with `np` HOT 4
- Ignore files from within subfolder
- Add support tag flag HOT 1
- Yargs-parser : low security vulnerability
- Node.js 15 issue HOT 4
- Ignore CHANGELOG
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 clean-publish.