{"_id":"@bluehalo/bh-releaser","_rev":"5-c6eb9bbe2dea56aa3a2707a38d0b6f1a","name":"@bluehalo/bh-releaser","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@bluehalo/bh-releaser","version":"1.0.0","keywords":["release"],"author":{"name":"ericcapito"},"license":"ISC","_id":"@bluehalo/bh-releaser@1.0.0","maintainers":[{"name":"bluehalo-eacaps","email":"eacapsbh@gmail.com"},{"name":"shane-bh","email":"shane.oneill@bluehalo.com"},{"name":"ashin-bluehalo","email":"andrew.shin@bluehalo.com"},{"name":"ekoon121","email":"ekoon@asymmetrik.com"},{"name":"reblace","email":"reblace@gmail.com"}],"homepage":"https://github.com/bluehalo/bh-releaser#readme","bugs":{"url":"https://github.com/bluehalo/bh-releaser/issues"},"bin":{"bh-releaser":"bin/index.ts"},"dist":{"shasum":"3a291e4d6ba533adb98085a687fac15a2853b455","tarball":"https://registry.npmjs.org/@bluehalo/bh-releaser/-/bh-releaser-1.0.0.tgz","fileCount":7,"integrity":"sha512-9VkyunJ6TnA5iNxJWqvld+S2gIBixVYPc9UktJBYiZH6X6JcKguB7vIVsYNfXYVPm1a7hgL13GxIsrm7Z+jcag==","signatures":[{"sig":"MEQCIFifdPwKFRDWGPAvw+ZTvq8uY9BBtGkEMJ8jnf1RT7/yAiAX54au2FL+GIGRm29PuQF8w3IsHbpNvau3qkNegFav5Q==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10392},"type":"module","engines":{"node":">=22.1"},"exports":{".":"./index.js","./bh-calver":"./lib/bh-calver.ts","./package.json":"./package.json","./gl-issue-changelog":"./lib/gl-issue-changelog.ts"},"gitHead":"009b4556a41532e62176a188d36aa23cbd0339a7","scripts":{"lint":"run-s lint:*","test":"node --import tsx --test '**/*spec*'","release":"semantic-release","lint:type":"tsc --noEmit || true","lint:eslint":"eslint . --ext .js,.ts"},"_npmUser":{"name":"bluehalo-eacaps","email":"eacapsbh@gmail.com"},"repository":{"url":"git+https://github.com/bluehalo/bh-releaser.git","type":"git"},"_npmVersion":"10.5.2","description":"BlueHalo release-it bundle","directories":{},"_nodeVersion":"20.13.1","dependencies":{"calver":"^22.9.1","lodash":"^4.17.21","yargs-parser":"^21.1.1"},"_hasShrinkwrap":false,"devDependencies":{"sinon":"^15.0.1","eslint":"^8.47.0","prettier":"^3.0.2","typescript":"^5.1.6","@types/node":"^18.15.0","npm-run-all":"^4.1.5","semantic-release":"^19.0.5","eslint-config-prettier":"^9.0.0","@typescript-eslint/parser":"^6.4.0","@typescript-eslint/eslint-plugin":"^6.4.0"},"peerDependencies":{"tsx":"^4.9.3","release-it":"^17.2.1"},"_npmOperationalInternal":{"tmp":"tmp/bh-releaser_1.0.0_1716949287810_0.4445990623018874","host":"s3://npm-registry-packages"}}},"time":{"created":"2024-05-29T02:21:27.670Z","modified":"2026-03-25T20:06:09.888Z","1.0.0":"2024-05-29T02:21:27.972Z"},"bugs":{"url":"https://github.com/bluehalo/bh-releaser/issues"},"author":{"name":"ericcapito"},"license":"ISC","homepage":"https://github.com/bluehalo/bh-releaser#readme","keywords":["release"],"repository":{"url":"git+https://github.com/bluehalo/bh-releaser.git","type":"git"},"description":"BlueHalo release-it bundle","maintainers":[{"email":"reblace@gmail.com","name":"reblace"},{"email":"eugene.koon@bluehalo.com","name":"ekdeveloper"},{"email":"andrew.shin@bluehalo.com","name":"ashin-bluehalo"},{"email":"shane.oneill@bluehalo.com","name":"shane-bh"},{"email":"rnmercado@gmail.com","name":"rodmercad"}],"readme":"# bh-releaser\n\n## Description\n\nThis project provides a [release-it](https://github.com/release-it/release-it) wrapper preconfigured for use by Blue Halo app development teams.\n\nCreating a release for a GitLab project using `bh-releaser` will:\n\n- Find the last tag\n- Find all merge commits since the last tag\n- Find all issues closed by those merge commits\n- Create a changelog that lists all closed issues with links to each issue\n- Bump the version in package.json\n- Commit the version bump\n- Create a tag\n- Create a GitLab release\n\n## Configuration\n\nThis package follows the configuration setup provided by release-it.\n\nThe script requires the user to have a Gitlab Access Token available and set to the `GITLAB_TOKEN` environment variable. Generate an Access Token with the following scopes: api, read_repository, write_repository.\n\nAdditionally the consuming project must provide its GitLab Project ID.\nThe recommended way to provide the Project ID is to create a `.release-it.json` configuration file in the consuming project and provide the projectId to the plug-in, like so:\n\n```\n{\n    \"plugins\": {\n        \"@bluehalo/bh-releaser/gl-issue-changelog\": {\n            \"projectId\": 6094\n        }\n    }\n}\n```\n\nThe Project ID can also be configured using the `CI_PROJECT_ID` environment variable to support GitLab CI/CD without the need for a `.release-it.json` file.\n\n## Usage\n\nThe `bh-releaser` command provides the following command line options:\n\n- `-h` - display help\n- `-d` - dry-run the release, print to std out\n\nRunning the `bh-releaser` command will trigger a release for the consuming project. This will attempt to perform a version bump, create a git tag and a gitlab release.\n\nThe suggested usage is to run the following command in the project you wish to generate a release for:\n\n```\nnpx --yes @bluehalo/bh-releaser@latest\n```\n\nCI/CD integration is coming soon...\n","readmeFilename":"README.md"}