@leverege/build-tools 2.58.3 → 2.58.4

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leverege/build-tools",
3
- "version": "2.58.3",
3
+ "version": "2.58.4",
4
4
  "description": "A collection of build / support tools for Leverege developers",
5
5
  "main": "index.js",
6
6
  "repository": {
@@ -62,7 +62,7 @@
62
62
  "@google-cloud/artifact-registry": "^3.5.0",
63
63
  "@leverege/jsdoc-template": "^1.0.1",
64
64
  "ansi-colors": "^4.1.3",
65
- "chalk": "^5.3.0",
65
+ "chalk": "^5.4.0",
66
66
  "command-line-args": "^6.0.1",
67
67
  "command-line-usage": "^7.0.3",
68
68
  "deepmerge": "^4.3.1",
@@ -70,7 +70,7 @@
70
70
  "execa": "^9.5.2",
71
71
  "glob": "^11.0.0",
72
72
  "handlebars": "^4.7.8",
73
- "inquirer": "^12.2.0",
73
+ "inquirer": "^12.3.0",
74
74
  "js-yaml": "^4.1.0",
75
75
  "jsdoc": "^4.0.4",
76
76
  "ms": "^2.1.3",
@@ -85,6 +85,6 @@
85
85
  },
86
86
  "devDependencies": {
87
87
  "@leverege/eslint-config-leverege": "^5.0.1",
88
- "npm": "^10.9.2"
88
+ "npm": "^11.0.0"
89
89
  }
90
90
  }
package/src/Utils.mjs CHANGED
@@ -9,6 +9,10 @@ import { glob } from 'glob'
9
9
  import { packageUp } from 'package-up'
10
10
  import YAML from 'js-yaml'
11
11
 
12
+ // __dirname goes away with ESM so we take this approach instead and
13
+ // this assumes this file lives in the src dir of the build-tools repo
14
+ export const BUILD_TOOLS_ROOT = path.dirname( url.fileURLToPath( import.meta.url ) )
15
+
12
16
  let debugEnabled = process.env.BUILD_TOOLS_DEBUG === '1'
13
17
 
14
18
  export const enableDebug = () => { debugEnabled = true }
@@ -38,21 +42,6 @@ export const errorExit = ( error, opts = { errorCode : 1 } ) => {
38
42
  }
39
43
  /* eslint-enable no-console */
40
44
 
41
- const getFilename = () => {
42
- const filename = url.fileURLToPath( import.meta.url )
43
- return filename
44
- }
45
-
46
- const getDirname = () => {
47
- const dirname = path.dirname( getFilename() )
48
- return dirname
49
- }
50
-
51
- // because __dirname goes away with ESM
52
- export const getSourceTop = () => {
53
- return getDirname()
54
- }
55
-
56
45
  export const isHex = ( hex ) => {
57
46
  return hex instanceof Buffer || /^[0-9a-f]+$/i.test( hex )
58
47
  }
@@ -4,7 +4,7 @@ showInstalling "The Prometheus Operator and Components"
4
4
  addHelmRepo prometheus-community https://prometheus-community.github.io/helm-charts
5
5
 
6
6
  showInstalling "The Prometheus Operator (kube-prometheus-stack)"
7
- [ -z "$PROMETHEUS_STACK_CHART_VERSION" ] && PROMETHEUS_STACK_CHART_VERSION="66"
7
+ [ -z "$PROMETHEUS_STACK_CHART_VERSION" ] && PROMETHEUS_STACK_CHART_VERSION="67"
8
8
 
9
9
  NS="--namespace prometheus"
10
10