{"_id":"@douglasneuroinformatics/semantic-release","_rev":"5-f3f633cff3da803490e2ff2017a44807","name":"@douglasneuroinformatics/semantic-release","dist-tags":{"latest":"0.2.2"},"versions":{"0.0.1":{"name":"@douglasneuroinformatics/semantic-release","version":"0.0.1","keywords":["semantic-release"],"author":{"name":"Joshua Unrau"},"license":"Apache-2.0","_id":"@douglasneuroinformatics/semantic-release@0.0.1","maintainers":[{"name":"gdevenyi","email":"gdevenyi@gmail.com"},{"name":"joshunrau","email":"contact@joshuaunrau.com"}],"homepage":"https://github.com/DouglasNeuroInformatics/semantic-release/#readme","bugs":{"url":"https://github.com/DouglasNeuroInformatics/semantic-release/issues"},"bin":{"semantic-release":"bin/cli.js"},"dist":{"shasum":"c1c5b5e833e1e4be44291a2f4cf4081ef9096547","tarball":"https://registry.npmjs.org/@douglasneuroinformatics/semantic-release/-/semantic-release-0.0.1.tgz","fileCount":6,"integrity":"sha512-ZTAsAGGvKghkUwNNoQQ8N+BLaKcToweRD4KP6DKQzH6kR7MD3z7Qosn+yzuPHt1u9ITMCmo8Yb+b88SVtsvSNg==","signatures":[{"sig":"MEUCIFYaXO//DqxAbEmzBj2BbGjmTxyqAwCXa7yAgecMt5NvAiEAp+P0akDoCYG3ksZrGKqGi6BoHYS66rkSCO939PDtwUY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":16802},"main":"./src/index.js","type":"module","_from":"file:douglasneuroinformatics-semantic-release-0.0.1.tgz","types":"./src/index.d.ts","scripts":{"lint":"tsc && eslint --fix src","format":"prettier --write src"},"_npmUser":{"name":"joshunrau","email":"contact@joshuaunrau.com"},"prettier":"@douglasneuroinformatics/prettier-config","_resolved":"/private/var/folders/08/v2vf4bv56570pzdyjqltjllw0000gn/T/c4d580bf18225bc181611bb5d57fa3b0/douglasneuroinformatics-semantic-release-0.0.1.tgz","_integrity":"sha512-ZTAsAGGvKghkUwNNoQQ8N+BLaKcToweRD4KP6DKQzH6kR7MD3z7Qosn+yzuPHt1u9ITMCmo8Yb+b88SVtsvSNg==","commitlint":{"extends":["@commitlint/config-conventional"]},"repository":{"url":"git+https://github.com/DouglasNeuroInformatics/semantic-release.git","type":"git"},"_npmVersion":"10.7.0","description":"Semantic release configuration and workflows for DNP projects","directories":{},"_nodeVersion":"20.15.0","dependencies":{"semantic-release":"^23.0.7","@semantic-release/git":"^10.0.1","@semantic-release/npm":"^12.0.0","@semantic-release/github":"^10.0.3","@semantic-release/changelog":"^6.0.3","@semantic-release/commit-analyzer":"^12.0.0","@semantic-release/release-notes-generator":"^13.0.0"},"_hasShrinkwrap":false,"devDependencies":{"husky":"^9.0.11","eslint":"^8.57.0","prettier":"^3.2.5","typescript":"~5.5.3","@commitlint/cli":"^19.2.1","@commitlint/config-conventional":"^19.1.0","@douglasneuroinformatics/eslint-config":"^4.2.2","@douglasneuroinformatics/prettier-config":"^0.0.1"},"peerDependencies":{"husky":"9.x","@commitlint/cli":"19.x","@commitlint/config-conventional":"19.x"},"peerDependenciesMeta":{"husky":{"optional":true},"@commitlint/cli":{"optional":true},"@commitlint/config-conventional":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/semantic-release_0.0.1_1721400143433_0.42396707719426985","host":"s3://npm-registry-packages"}},"0.1.0":{"name":"@douglasneuroinformatics/semantic-release","version":"0.1.0","keywords":["semantic-release"],"author":{"name":"Joshua Unrau"},"license":"Apache-2.0","_id":"@douglasneuroinformatics/semantic-release@0.1.0","maintainers":[{"name":"joshunrau","email":"contact@joshuaunrau.com"},{"name":"gdevenyi","email":"gdevenyi@gmail.com"}],"homepage":"https://github.com/DouglasNeuroInformatics/semantic-release/#readme","bugs":{"url":"https://github.com/DouglasNeuroInformatics/semantic-release/issues"},"bin":{"semantic-release":"bin/cli.js"},"dist":{"shasum":"02dbd7a4596a0d1f1efcf8ac0383ce2bfa7a7aa5","tarball":"https://registry.npmjs.org/@douglasneuroinformatics/semantic-release/-/semantic-release-0.1.0.tgz","fileCount":6,"integrity":"sha512-FVlVg3UAqbOVD1VzMxaDhYVB0yjzE8hOsVdSQ3Lvmjx7/DpPpPtNdwTVHw4B7evv6nsAbomWN+MHTkYyWNx0tw==","signatures":[{"sig":"MEQCIH7SgC/ZuEIINy2CPkAEqM0tPrdJ+BEJ2ABq/xYeQWE4AiAHMODV5dWIy5JOVarr/ffrzHNrD4D/LfVG3r3a4j7U8g==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":16974},"main":"./src/index.js","type":"module","types":"./src/index.d.ts","gitHead":"822844df721b362188e6843204713bfc02672ed0","scripts":{"lint":"tsc && eslint --fix src","format":"prettier --write src","prepare":"husky"},"_npmUser":{"name":"joshunrau","email":"contact@joshuaunrau.com"},"prettier":"@douglasneuroinformatics/prettier-config","commitlint":{"extends":["@commitlint/config-conventional"]},"repository":{"url":"git+https://github.com/DouglasNeuroInformatics/semantic-release.git","type":"git"},"_npmVersion":"10.9.2","description":"Semantic release configuration and workflows for DNP projects","directories":{},"_nodeVersion":"22.13.1","dependencies":{"semantic-release":"^24.2.2","@semantic-release/git":"^10.0.1","@semantic-release/npm":"^12.0.1","@semantic-release/github":"^11.0.1","@semantic-release/changelog":"^6.0.3","@semantic-release/commit-analyzer":"^13.0.1","@semantic-release/release-notes-generator":"^14.0.3","conventional-changelog-conventionalcommits":"^8.0.0"},"_hasShrinkwrap":false,"packageManager":"pnpm@10.3.0","devDependencies":{"husky":"^9.1.7","eslint":"^9.20.1","prettier":"^3.5.0","typescript":"5.6.x","@commitlint/cli":"^19.7.1","@commitlint/config-conventional":"^19.7.1","@douglasneuroinformatics/eslint-config":"^5.2.4","@douglasneuroinformatics/prettier-config":"^0.0.1"},"peerDependencies":{"husky":"9.x","@commitlint/cli":"19.x","@commitlint/config-conventional":"19.x"},"peerDependenciesMeta":{"husky":{"optional":true},"@commitlint/cli":{"optional":true},"@commitlint/config-conventional":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/semantic-release_0.1.0_1739461384101_0.07344993878917738","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"@douglasneuroinformatics/semantic-release","version":"0.2.0","keywords":["semantic-release"],"author":{"name":"Joshua Unrau"},"license":"Apache-2.0","_id":"@douglasneuroinformatics/semantic-release@0.2.0","maintainers":[{"name":"joshunrau","email":"contact@joshuaunrau.com"},{"name":"gdevenyi","email":"gdevenyi@gmail.com"}],"homepage":"https://github.com/DouglasNeuroInformatics/semantic-release/#readme","bugs":{"url":"https://github.com/DouglasNeuroInformatics/semantic-release/issues"},"bin":{"commitlint":"bin/commitlint.js","semantic-release":"bin/semantic-release.js"},"dist":{"shasum":"d8bea3732ea165b01730ff32730f849f0de41e4d","tarball":"https://registry.npmjs.org/@douglasneuroinformatics/semantic-release/-/semantic-release-0.2.0.tgz","fileCount":9,"integrity":"sha512-4Z504l2INC2bxN/aNR+gWaN7Lh6229+rVOUXJxNqFHZDYw8c3M6p0qYK89D9IdeabtY0WBF6QLmpJywDrsPFEw==","signatures":[{"sig":"MEYCIQCgBbmXn/o0ncCVdXVg5Ml4XeIZczL1YwbtwNf4lEU2wgIhALNv5uVXDaNjSzMY+T8EMQlHvgLPhnxtjnNMHlKhqYRW","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":17373},"type":"module","exports":{".":{"types":"./src/index.d.ts","import":"./src/index.js"},"./commitlint-config":{"types":"./src/commitlint-config.d.ts","import":"./src/commitlint-config.js"}},"gitHead":"98581aacb177d6fae71cd0334573a24b85961eeb","scripts":{"lint":"tsc && eslint --fix src","format":"prettier --write src","prepare":"husky"},"_npmUser":{"name":"joshunrau","email":"contact@joshuaunrau.com"},"prettier":"@douglasneuroinformatics/prettier-config","commitlint":{"extends":["@commitlint/config-conventional"]},"repository":{"url":"git+https://github.com/DouglasNeuroInformatics/semantic-release.git","type":"git"},"_npmVersion":"10.9.2","description":"Semantic release configuration and workflows for DNP projects","directories":{},"_nodeVersion":"22.13.1","dependencies":{"@commitlint/cli":"^19.7.1","semantic-release":"^24.2.2","@semantic-release/git":"^10.0.1","@semantic-release/npm":"^12.0.1","@semantic-release/github":"^11.0.1","@semantic-release/changelog":"^6.0.3","@commitlint/config-conventional":"^19.7.1","@semantic-release/commit-analyzer":"^13.0.1","@semantic-release/release-notes-generator":"^14.0.3","conventional-changelog-conventionalcommits":"^8.0.0"},"_hasShrinkwrap":false,"packageManager":"pnpm@10.3.0","devDependencies":{"husky":"^9.1.7","eslint":"^9.20.1","prettier":"^3.5.0","typescript":"5.6.x","@douglasneuroinformatics/eslint-config":"^5.2.4","@douglasneuroinformatics/prettier-config":"^0.0.1"},"peerDependencies":{"husky":"9.x"},"peerDependenciesMeta":{"husky":{"optional":true},"@commitlint/cli":{"optional":true},"@commitlint/config-conventional":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/semantic-release_0.2.0_1739464203750_0.3952092488741743","host":"s3://npm-registry-packages-npm-production"}},"0.2.1":{"name":"@douglasneuroinformatics/semantic-release","version":"0.2.1","keywords":["semantic-release"],"author":{"name":"Joshua Unrau"},"license":"Apache-2.0","_id":"@douglasneuroinformatics/semantic-release@0.2.1","maintainers":[{"name":"joshunrau","email":"contact@joshuaunrau.com"},{"name":"gdevenyi","email":"gdevenyi@gmail.com"}],"homepage":"https://github.com/DouglasNeuroInformatics/semantic-release/#readme","bugs":{"url":"https://github.com/DouglasNeuroInformatics/semantic-release/issues"},"bin":{"commitlint":"bin/commitlint.js","semantic-release":"bin/semantic-release.js"},"dist":{"shasum":"94d4995b31bc70676c30b63c2d2172c3ffa4c9c2","tarball":"https://registry.npmjs.org/@douglasneuroinformatics/semantic-release/-/semantic-release-0.2.1.tgz","fileCount":9,"integrity":"sha512-KoNEeAjtQ6PqZ8QZvE8Egr5iVBHrCy7fpIQjuW93XSNoUOeEqdo82ws/3xGO1w8+9Ne/Xc8ypB3tqKBFduWXTA==","signatures":[{"sig":"MEQCIH4foRd2L0gbvm6Pa+NM23xuLftfqlNM1tchugQo7KB/AiAL2wmbbN5tII7CsfFQxqFYWrMrDMinNzTxFC7GE433zA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":17375},"type":"module","exports":{".":{"types":"./src/index.d.ts","default":"./src/index.js"},"./commitlint-config":{"types":"./src/commitlint-config.d.ts","default":"./src/commitlint-config.js"}},"gitHead":"1f16e6aa78e1bdb6ae8b42218e1e3ee591f996f1","scripts":{"lint":"tsc && eslint --fix src","format":"prettier --write src","prepare":"husky"},"_npmUser":{"name":"joshunrau","email":"contact@joshuaunrau.com"},"prettier":"@douglasneuroinformatics/prettier-config","commitlint":{"extends":["@commitlint/config-conventional"]},"repository":{"url":"git+https://github.com/DouglasNeuroInformatics/semantic-release.git","type":"git"},"_npmVersion":"10.9.2","description":"Semantic release configuration and workflows for DNP projects","directories":{},"_nodeVersion":"22.13.1","dependencies":{"@commitlint/cli":"^19.7.1","semantic-release":"^24.2.2","@semantic-release/git":"^10.0.1","@semantic-release/npm":"^12.0.1","@semantic-release/github":"^11.0.1","@semantic-release/changelog":"^6.0.3","@commitlint/config-conventional":"^19.7.1","@semantic-release/commit-analyzer":"^13.0.1","@semantic-release/release-notes-generator":"^14.0.3","conventional-changelog-conventionalcommits":"^8.0.0"},"_hasShrinkwrap":false,"packageManager":"pnpm@10.3.0","devDependencies":{"husky":"^9.1.7","eslint":"^9.20.1","prettier":"^3.5.0","typescript":"5.6.x","@douglasneuroinformatics/eslint-config":"^5.2.4","@douglasneuroinformatics/prettier-config":"^0.0.1"},"peerDependencies":{"husky":"9.x"},"peerDependenciesMeta":{"husky":{"optional":true},"@commitlint/cli":{"optional":true},"@commitlint/config-conventional":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/semantic-release_0.2.1_1739465244019_0.30186043869600376","host":"s3://npm-registry-packages-npm-production"}},"0.2.2":{"name":"@douglasneuroinformatics/semantic-release","type":"module","version":"0.2.2","packageManager":"pnpm@10.4.0","description":"Semantic release configuration and workflows for DNP projects","author":{"name":"Joshua Unrau"},"license":"Apache-2.0","homepage":"https://github.com/DouglasNeuroInformatics/semantic-release/#readme","repository":{"type":"git","url":"git+https://github.com/DouglasNeuroInformatics/semantic-release.git"},"bugs":{"url":"https://github.com/DouglasNeuroInformatics/semantic-release/issues"},"keywords":["semantic-release"],"exports":{".":{"types":"./src/index.d.ts","default":"./src/index.js"},"./commitlint-config":{"types":"./src/commitlint-config.d.ts","default":"./src/commitlint-config.js"}},"bin":{"commitlint":"bin/commitlint.js","semantic-release":"bin/semantic-release.js"},"scripts":{"format":"prettier --write src","lint":"tsc && eslint --fix src","prepare":"husky"},"peerDependencies":{"husky":"9.x"},"peerDependenciesMeta":{"@commitlint/cli":{"optional":true},"@commitlint/config-conventional":{"optional":true},"husky":{"optional":true}},"dependencies":{"@commitlint/cli":"^19.7.1","@commitlint/config-conventional":"^19.7.1","@semantic-release/changelog":"^6.0.3","@semantic-release/commit-analyzer":"^13.0.1","@semantic-release/git":"^10.0.1","@semantic-release/github":"^12.0.8","@semantic-release/npm":"^13.1.5","@semantic-release/release-notes-generator":"^14.1.1","conventional-changelog-conventionalcommits":"^9.3.1","semantic-release":"^25.0.3"},"devDependencies":{"@douglasneuroinformatics/eslint-config":"^5.2.4","@douglasneuroinformatics/prettier-config":"^0.0.1","@douglasneuroinformatics/tsconfig":"^1.0.2","eslint":"^9.20.1","husky":"^9.1.7","prettier":"^3.5.1","typescript":"5.6.x"},"commitlint":{"extends":["@commitlint/config-conventional"]},"prettier":"@douglasneuroinformatics/prettier-config","gitHead":"ca7038723aacb0d2d540fad44ebf7e972ca85923","_id":"@douglasneuroinformatics/semantic-release@0.2.2","_nodeVersion":"24.16.0","_npmVersion":"11.13.0","dist":{"integrity":"sha512-5MBEzGGPDqA4TTcVh9gv+k5/sKUZXxF9jX2qqrRJ4PA1Nme5kn5H6VKiwjAl2+jauaThGoLIRXdHnCOUiHoQhA==","shasum":"f62ee5460d92eda770de6f8a50764f3d4959b27d","tarball":"https://registry.npmjs.org/@douglasneuroinformatics/semantic-release/-/semantic-release-0.2.2.tgz","fileCount":9,"unpackedSize":17391,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@douglasneuroinformatics%2fsemantic-release@0.2.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDxqMVmylK3OW4ejVzoKNgllQTcgPkBNU39hV+CGiofpwIgVwHh52r7lc55z6IQ3XyNelOT8PGdhrM3isjO6YyTXn4="}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:27ceb646-8e87-4b17-b844-6a6d4fce8b3f"}},"directories":{},"maintainers":[{"name":"joshunrau","email":"contact@joshuaunrau.com"},{"name":"gdevenyi","email":"gdevenyi@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/semantic-release_0.2.2_1780515060612_0.8081066508153074"},"_hasShrinkwrap":false}},"time":{"created":"2024-07-19T14:42:23.316Z","modified":"2026-06-03T19:31:01.137Z","0.0.1":"2024-07-19T14:42:23.618Z","0.1.0":"2025-02-13T15:43:04.285Z","0.2.0":"2025-02-13T16:30:03.938Z","0.2.1":"2025-02-13T16:47:24.202Z","0.2.2":"2026-06-03T19:31:00.766Z"},"bugs":{"url":"https://github.com/DouglasNeuroInformatics/semantic-release/issues"},"author":{"name":"Joshua Unrau"},"license":"Apache-2.0","homepage":"https://github.com/DouglasNeuroInformatics/semantic-release/#readme","keywords":["semantic-release"],"repository":{"type":"git","url":"git+https://github.com/DouglasNeuroInformatics/semantic-release.git"},"description":"Semantic release configuration and workflows for DNP projects","maintainers":[{"name":"joshunrau","email":"contact@joshuaunrau.com"},{"name":"gdevenyi","email":"gdevenyi@gmail.com"}],"readme":"<!-- PROJECT LOGO -->\n<div align=\"center\">\n  <a href=\"https://github.com/DouglasNeuroInformatics/semantic-release\">\n    <img src=\"https://raw.githubusercontent.com/DouglasNeuroInformatics/semantic-release/main/.github/assets/dnp-utility-logo.png\" alt=\"Logo\" width=\"100\" >\n  </a>\n  <h3 align=\"center\">@douglasneuroinformatics/semantic-release</h3>\n  <p align=\"center\">\n    Semantic release configuration and workflows for DNP projects \n  </p>\n</div>\n\n<!-- PROJECT SHIELDS -->\n<div align=\"center\">\n\n![license](https://img.shields.io/github/license/DouglasNeuroInformatics/semantic-release)\n![version](https://img.shields.io/github/package-json/v/DouglasNeuroInformatics/semantic-release)\n\n</div>\n<hr />\n\n## About\n\nThis is a convenience wrapper around [semantic-release](https://github.com/semantic-release/semantic-release) designed to be used with GitHub Actions. It uses [conventional commit messages](https://www.conventionalcommits.org/en/v1.0.0/) to generate release notes and a changelog. When a release is necessary, it is automatically published to npm, pushing the newly created tag, revised package.json and updated changelog to GitHub.\n\n## Installation\n\n```sh\npnpm add -D @douglasneuroinformatics/semantic-release husky\n```\n\n> Note: Husky is an optional peer dependency, and could be replaced with any other toolchain that ensures that conventional commits are followed.\n\n## Configuration\n\nFirst, setup Husky (if applicable):\n\n```sh\npnpm exec husky init\n```\n\nThen, add the following git hook:\n\n**`.husky/commit-msg`**\n\n```sh\n#!/bin/sh\n\npnpm exec commitlint --edit $1\n```\n\nNow, add the following configuration:\n\n**`package.json`**\n\n```json\n{\n  \"commitlint\": {\n    \"extends\": [\"@douglasneuroinformatics/semantic-release/commitlint-config\"]\n  },\n  \"release\": {\n    \"extends\": [\"@douglasneuroinformatics/semantic-release\"]\n  }\n}\n```\n\nNext, generate an access token for [npm](https://www.npmjs.com/) with read and write permissions for the package in question and set the `NPM_TOKEN` secret for the repository.\n\nThen, add the following workflow:\n\n**`.github/workflows/release.yaml`**\n\n```yaml\nname: Release\non:\n  push:\n    branches: ['main']\n  workflow_dispatch:\npermissions:\n  contents: read\njobs:\n  release:\n    permissions:\n      contents: write\n      issues: write\n      pull-requests: write\n      id-token: write\n    uses: DouglasNeuroinformatics/semantic-release/.github/workflows/release.yaml@main\n    secrets:\n      NPM_TOKEN: ${{ secrets.NPM_TOKEN }}\n    with:\n      build-command: pnpm build # optional\n      lint-command: pnpm lint # optional\n      test-command: pnpm test # optional\n```\n","readmeFilename":"README.md"}