@leverege/build-tools 2.53.2-beta.1 → 2.53.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/package.json +2 -1
- package/src/refresh-py-idx.sh +1 -14
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@leverege/build-tools",
|
|
3
|
-
"version": "2.53.
|
|
3
|
+
"version": "2.53.3",
|
|
4
4
|
"description": "A collection of build / support tools for Leverege developers",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"repository": {
|
|
@@ -56,6 +56,7 @@
|
|
|
56
56
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
57
57
|
"dependencies": {
|
|
58
58
|
"@google-cloud/artifact-registry": "^3.4.0",
|
|
59
|
+
"@leverege/build-tools": "^2.53.2-beta.1",
|
|
59
60
|
"ansi-colors": "^4.1.3",
|
|
60
61
|
"chalk": "^5.3.0",
|
|
61
62
|
"command-line-args": "^6.0.0",
|
package/src/refresh-py-idx.sh
CHANGED
|
@@ -70,19 +70,6 @@ for shell in "${SHELLS[@]}"; do
|
|
|
70
70
|
done
|
|
71
71
|
|
|
72
72
|
function get_parent_shell() {
|
|
73
|
-
local ppid=$(ps -p $$ -o ppid= | tr -d ' ')
|
|
74
|
-
local shell=$(ps -p $ppid -o comm= | tr -d ' ')
|
|
75
|
-
|
|
76
|
-
while [ "$ppid" != "1" ]; do
|
|
77
|
-
ppid=$(ps -p $ppid -o ppid= | tr -d ' ')
|
|
78
|
-
shell=$(ps -p $ppid -o comm= | tr -d ' ')
|
|
79
|
-
|
|
80
|
-
if [[ "$shell" =~ bash|dash|zsh|fish ]]; then
|
|
81
|
-
echo "$shell"
|
|
82
|
-
return
|
|
83
|
-
fi
|
|
84
|
-
done
|
|
85
|
-
|
|
86
73
|
echo ""
|
|
87
74
|
}
|
|
88
75
|
|
|
@@ -110,7 +97,7 @@ case "$shell" in
|
|
|
110
97
|
source "$HOME/.zshrc"
|
|
111
98
|
;;
|
|
112
99
|
fish)
|
|
113
|
-
|
|
100
|
+
fish
|
|
114
101
|
;;
|
|
115
102
|
*)
|
|
116
103
|
echo "Shell $shell is not supported."
|