Comparing version 1.2.2 to 1.2.3
{ | ||
"name": "fuck-npm", | ||
"version": "1.2.2", | ||
"version": "1.2.3", | ||
"description": "Removes `node_modules` & runs `npm install`", | ||
@@ -42,8 +42,8 @@ "keywords": [ | ||
"del": "^6.0.0", | ||
"yargs": "^16.1.1" | ||
"yargs": "^16.2.0" | ||
}, | ||
"devDependencies": { | ||
"np": "^7.0.0", | ||
"prettier": "^2.2.0" | ||
"prettier": "^2.2.1" | ||
} | ||
} |
@@ -6,3 +6,3 @@ # fuck-npm | ||
![Node version](https://img.shields.io/node/v/fuck-npm) | ||
![Dependencies](https://img.shields.io/david/kamilmielnik/fuck-npm) | ||
![Dependencies](https://img.shields.io/librariesio/github/kamilmielnik/fuck-npm) | ||
![Vulnerabilities](https://img.shields.io/snyk/vulnerabilities/github/kamilmielnik/fuck-npm) | ||
@@ -14,4 +14,6 @@ ![Prettier](https://github.com/kamilmielnik/fuck-npm/workflows/Prettier/badge.svg) | ||
Additionally, this has been tested against the following error on Windows: | ||
### Windows (NFTS) - "Source Path Too Long" error | ||
`fuck-npm` has been tested against the following error on Windows: | ||
> The source file name(s) are larger than is supported by the file system. | ||
@@ -22,3 +24,3 @@ > Try moving to a location which has a shorter path name, or try renaming | ||
## Installation | ||
``` | ||
```Shell | ||
npm install -g fuck-npm | ||
@@ -28,16 +30,11 @@ ``` | ||
## Usage | ||
1. Change your current working directory to your repository directory, e.g. | ||
``` | ||
```Shell | ||
# go to your project directory | ||
cd ~/projects/my-project | ||
``` | ||
2. Run `fuck-npm` | ||
``` | ||
# remove "node_modules", and then run "npm install" | ||
fuck-npm | ||
``` | ||
3. Relax | ||
### Frenzy mode | ||
When you're really desperate you may also want to get rid of `package-lock.json`. To do that, simply pass **any** parameter to the tool, e.g. | ||
# remove "node_modules" & "package-lock.json", and then run "npm install" | ||
fuck-npm aslkjdals # pass any parameter (just mash your keyboard!) | ||
``` | ||
fuck-npm asohdiq3iuoye | ||
``` |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
5019
37
Updatedyargs@^16.2.0