@leverege/build-tools 2.105.0 → 2.105.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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leverege/build-tools",
3
- "version": "2.105.0",
3
+ "version": "2.105.2",
4
4
  "description": "A collection of build / support tools for Leverege developers",
5
5
  "main": "index.js",
6
6
  "repository": {
@@ -87,10 +87,10 @@
87
87
  "execa": "^9.6.1",
88
88
  "find-yarn-workspace-root": "^2.0.0",
89
89
  "glob": "^13.0.6",
90
- "googleapis": "^172.0.0",
90
+ "googleapis": "^173.0.0",
91
91
  "handlebars": "^4.7.9",
92
92
  "ignore": "^7.0.5",
93
- "inquirer": "^14.0.0",
93
+ "inquirer": "^14.0.1",
94
94
  "js-yaml": "^4.1.1",
95
95
  "jsdoc": "^4.0.5",
96
96
  "ms": "^2.1.3",
@@ -104,7 +104,7 @@
104
104
  "simple-git": "^3.36.0",
105
105
  "sloc": "^0.3.2",
106
106
  "superstruct": "^2.0.2",
107
- "tmp": "^0.2.6",
107
+ "tmp": "^0.2.7",
108
108
  "toml": "^4.1.1",
109
109
  "yaml": "^2.9.0",
110
110
  "zx": "^8.8.5"
@@ -114,6 +114,6 @@
114
114
  "chai": "^6.2.2",
115
115
  "eslint": "^9",
116
116
  "mocha": "^11.7.6",
117
- "npm": "^11.15.0"
117
+ "npm": "^11.16.0"
118
118
  }
119
119
  }
@@ -117,8 +117,7 @@ export class Chartwright {
117
117
  // main files with the provided context. Optionally can suppress writing values.yaml
118
118
  // if the intention is to preserve an existing one.
119
119
  async bootstrap( { Container, suppressValues = false } ) {
120
- // load the templates and render them with the context to get the initial
121
- // Chart.yaml and values.yaml content
120
+ hbsContext.hbsChartName = Container
122
121
  await this.loadTemplates()
123
122
 
124
123
  // replicate the chart structure from the templates directory
@@ -43,7 +43,7 @@ await $$`mkdir -p ${buildDir}`.catch( () => {} )
43
43
  log( 'Ensuring yarn bundle plugin...' )
44
44
  let plugins = $.sync`yarn plugin runtime --json`.stdout.trim()
45
45
  plugins = plugins != null && plugins.length > 0 ? plugins.split( '\n' ).map( JSON.parse ) : []
46
- if ( !plugins.some( plg => plg.name === '@yarn.build/plugin-bundle' ) ) {
46
+ if ( !plugins.some( plg => plg.name === '@yarn.build/plugin-bundle' || plg.name === '@yarnpkg/plugin-bundle' ) ) {
47
47
  log( chalk.redBright( 'Yarn bundle plugin missing!' ) )
48
48
  log( `To fix this error, run:\n${chalk.green( 'yarn plugin import https://yarn.build/latest/bundle' )}` )
49
49
  process.exit( 1 )