@leverege/build-tools 2.53.1 → 2.53.2-beta.2
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 +8 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@leverege/build-tools",
|
|
3
|
-
"version": "2.53.
|
|
3
|
+
"version": "2.53.2-beta.2",
|
|
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
|
@@ -57,7 +57,7 @@ for shell in "${SHELLS[@]}"; do
|
|
|
57
57
|
|
|
58
58
|
if [ -f "$CONFIG_FILE" ]; then
|
|
59
59
|
if grep -q "export UV_EXTRA_INDEX_URL=" "$CONFIG_FILE"; then
|
|
60
|
-
sed -i "s|export UV_EXTRA_INDEX_URL=.*|export UV_EXTRA_INDEX_URL=${UV_EXTRA_INDEX_URL}|" "$CONFIG_FILE"
|
|
60
|
+
sed -i '' "s|export UV_EXTRA_INDEX_URL=.*|export UV_EXTRA_INDEX_URL=${UV_EXTRA_INDEX_URL}|" "$CONFIG_FILE"
|
|
61
61
|
else
|
|
62
62
|
echo -e "\nexport UV_EXTRA_INDEX_URL=${UV_EXTRA_INDEX_URL}\n" >> "$CONFIG_FILE"
|
|
63
63
|
fi
|
|
@@ -83,6 +83,12 @@ function get_parent_shell() {
|
|
|
83
83
|
fi
|
|
84
84
|
done
|
|
85
85
|
|
|
86
|
+
|
|
87
|
+
shell=$(ps -p $$ -o 'comm=')
|
|
88
|
+
echo "foo $shell"
|
|
89
|
+
return
|
|
90
|
+
|
|
91
|
+
|
|
86
92
|
echo ""
|
|
87
93
|
}
|
|
88
94
|
|
|
@@ -110,7 +116,7 @@ case "$shell" in
|
|
|
110
116
|
source "$HOME/.zshrc"
|
|
111
117
|
;;
|
|
112
118
|
fish)
|
|
113
|
-
|
|
119
|
+
fish
|
|
114
120
|
;;
|
|
115
121
|
*)
|
|
116
122
|
echo "Shell $shell is not supported."
|