Comparing version 0.16.2 to 0.16.3
{ | ||
"name": "@antfu/ni", | ||
"version": "0.16.2", | ||
"version": "0.16.3", | ||
"packageManager": "pnpm@7.0.0", | ||
@@ -5,0 +5,0 @@ "description": "Use the right package manager", |
@@ -221,1 +221,28 @@ # ni | ||
Before it runs, it will detect your `yarn.lock` / `pnpm-lock.yaml` / `package-lock.json` to know current package manager (or `packageManager` field in your packages.json), and runs the corresponding commands. | ||
### Trouble shooting | ||
#### Conflicts with PowerShell on Windows | ||
PowerShell come with a built-in alias `ni` for `New Item`. To remove the alias in favor of this package: | ||
<details> | ||
<summary> PowerShell <code>5.x</code></summary> | ||
Create or edit file `C:\Windows\System32\WindowsPowerShell\v1.0\Microsoft.PowerShell_profile.ps1`, adding following line: | ||
```ps | ||
Remove-Item Alias:ni -Force -ErrorAction Ignore | ||
``` | ||
</details> | ||
<details> | ||
<summary> PowerShell <code>7.x</code></summary> | ||
Create or edit file `C:\Program Files\PowerShell\7\Microsoft.PowerShell_profile.ps1`, adding following line: | ||
```ps | ||
Remove-Alias -Name ni -Force | ||
``` | ||
</details> |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
508219
15626
248