@codemeistre/noop
v1.0.1
Published
No Operation: This package does nothing.
Downloads
86
Keywords
Readme
noop
This package has no code! You must use it when you want to override another package.
Instalation
You shouldn't install this in your project by yourself. See below.
Usage
Let's say your project has some dependency that depends on @nuxtjs/opencollective
package just to run opencollective || exit 0
on postinstall
But you don't want this package because you know that it just display AD in your terminal (and it comes with a bunch of useless dependencies).
NPM
This requires Git.
If you're using NPM v8, you can override that package by another one using the overrides feature along with URLs as dependencies feature by adding this entry to your package.json
:
"overrides": {
"@nuxtjs/opencollective": "https://github.com/codemeistre/shared/tree/master/packages/noop"
}
Yarn
If you're using Yarn v1, you can override that package by another one using the resolutions feature along with npm
protocol by adding this entry to your package.json
:
"resolutions": {
"@nuxtjs/opencollective": "npm:@codemeistre/noop"
}
License
MIT