{"_id":"@cohandv/semantic-release-update-versions","_rev":"4-c95d53731362d81d246d4fc75aace3ba","name":"@cohandv/semantic-release-update-versions","dist-tags":{"latest":"1.0.5"},"versions":{"1.0.3":{"name":"@cohandv/semantic-release-update-versions","version":"1.0.3","keywords":["release","semantic-release"],"author":{"name":"David & JP"},"license":"MIT","_id":"@cohandv/semantic-release-update-versions@1.0.3","maintainers":[{"name":"cohandv","email":"cohandv@gmail.com"}],"homepage":"https://github.com/cohandv/semantic-release-update-versions#readme","bugs":{"url":"https://github.com/cohandv/semantic-release-update-versions/issues"},"dist":{"shasum":"81d4e1180033348306e3878e5aa3321941172500","tarball":"https://registry.npmjs.org/@cohandv/semantic-release-update-versions/-/semantic-release-update-versions-1.0.3.tgz","fileCount":4,"integrity":"sha512-p4Jx37f6UZBXvK04Ouzzb3dv960A37jXuRmzdMYGxUHeP45JupGEuElvAbLSokttKlVHIoGocxBsieafG9+A1g==","signatures":[{"sig":"MEQCIEJr0QOXFTazZosUDzcvLvCDHq6MOQn1Qjh2U96K4duPAiA+A5mRF3qUuBnkolKAieZB4liFx/FbFGbuwjGDumKflw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":9458},"type":"module","config":{"commitizen":{"path":"cz-conventional-changelog"}},"engines":{"node":">=20"},"exports":{".":{"default":"./dist/index.js"}},"gitHead":"d94d37fcafc3a4c1c4018559e66940a4ed3ba143","scripts":{"cm":"cz","lint":"turbo run lint:all","build":"turbo run build:all","format":"turbo run format:all","lint:ts":"biome lint --diagnostic-level=error .","prepack":"pinst --disable","release":"semantic-release","build:ts":"tsup --config tsup.config.ts","postpack":"pinst --enable","format:ts":"biome format --diagnostic-level=error .","lint:cspell":"cspell --no-progress --unique --no-summary '**'","postinstall":"husky"},"_npmUser":{"name":"cohandv","email":"cohandv@gmail.com"},"commitlint":{"extends":["@commitlint/config-conventional"]},"repository":{"url":"git+ssh://git@github.com/cohandv/semantic-release-update-versions.git","type":"git"},"_npmVersion":"10.5.0","description":"Semantic-release plugin to create a file of versions to publish","directories":{},"_nodeVersion":"18.20.2","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"packageManager":"yarn@4.3.1","devDependencies":{"tsup":"^8.1.0","husky":"^9.0.11","pinst":"^3.0.0","turbo":"^2.0.5","cspell":"^8.9.1","commitizen":"^4.3.0","typescript":"^5.5.2","@types/node":"^20.14.8","@biomejs/biome":"^1.8.2","@commitlint/cli":"^19.3.0","semantic-release":"^24.0.0","@semantic-release/git":"^10.0.1","@semantic-release/npm":"^12.0.1","@semantic-release/github":"^10.0.6","@commitlint/config-conventional":"^19.2.2","@semantic-release/commit-analyzer":"^13.0.0","@semantic-release/release-notes-generator":"^14.0.1","conventional-changelog-conventionalcommits":"^8.0.0"},"peerDependencies":{"semantic-release":">=20"},"_npmOperationalInternal":{"tmp":"tmp/semantic-release-update-versions_1.0.3_1724247196015_0.23611904777891857","host":"s3://npm-registry-packages"}},"1.0.0":{"name":"@cohandv/semantic-release-update-versions","version":"1.0.0","keywords":["release","semantic-release"],"author":{"name":"David & JP"},"license":"MIT","_id":"@cohandv/semantic-release-update-versions@1.0.0","maintainers":[{"name":"cohandv","email":"cohandv@gmail.com"}],"homepage":"https://github.com/cohandv/semantic-release-update-versions#readme","bugs":{"url":"https://github.com/cohandv/semantic-release-update-versions/issues"},"dist":{"shasum":"a051dd0e4454206dca0cb9cf12d6eea1e8151ba6","tarball":"https://registry.npmjs.org/@cohandv/semantic-release-update-versions/-/semantic-release-update-versions-1.0.0.tgz","fileCount":4,"integrity":"sha512-1qYLAORwNJ0DgqdUYy/CgWezzWgzuRy7GjvXyGRgaLiukaI0jVC2QEnHrX1dM2Xt4y5T6Drk43PXNUB6Bzqrwg==","signatures":[{"sig":"MEUCIFj7VNFkZBpYhFLzbF+U9Daz4x9rwq/n/WCorkjRfzHBAiEAicGlgZk/lQw3y1U1NuTKYILGV7J+IusSfyJZpWNIrg0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10513},"type":"module","config":{"commitizen":{"path":"cz-conventional-changelog"}},"engines":{"node":">=20"},"exports":{".":{"default":"./dist/index.js"}},"gitHead":"d94d37fcafc3a4c1c4018559e66940a4ed3ba143","scripts":{"cm":"cz","lint":"turbo run lint:all","build":"turbo run build:all","format":"turbo run format:all","lint:ts":"biome lint --diagnostic-level=error .","prepack":"pinst --disable","release":"semantic-release","build:ts":"tsup --config tsup.config.ts","postpack":"pinst --enable","format:ts":"biome format --diagnostic-level=error .","lint:cspell":"cspell --no-progress --unique --no-summary '**'","postinstall":"husky"},"_npmUser":{"name":"cohandv","email":"cohandv@gmail.com"},"commitlint":{"extends":["@commitlint/config-conventional"]},"repository":{"url":"git+ssh://git@github.com/cohandv/semantic-release-update-versions.git","type":"git"},"_npmVersion":"10.5.0","description":"Semantic-release plugin to create a file of versions to publish","directories":{},"_nodeVersion":"18.20.2","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"packageManager":"yarn@4.3.1","devDependencies":{"tsup":"^8.1.0","husky":"^9.0.11","pinst":"^3.0.0","turbo":"^2.0.5","cspell":"^8.9.1","commitizen":"^4.3.0","typescript":"^5.5.2","@types/node":"^20.14.8","@biomejs/biome":"^1.8.2","@commitlint/cli":"^19.3.0","semantic-release":"^24.0.0","@semantic-release/git":"^10.0.1","@semantic-release/npm":"^12.0.1","@semantic-release/github":"^10.0.6","@commitlint/config-conventional":"^19.2.2","@semantic-release/commit-analyzer":"^13.0.0","@semantic-release/release-notes-generator":"^14.0.1","conventional-changelog-conventionalcommits":"^8.0.0"},"peerDependencies":{"semantic-release":">=20"},"_npmOperationalInternal":{"tmp":"tmp/semantic-release-update-versions_1.0.0_1724248375141_0.21648665265130207","host":"s3://npm-registry-packages"}},"1.0.1":{"name":"@cohandv/semantic-release-update-versions","version":"1.0.1","keywords":["release","semantic-release"],"author":{"name":"David & JP"},"license":"MIT","_id":"@cohandv/semantic-release-update-versions@1.0.1","maintainers":[{"name":"cohandv","email":"cohandv@gmail.com"}],"homepage":"https://github.com/cohandv/semantic-release-update-versions#readme","bugs":{"url":"https://github.com/cohandv/semantic-release-update-versions/issues"},"dist":{"shasum":"8d7c53d8605a218bd26a5c255d70d362fff0eb74","tarball":"https://registry.npmjs.org/@cohandv/semantic-release-update-versions/-/semantic-release-update-versions-1.0.1.tgz","fileCount":4,"integrity":"sha512-tIGOpwxBdovLsLKNiiCESNSBWWPHmqbyuBOBY7vazxdt3zgp6qLGBEC9RXYyw86zAu74uBG7ycvo9VCKWO8RWg==","signatures":[{"sig":"MEQCIDUBlLABODtPBIfgz2ujARzheTgKQYRTNO0gekT0RgweAiB0NZkSEeECfEfaBx6cXyk0hFqP6pS/y4W9OwziCRJG/Q==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10821},"type":"module","config":{"commitizen":{"path":"cz-conventional-changelog"}},"engines":{"node":">=20"},"exports":{".":{"default":"./dist/index.js"}},"gitHead":"0b98d9784386240c0cacfd31a6d0403f3ed731ee","scripts":{"cm":"cz","lint":"turbo run lint:all","build":"turbo run build:all","format":"turbo run format:all","lint:ts":"biome lint --diagnostic-level=error .","prepack":"pinst --disable","release":"semantic-release","build:ts":"tsup --config tsup.config.ts","postpack":"pinst --enable","format:ts":"biome format --diagnostic-level=error .","lint:cspell":"cspell --no-progress --unique --no-summary '**'","postinstall":"husky"},"_npmUser":{"name":"cohandv","email":"cohandv@gmail.com"},"commitlint":{"extends":["@commitlint/config-conventional"]},"repository":{"url":"git+ssh://git@github.com/cohandv/semantic-release-update-versions.git","type":"git"},"_npmVersion":"10.5.0","description":"Semantic-release plugin to create a file of versions to publish","directories":{},"_nodeVersion":"18.20.2","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"packageManager":"yarn@4.3.1","devDependencies":{"tsup":"^8.1.0","husky":"^9.0.11","pinst":"^3.0.0","turbo":"^2.0.5","cspell":"^8.9.1","commitizen":"^4.3.0","typescript":"^5.5.2","@types/node":"^20.14.8","@biomejs/biome":"^1.8.2","@commitlint/cli":"^19.3.0","semantic-release":"^24.0.0","@semantic-release/git":"^10.0.1","@semantic-release/npm":"^12.0.1","@semantic-release/github":"^10.0.6","@commitlint/config-conventional":"^19.2.2","@semantic-release/commit-analyzer":"^13.0.0","@semantic-release/release-notes-generator":"^14.0.1","conventional-changelog-conventionalcommits":"^8.0.0"},"peerDependencies":{"semantic-release":">=20"},"_npmOperationalInternal":{"tmp":"tmp/semantic-release-update-versions_1.0.1_1724249978808_0.6074046637126507","host":"s3://npm-registry-packages"}},"1.0.4":{"name":"@cohandv/semantic-release-update-versions","version":"1.0.4","keywords":["release","semantic-release"],"author":{"name":"David & JP"},"license":"MIT","_id":"@cohandv/semantic-release-update-versions@1.0.4","maintainers":[{"name":"cohandv","email":"cohandv@gmail.com"}],"homepage":"https://github.com/cohandv/semantic-release-update-versions#readme","bugs":{"url":"https://github.com/cohandv/semantic-release-update-versions/issues"},"dist":{"shasum":"02a97694dd2b2559c3ff8e13cb1bbe822747ca4e","tarball":"https://registry.npmjs.org/@cohandv/semantic-release-update-versions/-/semantic-release-update-versions-1.0.4.tgz","fileCount":4,"integrity":"sha512-O1fHyoHIN37TPYZAnB8Q6a1srWtiSF5BGAHM1Zzn7c017hToigCSoZdyUTg2/OA63cYnmOAizPqljjE6TG+R9g==","signatures":[{"sig":"MEUCIQC1C1mtZ3yWU/7iSOyeF0X3eDnjj+6MUhvH7/Qe2G6nMwIgGVicJG/3e6TlaKIJy9M9vmit0E4R7g17tzkb4PoHLC4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10723},"type":"module","config":{"commitizen":{"path":"cz-conventional-changelog"}},"engines":{"node":">=20"},"exports":{".":{"default":"./dist/index.js"}},"gitHead":"0b98d9784386240c0cacfd31a6d0403f3ed731ee","scripts":{"cm":"cz","lint":"turbo run lint:all","build":"turbo run build:all","format":"turbo run format:all","lint:ts":"biome lint --diagnostic-level=error .","prepack":"pinst --disable","release":"semantic-release","build:ts":"tsup --config tsup.config.ts","postpack":"pinst --enable","format:ts":"biome format --diagnostic-level=error .","lint:cspell":"cspell --no-progress --unique --no-summary '**'","postinstall":"husky"},"_npmUser":{"name":"cohandv","email":"cohandv@gmail.com"},"commitlint":{"extends":["@commitlint/config-conventional"]},"repository":{"url":"git+ssh://git@github.com/cohandv/semantic-release-update-versions.git","type":"git"},"_npmVersion":"10.5.0","description":"Semantic-release plugin to create a file of versions to publish","directories":{},"_nodeVersion":"18.20.2","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"packageManager":"yarn@4.3.1","devDependencies":{"tsup":"^8.1.0","husky":"^9.0.11","pinst":"^3.0.0","turbo":"^2.0.5","cspell":"^8.9.1","commitizen":"^4.3.0","typescript":"^5.5.2","@types/node":"^20.14.8","@biomejs/biome":"^1.8.2","@commitlint/cli":"^19.3.0","semantic-release":"^24.0.0","@semantic-release/git":"^10.0.1","@semantic-release/npm":"^12.0.1","@semantic-release/github":"^10.0.6","@commitlint/config-conventional":"^19.2.2","@semantic-release/commit-analyzer":"^13.0.0","@semantic-release/release-notes-generator":"^14.0.1","conventional-changelog-conventionalcommits":"^8.0.0"},"peerDependencies":{"semantic-release":">=20"},"_npmOperationalInternal":{"tmp":"tmp/semantic-release-update-versions_1.0.4_1724250484061_0.9713586438214574","host":"s3://npm-registry-packages"}},"1.0.5":{"name":"@cohandv/semantic-release-update-versions","version":"1.0.5","description":"Semantic-release plugin to create a file of versions to publish","keywords":["release","semantic-release"],"homepage":"https://github.com/cohandv/semantic-release-update-versions#readme","bugs":{"url":"https://github.com/cohandv/semantic-release-update-versions/issues"},"repository":{"type":"git","url":"git+ssh://git@github.com/cohandv/semantic-release-update-versions.git"},"license":"MIT","author":{"name":"David & JP"},"type":"module","exports":{".":{"default":"./dist/index.js"}},"scripts":{"build":"turbo run build:all","build:ts":"tsup --config tsup.config.ts","cm":"cz","format":"turbo run format:all","format:ts":"biome format --diagnostic-level=error .","postinstall":"husky","lint":"turbo run lint:all","lint:ts":"biome lint --diagnostic-level=error .","lint:cspell":"cspell --no-progress --unique --no-summary '**'","prepack":"pinst --disable","postpack":"pinst --enable","release":"semantic-release"},"commitlint":{"extends":["@commitlint/config-conventional"]},"config":{"commitizen":{"path":"cz-conventional-changelog"}},"devDependencies":{"@biomejs/biome":"^1.8.2","@commitlint/cli":"^19.3.0","@commitlint/config-conventional":"^19.2.2","@semantic-release/commit-analyzer":"^13.0.0","@semantic-release/git":"^10.0.1","@semantic-release/github":"^10.0.6","@semantic-release/npm":"^12.0.1","@semantic-release/release-notes-generator":"^14.0.1","@types/node":"^20.14.8","commitizen":"^4.3.0","conventional-changelog-conventionalcommits":"^8.0.0","cspell":"^8.9.1","husky":"^9.0.11","pinst":"^3.0.0","semantic-release":"^24.0.0","tsup":"^8.1.0","turbo":"^2.0.5","typescript":"^5.5.2"},"peerDependencies":{"semantic-release":">=20"},"packageManager":"yarn@4.3.1","engines":{"node":">=20"},"publishConfig":{"access":"public"},"_id":"@cohandv/semantic-release-update-versions@1.0.5","gitHead":"0b98d9784386240c0cacfd31a6d0403f3ed731ee","_nodeVersion":"18.20.2","_npmVersion":"10.5.0","dist":{"integrity":"sha512-OWN4ZJ1oXN+tj88TMHGF6X8snvVNNCUsju7HCyxXW/H7DEx33WA1R5IVoo0PpflzkdtOiAGNlpCsNS/4SDiM2Q==","shasum":"2c88d3f95395ff606cdbf1df21c80c6c288ed953","tarball":"https://registry.npmjs.org/@cohandv/semantic-release-update-versions/-/semantic-release-update-versions-1.0.5.tgz","fileCount":4,"unpackedSize":10773,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICAnJ7Sy7iwH0BWD/xbqJ9jxATbRlQYiUiGfz54SyN4IAiB+ERb4w+LZ0cKnYtW+rNCKd74XeExUBecN3R2oTXPdRg=="}]},"_npmUser":{"name":"cohandv","email":"cohandv@gmail.com"},"directories":{},"maintainers":[{"name":"cohandv","email":"cohandv@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/semantic-release-update-versions_1.0.5_1724250683479_0.652649129077107"},"_hasShrinkwrap":false}},"time":{"created":"2024-08-21T13:33:15.873Z","modified":"2024-08-21T14:31:23.891Z","1.0.3":"2024-08-21T13:33:16.191Z","1.0.0":"2024-08-21T13:52:55.320Z","1.0.1":"2024-08-21T14:19:38.947Z","1.0.4":"2024-08-21T14:28:04.209Z","1.0.5":"2024-08-21T14:31:23.672Z"},"bugs":{"url":"https://github.com/cohandv/semantic-release-update-versions/issues"},"author":{"name":"David & JP"},"license":"MIT","homepage":"https://github.com/cohandv/semantic-release-update-versions#readme","keywords":["release","semantic-release"],"repository":{"type":"git","url":"git+ssh://git@github.com/cohandv/semantic-release-update-versions.git"},"description":"Semantic-release plugin to create a file of versions to publish","maintainers":[{"name":"cohandv","email":"cohandv@gmail.com"}],"readme":"# @cohandv/semantic-release-update-versions\n\n[**semantic-release**](https://github.com/semantic-release/semantic-release) plugin to create major, release, fix tags into a file for other CI to pick it up\n\n[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](http://commitizen.github.io/cz-cli/)\n[![Conventional Changelog](https://img.shields.io/badge/changelog-conventional-brightgreen.svg)](http://conventional-changelog.github.io)\n[![semantic-release: angular](https://img.shields.io/badge/semantic--release-conventionalcommits-e10079?logo=semantic-release)](https://github.com/semantic-release/semantic-release)\n[![Formatted with Biome](https://img.shields.io/badge/Formatted_with-Biome-60a5fa?style=flat&logo=biome)](https://biomejs.dev/)\n\n| Step               | Description                                                                                                                              |\n| ------------------ |------------------------------------------------------------------------------------------------------------------------------------------|\n| `prepare`          | [Prepares and writes the file with the atgs](https://docs.docker.com/reference/cli/docker/buildx/build)                                  |\n| `verifyConditions`          | [Verifies that suffix are provided when multiple configurations are provided](https://docs.docker.com/reference/cli/docker/buildx/build) |\n\n## Install\n\n```bash\n# For npm users\n$ npm install --save-dev @cohandv/semantic-release-update-versions\n\n# For yarn users\n$ yarn add --dev @cohandv/semantic-release-update-versions\n```\n\n## Usage\n\nThe plugin can be configured in the\n[**semantic-release** configuration file](https://github.com/semantic-release/semantic-release/blob/master/docs/usage/configuration.md#configuration):\n\n### Produce versions\n```json\n{\n    \"plugins\": [\n        \"@semantic-release/commit-analyzer\",\n        \"@semantic-release/release-notes-generator\",\n        \"@semantic-release/npm\",\n        [\n            \"@cohandv/semantic-release-update-versions\"\n        ]\n    ]\n}\n```\n\n### Options\n\n| Options       | Description                                                                                                                                              | Default                                    | Required |\n|---------------|----------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------| :------: |\n| `filePath`    | The directory where the file will be created.                                                                                                            | `.`                                        |          |\n| `fileName`    | The file name.                                                                                                                                           | `semantic-release-versions.json` |          |\n| `tags`        | Array of string which can be static values like `latest` or environment variables like `$NODE_ENV`                                                       | `nextRelease.version`                      |          |\n| `bumpParents` | Flag to bump related tags along with the specific release version (E.G: if set to true when publishing the 1.5.0 version it will also publish 1 and 1.5) | false                                      |          |\n| `suffix`      | Suffix to add on the buildign image step 5. If multiple versions are provided this is mandatory                                                          |                                            |          |\n\n### Example\n\n#### Build and push single component\n```json\n{\n    \"plugins\": [\n        \"@semantic-release/commit-analyzer\",\n        \"@semantic-release/release-notes-generator\",\n        \"@semantic-release/npm\",\n        [\n            \"@cohandv/semantic-release-update-versions\",\n            {\n              \"config\": [\n                {\n                  \"tags\": [\n                    \"latest\",\n                    \"$NODE_ENV\"\n                  ],\n                  \"bumpParents\": false,\n                  \"suffix\": \"sufix\"\n                }\n              ]\n            }\n        ]\n    ]\n}\n```\n\n#### Build and push multiple components\n```json\n{\n    \"plugins\": [\n        \"@semantic-release/commit-analyzer\",\n        \"@semantic-release/release-notes-generator\",\n        \"@semantic-release/npm\",\n        [\n            \"@cohandv/semantic-release-update-versions\",\n            { \n                \"config\": [\n                    {\n                        \"tags\": [\"latest\", \"$NODE_ENV\", \"component-1\"],\n                        \"bumpParents\": false,\n                        \"suffix\": \"component-1\"\n                    },\n                    {\n                        \"tags\": [\"latest\", \"$NODE_ENV\", \"component-2\"],\n                        \"bumpParents\": false,\n                        \"suffix\": \"component-2\"\n                    }\n                ]\n            }\n        ]\n    ]\n}\n```\n\n### Run locally\n\n```bash\nnpm install -g tsx\nnpx tsx src/localRun.ts\n```\n","readmeFilename":"README.md"}