@leverege/build-tools 2.93.0 → 2.93.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 +3 -3
- package/src/artifacts/ArtifactPusher.mjs +0 -1
- package/src/bash-funcs +5 -0
- package/src/helmup.sh +3 -0
- package/src/k8scale.sh +2 -1
- package/.vscode/settings.json +0 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@leverege/build-tools",
|
|
3
|
-
"version": "2.93.
|
|
3
|
+
"version": "2.93.2",
|
|
4
4
|
"description": "A collection of build / support tools for Leverege developers",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"repository": {
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"lint": "find ./src -name \\*.\\*js | xargs npx eslint --report-unused-disable-directives",
|
|
13
13
|
"prepare": "[ $SKIP_PREPARE ] && exit 0 || ./src/hook-and-release.mjs",
|
|
14
14
|
"test": "mocha -t 60000 --exit 'test/**/*.mjs'",
|
|
15
|
-
"
|
|
15
|
+
"xprepack": "npm exec prepack"
|
|
16
16
|
},
|
|
17
17
|
"bin": {
|
|
18
18
|
"build-and-push": "src/build-and-push.sh",
|
|
@@ -103,4 +103,4 @@
|
|
|
103
103
|
"mocha": "^11.7.5",
|
|
104
104
|
"npm": "^11.6.2"
|
|
105
105
|
}
|
|
106
|
-
}
|
|
106
|
+
}
|
package/src/bash-funcs
CHANGED
|
@@ -305,6 +305,11 @@ PLUGIN_NOEXEC
|
|
|
305
305
|
return 0
|
|
306
306
|
}
|
|
307
307
|
|
|
308
|
+
# simple check to allow us to avoid double settings the k8s context
|
|
309
|
+
function ifNotFromHelmup() {
|
|
310
|
+
[ "$_FROM_HELMUP_" != "true" ]
|
|
311
|
+
}
|
|
312
|
+
|
|
308
313
|
# simple enforcement of necessary tools that need to be installed
|
|
309
314
|
function commandChecker() {
|
|
310
315
|
for cmd in "$@"; do
|
package/src/helmup.sh
CHANGED
package/src/k8scale.sh
CHANGED
package/.vscode/settings.json
DELETED