shinkansen-transmission 2.2.33 → 2.2.35
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/package.json +1 -1
- package/nvm.sh +0 -43
package/package.json
CHANGED
package/nvm.sh
DELETED
@@ -1,43 +0,0 @@
|
|
1
|
-
#!/bin/bash
|
2
|
-
|
3
|
-
NVM=~/.nvm
|
4
|
-
|
5
|
-
if [ -f "$NVM/nvm.sh" ];
|
6
|
-
then
|
7
|
-
unset npm_package_scripts_nvm
|
8
|
-
unset npm_config_prefix
|
9
|
-
unset npm_lifecycle_script
|
10
|
-
|
11
|
-
source $NVM/nvm.sh
|
12
|
-
else
|
13
|
-
NVM=$(brew --prefix nvm 2> /dev/null)
|
14
|
-
|
15
|
-
if [ -f "$NVM/nvm.sh" ];
|
16
|
-
then
|
17
|
-
unset npm_package_scripts_nvm
|
18
|
-
unset npm_config_prefix
|
19
|
-
unset npm_lifecycle_script
|
20
|
-
|
21
|
-
source $NVM/nvm.sh
|
22
|
-
fi
|
23
|
-
fi
|
24
|
-
|
25
|
-
VERSION=$(nvm --version 2> /dev/null)
|
26
|
-
|
27
|
-
if [ -z "$VERSION" ];
|
28
|
-
then
|
29
|
-
echo Environment does not have NVM installed
|
30
|
-
else
|
31
|
-
echo Environment has NVM version $VERSION installed
|
32
|
-
|
33
|
-
set -e
|
34
|
-
|
35
|
-
nvm use
|
36
|
-
|
37
|
-
if [[ $? != 0 ]];
|
38
|
-
then
|
39
|
-
echo Environment does not have NVM configured
|
40
|
-
else
|
41
|
-
echo Environment has NVM version $VERSION configured
|
42
|
-
fi
|
43
|
-
fi
|