@otwld/nx-helm 0.0.2 → 0.0.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/CHANGELOG.md ADDED
@@ -0,0 +1,17 @@
1
+ ## 0.0.3 (2026-08-12)
2
+
3
+ ### 🚀 Features
4
+
5
+ - **helm:** add inferred chart projects and nx add setup ([2061556](https://github.com/otwld/monorepo-starter/commit/2061556))
6
+ - create nx-helm plugin with validate as a the first executor ([b7784f3](https://github.com/otwld/monorepo-starter/commit/b7784f3))
7
+
8
+ ### ❤️ Thank You
9
+
10
+ - Tréhout Nathan
11
+
12
+ ## 0.0.2 (2026-08-12)
13
+
14
+ ### Features
15
+
16
+ - Add inferred Helm chart projects and initialization.
17
+ - Add Helm validation, packaging, and release publishing.
package/README.md CHANGED
@@ -1,62 +1,38 @@
1
1
  # @otwld/nx-helm
2
2
 
3
- Nx generator, inferred-task plugin, and executors for standalone Helm charts.
4
- Helm owns chart files; Nx owns the project boundary and task graph.
3
+ Nx generators, inferred targets, and executors for Helm charts.
5
4
 
6
- ## Generate a chart
7
-
8
- Initialize the plugin once per workspace:
5
+ ## Generate a Chart
9
6
 
10
7
  ```shell
11
8
  pnpm exec nx add @otwld/nx-helm
9
+ pnpm exec nx g @otwld/nx-helm:chart service
12
10
  ```
13
11
 
14
- This runs the hidden `init` generator, registers the plugin in `nx.json`, and
15
- adds missing shared target defaults without replacing existing configuration.
16
-
17
- Create a chart afterward:
18
-
19
- ```shell
20
- pnpm exec nx g @otwld/nx-helm:chart backend
21
- ```
22
-
23
- The generator runs `helm create` in a temporary directory, imports Helm's
24
- generated files into the workspace, and adds only this project marker:
12
+ The chart generator runs `helm create` and adds `project.json`:
25
13
 
26
14
  ```text
27
- charts/backend/
15
+ charts/service/
28
16
  ├── Chart.yaml
29
17
  ├── templates/
30
18
  ├── values.yaml
31
19
  └── project.json
32
20
  ```
33
21
 
34
- Generated projects use the `helm-<name>` project name and
35
- `scope:workspace`, `layer:infra`, and `runtime:helm` tags. Generator options are
36
- `directory`, `projectName`, and `starter`; `starter` is passed to Helm as
37
- `helm create --starter`.
38
-
39
- Helm's built-in scaffold is the default. Chart metadata and chart files are not
40
- duplicated in this plugin.
22
+ Generated projects use the `helm-<name>` project name and the
23
+ `scope:workspace`, `layer:infra`, and `runtime:helm` tags. The `directory`,
24
+ `projectName`, and `starter` options customize generation.
41
25
 
42
- ## Inferred targets
26
+ ## Inferred Targets
43
27
 
44
- The plugin scans `**/Chart.yaml` and contributes targets only when the file has
45
- a sibling `project.json`. This keeps nested Helm subcharts and app-owned
46
- `helm/` directories out of the standalone chart graph.
28
+ Charts with sibling `Chart.yaml` and `project.json` files receive these targets:
47
29
 
48
- - `nx run helm-backend:helm:validate` runs `helm lint` and `helm template`.
49
- - `nx run helm-backend:helm:package` packages the root chart into `dist/charts/backend/helm`.
50
- - `nx release publish` invokes the inferred `nx-release-publish` target.
51
-
52
- The default validation release name is the Nx project name, such as
53
- `helm-backend`. Set `options.validateTarget.releaseName` in `nx.json` only when
54
- a workspace-wide override is required.
30
+ - `helm:validate` runs `helm lint` and `helm template`.
31
+ - `helm:package` packages the chart into `dist/<project-root>/helm`.
32
+ - `nx-release-publish` pushes the packaged chart to an OCI registry.
55
33
 
56
34
  ## Configuration
57
35
 
58
- `nx add` writes this default plugin registration:
59
-
60
36
  ```jsonc
61
37
  {
62
38
  "plugins": [
@@ -71,64 +47,42 @@ a workspace-wide override is required.
71
47
  "packageTarget": {
72
48
  "name": "helm:package",
73
49
  },
74
- "registry": "oci://harbor.example.com/team",
50
+ "registry": "oci://registry.example.com/charts",
75
51
  },
76
52
  },
77
53
  ],
78
54
  }
79
55
  ```
80
56
 
81
- `targetDefaults` in `nx.json` supplies shared cache inputs for the default
82
- `helm:validate` and `helm:package` target names. Project-specific target
83
- configuration can override inferred values when required.
84
-
85
- ## Nx Release
86
-
87
- The `helm` release group selects projects with the `runtime:helm` tag and
88
- versions them independently. Release tags use `helm/{projectName}/{version}`;
89
- each project receives its own changelog. Nx Release updates only
90
- `Chart.yaml.version`; `appVersion` remains application metadata.
57
+ ## Helm Release
91
58
 
92
59
  ```shell
93
60
  pnpm exec nx release version patch --groups=helm --first-release --dry-run
94
61
  pnpm exec nx release changelog 0.1.1 --groups=helm --first-release --dry-run
95
62
  pnpm exec nx release publish --groups=helm --dry-run
96
- pnpm exec nx release patch --groups=helm --first-release --dry-run --skip-publish
97
63
  ```
98
64
 
99
- Authenticate Helm before a real publish:
65
+ Authenticate with the OCI registry before publishing:
100
66
 
101
67
  ```shell
102
- helm registry login harbor.otwld.com
68
+ helm registry login registry.example.com
103
69
  pnpm exec nx release --groups=helm --first-release
104
70
  ```
105
71
 
106
72
  ## npm Release
107
73
 
108
- `@otwld/nx-helm` and `@otwld/nx-argo` are released independently to npm by the
109
- `npm` release group. Nx derives bumps from Conventional Commits, builds both
110
- packages before versioning, updates source and dist manifests, and publishes
111
- from `dist/plugins/nx/{project}`.
112
-
113
- Preview the first release:
74
+ The npm release group versions packages independently with Conventional
75
+ Commits, updates source and distribution manifests, and publishes distribution
76
+ packages.
114
77
 
115
78
  ```shell
116
79
  pnpm exec nx release version --groups=npm --first-release --dry-run
117
80
  pnpm exec nx release publish --groups=npm --first-release --dry-run --access=public
118
- ```
119
-
120
- Run a real release from an authenticated npm session:
121
-
122
- ```shell
123
81
  pnpm exec nx release --groups=npm --first-release
124
82
  ```
125
83
 
126
- Release tags use `npm/{projectName}/{version}` and each package receives its
127
- own changelog. Do not set a registry in `publishConfig`; use npm configuration
128
- or the Nx `--registry` option when required.
129
-
130
- ## Plugin targets
84
+ ## Package Targets
131
85
 
132
- - `nx build nx-helm` builds the plugin package.
133
- - `nx lint nx-helm` runs ESLint through the workspace ESLint plugin.
134
- - `nx test nx-helm` runs the plugin unit tests with Vitest.
86
+ - `nx build nx-helm`
87
+ - `nx lint nx-helm`
88
+ - `nx test nx-helm`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@otwld/nx-helm",
3
- "version": "0.0.2",
3
+ "version": "0.0.4",
4
4
  "private": false,
5
5
  "type": "commonjs",
6
6
  "exports": {
@@ -54,4 +54,3 @@ function parseChartDocument(content, filePath) {
54
54
  }
55
55
  return document;
56
56
  }
57
- //# sourceMappingURL=chart-manifest.js.map
@@ -1,6 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
3
  const node_fs_1 = require("node:fs");
5
4
  const node_path_1 = require("node:path");
6
5
  const chart_manifest_1 = require("../../chart-manifest");
@@ -12,7 +11,7 @@ const run_helm_1 = require("../run-helm");
12
11
  * @param context Nx's executor context.
13
12
  * @returns Whether the Helm package operation completed successfully.
14
13
  */
15
- const runExecutor = (options, context) => tslib_1.__awaiter(void 0, void 0, void 0, function* () {
14
+ const runExecutor = async (options, context) => {
16
15
  const projectDirectory = (0, project_directory_1.getProjectDirectory)(context, 'packaging');
17
16
  if (!projectDirectory) {
18
17
  return { success: false };
@@ -29,7 +28,7 @@ const runExecutor = (options, context) => tslib_1.__awaiter(void 0, void 0, void
29
28
  }
30
29
  (0, node_fs_1.mkdirSync)(outputDirectory, { recursive: true });
31
30
  console.log(`[nx-helm] Packaging chart ${projectDirectory}`);
32
- if (!(yield (0, run_helm_1.runHelm)(['package', '.', '--destination', outputDirectory], projectDirectory))) {
31
+ if (!(await (0, run_helm_1.runHelm)(['package', '.', '--destination', outputDirectory], projectDirectory))) {
33
32
  return { success: false };
34
33
  }
35
34
  }
@@ -38,14 +37,14 @@ const runExecutor = (options, context) => tslib_1.__awaiter(void 0, void 0, void
38
37
  return { success: false };
39
38
  }
40
39
  return { success: true };
41
- });
40
+ };
42
41
  /**
43
42
  * Checks the Nx dry-run environment and executor option.
44
43
  * @param optionDryRun Explicit executor dry-run option.
45
44
  * @returns Whether the operation must avoid filesystem changes.
46
45
  */
47
46
  function isDryRun(optionDryRun) {
48
- return optionDryRun === true || process.env.NX_DRY_RUN === 'true';
47
+ return optionDryRun === true || process.env['NX_DRY_RUN'] === 'true';
49
48
  }
50
49
  /**
51
50
  * Converts unknown caught values into useful command-line text.
@@ -56,4 +55,3 @@ function getErrorMessage(error) {
56
55
  return error instanceof Error ? error.message : String(error);
57
56
  }
58
57
  exports.default = runExecutor;
59
- //# sourceMappingURL=package.js.map
@@ -21,4 +21,3 @@ function getProjectDirectory(context, operation) {
21
21
  }
22
22
  return (0, node_path_1.resolve)(context.root, project.root);
23
23
  }
24
- //# sourceMappingURL=project-directory.js.map
@@ -1,6 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
3
  const node_fs_1 = require("node:fs");
5
4
  const node_path_1 = require("node:path");
6
5
  const chart_manifest_1 = require("../../chart-manifest");
@@ -12,7 +11,7 @@ const run_helm_1 = require("../run-helm");
12
11
  * @param context Nx's executor context.
13
12
  * @returns Whether the Helm chart was published successfully.
14
13
  */
15
- const runExecutor = (options, context) => tslib_1.__awaiter(void 0, void 0, void 0, function* () {
14
+ const runExecutor = async (options, context) => {
16
15
  const projectDirectory = (0, project_directory_1.getProjectDirectory)(context, 'publishing');
17
16
  if (!projectDirectory) {
18
17
  return { success: false };
@@ -25,18 +24,18 @@ const runExecutor = (options, context) => tslib_1.__awaiter(void 0, void 0, void
25
24
  }
26
25
  const outputDirectory = (0, node_path_1.resolve)(context.root, options.outputPath);
27
26
  const dryRun = isDryRun(options.dryRun);
28
- if (!(yield publishChart(projectDirectory, outputDirectory, registry, dryRun))) {
27
+ if (!(await publishChart(projectDirectory, outputDirectory, registry, dryRun))) {
29
28
  return { success: false };
30
29
  }
31
30
  return { success: true };
32
- });
31
+ };
33
32
  /**
34
33
  * Normalizes and validates the Helm OCI repository reference.
35
34
  * @param registry Configured registry repository.
36
35
  * @returns A normalized OCI repository, or undefined when invalid.
37
36
  */
38
37
  function normalizeRegistry(registry) {
39
- let normalized = registry === null || registry === void 0 ? void 0 : registry.trim();
38
+ let normalized = registry?.trim();
40
39
  if (!normalized) {
41
40
  return undefined;
42
41
  }
@@ -53,38 +52,36 @@ function normalizeRegistry(registry) {
53
52
  * @param dryRun Whether to avoid package and push operations.
54
53
  * @returns Whether the chart publish operation succeeded.
55
54
  */
56
- function publishChart(projectDirectory, outputDirectory, registry, dryRun) {
57
- return tslib_1.__awaiter(this, void 0, void 0, function* () {
58
- try {
59
- const chartFilePath = (0, node_path_1.join)(projectDirectory, 'Chart.yaml');
60
- const metadata = (0, chart_manifest_1.readChartMetadata)((0, node_fs_1.readFileSync)(chartFilePath, 'utf8'), chartFilePath);
61
- const archivePath = (0, node_path_1.join)(outputDirectory, `${metadata.name}-${metadata.version}.tgz`);
62
- if (dryRun) {
63
- if (!(0, node_fs_1.existsSync)(archivePath)) {
64
- console.log(`[nx-helm] Would package chart to ${archivePath}`);
65
- }
66
- console.log(`[nx-helm] Would push ${archivePath} to ${registry}`);
67
- return true;
68
- }
55
+ async function publishChart(projectDirectory, outputDirectory, registry, dryRun) {
56
+ try {
57
+ const chartFilePath = (0, node_path_1.join)(projectDirectory, 'Chart.yaml');
58
+ const metadata = (0, chart_manifest_1.readChartMetadata)((0, node_fs_1.readFileSync)(chartFilePath, 'utf8'), chartFilePath);
59
+ const archivePath = (0, node_path_1.join)(outputDirectory, `${metadata.name}-${metadata.version}.tgz`);
60
+ if (dryRun) {
69
61
  if (!(0, node_fs_1.existsSync)(archivePath)) {
70
- (0, node_fs_1.mkdirSync)(outputDirectory, { recursive: true });
71
- console.log(`[nx-helm] Packaging chart ${projectDirectory}`);
72
- if (!(yield (0, run_helm_1.runHelm)(['package', '.', '--destination', outputDirectory], projectDirectory))) {
73
- return false;
74
- }
62
+ console.log(`[nx-helm] Would package chart to ${archivePath}`);
75
63
  }
76
- if (!(0, node_fs_1.existsSync)(archivePath)) {
77
- console.error(`[nx-helm] Helm did not create ${archivePath}.`);
64
+ console.log(`[nx-helm] Would push ${archivePath} to ${registry}`);
65
+ return true;
66
+ }
67
+ if (!(0, node_fs_1.existsSync)(archivePath)) {
68
+ (0, node_fs_1.mkdirSync)(outputDirectory, { recursive: true });
69
+ console.log(`[nx-helm] Packaging chart ${projectDirectory}`);
70
+ if (!(await (0, run_helm_1.runHelm)(['package', '.', '--destination', outputDirectory], projectDirectory))) {
78
71
  return false;
79
72
  }
80
- console.log(`[nx-helm] Publishing chart ${metadata.name}:${metadata.version}`);
81
- return (0, run_helm_1.runHelm)(['push', archivePath, registry], projectDirectory);
82
73
  }
83
- catch (error) {
84
- console.error(`[nx-helm] Could not publish chart ${projectDirectory}: ${getErrorMessage(error)}`);
74
+ if (!(0, node_fs_1.existsSync)(archivePath)) {
75
+ console.error(`[nx-helm] Helm did not create ${archivePath}.`);
85
76
  return false;
86
77
  }
87
- });
78
+ console.log(`[nx-helm] Publishing chart ${metadata.name}:${metadata.version}`);
79
+ return (0, run_helm_1.runHelm)(['push', archivePath, registry], projectDirectory);
80
+ }
81
+ catch (error) {
82
+ console.error(`[nx-helm] Could not publish chart ${projectDirectory}: ${getErrorMessage(error)}`);
83
+ return false;
84
+ }
88
85
  }
89
86
  /**
90
87
  * Checks the Nx dry-run environment and executor option.
@@ -92,7 +89,7 @@ function publishChart(projectDirectory, outputDirectory, registry, dryRun) {
92
89
  * @returns Whether the operation must avoid publishing.
93
90
  */
94
91
  function isDryRun(optionDryRun) {
95
- return optionDryRun === true || process.env.NX_DRY_RUN === 'true';
92
+ return optionDryRun === true || process.env['NX_DRY_RUN'] === 'true';
96
93
  }
97
94
  /**
98
95
  * Converts unknown caught values into useful command-line text.
@@ -103,4 +100,3 @@ function getErrorMessage(error) {
103
100
  return error instanceof Error ? error.message : String(error);
104
101
  }
105
102
  exports.default = runExecutor;
106
- //# sourceMappingURL=release-publish.js.map
@@ -10,7 +10,7 @@ const node_child_process_1 = require("node:child_process");
10
10
  */
11
11
  function runHelm(arguments_, cwd) {
12
12
  return new Promise((resolveCommand) => {
13
- // Helm is an external CLI intentionally resolved from the user's PATH.
13
+ // Resolve Helm from the user's PATH so the workspace controls the CLI version.
14
14
  // eslint-disable-next-line sonarjs/no-os-command-from-path
15
15
  const child = (0, node_child_process_1.spawn)('helm', arguments_, {
16
16
  cwd,
@@ -30,4 +30,3 @@ function runHelm(arguments_, cwd) {
30
30
  child.once('close', (code) => settle(code === 0));
31
31
  });
32
32
  }
33
- //# sourceMappingURL=run-helm.js.map
@@ -1,7 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.createValuesArguments = createValuesArguments;
4
- const tslib_1 = require("tslib");
5
4
  const project_directory_1 = require("../project-directory");
6
5
  const run_helm_1 = require("../run-helm");
7
6
  const fallbackReleaseName = 'helm-validate';
@@ -11,13 +10,12 @@ const fallbackReleaseName = 'helm-validate';
11
10
  * @param context Nx's executor context.
12
11
  * @returns Whether every Helm command completed successfully.
13
12
  */
14
- const runExecutor = (options, context) => tslib_1.__awaiter(void 0, void 0, void 0, function* () {
15
- var _a, _b;
13
+ const runExecutor = async (options, context) => {
16
14
  const projectDirectory = (0, project_directory_1.getProjectDirectory)(context, 'validation');
17
15
  if (!projectDirectory) {
18
16
  return { success: false };
19
17
  }
20
- const releaseName = (_b = (_a = options.releaseName) !== null && _a !== void 0 ? _a : context.projectName) !== null && _b !== void 0 ? _b : fallbackReleaseName;
18
+ const releaseName = options.releaseName ?? context.projectName ?? fallbackReleaseName;
21
19
  const valuesArguments = createValuesArguments(options.valuesFiles);
22
20
  const lintArguments = [
23
21
  'lint',
@@ -33,14 +31,14 @@ const runExecutor = (options, context) => tslib_1.__awaiter(void 0, void 0, void
33
31
  ...valuesArguments,
34
32
  ];
35
33
  console.log(`[nx-helm] Validating chart ${projectDirectory}`);
36
- if (!(yield (0, run_helm_1.runHelm)(lintArguments, projectDirectory))) {
34
+ if (!(await (0, run_helm_1.runHelm)(lintArguments, projectDirectory))) {
37
35
  return { success: false };
38
36
  }
39
- if (!(yield (0, run_helm_1.runHelm)(templateArguments, projectDirectory))) {
37
+ if (!(await (0, run_helm_1.runHelm)(templateArguments, projectDirectory))) {
40
38
  return { success: false };
41
39
  }
42
40
  return { success: true };
43
- });
41
+ };
44
42
  /**
45
43
  * Builds repeated `--values` arguments without invoking a shell.
46
44
  * @param valuesFiles Values files to pass to Helm.
@@ -50,4 +48,3 @@ function createValuesArguments(valuesFiles = []) {
50
48
  return valuesFiles.flatMap((valuesFile) => ['--values', valuesFile]);
51
49
  }
52
50
  exports.default = runExecutor;
53
- //# sourceMappingURL=validate.js.map
@@ -1,7 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.default = chartGenerator;
4
- const tslib_1 = require("tslib");
5
4
  const devkit_1 = require("@nx/devkit");
6
5
  const node_child_process_1 = require("node:child_process");
7
6
  const node_fs_1 = require("node:fs");
@@ -15,32 +14,29 @@ const defaultDirectory = 'charts';
15
14
  * @param options Generator options supplied by Nx.
16
15
  * @returns A promise that resolves after generated files are written.
17
16
  */
18
- function chartGenerator(tree, options) {
19
- return tslib_1.__awaiter(this, void 0, void 0, function* () {
20
- var _a, _b;
21
- if (!options.name.trim()) {
22
- throw new Error('[nx-helm] A chart name is required.');
23
- }
24
- const chartDirectoryName = (0, devkit_1.names)(options.name).fileName;
25
- const projectRoot = (0, devkit_1.joinPathFragments)((_a = options.directory) !== null && _a !== void 0 ? _a : defaultDirectory, chartDirectoryName);
26
- const projectName = (_b = options.projectName) !== null && _b !== void 0 ? _b : `helm-${chartDirectoryName}`;
27
- if (tree.exists((0, devkit_1.joinPathFragments)(projectRoot, 'Chart.yaml'))) {
28
- throw new Error(`[nx-helm] A Helm chart already exists at ${projectRoot}.`);
29
- }
30
- const temporaryDirectory = (0, node_fs_1.mkdtempSync)((0, node_path_1.join)((0, node_os_1.tmpdir)(), 'nx-helm-'));
31
- const temporaryChartDirectory = (0, node_path_1.join)(temporaryDirectory, chartDirectoryName);
32
- try {
33
- runHelmCreate(temporaryChartDirectory, options.starter);
34
- copyGeneratedChartToTree(tree, temporaryChartDirectory, projectRoot);
35
- }
36
- finally {
37
- (0, node_fs_1.rmSync)(temporaryDirectory, { recursive: true, force: true });
38
- }
39
- (0, devkit_1.addProjectConfiguration)(tree, projectName, {
40
- root: projectRoot,
41
- projectType: 'application',
42
- tags: ['scope:workspace', 'layer:infra', 'runtime:helm'],
43
- });
17
+ async function chartGenerator(tree, options) {
18
+ if (!options.name.trim()) {
19
+ throw new Error('[nx-helm] A chart name is required.');
20
+ }
21
+ const chartDirectoryName = (0, devkit_1.names)(options.name).fileName;
22
+ const projectRoot = (0, devkit_1.joinPathFragments)(options.directory ?? defaultDirectory, chartDirectoryName);
23
+ const projectName = options.projectName ?? `helm-${chartDirectoryName}`;
24
+ if (tree.exists((0, devkit_1.joinPathFragments)(projectRoot, 'Chart.yaml'))) {
25
+ throw new Error(`[nx-helm] A Helm chart already exists at ${projectRoot}.`);
26
+ }
27
+ const temporaryDirectory = (0, node_fs_1.mkdtempSync)((0, node_path_1.join)((0, node_os_1.tmpdir)(), 'nx-helm-'));
28
+ const temporaryChartDirectory = (0, node_path_1.join)(temporaryDirectory, chartDirectoryName);
29
+ try {
30
+ runHelmCreate(temporaryChartDirectory, options.starter);
31
+ copyGeneratedChartToTree(tree, temporaryChartDirectory, projectRoot);
32
+ }
33
+ finally {
34
+ (0, node_fs_1.rmSync)(temporaryDirectory, { recursive: true, force: true });
35
+ }
36
+ (0, devkit_1.addProjectConfiguration)(tree, projectName, {
37
+ root: projectRoot,
38
+ projectType: 'application',
39
+ tags: ['scope:workspace', 'layer:infra', 'runtime:helm'],
44
40
  });
45
41
  }
46
42
  /**
@@ -50,11 +46,11 @@ function chartGenerator(tree, options) {
50
46
  */
51
47
  function runHelmCreate(chartDirectory, starter) {
52
48
  const arguments_ = ['create', chartDirectory];
53
- if (starter === null || starter === void 0 ? void 0 : starter.trim()) {
49
+ if (starter?.trim()) {
54
50
  arguments_.push('--starter', starter.trim());
55
51
  }
56
52
  try {
57
- // Helm is intentionally resolved from the user's PATH.
53
+ // Resolve Helm from the user's PATH so the workspace controls the CLI version.
58
54
  // eslint-disable-next-line sonarjs/no-os-command-from-path
59
55
  (0, node_child_process_1.execFileSync)('helm', arguments_, {
60
56
  encoding: 'utf8',
@@ -103,4 +99,3 @@ function getProcessErrorMessage(error) {
103
99
  }
104
100
  return error instanceof Error ? error.message : String(error);
105
101
  }
106
- //# sourceMappingURL=chart.js.map
@@ -1,6 +1,6 @@
1
1
  /** Options accepted by the standalone Helm chart generator. */
2
2
  export interface ChartGeneratorSchema {
3
- /** Chart directory name and default project suffix. */
3
+ /** Chart directory name and project suffix. */
4
4
  name: string;
5
5
  /** Parent directory for the generated chart project. */
6
6
  directory?: string;
@@ -7,7 +7,7 @@
7
7
  "properties": {
8
8
  "name": {
9
9
  "type": "string",
10
- "description": "Chart directory name and default project suffix.",
10
+ "description": "Chart directory name and project suffix.",
11
11
  "pattern": "^[A-Za-z0-9][A-Za-z0-9._-]*$",
12
12
  "$default": {
13
13
  "$source": "argv",
@@ -23,7 +23,7 @@
23
23
  },
24
24
  "projectName": {
25
25
  "type": "string",
26
- "description": "Explicit Nx project name. Defaults to helm-<name>.",
26
+ "description": "Nx project name. Uses helm-<name> when omitted.",
27
27
  "pattern": "^[A-Za-z0-9][A-Za-z0-9._-]*$"
28
28
  },
29
29
  "starter": {
@@ -1,47 +1,43 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.default = initGenerator;
4
- const tslib_1 = require("tslib");
5
4
  const devkit_1 = require("@nx/devkit");
6
5
  const pluginName = '@otwld/nx-helm';
7
6
  const defaultValidateTargetName = 'helm:validate';
8
7
  const defaultPackageTargetName = 'helm:package';
9
8
  const defaultKubeVersion = '1.32.0';
10
- const defaultRegistry = 'oci://harbor.otwld.com/monorepo-starter';
9
+ const defaultRegistry = 'oci://registry.example.com/charts';
11
10
  /**
12
11
  * Registers `@otwld/nx-helm` and fills missing shared target defaults.
13
12
  * @param tree Workspace tree to update.
14
13
  * @param options Init options supplied by Nx.
15
14
  * @returns A promise that resolves after optional formatting.
16
15
  */
17
- function initGenerator(tree, options) {
18
- return tslib_1.__awaiter(this, void 0, void 0, function* () {
19
- var _a, _b;
20
- if (!tree.exists('nx.json')) {
21
- devkit_1.logger.warn('[nx-helm] nx.json was not found; plugin registration was skipped.');
22
- return;
23
- }
24
- const nxJson = (_a = (0, devkit_1.readNxJson)(tree)) !== null && _a !== void 0 ? _a : {};
25
- const existingPlugin = findPlugin(nxJson.plugins);
26
- const pluginOptions = existingPlugin
27
- ? readPluginOptions(existingPlugin)
28
- : createPluginOptions(options);
29
- if (!existingPlugin) {
30
- nxJson.plugins = [
31
- ...((_b = nxJson.plugins) !== null && _b !== void 0 ? _b : []),
32
- {
33
- plugin: pluginName,
34
- options: pluginOptions,
35
- },
36
- ];
37
- devkit_1.logger.info(`[nx-helm] Added ${pluginName} to nx.json.`);
38
- }
39
- addTargetDefaults(nxJson, pluginOptions);
40
- (0, devkit_1.updateNxJson)(tree, nxJson);
41
- if (!options.skipFormat) {
42
- yield (0, devkit_1.formatFiles)(tree);
43
- }
44
- });
16
+ async function initGenerator(tree, options) {
17
+ if (!tree.exists('nx.json')) {
18
+ devkit_1.logger.warn('[nx-helm] nx.json was not found; plugin registration was skipped.');
19
+ return;
20
+ }
21
+ const nxJson = (0, devkit_1.readNxJson)(tree) ?? {};
22
+ const existingPlugin = findPlugin(nxJson.plugins);
23
+ const pluginOptions = existingPlugin
24
+ ? readPluginOptions(existingPlugin)
25
+ : createPluginOptions(options);
26
+ if (!existingPlugin) {
27
+ nxJson.plugins = [
28
+ ...(nxJson.plugins ?? []),
29
+ {
30
+ plugin: pluginName,
31
+ options: pluginOptions,
32
+ },
33
+ ];
34
+ devkit_1.logger.info(`[nx-helm] Added ${pluginName} to nx.json.`);
35
+ }
36
+ addTargetDefaults(nxJson, pluginOptions);
37
+ (0, devkit_1.updateNxJson)(tree, nxJson);
38
+ if (!options.skipFormat) {
39
+ await (0, devkit_1.formatFiles)(tree);
40
+ }
45
41
  }
46
42
  /**
47
43
  * Finds an existing string or object plugin registration.
@@ -49,9 +45,9 @@ function initGenerator(tree, options) {
49
45
  * @returns Existing Helm registration, or undefined.
50
46
  */
51
47
  function findPlugin(plugins) {
52
- return plugins === null || plugins === void 0 ? void 0 : plugins.find((plugin) => typeof plugin === 'string'
48
+ return plugins?.find((plugin) => typeof plugin === 'string'
53
49
  ? plugin === pluginName
54
- : (plugin === null || plugin === void 0 ? void 0 : plugin.plugin) === pluginName);
50
+ : plugin?.plugin === pluginName);
55
51
  }
56
52
  /**
57
53
  * Builds default plugin options for a new registration.
@@ -59,19 +55,18 @@ function findPlugin(plugins) {
59
55
  * @returns Plugin options written to nx.json.
60
56
  */
61
57
  function createPluginOptions(options) {
62
- var _a, _b, _c, _d, _e;
63
- const validateTargetName = ((_a = options.validateTargetName) === null || _a === void 0 ? void 0 : _a.trim()) || defaultValidateTargetName;
64
- const packageTargetName = ((_b = options.packageTargetName) === null || _b === void 0 ? void 0 : _b.trim()) || defaultPackageTargetName;
58
+ const validateTargetName = options.validateTargetName?.trim() || defaultValidateTargetName;
59
+ const packageTargetName = options.packageTargetName?.trim() || defaultPackageTargetName;
65
60
  return {
66
61
  validateTarget: {
67
62
  name: validateTargetName,
68
- kubeVersion: ((_c = options.kubeVersion) === null || _c === void 0 ? void 0 : _c.trim()) || defaultKubeVersion,
69
- strict: (_d = options.strict) !== null && _d !== void 0 ? _d : false,
63
+ kubeVersion: options.kubeVersion?.trim() || defaultKubeVersion,
64
+ strict: options.strict ?? false,
70
65
  },
71
66
  packageTarget: {
72
67
  name: packageTargetName,
73
68
  },
74
- registry: ((_e = options.registry) === null || _e === void 0 ? void 0 : _e.trim()) || defaultRegistry,
69
+ registry: options.registry?.trim() || defaultRegistry,
75
70
  };
76
71
  }
77
72
  /**
@@ -91,20 +86,20 @@ function readPluginOptions(plugin) {
91
86
  * @param pluginOptions Helm plugin options.
92
87
  */
93
88
  function addTargetDefaults(nxJson, pluginOptions) {
94
- var _a, _b, _c, _d, _e;
95
- var _f, _g;
96
- (_a = nxJson.targetDefaults) !== null && _a !== void 0 ? _a : (nxJson.targetDefaults = {});
97
- const validateTargetName = (_b = getNestedString(pluginOptions, 'validateTarget', 'name')) !== null && _b !== void 0 ? _b : defaultValidateTargetName;
98
- const packageTargetName = (_c = getNestedString(pluginOptions, 'packageTarget', 'name')) !== null && _c !== void 0 ? _c : defaultPackageTargetName;
99
- (_d = (_f = nxJson.targetDefaults)[validateTargetName]) !== null && _d !== void 0 ? _d : (_f[validateTargetName] = {
89
+ nxJson.targetDefaults ??= {};
90
+ const validateTargetName = getNestedString(pluginOptions, 'validateTarget', 'name') ??
91
+ defaultValidateTargetName;
92
+ const packageTargetName = getNestedString(pluginOptions, 'packageTarget', 'name') ??
93
+ defaultPackageTargetName;
94
+ nxJson.targetDefaults[validateTargetName] ??= {
100
95
  cache: true,
101
96
  inputs: helmInputs,
102
- });
103
- (_e = (_g = nxJson.targetDefaults)[packageTargetName]) !== null && _e !== void 0 ? _e : (_g[packageTargetName] = {
97
+ };
98
+ nxJson.targetDefaults[packageTargetName] ??= {
104
99
  cache: true,
105
100
  dependsOn: [validateTargetName],
106
101
  inputs: helmInputs,
107
- });
102
+ };
108
103
  }
109
104
  const helmInputs = [
110
105
  '{projectRoot}/**/*',
@@ -133,4 +128,3 @@ function getNestedString(options, parent, property) {
133
128
  function isRecord(value) {
134
129
  return typeof value === 'object' && value !== null;
135
130
  }
136
- //# sourceMappingURL=init.js.map
@@ -9,7 +9,7 @@
9
9
  "type": "string",
10
10
  "description": "OCI repository used by inferred release publishing.",
11
11
  "pattern": "^oci://",
12
- "default": "oci://harbor.otwld.com/monorepo-starter"
12
+ "default": "oci://registry.example.com/charts"
13
13
  },
14
14
  "kubeVersion": {
15
15
  "type": "string",
package/src/index.js CHANGED
@@ -1,10 +1,11 @@
1
1
  "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
2
5
  Object.defineProperty(exports, "__esModule", { value: true });
3
6
  exports.chartGenerator = exports.createNodes = void 0;
4
- const tslib_1 = require("tslib");
5
7
  /** Public inferred-task, generator, and release exports for the Helm package. */
6
8
  var plugin_1 = require("./plugins/plugin");
7
9
  Object.defineProperty(exports, "createNodes", { enumerable: true, get: function () { return plugin_1.createNodes; } });
8
10
  var chart_1 = require("./generators/chart/chart");
9
- Object.defineProperty(exports, "chartGenerator", { enumerable: true, get: function () { return tslib_1.__importDefault(chart_1).default; } });
10
- //# sourceMappingURL=index.js.map
11
+ Object.defineProperty(exports, "chartGenerator", { enumerable: true, get: function () { return __importDefault(chart_1).default; } });
@@ -28,7 +28,6 @@ export interface HelmPluginOptions {
28
28
  }
29
29
  /**
30
30
  * Infers Helm targets for standalone projects whose root contains Chart.yaml.
31
- * A sibling project.json is required so nested charts and app-owned chart
32
- * directories remain outside the Helm project graph.
31
+ * A sibling project.json identifies the chart as an Nx project.
33
32
  */
34
33
  export declare const createNodes: CreateNodes<HelmPluginOptions>;
@@ -1,7 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.createNodes = void 0;
4
- const tslib_1 = require("tslib");
5
4
  const devkit_1 = require("@nx/devkit");
6
5
  const node_fs_1 = require("node:fs");
7
6
  const node_path_1 = require("node:path");
@@ -10,11 +9,10 @@ const defaultValidateTargetName = 'helm:validate';
10
9
  const defaultPackageTargetName = 'helm:package';
11
10
  const releasePublishTargetName = 'nx-release-publish';
12
11
  const defaultKubeVersion = '1.32.0';
13
- const defaultRegistry = 'oci://harbor.otwld.com/monorepo-starter';
12
+ const defaultRegistry = 'oci://registry.example.com/charts';
14
13
  /**
15
14
  * Infers Helm targets for standalone projects whose root contains Chart.yaml.
16
- * A sibling project.json is required so nested charts and app-owned chart
17
- * directories remain outside the Helm project graph.
15
+ * A sibling project.json identifies the chart as an Nx project.
18
16
  */
19
17
  exports.createNodes = [
20
18
  chartFilePattern,
@@ -25,10 +23,10 @@ exports.createNodes = [
25
23
  * @param context Nx createNodes context.
26
24
  * @returns Inferred project configuration contributions.
27
25
  */
28
- (chartFiles, options, context) => tslib_1.__awaiter(void 0, void 0, void 0, function* () {
26
+ async (chartFiles, options, context) => {
29
27
  const normalizedOptions = normalizeOptions(options);
30
28
  return (0, devkit_1.createNodesFromFiles)((chartFile, _options, callbackContext) => createNodesInternal(chartFile, normalizedOptions, callbackContext), chartFiles, normalizedOptions, context);
31
- }),
29
+ },
32
30
  ];
33
31
  /**
34
32
  * Builds inferred targets for one Chart.yaml file.
@@ -39,7 +37,6 @@ exports.createNodes = [
39
37
  * chart is not a standalone Nx project.
40
38
  */
41
39
  function createNodesInternal(chartFilePath, options, context) {
42
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
43
40
  const chartRoot = getChartRoot(chartFilePath, context.workspaceRoot);
44
41
  if (!chartRoot) {
45
42
  return {};
@@ -48,19 +45,19 @@ function createNodesInternal(chartFilePath, options, context) {
48
45
  if (!projectName) {
49
46
  return {};
50
47
  }
51
- const validateTargetName = getTargetName((_a = options.validateTarget) === null || _a === void 0 ? void 0 : _a.name, defaultValidateTargetName);
52
- const packageTargetName = getTargetName((_b = options.packageTarget) === null || _b === void 0 ? void 0 : _b.name, defaultPackageTargetName);
48
+ const validateTargetName = getTargetName(options.validateTarget?.name, defaultValidateTargetName);
49
+ const packageTargetName = getTargetName(options.packageTarget?.name, defaultPackageTargetName);
53
50
  assertTargetNamesAreUnique(validateTargetName, packageTargetName);
54
51
  const outputPath = getPackageOutputPath(chartRoot.projectRoot);
55
- const releaseName = ((_d = (_c = options.validateTarget) === null || _c === void 0 ? void 0 : _c.releaseName) === null || _d === void 0 ? void 0 : _d.trim()) || projectName;
52
+ const releaseName = options.validateTarget?.releaseName?.trim() || projectName;
56
53
  const validateOptions = {
57
- kubeVersion: ((_f = (_e = options.validateTarget) === null || _e === void 0 ? void 0 : _e.kubeVersion) === null || _f === void 0 ? void 0 : _f.trim()) || defaultKubeVersion,
54
+ kubeVersion: options.validateTarget?.kubeVersion?.trim() || defaultKubeVersion,
58
55
  releaseName,
59
- strict: (_h = (_g = options.validateTarget) === null || _g === void 0 ? void 0 : _g.strict) !== null && _h !== void 0 ? _h : false,
56
+ strict: options.validateTarget?.strict ?? false,
60
57
  };
61
- const valuesFiles = (_j = options.validateTarget) === null || _j === void 0 ? void 0 : _j.valuesFiles;
62
- if (valuesFiles === null || valuesFiles === void 0 ? void 0 : valuesFiles.length) {
63
- validateOptions.valuesFiles = valuesFiles;
58
+ const valuesFiles = options.validateTarget?.valuesFiles;
59
+ if (valuesFiles?.length) {
60
+ validateOptions['valuesFiles'] = valuesFiles;
64
61
  }
65
62
  const targets = {
66
63
  [validateTargetName]: {
@@ -88,7 +85,7 @@ function createNodesInternal(chartFilePath, options, context) {
88
85
  dependsOn: [packageTargetName],
89
86
  options: {
90
87
  outputPath,
91
- registry: (_k = options.registry) !== null && _k !== void 0 ? _k : defaultRegistry,
88
+ registry: options.registry ?? defaultRegistry,
92
89
  },
93
90
  metadata: {
94
91
  technologies: ['helm'],
@@ -118,8 +115,8 @@ function createNodesInternal(chartFilePath, options, context) {
118
115
  * Resolves a Chart.yaml directory and verifies the standalone project marker.
119
116
  * @param chartFilePath Chart.yaml path matched by Nx.
120
117
  * @param workspaceRoot Absolute workspace root.
121
- * @returns Chart root details, or undefined for paths outside the workspace or
122
- * charts without a sibling project.json.
118
+ * @returns Chart root details, or undefined for charts without a sibling
119
+ * project.json.
123
120
  */
124
121
  function getChartRoot(chartFilePath, workspaceRoot) {
125
122
  const absoluteChartPath = (0, node_path_1.isAbsolute)(chartFilePath)
@@ -156,11 +153,16 @@ function getProjectName(projectRoot, projectDirectory) {
156
153
  * @returns Normalized plugin options.
157
154
  */
158
155
  function normalizeOptions(options) {
159
- var _a, _b, _c;
160
156
  return {
161
- validateTarget: Object.assign(Object.assign({}, options === null || options === void 0 ? void 0 : options.validateTarget), { name: getTargetName((_a = options === null || options === void 0 ? void 0 : options.validateTarget) === null || _a === void 0 ? void 0 : _a.name, defaultValidateTargetName) }),
162
- packageTarget: Object.assign(Object.assign({}, options === null || options === void 0 ? void 0 : options.packageTarget), { name: getTargetName((_b = options === null || options === void 0 ? void 0 : options.packageTarget) === null || _b === void 0 ? void 0 : _b.name, defaultPackageTargetName) }),
163
- registry: ((_c = options === null || options === void 0 ? void 0 : options.registry) === null || _c === void 0 ? void 0 : _c.trim()) || defaultRegistry,
157
+ validateTarget: {
158
+ ...options?.validateTarget,
159
+ name: getTargetName(options?.validateTarget?.name, defaultValidateTargetName),
160
+ },
161
+ packageTarget: {
162
+ ...options?.packageTarget,
163
+ name: getTargetName(options?.packageTarget?.name, defaultPackageTargetName),
164
+ },
165
+ registry: options?.registry?.trim() || defaultRegistry,
164
166
  };
165
167
  }
166
168
  /**
@@ -170,7 +172,7 @@ function normalizeOptions(options) {
170
172
  * @returns A non-empty target name.
171
173
  */
172
174
  function getTargetName(configuredName, defaultName) {
173
- return (configuredName === null || configuredName === void 0 ? void 0 : configuredName.trim()) || defaultName;
175
+ return configuredName?.trim() || defaultName;
174
176
  }
175
177
  /**
176
178
  * Prevents the configurable targets from colliding with one another or the
@@ -211,4 +213,3 @@ function toWorkspacePath(directory, workspaceRoot) {
211
213
  }
212
214
  return workspacePath;
213
215
  }
214
- //# sourceMappingURL=plugin.js.map
@@ -28,7 +28,7 @@ export default class HelmVersionActions extends VersionActions {
28
28
  manifestPath: string;
29
29
  }>;
30
30
  /**
31
- * Helm OCI registry lookup is intentionally not part of version resolution.
31
+ * Helm OCI registries are not used for version resolution.
32
32
  * @returns Null so Nx can report an unsupported registry resolver clearly.
33
33
  */
34
34
  readCurrentVersionFromRegistry(): Promise<null>;
@@ -1,6 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
3
  const node_path_1 = require("node:path");
5
4
  const release_1 = require("nx/release");
6
5
  const chart_manifest_1 = require("../chart-manifest");
@@ -18,66 +17,55 @@ class HelmVersionActions extends release_1.VersionActions {
18
17
  * Configures the one root manifest for the release lifecycle.
19
18
  * @returns Nothing; the root manifest path is stored for the release lifecycle.
20
19
  */
21
- init() {
22
- return tslib_1.__awaiter(this, void 0, void 0, function* () {
23
- var _a;
24
- const preserveLocalDependencyProtocols = (_a = this.finalConfigForProject.preserveLocalDependencyProtocols) !== null && _a !== void 0 ? _a : true;
25
- this.manifestsToUpdate = [
26
- {
27
- manifestPath: this.chartManifestPath,
28
- preserveLocalDependencyProtocols,
29
- },
30
- ];
31
- });
20
+ async init() {
21
+ const preserveLocalDependencyProtocols = this.finalConfigForProject.preserveLocalDependencyProtocols ?? true;
22
+ this.manifestsToUpdate = [
23
+ {
24
+ manifestPath: this.chartManifestPath,
25
+ preserveLocalDependencyProtocols,
26
+ },
27
+ ];
32
28
  }
33
29
  /**
34
30
  * Validates the root Chart.yaml and its release metadata.
35
31
  * @param tree Nx's release file tree.
36
32
  * @returns A resolved promise after validation succeeds.
37
33
  */
38
- validate(tree) {
39
- return tslib_1.__awaiter(this, void 0, void 0, function* () {
40
- const content = tree.read(this.chartManifestPath, 'utf8');
41
- if (content === null) {
42
- throw new Error(`[nx-helm] Could not find Helm manifest ${this.chartManifestPath}.`);
43
- }
44
- (0, chart_manifest_1.readChartMetadata)(content, this.chartManifestPath);
45
- });
34
+ async validate(tree) {
35
+ const content = tree.read(this.chartManifestPath, 'utf8');
36
+ if (content === null) {
37
+ throw new Error(`[nx-helm] Could not find Helm manifest ${this.chartManifestPath}.`);
38
+ }
39
+ (0, chart_manifest_1.readChartMetadata)(content, this.chartManifestPath);
46
40
  }
47
41
  /**
48
42
  * Reads the current chart version from the root Chart.yaml.
49
43
  * @param tree Nx's release file tree.
50
44
  * @returns The current version and manifest path.
51
45
  */
52
- readCurrentVersionFromSourceManifest(tree) {
53
- return tslib_1.__awaiter(this, void 0, void 0, function* () {
54
- const metadata = this.readMetadata(tree);
55
- return {
56
- currentVersion: metadata.version,
57
- manifestPath: this.chartManifestPath,
58
- };
59
- });
46
+ async readCurrentVersionFromSourceManifest(tree) {
47
+ const metadata = this.readMetadata(tree);
48
+ return {
49
+ currentVersion: metadata.version,
50
+ manifestPath: this.chartManifestPath,
51
+ };
60
52
  }
61
53
  /**
62
- * Helm OCI registry lookup is intentionally not part of version resolution.
54
+ * Helm OCI registries are not used for version resolution.
63
55
  * @returns Null so Nx can report an unsupported registry resolver clearly.
64
56
  */
65
- readCurrentVersionFromRegistry() {
66
- return tslib_1.__awaiter(this, void 0, void 0, function* () {
67
- return null;
68
- });
57
+ async readCurrentVersionFromRegistry() {
58
+ return null;
69
59
  }
70
60
  /**
71
61
  * Helm chart dependencies are not represented as Nx package dependencies.
72
62
  * @returns No dependency version information.
73
63
  */
74
- readCurrentVersionOfDependency() {
75
- return tslib_1.__awaiter(this, void 0, void 0, function* () {
76
- return {
77
- currentVersion: null,
78
- dependencyCollection: null,
79
- };
80
- });
64
+ async readCurrentVersionOfDependency() {
65
+ return {
66
+ currentVersion: null,
67
+ dependencyCollection: null,
68
+ };
81
69
  }
82
70
  /**
83
71
  * Writes the new chart version to the root Chart.yaml.
@@ -85,27 +73,23 @@ class HelmVersionActions extends release_1.VersionActions {
85
73
  * @param newVersion New semantic chart version.
86
74
  * @returns A log message for the Nx release output.
87
75
  */
88
- updateProjectVersion(tree, newVersion) {
89
- return tslib_1.__awaiter(this, void 0, void 0, function* () {
90
- const content = tree.read(this.chartManifestPath, 'utf8');
91
- if (content === null) {
92
- throw new Error(`[nx-helm] Could not find Helm manifest ${this.chartManifestPath}.`);
93
- }
94
- tree.write(this.chartManifestPath, (0, chart_manifest_1.updateChartVersion)(content, this.chartManifestPath, newVersion));
95
- return [
96
- `New Helm chart version ${newVersion} written to ${this.chartManifestPath}`,
97
- ];
98
- });
76
+ async updateProjectVersion(tree, newVersion) {
77
+ const content = tree.read(this.chartManifestPath, 'utf8');
78
+ if (content === null) {
79
+ throw new Error(`[nx-helm] Could not find Helm manifest ${this.chartManifestPath}.`);
80
+ }
81
+ tree.write(this.chartManifestPath, (0, chart_manifest_1.updateChartVersion)(content, this.chartManifestPath, newVersion));
82
+ return [
83
+ `New Helm chart version ${newVersion} written to ${this.chartManifestPath}`,
84
+ ];
99
85
  }
100
86
  /**
101
87
  * Helm dependency updates are not supported until chart dependencies have
102
88
  * corresponding Nx project graph edges.
103
89
  * @returns No dependency update log messages.
104
90
  */
105
- updateProjectDependencies() {
106
- return tslib_1.__awaiter(this, void 0, void 0, function* () {
107
- return [];
108
- });
91
+ async updateProjectDependencies() {
92
+ return [];
109
93
  }
110
94
  /**
111
95
  * Workspace-relative root Chart.yaml path for this release project.
@@ -128,4 +112,3 @@ class HelmVersionActions extends release_1.VersionActions {
128
112
  }
129
113
  }
130
114
  exports.default = HelmVersionActions;
131
- //# sourceMappingURL=version-actions.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"chart-manifest.js","sourceRoot":"","sources":["../../../../../plugins/nx/helm/src/chart-manifest.ts"],"names":[],"mappings":";;AAiBA,8CAkBC;AASD,gDAqBC;AAjED,mCAA+B;AAC/B,+BAAqC;AAUrC;;;;;GAKG;AACH,SAAgB,iBAAiB,CAC/B,OAAe,EACf,QAAgB;IAEhB,MAAM,QAAQ,GAAG,kBAAkB,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAC;IACvD,MAAM,IAAI,GAAG,QAAQ,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IAClC,MAAM,OAAO,GAAG,QAAQ,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAExC,IAAI,OAAO,IAAI,KAAK,QAAQ,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE,EAAE,CAAC;QAC7C,MAAM,IAAI,KAAK,CAAC,SAAS,QAAQ,gCAAgC,CAAC,CAAC;IACrE,CAAC;IACD,IAAI,OAAO,OAAO,KAAK,QAAQ,IAAI,CAAC,IAAA,cAAK,EAAC,OAAO,CAAC,EAAE,CAA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AAE,eAAe,EAAE,eAAe,CAAC,EAClD,gBAAgB,CACjB,CAAC,EACF,CAAC;YACD,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;QAC5B,CAAC;IACH,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,OAAO,CAAC,KAAK,CACX,qCAAqC,gBAAgB,KAAK,eAAe,CAAC,KAAK,CAAC,EAAE,CACnF,CAAC;QACF,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;IAC5B,CAAC;IAED,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;AAC3B,CAAC,CAAA,CAAC;AAEF;;;;GAIG;AACH,SAAS,QAAQ,CAAC,YAAiC;IACjD,OAAO,YAAY,KAAK,IAAI,IAAI,OAAO,CAAC,GAAG,CAAC,UAAU,KAAK,MAAM,CAAC;AACpE,CAAC;AAED;;;;GAIG;AACH,SAAS,eAAe,CAAC,KAAc;IACrC,OAAO,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;AAChE,CAAC;AAED,kBAAe,WAAW,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"project-directory.js","sourceRoot":"","sources":["../../../../../../plugins/nx/helm/src/executors/project-directory.ts"],"names":[],"mappings":";;AASA,kDAmBC;AA3BD,yCAAoC;AAEpC;;;;;GAKG;AACH,SAAgB,mBAAmB,CACjC,OAAwB,EACxB,SAAiB;IAEjB,MAAM,WAAW,GAAG,OAAO,CAAC,WAAW,CAAC;IACxC,IAAI,CAAC,WAAW,EAAE,CAAC;QACjB,OAAO,CAAC,KAAK,CACX,kBAAkB,SAAS,kCAAkC,CAC9D,CAAC;QACF,OAAO,SAAS,CAAC;IACnB,CAAC;IAED,MAAM,OAAO,GAAG,OAAO,CAAC,sBAAsB,CAAC,QAAQ,CAAC,WAAW,CAAC,CAAC;IACrE,IAAI,CAAC,OAAO,EAAE,CAAC;QACb,OAAO,CAAC,KAAK,CAAC,2CAA2C,WAAW,IAAI,CAAC,CAAC;QAC1E,OAAO,SAAS,CAAC;IACnB,CAAC;IAED,OAAO,IAAA,mBAAO,EAAC,OAAO,CAAC,IAAI,EAAE,OAAO,CAAC,IAAI,CAAC,CAAC;AAC7C,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"release-publish.js","sourceRoot":"","sources":["../../../../../../../plugins/nx/helm/src/executors/release-publish/release-publish.ts"],"names":[],"mappings":";;;AAAA,qCAA8D;AAC9D,yCAA0C;AAI1C,yDAAyD;AACzD,4DAA2D;AAC3D,0CAAsC;AAGtC;;;;;GAKG;AACH,MAAM,WAAW,GAAkD,CACjE,OAAO,EACP,OAAO,EACP,EAAE;IACF,MAAM,gBAAgB,GAAG,IAAA,uCAAmB,EAAC,OAAO,EAAE,YAAY,CAAC,CAAC;IACpE,IAAI,CAAC,gBAAgB,EAAE,CAAC;QACtB,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;IAC5B,CAAC;IAED,MAAM,QAAQ,GAAG,iBAAiB,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC;IACrD,IAAI,CAAC,QAAQ,EAAE,CAAC;QACd,OAAO,CAAC,KAAK,CACX,qEAAqE;YACnE,oCAAoC,CACvC,CAAC;QACF,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;IAC5B,CAAC;IAED,MAAM,eAAe,GAAG,IAAA,mBAAO,EAAC,OAAO,CAAC,IAAI,EAAE,OAAO,CAAC,UAAU,CAAC,CAAC;IAClE,MAAM,MAAM,GAAG,QAAQ,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC;IAExC,IACE,CAAC,CAAC,MAAM,YAAY,CAAC,gBAAgB,EAAE,eAAe,EAAE,QAAQ,EAAE,MAAM,CAAC,CAAC,EAC1E,CAAC;QACD,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;IAC5B,CAAC;IAED,OAAO,EAAE,OAAO,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CAAC;AAED,kBAAe,WAAW,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"run-helm.js","sourceRoot":"","sources":["../../../../../../plugins/nx/helm/src/executors/run-helm.ts"],"names":[],"mappings":";;AAQA,0BAuBC;AA/BD,2DAA2C;AAE3C;;;;;GAKG;AACH,SAAgB,OAAO,CAAC,UAAoB,EAAE,GAAW;IACvD,OAAO,IAAI,OAAO,CAAC,CAAC,cAAc,EAAE,EAAE;QACpC,uEAAuE;QACvE,2DAA2D;QAC3D,MAAM,KAAK,GAAG,IAAA,0BAAK,EAAC,MAAM,EAAE,UAAU,EAAE;YACtC,GAAG;YACH,KAAK,EAAE,SAAS;SACjB,CAAC,CAAC;QACH,IAAI,OAAO,GAAG,KAAK,CAAC;QAEpB,MAAM,MAAM,GAAG,CAAC,OAAgB,EAAE,EAAE;YAClC,IAAI,CAAC,OAAO,EAAE,CAAC;gBACb,OAAO,GAAG,IAAI,CAAC;gBACf,cAAc,CAAC,OAAO,CAAC,CAAC;YAC1B,CAAC;QACH,CAAC,CAAC;QAEF,KAAK,CAAC,IAAI,CAAC,OAAO,EAAE,CAAC,KAAK,EAAE,EAAE;YAC5B,OAAO,CAAC,KAAK,CAAC,iCAAiC,KAAK,CAAC,OAAO,EAAE,CAAC,CAAC;YAChE,MAAM,CAAC,KAAK,CAAC,CAAC;QAChB,CAAC,CAAC,CAAC;QACH,KAAK,CAAC,IAAI,CAAC,OAAO,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,MAAM,CAAC,IAAI,KAAK,CAAC,CAAC,CAAC,CAAC;IACpD,CAAC,CAAC,CAAC;AACL,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"validate.js","sourceRoot":"","sources":["../../../../../../../plugins/nx/helm/src/executors/validate/validate.ts"],"names":[],"mappings":";;AAwDA,sDAEC;;AAxDD,4DAA2D;AAC3D,0CAAsC;AAGtC,MAAM,mBAAmB,GAAG,eAAe,CAAC;AAE5C;;;;;GAKG;AACH,MAA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C,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;AAChE,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"init.js","sourceRoot":"","sources":["../../../../../../../plugins/nx/helm/src/generators/init/init.ts"],"names":[],"mappings":";;AAuBA,gCAkCC;;AAzDD,uCAOoB;AAIpB,MAAM,UAAU,GAAG,gBAAgB,CAAC;AACpC,MAAM,yBAAyB,GAAG,eAAe,CAAC;AAClD,MAAM,wBAAwB,GAAG,cAAc,CAAC;AAChD,MAAM,kBAAkB,GAAG,QAAQ,CAAC;AACpC,MAAM,eAAe,GAAG,yCAAyC,CAAC;AAElE;;;;;GAKG;AACH,SAA8B,aAAa,CACzC,IAAU,EACV,OAA4B;;;QAE5B,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,SAAS,CAAC,EAAE,CAAC;YAC5B,eAAM,CAAC,IAAI,CACT,mEAAmE,CACpE,CAAC;YACF,OAAO;QACT,CAAC;QAED,MAAM,MAAM,GAAG,MAAA,IAAA,mBAAU,EAAC,IAAI,CAAC,mCAAI,EAAE,CAAC;QACtC,MAAM,cAAc,GAAG,UAAU,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;QAClD,MAAM,aAAa,GAAG,cAAc;YAClC,CAAC,CAAC,iBAAiB,CAAC,cAAc,CAAC;YACnC,CAAC,CAAC,mBAAmB,CAAC,OAAO,CAAC,CAAC;QAEjC,IAAI,CAAC,cAAc,EAAE,CAAC;YACpB,MAAM,CAAC,OAAO,GAAG;gBACf,GAAG,CAAC,MAAA,MAAM,CAAC,OAAO,mCAAI,EAAE,CAAC;gBACzB;oBACE,MAAM,EAAE,UAAU;oBAClB,OAAO,EAAE,aAAa;iBACvB;aACF,CAAC;YACF,eAAM,CAAC,IAAI,CAAC,mBAAmB,UAAU,cAAc,CAAC,CAAC;QAC3D,CAAC;QAED,iBAAiB,CAAC,MAAM,EAAE,aAAa,CAAC,CAAC;QACzC,IAAA,qBAAY,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CAAC;AAED;;;;GAIG;AACH,SAAS,QAAQ,CAAC,KAAc;IAC9B,OAAO,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,KAAK,IAAI,CAAC;AACrD,CAAC"}
package/src/index.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../plugins/nx/helm/src/index.ts"],"names":[],"mappings":";;;;AAAA,iFAAiF;AACjF,2CAK0B;AAJxB,qGAAA,WAAW,OAAA;AAKb,kDAAqE;AAA5D,gIAAA,OAAO,OAAkB"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"plugin.js","sourceRoot":"","sources":["../../../../../../plugins/nx/helm/src/plugins/plugin.ts"],"names":[],"mappings":";;;;AAAA,uCAMoB;AACpB,qCAAqC;AACrC,yCAAqE;AAErE,MAAM,gBAAgB,GAAG,eAAe,CAAC;AACzC,MAAM,yBAAyB,GAAG,eAAe,CAAC;AAClD,MAAM,wBAAwB,GAAG,cAAc,CAAC;AAChD,MAAM,wBAAwB,GAAG,oBAAoB,CAAC;AACtD,MAAM,kBAAkB,GAAG,QAAQ,CAAC;AACpC,MAAM,eAAe,GAAG,yCAAyC,CAAC;AAgClE;;;;GAIG;AACU,QAAA,WAAW,GAAmC;IACzD,gBAAgB;IAChB;;;;;;OAMG;IACH,CAAO,UAAU,EAAE,OAAO,EAAE,OAAO,EAAE,EAAE;QACrC,MAAM,iBAAiB,GAAG,gBAAgB,CAAC,OAAO,CAAC,CAAC;QAEpD,OAAO,IAAA,6BAAoB,EACzB,CAAC,SAAS,EAAE,QAAQ,EAAE,eAAe,EAAE,EAAE,CACvC,mBAAmB,CAAC,SAAS,EAAE,iBAAiB,EAAE,eAAe,CAAC,EACpE,UAAU,EACV,iBAAiB,EACjB,OAAO,CACR,CAAC;IACJ,CAAC,CAAA;CACF,CAAC;AAEF;;;;;;;GAOG;AACH,SAAS,mBAAmB,CAC1B,aAAqB,EACrB,OAA0B,EAC1B,OAA2B;;IAE3B,MAAM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0 @@
1
- {"version":3,"file":"version-actions.js","sourceRoot":"","sources":["../../../../../../plugins/nx/helm/src/release/version-actions.ts"],"names":[],"mappings":";;;AAAA,yCAAiC;AAGjC,wCAA4C;AAE5C,sDAA0E;AAE1E;;;GAGG;AACH,MAAqB,kBAAmB,SAAQ,wBAAc;IAA9D;;QACE,6EAA6E;QAC7E,2BAAsB,GAAG,CAAC,YAAY,CAAC,CAAC;IA6H1C,CAAC;IA3HC;;;OAGG;IACY,IAAI;;;YACjB,MAAM,gCAAgC,GACpC,MAAA,IAAI,CAAC,qBAAqB,CAAC,gCAAgC,mCAAI,IAAI,CAAC;YACtE,IAAI,CAAC,iBAAiB,GAAG;gBACvB;oBACE,YAAY,EAAE,IAAI,CAAC,iBAAiB;oBACpC,gCAAgC;iBACjC;aACF,CAAC;QACJ,CAAC;KAAA;IAED;;;;OAIG;IACY,QAAQ,CAAC,IAAU;;YAChC,MAAM,OAAO,GAAG,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,iBAAiB,EAAE,MAAM,CAAC,CAAC;YAC1D,IAAI,OAAO,KAAK,IAAI,EAAE,CAAC;gBACrB,MAAM,IAAI,KAAK,CACb,0CAA0C,IAAI,CAAC,iBAAiB,GAAG,CACpE,CAAC;YACJ,CAAC;YAED,IAAA,kCAAiB,EAAC,OAAO,EAAE,IAAI,CAAC,iBAAiB,CAAC,CAAC;QACrD,CAAC;KAAA;IAED;;;;OAIG;IACY,oCAAoC,CAAC,IAAU;;YAC5D,MAAM,QAAQ,GAAG,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,CAAC;YAEzC,OAAO;gBACL,cAAc,EAAE,QAAQ,CAAC,OAAO;gBAChC,YAAY,EAAE,IAAI,CAAC,iBAAiB;aACrC,CAAC;QACJ,CAAC;KAAA;IAED;;;OAGG;IACY,8BAA8B;;YAC3C,OAAO,IAAI,CAAC;QACd,CAAC;KAAA;IAED;;;OAGG;IACY,8BAA8B;;YAC3C,OAAO;gBACL,cAAc,EAAE,I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