{"_id":"@chappa'ai/get-next-rc","_rev":"1-8039c06e03744acfcc3af607450e75e7","name":"@chappa'ai/get-next-rc","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@chappa'ai/get-next-rc","version":"1.0.0","description":"Get the next valid release candidate version for a given package at a given version.","main":"index.js","license":"MIT","devDependencies":{"@dmsi/prettier-config":"^1.3.0","husky":"^2.5.0","lint-staged":"^8.2.1","prettier":"^1.18.2","tape":"^4.11.0"},"scripts":{"prettier":"prettier","test":"tape test.js"},"prettier":"@dmsi/prettier-config","husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{js,css,json,md}":["prettier --write","git add"]},"author":{"name":"Chappa'ai Team"},"repository":{"type":"git","url":"git+https://github.com/chappa-ai-monorepo/get-next-rc.git"},"dependencies":{"got":"^9.6.0"},"gitHead":"573bee04fe4afc5c783497984ac1149f866a763e","bugs":{"url":"https://github.com/chappa-ai-monorepo/get-next-rc/issues"},"homepage":"https://github.com/chappa-ai-monorepo/get-next-rc#readme","_id":"@chappa'ai/get-next-rc@1.0.0","_npmVersion":"5.6.0","_nodeVersion":"8.10.0","_npmUser":{"name":"renddslow","email":"mubatt@wyopub.com"},"dist":{"integrity":"sha512-UetdAHlutexipI1P81TwYsueY3ZutURvmOAD/zHb7KtOuX0bBd34LpGujiDURpToaCYV8l1kKyezQlkpR00v3Q==","shasum":"2a7959ff02eab50fbd2ea682fa74e3f413ccf75b","tarball":"https://registry.npmjs.org/@chappa%27ai/get-next-rc/-/get-next-rc-1.0.0.tgz","fileCount":11,"unpackedSize":103837,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdHlXVCRA9TVsSAnZWagAASioP/ArIzhoYKsENeJjWoe2r\nnJQ0QrslOBUC7r1F8OCzD212HADOWIz5J883oXX5+/5SG3ykUT1gPSIkQUpK\ncOmfPck9xi2pP5oj/La7igAW9irZP12LDh8HLZB3T7rlwe6hF5NcFp1L7dEn\n7OFb+dxaNP7px9i/mdACBDLV8vhK1GAMmPkp7KNQonc419GN2VtJ1l9oXkHZ\nC215xvuo8YsfA7mS/Ec3ZD5t5HjP3YMXr6hEqDD6kXrqrOrHJ+/HVxshMO+N\nNYjrkMP+BeH5iyY9nuRO9DPN/gJlCaWQmcjjQ9/lBsCUX+UQX4ewWZrpYYWY\nfARzUXTUHAdIpNmIcnoWX3zxeQ4e4Ydv7f5zGnONWXX6kvxVi+jy+dsKQrNS\nkts1yIBrVWxd8BjWLQhC+UVpzy0twayzAidkcZgyBWtqkO2/zuS39t2Ayc46\npwhGc/aB7k2nmhF3xDo0M7rTGHFj4A0pmRLvZMBW5kwzLISA/QGZ36TAhl9d\naWdX9drsWLFfndzTnfzH+4Mq9E+1VLvwxOTGhVjWOkUAGKY96/2Gp8SbK7r9\nMKdyJ0MytbyydI4MmTXGmBLMC8CybIE2m4pGD5uIO3bqd96Zzg8bMeRs6IDf\n2OIoxF6Pb+pFDCqTjzXdxqR96D2Lot/vhheoupQ1r71jXWUcdgzuZz7iyMGK\naeAC\r\n=VH2n\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCNMKyumDQneIDWGktvBBe6fl4dw8XfeX1k2xUPtyWJZAIhAMFqBXNqv09Abp7InRREhGeoZyxLOWVOkRzkt3G6hiWU"}]},"maintainers":[{"name":"sarah.adams","email":"sadams@dmsi.com"},{"name":"renddslow","email":"mubatt@wyopub.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-next-rc_1.0.0_1562269140404_0.40758054648556397"},"_hasShrinkwrap":false}},"time":{"created":"2019-07-04T19:39:00.205Z","1.0.0":"2019-07-04T19:39:00.587Z","modified":"2022-04-04T22:31:29.330Z"},"maintainers":[{"name":"sarah.adams","email":"sadams@dmsi.com"},{"name":"renddslow","email":"mubatt@wyopub.com"}],"description":"Get the next valid release candidate version for a given package at a given version.","homepage":"https://github.com/chappa-ai-monorepo/get-next-rc#readme","repository":{"type":"git","url":"git+https://github.com/chappa-ai-monorepo/get-next-rc.git"},"author":{"name":"Chappa'ai Team"},"bugs":{"url":"https://github.com/chappa-ai-monorepo/get-next-rc/issues"},"license":"MIT","readme":"# Get Next RC\n\n> Get the next valid release candidate version number for a given package at a given version.\n\n## Usage\n\n```\nyarn add @chappa'ai/get-next-rc\n```\n\n```js\nconst nextVersion = getNextRC(`@chappa'ai/get-next-rc`, '100.1.0');\n//> { version: '100.1.0-rc.1', publishedVersionExists: false }\n```\n\n## API\n\n### Arguments\n\n```js\ngetNextRC(package, version, [opts]);\n```\n\n| Argument        | Required?                             | Description                                                                         |\n| --------------- | ------------------------------------- | ----------------------------------------------------------------------------------- |\n| `package`       | ✅                                    | The full name of the package you wish to get the next release candidate number for. |\n| `version`       | ✅                                    | The package version you wish to create a release candidate for.                     |\n| `opts.username` | no                                    | An npm username. This is useful when you wish to access a private module.           |\n| `opts.password` | Only when `opts.username` is provided | An npm password.                                                                    |\n\n### Response\n\n```js\n//> { version: '11.0.0-rc.1', publishedVersionExists: false }\n```\n\n| Name                     | Description                                                                                                            |\n| ------------------------ | ---------------------------------------------------------------------------------------------------------------------- |\n| `version`                | The next rc version based on previous rc's that have been published to npm.                                            |\n| `publishedVersionExists` | If an exact match has been found on that package for the version passed into getNextRC, this flag will be set to true. |\n","readmeFilename":"README.md"}