@leverege/build-tools 2.62.0 → 2.63.0-pedro.1
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/.har/config.json +11 -0
- package/.har/pre-commit +1 -0
- package/.har/pre-push +1 -0
- package/package.json +3 -3
- package/src/refresh-py-idx.sh +2 -5
package/.har/config.json
ADDED
package/.har/pre-commit
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
hook-and-release
|
package/.har/pre-push
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
hook-and-release
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@leverege/build-tools",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.63.0-pedro.1",
|
|
4
4
|
"description": "A collection of build / support tools for Leverege developers",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"repository": {
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
"execa": "^9.5.2",
|
|
70
70
|
"glob": "^11.0.1",
|
|
71
71
|
"handlebars": "^4.7.8",
|
|
72
|
-
"inquirer": "^12.4.
|
|
72
|
+
"inquirer": "^12.4.1",
|
|
73
73
|
"js-yaml": "^4.1.0",
|
|
74
74
|
"jsdoc": "^4.0.4",
|
|
75
75
|
"ms": "^2.1.3",
|
|
@@ -86,4 +86,4 @@
|
|
|
86
86
|
"@leverege/eslint-config-leverege": "^5.0.1",
|
|
87
87
|
"npm": "^11.1.0"
|
|
88
88
|
}
|
|
89
|
-
}
|
|
89
|
+
}
|
package/src/refresh-py-idx.sh
CHANGED
|
@@ -1,15 +1,12 @@
|
|
|
1
1
|
#!/bin/bash
|
|
2
2
|
|
|
3
3
|
function leveregeBuildToolsRefreshPyIdx() {
|
|
4
|
-
# Execute gcloud command to get the token
|
|
5
|
-
local TOKEN=$(gcloud auth print-access-token)
|
|
6
|
-
|
|
7
4
|
# Write to pip.conf
|
|
8
5
|
local PIP_CONFIG_DIR="$HOME/.config/pip"
|
|
9
6
|
mkdir -p "$PIP_CONFIG_DIR"
|
|
10
7
|
local PIP_CONFIG_CONTENT="
|
|
11
8
|
[global]
|
|
12
|
-
extra-index-url = https://oauth2accesstoken
|
|
9
|
+
extra-index-url = https://oauth2accesstoken@us-python.pkg.dev/leverege-registry/leverege-python-packages/simple/
|
|
13
10
|
"
|
|
14
11
|
echo "$PIP_CONFIG_CONTENT" > "$PIP_CONFIG_DIR/pip.conf"
|
|
15
12
|
echo "Updated ~/.config/pip/pip.conf"
|
|
@@ -29,7 +26,7 @@ function leveregeBuildToolsRefreshPyIdx() {
|
|
|
29
26
|
echo "Updated ~/.pypirc"
|
|
30
27
|
|
|
31
28
|
# Escape for sed
|
|
32
|
-
UV_EXTRA_INDEX_URL="https://oauth2accesstoken
|
|
29
|
+
UV_EXTRA_INDEX_URL="https://oauth2accesstoken@us-python.pkg.dev/leverege-registry/leverege-python-packages/simple"
|
|
33
30
|
|
|
34
31
|
local SHELLS=("bash" "dash" "zsh" "fish")
|
|
35
32
|
|