{"_id":"@brysgo/semantic-release-bitbucket","_rev":"1-7d535da0bc414b2193820911e2e63ea1","name":"@brysgo/semantic-release-bitbucket","dist-tags":{"latest":"1.0.0-semantically-released"},"versions":{"1.0.0-semantically-released":{"name":"@brysgo/semantic-release-bitbucket","version":"1.0.0-semantically-released","description":"a semantic-release plugin for bitbucket","main":"index.js","scripts":{"build":"rimraf dist && tsc","postbuild":"cpx package.json dist/ && cpx package-lock.json dist/","commit":"git-cz","semantic-release":"semantic-release","test":"mocha -r chai -r chai-as-promised -r ts-node/register src/**/*.spec.ts"},"repository":{"type":"git","url":"git+https://github.com/brysgo-forks/semantic-release-bitbucket.git"},"keywords":["semantic-release","semver","bitbucket"],"author":{"name":"Christoph Murczek","email":"christoph.murczek@iteratec.at"},"license":"MIT","bugs":{"url":"https://github.com/brysgo-forks/semantic-release-bitbucket/issues"},"homepage":"https://github.com/brysgo-forks/semantic-release-bitbucket#readme","publishConfig":{"access":"public"},"dependencies":{"btoa":"^1.2.1","node-fetch":"^2.1.2"},"devDependencies":{"@commitlint/cli":"^6.2.0","@commitlint/config-conventional":"^6.1.3","@types/btoa":"^1.2.0","@types/chai":"^4.1.3","@types/chai-as-promised":"^7.1.0","@types/mocha":"^5.2.0","@types/node":"^10.1.2","@types/node-fetch":"^1.6.9","chai":"^4.1.2","chai-as-promised":"^7.1.1","commitizen":"^2.9.6","cpx":"^1.5.0","cz-conventional-changelog":"^2.1.0","ghooks":"^2.0.4","keytar":"^4.2.1","mocha":"^5.2.0","rimraf":"^2.6.2","semantic-release":"^15.5.0","ts-node":"^6.0.3","tslint":"^5.10.0","typescript":"^2.9.2"},"config":{"commitizen":{"path":"cz-conventional-changelog"},"ghooks":{"pre-commit":"npm run test","commit-msg":"commitlint -e"}},"gitHead":"648bb9a6bd4e4c81f97903f5b9746718a1c615e2","_id":"@brysgo/semantic-release-bitbucket@1.0.0-semantically-released","_nodeVersion":"11.10.0","_npmVersion":"6.7.0","dist":{"integrity":"sha512-OCAZlwlyhdPnCiL91LAWUeeKaw4YixuP9jjhPBNGKaGW5eNRAxs2WRUVPC+5+b0pPd+QwTc/FPNeJ0jTO34lWA==","shasum":"9519c3aac3406f0610b7ca9eb7a364491b26d873","tarball":"https://registry.npmjs.org/@brysgo/semantic-release-bitbucket/-/semantic-release-bitbucket-1.0.0-semantically-released.tgz","fileCount":23,"unpackedSize":24712,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJceGxVCRA9TVsSAnZWagAAlTAQAJjApd/hInGDpvXCQCL2\nPK/4YwUwk71Wpj1LY8t/C4siKgseIrL6prh3nQV0a97lAkzXzZCwf0aX6t0Y\nprTh6q/7YDmdt83mqLprx5vypIKjFz0zqQmbOmLpVPylc/TU1NsgyTIR57n1\nO4NzFm2lM58h0tg3/VuvTaa3cp3otSdAdeQSHrTOB46pA+5gMqkHL3UL6rBy\nxm0TNqYmdtx1rkSxT8orngjr2jVArLpUbLrBEKQNzhupN5dtlDRlYZZmepv+\nwf3GNa84Y6vpQ4alNP15clvs5GzGsVxC9tdNeYOzgbRLhowHcJPQHMFaCLgV\nWVLjUMC/IQGL3OzPOXAGj1TN7j3lzSnrNuhwbMoAhCWwv/eZvF1Xd8nCURVS\ntHGb/08jpgN9gfigHUiZOdrIitOTGyare8ufZ3BPIODIajK6dKMlSgptKI32\ne4TJ9b4n+RSamYdtx/kkyomyoc4AkGBej+OjTE2Gnoik81bmNTDeNxF+Hwzt\nm11Hy2K/9QXJqiAn5KYWr1sh6LHOb3wKQHAxXp11XXEmkUt8WfkQl0i7ivz2\nrudkSElPzKiQmg2WHjRaeOpCwlkFJdonQCYgQdKY4UhF89P0p79E8jFRWM06\nU2hNZBvwPkmg3qvKpJC3Do7P0IxVXh59QsDgxGihRHxgjym6XKSnk3X7TWoJ\n8s4L\r\n=qNHt\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICu1eV91T1Vfd7CZ8RG3eDvyxWZAq40aVqN88XwFU6UmAiBUkG7vMZIB0xAyjsVOrw0280K6IEitN1G91fn6rP+O2Q=="}]},"maintainers":[{"name":"brysgo1","email":"brysgo@gmail.com"}],"_npmUser":{"name":"brysgo1","email":"brysgo@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/semantic-release-bitbucket_1.0.0-semantically-released_1551395925140_0.06103103617012362"},"_hasShrinkwrap":false}},"time":{"created":"2019-02-28T23:18:44.989Z","1.0.0-semantically-released":"2019-02-28T23:18:45.296Z","modified":"2022-04-04T20:50:19.106Z"},"maintainers":[{"name":"brysgo1","email":"brysgo@gmail.com"}],"description":"a semantic-release plugin for bitbucket","homepage":"https://github.com/brysgo-forks/semantic-release-bitbucket#readme","keywords":["semantic-release","semver","bitbucket"],"repository":{"type":"git","url":"git+https://github.com/brysgo-forks/semantic-release-bitbucket.git"},"author":{"name":"Christoph Murczek","email":"christoph.murczek@iteratec.at"},"bugs":{"url":"https://github.com/brysgo-forks/semantic-release-bitbucket/issues"},"license":"MIT","readme":"# @iteratec/semantic-release-bitbucket\n\n[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release)\n[![latest npm package](https://img.shields.io/npm/v/@iteratec/semantic-release-bitbucket/latest.svg)](https://www.npmjs.com/package/@iteratec/semantic-release-bitbucket)\n[![license](https://img.shields.io/npm/l/@iteratec/semantic-release-bitbucket.svg)](https://www.npmjs.com/package/@iteratec/semantic-release-bitbucket)\n\na [semantic-release](https://github.com/semantic-release/semantic-release) plugin to publish releases to Bitbucket.\n\n## verifyConditions\n\nverifies that environment variables for authentication via _username_ and _password_ are set.\nIt uses the Bitbucket Url from the config or defaults to Bitbucket Cloud.\nIt uses the _teamName_ and _repositoryName_ settings to compose the url and attempts to login.\n\n## publish\n\ncreates a tag using the new version generated by sematic-release.\nAt the time of writing Bitbucket does not support messages with tags, so the release notes are currently not published.\n\n## Configuration\n\n### Bitbucket authentication\n\nThe authentication parameters for Bitbucket are **required** and can be set via environment variables.\nConsider using an app password instead of your account password.\nSee [App passwords](https://confluence.atlassian.com/bitbucket/app-passwords-828781300.html) in the Bitbucket documentation for further information.\n\n### Environment variables\n\n| Variable            | Description |\n|---------------------|-------------|\n| BITBUCKET_USER      | The username as given in the profile of repository owner. This can be your user or a team account. |\n| BITBUCKET_PASSWORD  | The (app) password for the given user. |\n\n### Options\n\n| Option | Description |\n|--------|-------------|\n| bitbucketUrl | _Optional_. The url of the bitbucket server  **REST api**. Defaults to Bitbucket Cloud. |\n| repositoryName | **_Required_**. The name of the repository to publish to |\n| teamName | _Optional_. Is used as the repository owner portion in the url. BITBUCKET_USER is used as default if no `teamName` is given. |\n\n### Usage\n\nfull configuration:\n\n``` json\n{\n  \"verifyConfig\": [..., \"@iteratec/semantic-release-bitbucket\", ...],\n  \"publish\": [\n    ...,\n    {\n      \"path\": \"@iteratec/semantic-release-bitbucket\",\n      \"bitbucketUrl\": \"http://my.bitbucket.server\",\n      \"teamName\": \"A-Team\",\n      \"repositoryName\": \"bucket\"\n    },\n    ...\n  ]\n}\n```\nminimum configuration:\n``` json\n{\n  \"verifyConfig\": [..., \"@iteratec/semantic-release-bitbucket\", ...],\n  \"publish\": [\n    ...,\n    {\n      \"path\": \"@iteratec/semantic-release-bitbucket\",\n      \"repositoryName\": \"bucket\"\n    },\n    ...\n  ]\n}\n```","readmeFilename":"Readme.md"}