Comparing version 0.1.0 to 0.1.1
{ | ||
"name": "@antfu/ni", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"description": "Use the right package manager", | ||
@@ -27,3 +27,3 @@ "main": "dist/index.js", | ||
"scripts": { | ||
"prepublishOnly": "npm run build", | ||
"prepublishOnly": "rimraf dist && npm run build", | ||
"watch": "npm run build -- --watch", | ||
@@ -55,2 +55,3 @@ "ni": "esno src/ni.ts", | ||
"lint-staged": "^10.5.1", | ||
"rimraf": "^3.0.2", | ||
"tsup": "^3.7.1", | ||
@@ -57,0 +58,0 @@ "typescript": "^4.0.5" |
# ni | ||
~~`npm i` in a yarn project, again? F**k!~~ | ||
~~*`npm i` in a yarn project, again? F\*\*k!*~~ | ||
**ni** - use the right package manager. | ||
`ni` => <code><a href='https://docs.npmjs.com/cli/v6/commands/npm'>npm</a> install</code> / <code><a href='https://yarnpkg.com'>yarn</a> add</code> / <code><a href='https://pnpm.js.org/en/'>pnpm</a> install</code> | ||
<pre> | ||
@@ -15,5 +13,9 @@ $ npm i -g <b>@antfu/ni</b> | ||
--- | ||
`ni` => <code><a href='https://docs.npmjs.com/cli/v6/commands/npm'>npm</a> install</code> / <code><a href='https://yarnpkg.com'>yarn</a> add</code> / <code><a href='https://pnpm.js.org/en/'>pnpm</a> install</code> | ||
<br> | ||
<br> | ||
### `ni` - Install | ||
@@ -71,2 +73,4 @@ | ||
<br> | ||
### Config | ||
@@ -77,6 +81,9 @@ | ||
; default agent will be used for global installs and the fallback when no lock found. | ||
; default agent will be used for global installs | ||
; and the fallback when no lock found. | ||
defaultAgent=npm | ||
``` | ||
<br> | ||
### How? | ||
@@ -83,0 +90,0 @@ |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
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
91
6
3
12091
14
13
296