{"_id":"@davidspekorg/semantic-release-helm","_rev":"2-87892e25dd9d146afb9f8334af12c1a5","name":"@davidspekorg/semantic-release-helm","dist-tags":{"latest":"1.1.1"},"versions":{"1.0.0":{"name":"@davidspekorg/semantic-release-helm","version":"1.0.0","author":{"name":"David van der Spek","email":"28541758+davidspek@users.noreply.github.com"},"license":"MIT","_id":"@davidspekorg/semantic-release-helm@1.0.0","maintainers":[{"name":"davidspek","email":"vanderspek.david@gmail.com"}],"homepage":"https://github.com/davidspek/semantic-release-helm#readme","bugs":{"url":"https://github.com/davidspek/semantic-release-helm/issues"},"dist":{"shasum":"c78d61fd0d52bdf38cc498a3787e38a57b4cc128","tarball":"https://registry.npmjs.org/@davidspekorg/semantic-release-helm/-/semantic-release-helm-1.0.0.tgz","fileCount":22,"integrity":"sha512-IEJbsS5/VU8VGMO0LxA8aDC7+5k6mfvOhRr2t6m69+Z+KSHjeTtKcS/udmblQPRKsoxln9+JzU2/hRUS1ryc1Q==","signatures":[{"sig":"MEQCIEuA3usbE9p8ZeXarw+829KD1VCqlpl2Emyt2ZBRrkpHAiBUQJC1mm1KmLMqK2dMhqFdjF85wL3KlG+PshZUHSbuhw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":42628},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":"./dist/index.js","gitHead":"d4fb9fcd6ce969de345af65eefe976086047befd","scripts":{"build":"tsc -p tsconfig.json","prepare":"ts-patch install && typia patch"},"_npmUser":{"name":"davidspek","email":"vanderspek.david@gmail.com"},"repository":{"url":"git+https://github.com/davidspek/semantic-release-helm.git","type":"git"},"_npmVersion":"10.8.1","description":"Helm plugin for [semantic-release](https://github.com/semantic-release/semantic-release)","directories":{},"_nodeVersion":"20.18.0","dependencies":{"execa":"^4.1.0","typia":"^6.0.6","semver":"^7.6.2","js-yaml":"^4.1.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"ts-node":"^10.9.2","ts-patch":"^3.2.0","typescript":"^5.4.2","@types/node":"^20.14.2","@types/js-yaml":"^4.0.9","semantic-release":"^24.0.0","@semantic-release/git":"^10.0.1","@semantic-release/npm":"^12.0.1","@semantic-release/exec":"^6.0.3","@semantic-release/changelog":"^6.0.3","@semantic-release/commit-analyzer":"^13.0.0","@semantic-release/release-notes-generator":"^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/semantic-release-helm_1.0.0_1732542279893_0.2568100903959414","host":"s3://npm-registry-packages"}},"1.1.0":{"name":"@davidspekorg/semantic-release-helm","version":"1.1.0","author":{"name":"David van der Spek","email":"28541758+davidspek@users.noreply.github.com"},"license":"MIT","_id":"@davidspekorg/semantic-release-helm@1.1.0","maintainers":[{"name":"davidspek","email":"vanderspek.david@gmail.com"}],"homepage":"https://github.com/davidspek/semantic-release-helm#readme","bugs":{"url":"https://github.com/davidspek/semantic-release-helm/issues"},"dist":{"shasum":"2be25ca6489eca6179f8be9d9a9916bac167c95c","tarball":"https://registry.npmjs.org/@davidspekorg/semantic-release-helm/-/semantic-release-helm-1.1.0.tgz","fileCount":22,"integrity":"sha512-ZkYctimEfMT/NGwypwHssUL/BHNypx549cSxeiYpmWDmFdn6PrjPK4yXeMw+vJ99RF4jGzlNIRdhEBjSVEA6JQ==","signatures":[{"sig":"MEUCIQCDbbMhPZTjeq1y9FmTF+oeRxkPtVOKkGVM8YOuhaa7XwIgOFBTbeEYEZ+kFMYJanfceWFjh3MSbd++zPbd+SvpTDo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":43034},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":"./dist/index.js","gitHead":"8e15d82381251f82e1623d85dd5be4d3fad849ef","scripts":{"build":"tsc -p tsconfig.json","prepare":"ts-patch install && typia patch"},"_npmUser":{"name":"davidspek","email":"vanderspek.david@gmail.com"},"repository":{"url":"git+https://github.com/davidspek/semantic-release-helm.git","type":"git"},"_npmVersion":"10.8.1","description":"Helm plugin for [semantic-release](https://github.com/semantic-release/semantic-release)","directories":{},"_nodeVersion":"20.18.0","dependencies":{"execa":"^4.1.0","typia":"^6.0.6","semver":"^7.6.2","js-yaml":"^4.1.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"ts-node":"^10.9.2","ts-patch":"^3.2.0","typescript":"^5.4.2","@types/node":"^20.14.2","@types/js-yaml":"^4.0.9","semantic-release":"^24.0.0","@semantic-release/git":"^10.0.1","@semantic-release/npm":"^12.0.1","@semantic-release/exec":"^6.0.3","@semantic-release/changelog":"^6.0.3","@semantic-release/commit-analyzer":"^13.0.0","@semantic-release/release-notes-generator":"^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/semantic-release-helm_1.1.0_1732542968421_0.7065660264650944","host":"s3://npm-registry-packages"}},"1.1.1":{"name":"@davidspekorg/semantic-release-helm","version":"1.1.1","description":"Helm plugin for [semantic-release](https://github.com/semantic-release/semantic-release)","type":"module","main":"./dist/index.js","module":"./dist/index.js","exports":"./dist/index.js","repository":{"type":"git","url":"git+https://github.com/davidspek/semantic-release-helm.git"},"scripts":{"build":"tsc -p tsconfig.json","prepare":"ts-patch install && typia patch"},"author":{"name":"David van der Spek","email":"28541758+davidspek@users.noreply.github.com"},"license":"MIT","publishConfig":{"access":"public"},"devDependencies":{"@semantic-release/changelog":"^6.0.3","@semantic-release/commit-analyzer":"^13.0.0","@semantic-release/exec":"^6.0.3","@semantic-release/git":"^10.0.1","@semantic-release/npm":"^12.0.1","@semantic-release/release-notes-generator":"^14.0.0","@types/js-yaml":"^4.0.9","@types/node":"^20.14.2","semantic-release":"^24.0.0","ts-node":"^10.9.2","ts-patch":"^3.2.0","typescript":"^5.4.2"},"dependencies":{"execa":"^4.1.0","js-yaml":"^4.1.0","semver":"^7.6.2","typia":"^6.0.6"},"_id":"@davidspekorg/semantic-release-helm@1.1.1","gitHead":"4c1c418c2114bda70621093301604fa426c840cd","types":"./dist/index.d.ts","bugs":{"url":"https://github.com/davidspek/semantic-release-helm/issues"},"homepage":"https://github.com/davidspek/semantic-release-helm#readme","_nodeVersion":"20.18.0","_npmVersion":"10.8.1","dist":{"integrity":"sha512-X0G2idoeiuQwPhp9EQsX0nIUWvLiV743Cc+c1Tp6+LDRwCF7qX9hA6q9NzZftdbmVjC+6UPdySYGu47CB0xQeA==","shasum":"041b235e7f684b169c1f09873ada61a122c4ecb8","tarball":"https://registry.npmjs.org/@davidspekorg/semantic-release-helm/-/semantic-release-helm-1.1.1.tgz","fileCount":22,"unpackedSize":43593,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIExXo4d3W3WucumLstVS3HODGexx3MiLHJNZweePi9EMAiEA1/0qkjsmPnwysGq1tZQpJC1wuiEuSoTqltIJnPwTNNE="}]},"_npmUser":{"name":"davidspek","email":"vanderspek.david@gmail.com"},"directories":{},"maintainers":[{"name":"davidspek","email":"vanderspek.david@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/semantic-release-helm_1.1.1_1732545924480_0.20360590408551316"},"_hasShrinkwrap":false}},"time":{"created":"2024-11-25T13:44:39.745Z","modified":"2024-11-25T14:45:24.871Z","1.0.0":"2024-11-25T13:44:40.088Z","1.1.0":"2024-11-25T13:56:08.622Z","1.1.1":"2024-11-25T14:45:24.686Z"},"bugs":{"url":"https://github.com/davidspek/semantic-release-helm/issues"},"author":{"name":"David van der Spek","email":"28541758+davidspek@users.noreply.github.com"},"license":"MIT","homepage":"https://github.com/davidspek/semantic-release-helm#readme","repository":{"type":"git","url":"git+https://github.com/davidspek/semantic-release-helm.git"},"description":"Helm plugin for [semantic-release](https://github.com/semantic-release/semantic-release)","maintainers":[{"name":"davidspek","email":"vanderspek.david@gmail.com"}],"readme":"# semantic-release-helm\n\n[semantic-release](https://github.com/semantic-release/semantic-release) plugin to publish a helm chart to a helm repository and an OCI registry.\n\nIt updates [Helm](https://helm.sh/) chart `version` and `appVersion` in `Chart.yaml`.\n\nIt supports the following protocols:\n- [OCI](https://helm.sh/docs/topics/registries/)\n- [Chart Museum](https://chartmuseum.com/)\n\n## Install\n\n```\nnpm install -D @davidspekorg/semantic-release-helm\n```\n\n## Configuration\n\n| Options                | Descriptions                                           | Required | type                            | Default  |\n|------------------------|--------------------------------------------------------|----------|---------------------------------|----------|\n| chartRepository        | URI for chart repository                               | yes*     | `string`                        | `none`   |\n| ociRegistry            | URI for OCI registry                                   | yes*     | `string`                        | `none`   |\n| chartDirectory         | Chart directory where `Chart.yml` is located           | no       | `string`                        | `.`      |\n| versionUpdatePolicy    | Set update policy for `version` field of Chart.yaml    | no       | `\"fixed\" \\| \"sync\" \\| \"desync\"` | `\"sync\"` |\n| appVersionUpdatePolicy | Set update policy for `appVersion` field of Chart.yaml | no       | `\"fixed\" \\| \"sync\" \\| \"desync\"` | `\"sync\"` |\n\n\\* At least one of ociRegistry or chartRepository is required.\n\nPass credentials through environment variable to login helm repository.\n\n```\nexport HELM_REPOSITORY_USERNAME=<USERNAME>\nexport HELM_REPOSITORY_PASSWORD=<PASSWORD>\nexport HELM_REGISTRY_USERNAME=<USERNAME>\nexport HELM_REGISTRY_PASSWORD=<PASSWORD>\n```\n\n`HELM_REPOSITORY_USERNAME` and `HELM_REPOSITORY_PASSWORD` are used for chart repository login.\n\n`HELM_REGISTRY_USERNAME` and `HELM_REGISTRY_PASSWORD` are used for OCI registry login.\n\nIf you are using oci registry and no credentials are provided, it will use the `HELM_REPOSITORY_USERNAME` and `HELM_REPOSITORY_PASSWORD` for login.\n\n### About versionUpdatePolicy & appVersionUpdatePolicy\n\nUpdate policy\n\n- **fixed**: Use Fixed version. The version will not be updated\n- **sync**: Use `nextRelease.version`. New version will be set to `nextRelease.version`\n- **desync**: Version will be increased according to `nextRelease.type` (one of _`major`_, _`premajor`_, _`minor`_, _`preminor`_, _`patch`_, _`prepatch`_, _`prerelease`_)\n\n## Example\n\n```json\n{\n  \"plugins\": [\n    [\n      \"@davidspekorg/semantic-release-helm\",\n      {\n        \"chartRepository\": \"https://mychart.company.org/chartrepo/myproject\",\n        \"ociRegistry\": \"mychart.company.org/myproject\",\n        \"chartDirectory\": \"./chart\",\n        \"versionUpdatePolicy\": \"sync\",\n        \"appVersionUpdatePolicy\": \"fixed\"\n      }\n    ]\n  ]\n}\n```\n\n- Your chart repository is `https://mychart.company.org/chartrepo/myproject` and OCI registry is `mychart.company.org/myproject`.\n- `Chart.yaml` is in `chart` sub-directory\n- `version` will follow next release version and `appVersion` will not modified\n\nOld version\n\n```yaml\n# semantic-release version: 1.2.3\nversion: 1.2.3\nappVersion: 2.3.1\n```\n\nNew version - Case #1 patch\n\n```yaml\n# semantic-release version: 1.2.4\nversion: 1.2.4\nappVersion: 2.3.1\n```\n\nNew version - Case #2 minor\n\n```yaml\n# semantic-release version: 1.3.0\nversion: 1.3.0\nappVersion: 2.3.1\n```\n\nNew version - Case #3 major\n\n```yaml\n# semantic-release version: 2.0.0\nversion: 2.0.0\nappVersion: 2.3.1\n```\n","readmeFilename":"README.md"}