nodeswitch 1.4.1 → 1.4.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/bin/nodeswitch +1 -1
- package/bin/nodeswitch.cmd +1 -1
- package/bin/nodeswitch.ps1 +1 -1
- package/bin/nodeswitch.sh +1 -1
- package/package.json +1 -1
- package/scripts/postinstall.cmd +1 -1
package/README.md
CHANGED
|
@@ -39,7 +39,7 @@ nodeswitch list
|
|
|
39
39
|
npm uninstall -g nodeswitch
|
|
40
40
|
|
|
41
41
|
*****
|
|
42
|
-
In the "C:\Users\YOUR_USERNAME\AppData\Roaming\npm" folder, delete
|
|
42
|
+
In the "C:\Users\YOUR_USERNAME\AppData\Roaming\npm" folder, delete 4 files: nodeswitch, nodeswitch.cmd, nodeswitch.ps1, and nodeswitch.sh
|
|
43
43
|
In the "C:\Users\YOUR_USERNAME\.bash_profile" file, remove the line [alias nodeswitch="source nodeswitch"]
|
|
44
44
|
*****
|
|
45
|
-
```
|
|
45
|
+
```
|
package/bin/nodeswitch
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
source nodeswitch.sh "$@"
|
|
1
|
+
(return 0 2>/dev/null) && source nodeswitch.sh "$@" || echo "You need to relaunch Git Bash in order to use nodeswitch"
|
package/bin/nodeswitch.cmd
CHANGED
package/bin/nodeswitch.ps1
CHANGED
package/bin/nodeswitch.sh
CHANGED
package/package.json
CHANGED
package/scripts/postinstall.cmd
CHANGED
|
@@ -4,4 +4,4 @@ copy .\bin\nodeswitch.ps1 %AppData%\npm
|
|
|
4
4
|
copy .\bin\nodeswitch.sh %AppData%\npm
|
|
5
5
|
findstr /m "alias nodeswitch=" %userprofile%\.bash_profile > nul
|
|
6
6
|
if %errorlevel% == 1 ( echo alias nodeswitch="source nodeswitch" >> %userprofile%\.bash_profile )
|
|
7
|
-
if not exist %AppData%\nodeswitch ( mkdir %AppData%\nodeswitch )
|
|
7
|
+
if not exist %AppData%\nodeswitch ( mkdir %AppData%\nodeswitch )
|