{"_id":"@primer/publish","_rev":"76-f84381c77e51487036d9ab849ae7bb10","name":"@primer/publish","dist-tags":{"next":"1.0.0-rc.2f5843b","latest":"3.0.0","canary":"0.0.0-bd05ca2"},"versions":{"0.0.0-sha.aa8705f":{"name":"@primer/publish","version":"0.0.0-sha.aa8705f","keywords":["primer","publish","github-actions","npm"],"author":{"name":"GitHub, Inc."},"license":"MIT","_id":"@primer/publish@0.0.0-sha.aa8705f","maintainers":[{"name":"primer-css","email":"design-systems@github.com"},{"name":"shawnbot","email":"shawnbot-npm@nym.hush.com"},{"name":"broccolini","email":"diana.mounter@gmail.com"},{"name":"emplums","email":"eplummer26@gmail.com"},{"name":"jonrohan","email":"yes@jonrohan.codes"}],"bin":{"primer-publish":"cli.js"},"dist":{"shasum":"418b1546e5319272060d0a75a4cc29698fd3a312","tarball":"https://registry.npmjs.org/@primer/publish/-/publish-0.0.0-sha.aa8705f.tgz","fileCount":20,"integrity":"sha512-ceMBKczjAWzDaGA3SdgUD8rBXKhnGRmOB4MJN1NTeSwyQwd8ESULEvavB2o3m9E7q7ffpHvvZKHr4+scugaCSA==","signatures":[{"sig":"MEUCIQCBrP/8sVtPMhuki7ZpNtlzUk1x5UbUjAacr2AuQ0RB6gIgZAen+pjDvMRdHcECRg2ezbk/6Dx7ZAu82xUch2fEdzk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13658,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcWzEwCRA9TVsSAnZWagAAURAP/iFBGPXeZKybQJ2jDHYR\nn6adfxTHEkKhXNhIiYeVlltXPDIdA7hQCn2//UQYRciLB5PKigY5YZW7Lxq/\nCVm8U7oVLTyj91EDnlXaKJ0T8tBpQT5xbB6beEWOHPwZ8J1DP03qtehhJrfC\nulA6XUHTeIPBvCDHtL+A2nMTI2gvPQTMkqGmFf0/hdu/cHFYlI7dZWIu7LvJ\nm4HH+qFckpx1zlLGa4xBVvD17Hsay0HybF7IEFHEWIU4sVoIsCZpIXB1ybSz\nkUkfbb4BnAfZ/g6M1BQ9h0Ws1hljaIls1j18qkpFVqQOEfeDupKZnIJU+rjw\nmff/bl48CJwPaCxdBGWA3LULr59iG+US3q+FfQ5apRgO4Jjs1wuT9eVF6ZeR\nlSLKU4nTG/CdWLfciX1yrxj0B5qbbslwqsHiMk0US4UZkddisSpjo7HZSm15\nYYoGWAiH0BaEoa08usE+VnQg9MuD/i3O1StP9nMZefN7Y3jyVQiLjbKJjAhK\njhi0vbB2yNA/9PY38qgVAYT3GoxT5jlPepGHuYwync/ZVMGYlVNs4UAuUxzW\nvchSNYlIGYd6W/ifvAOU43gW6YBZziydIzavYG+7r4lKqAPXLk4tg9BLYeIB\n8FCcbWeiHagXLVTWWIS9C2sWM6xaSfTq9it9/QLUNd3Y8ESKy1fJYUiAIK5w\ncI/S\r\n=1zeO\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"9837eb86592007f3558dc9cef25cf721a465fd14","scripts":{"lint":"eslint *.js src","test":"jest"},"_npmUser":{"name":"shawnbot","email":"shawnbot-npm@nym.hush.com"},"_npmVersion":"6.4.1","description":"Publish Primer projects to npm with GitHub Design Systems conventions","directories":{},"_nodeVersion":"10.15.1","dependencies":{"yargs":"^12.0.5","semver":"^5.6.0","interpolate":"^0.1.0","action-status":"^0.1.1","github-action-meta":"^0.1.2"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^24.1.0","eslint":"^5.13.0","prettier":"^1.16.4","mocked-env":"^1.2.4","eslint-plugin-github":"^1.8.1"},"_npmOperationalInternal":{"tmp":"tmp/publish_0.0.0-sha.aa8705f_1549480240299_0.9707413595190095","host":"s3://npm-registry-packages"}},"0.1.0-next.3febae0":{"name":"@primer/publish","version":"0.1.0-next.3febae0","keywords":["primer","publish","github-actions","npm"],"author":{"name":"GitHub, Inc."},"license":"MIT","_id":"@primer/publish@0.1.0-next.3febae0","maintainers":[{"name":"broccolini","email":"diana.mounter@gmail.com"},{"name":"emplums","email":"eplummer26@gmail.com"},{"name":"jonrohan","email":"yes@jonrohan.codes"},{"name":"primer-css","email":"design-systems@github.com"},{"name":"shawnbot","email":"shawnbot-npm@nym.hush.com"}],"bin":{"primer-publish":"cli.js"},"dist":{"shasum":"8b99877245a0dc2678c4cad93c37783d9fe6da35","tarball":"https://registry.npmjs.org/@primer/publish/-/publish-0.1.0-next.3febae0.tgz","fileCount":20,"integrity":"sha512-fhY8lUFDeN3ALPlK98Bxiv+89uawTlv40FS/0orRZISmiFGo4avHLosmwGhp6DaVSYe0ZYMSCJ2QaFwmeqdlfw==","signatures":[{"sig":"MEUCID0pQS82X1R3lAM1P4hSVGDlzrMj9vBAeVZoA7sVGKpMAiEAhFsIjrXitI8vnJwo1OEhxb2sRsY4uGaKKRvlOdrQsmk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13816,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcWzUgCRA9TVsSAnZWagAAEGYP+wYBVhRqzrZqN4krQyU3\nNHesQTEp4RKcfXuXMV/Z43BBI+Sk4K9Lml6XOLTj69VLXVqwYCQ5iQsWvlsm\nDQ/ESMQI8uR5qz5STqom21erz0DDnPSO64BWDonjCR87/MfH484BBf5uf3mZ\n7gs61nEWya0JW+RbGleTxnE3DSGQFP+FZVi6ccO3LWdvR0AiVUFYlS1f3d4E\nXlNr4zeUsdwX+Y+wBMgmkW4Dd1rioz61MgG3rHhqsQiqWBm9DdFU5pSYR6VC\n+bwCwwNclEXftl41tK3lIbY+6w2V9R4Oc4MCVkRUmN8yU9nQ1hoVejUDtdqh\nEbCwn5L8Z09eP7QnwASMW1MgNPABZkNbHB0RnsNufUD5FhfQCql2TrXco6L2\ngOwsDlHVGHzugYOaNT1pR+7tjpYx9QT5okie6xyQVzuFT8yxz6Ighn/eAVt2\nrQaYzzarG3lbo8Uy7M0cKbJ1SFHvQhMtQ8J9UEi66LQwrKIb2hxD7FQXteRI\nM6eYdcOFkvjJkvgtwG936aoUpXcJtqZr2X1ww5lUEZwMhCDBJ/eTqVGRTiof\nbmCBLapzugCXD8B5jXDKIaXz8kzkUhD2TjpzUxDsPFTdT5+d5m/V3/PiFyUu\nwZqfZQWInHr+W3fH/uZmt8hxOW9qz15Ug5x9MqKj7t0pHNq3XFHGy4gDXzCX\nXsWb\r\n=YP6I\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# publish\nThe GitHub Action that publishes Primer packages to npm\n","gitHead":"ff02f65db2264911f15c192ad11f4299b009065c","scripts":{"lint":"eslint *.js src","test":"jest"},"_npmUser":{"name":"shawnbot","email":"shawnbot-npm@nym.hush.com"},"_npmVersion":"6.4.1","description":"Publish Primer projects to npm with GitHub Design Systems conventions","directories":{},"_nodeVersion":"10.15.1","dependencies":{"yargs":"^12.0.5","semver":"^5.6.0","interpolate":"^0.1.0","action-status":"^0.1.1","github-action-meta":"^0.1.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^24.1.0","eslint":"^5.13.0","prettier":"^1.16.4","mocked-env":"^1.2.4","eslint-plugin-github":"^1.8.1"},"_npmOperationalInternal":{"tmp":"tmp/publish_0.1.0-next.3febae0_1549481246620_0.45309070642003624","host":"s3://npm-registry-packages"}},"0.1.0-rc.a63e04e":{"name":"@primer/publish","version":"0.1.0-rc.a63e04e","keywords":["primer","publish","github-actions","npm"],"author":{"name":"GitHub, Inc."},"license":"MIT","_id":"@primer/publish@0.1.0-rc.a63e04e","maintainers":[{"name":"broccolini","email":"diana.mounter@gmail.com"},{"name":"emplums","email":"eplummer26@gmail.com"},{"name":"jonrohan","email":"yes@jonrohan.codes"},{"name":"primer-css","email":"design-systems@github.com"},{"name":"shawnbot","email":"shawnbot-npm@nym.hush.com"}],"bin":{"primer-publish":"cli.js"},"dist":{"shasum":"c5813b7c8585942409c82af0ad11c4de0a2a0470","tarball":"https://registry.npmjs.org/@primer/publish/-/publish-0.1.0-rc.a63e04e.tgz","fileCount":19,"integrity":"sha512-rBcD6VlEOhiv/VrzST8UqrgD6MqNPzEBgGDnPz1LwxDYWQuvh1Vt7s6GgJQRvwNB/nxl9EVfdCezVDs3ksmk6w==","signatures":[{"sig":"MEQCIDyflGzsLRic/ZibA/2x2GrTltMZj/WphhmLzMjvm3K4AiBl3JO7ENcgpRw4tjPyTDi9Mz/nt/4gzwtbLgm+Brcjjw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13471,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcWzgpCRA9TVsSAnZWagAA3EcP+wVnqkQcl8SWymvY7zmA\nF/zcQcpGr6ELBCATBq3OBGBsqCTE2kLLa2npFhFN05WZ6uK975naxK9qwicM\n+X7Ja8jTL1GjH+MnEgWYy1Db9CRvyk31BhIXtDWoUshKdVSAzPZuiuQt1/sN\nej5y7s1ze2MIFfsrVzmGuqk1Wa8gNQ0IypwF6vyyf3bYCCn27PBvixKIzc3j\n4+W1lhHqwacZ3oiDR8tRUbBxuoyrmKizF0korQ1nB6Kasm1D8aw4yexvR6A4\nGg5rg9dktL2NtCI/TeaBi6se5yS20wkLSgQOHumaLIngmcTjPDITLnHeDf0s\nxaezywh9Hnkhtz/xtV53qoQrsuING3qUdsskweYHFFJI/0HdKOBVvDO9HpYa\n/5am/nT/NPW0uMNNteyPbWs9p8KHCy+/c/Tp+Z6YEHOa6MqZ+B17WTDSaiIh\nN3UEaAWF10ezxCB1EoB5RfU/WrktB+CKYRAkDYmAb429Ns8tiFpk4wgYWQG4\nhC6VCTJneSOc2GT4rDdOdyi3KhlaOJXGAUPaK8fXzOom/arJAFtbv4pKV/7d\n22XBFrIhZvmRsNYvWtsiSEiWGDNmDodQN6wMtDlJrPonsgGuY9bbjfx17xYO\ngfxRcR/CEUB0/EWUpj66T7djkXfXCzjqeX9Fka1xmG+JUV4tmgp50HQFqQ81\nWkcv\r\n=eM4g\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# publish\nThe GitHub Action that publishes Primer packages to npm\n","gitHead":"eafc96d6a63a9e31069acc8e570022d29fa7cf32","scripts":{"lint":"eslint *.js src","test":"jest"},"_npmUser":{"name":"shawnbot","email":"shawnbot-npm@nym.hush.com"},"_npmVersion":"6.4.1","description":"Publish Primer projects to npm with GitHub Design Systems conventions","directories":{},"_nodeVersion":"10.15.1","dependencies":{"yargs":"^12.0.5","action-status":"^0.1.1","github-action-meta":"^0.1.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^24.1.0","eslint":"^5.13.0","prettier":"^1.16.4","mocked-env":"^1.2.4","eslint-plugin-github":"^1.8.1"},"_npmOperationalInternal":{"tmp":"tmp/publish_0.1.0-rc.a63e04e_1549482023890_0.4401177481119265","host":"s3://npm-registry-packages"}},"0.1.0-rc.64ad2bd":{"name":"@primer/publish","version":"0.1.0-rc.64ad2bd","keywords":["primer","publish","github-actions","npm"],"author":{"name":"GitHub, Inc."},"license":"MIT","_id":"@primer/publish@0.1.0-rc.64ad2bd","maintainers":[{"name":"broccolini","email":"diana.mounter@gmail.com"},{"name":"emplums","email":"eplummer26@gmail.com"},{"name":"jonrohan","email":"yes@jonrohan.codes"},{"name":"primer-css","email":"design-systems@github.com"},{"name":"shawnbot","email":"shawnbot-npm@nym.hush.com"}],"bin":{"primer-publish":"cli.js"},"dist":{"shasum":"a315a299946a052b3de1c7e5a4e407619f95a6d7","tarball":"https://registry.npmjs.org/@primer/publish/-/publish-0.1.0-rc.64ad2bd.tgz","fileCount":19,"integrity":"sha512-ID2q4BINFXRqHkRldAKbxWMd2zKJU/191yJwVWVT17QJB+ux5hVCeBZhAqX+l5AcD+vjCRTdA8D9V/9ino5pJw==","signatures":[{"sig":"MEQCIGcDkhbHezx30taSqykmQTVHS0CAPqFzJlNtnJ0ocpqsAiAYBjD1wRkyMcaPl6/Y60+LaqRai1uvDYbVFJGXXx641A==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13481,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcWzjPCRA9TVsSAnZWagAA9xEQAJCWIOpyWNm5ylgtan7Z\nuj8pKuMr0YQE0lOrogkCkdEiOZg+0Bg8xsHk315EsWIpEU7HjoIlpNO0vSx0\n0s9CugvAnt+U6YjrrQocrwNyR4saNSiUGHhwx5cdjJtwvLPUqm+eis80FjP9\nW804qUiwhV50x7R2oAIExi1mRYa5LZxO009QIcr9Y2KEqJnxMLET+4P0lppG\naUH1ShWjs/LBt39FmxDKBMt3SYWdlOgw+fvz8cg5o3YXoJKiE6CCh555Yvgx\n1dt/sGcU+JfviWoolhJOd9QemZtc6nNomPQ82QMfTdSOxWzJk5Q0zKXMLjhO\notIbFLthdpc1O6yCAPy9yKpsFARGZTEiqkfxw8qTUU2748JPhfx2DoHoVds/\n8XtXI8zClw9euIIWGxmapQhbLEtY4dv8T2IK3lkxTs3uHhyhXqn0ftmajVQF\nraFade59aTTUy/C+7tQlIfVjUf7qXC1wLHnHV54LWrmqB+CNisAL044DA1sq\nk1dhE3h53SW51O+tsqiN5d9BF9OHSSxZ/ne2TylSCtIRxY+WgijzySEfUe75\nJEL4OAFOwB332zXNNZ368gI3NbUbxbLxSyVvP47Q8eSCrN4nxEdbRbhlQo4E\nNkN0C67H/mtkqFzsgTDtDLY12C+4u5+EXvl3c3J9LSBT3Gqb45CQ1WPLf1bU\nr4qX\r\n=WPEw\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# publish\nThe GitHub Action that publishes Primer packages to npm\n","gitHead":"596d55eb135185cecf329389c0995bd74f4f9559","scripts":{"lint":"eslint *.js src","test":"jest"},"_npmUser":{"name":"shawnbot","email":"shawnbot-npm@nym.hush.com"},"_npmVersion":"6.4.1","description":"Publish Primer projects to npm with GitHub Design Systems conventions","directories":{},"_nodeVersion":"10.15.1","dependencies":{"yargs":"^12.0.5","action-status":"^0.1.1","github-action-meta":"^0.1.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^24.1.0","eslint":"^5.13.0","prettier":"^1.16.4","mocked-env":"^1.2.4","eslint-plugin-github":"^1.8.1"},"_npmOperationalInternal":{"tmp":"tmp/publish_0.1.0-rc.64ad2bd_1549482189046_0.37642746135256644","host":"s3://npm-registry-packages"}},"0.1.0-rc.2ac37b5":{"name":"@primer/publish","version":"0.1.0-rc.2ac37b5","keywords":["primer","publish","github-actions","npm"],"author":{"name":"GitHub, Inc."},"license":"MIT","_id":"@primer/publish@0.1.0-rc.2ac37b5","maintainers":[{"name":"broccolini","email":"diana.mounter@gmail.com"},{"name":"emplums","email":"eplummer26@gmail.com"},{"name":"jonrohan","email":"yes@jonrohan.codes"},{"name":"primer-css","email":"design-systems@github.com"},{"name":"shawnbot","email":"shawnbot-npm@nym.hush.com"}],"bin":{"primer-publish":"cli.js"},"dist":{"shasum":"d767675acada546456e0ef6c61d50527d7699ffb","tarball":"https://registry.npmjs.org/@primer/publish/-/publish-0.1.0-rc.2ac37b5.tgz","fileCount":19,"integrity":"sha512-+ACiYkXH+nz7PkbIq8Ohn8tB4g7MxWM2h/K2aBRKLttmUxybUMX3UgE0hHJrQi5RMnaaivYsSUcYpQRb/2VJkg==","signatures":[{"sig":"MEUCIQCvcuIDErT35/9L/wpt00IzZkECftV+znvSWvwNbxJ+6gIgCPsst1JLUBAqS7OzstZE3dNeB4jTlwSzBfrEyauMQg0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":15257,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcWzwfCRA9TVsSAnZWagAAHkgQAI9wbVVzAFW3/x+Nv/1o\nEwAUNmeVzzSwg4qHV5hAhHggl0j5UYU8NRdw/D7iPtLl9wXF/UeJ7Y2vSsmg\n8rkFLiPKcIvzy52sAIdkbJ59HIBQsj7kn75nbM1ypf4c8wAw5tsqs+RqXba9\nHmS7+gYrvsK0D98qNvmJ8XBXwG8xsjRO/QUb2yHopIWp0UqjDyZ1AojP09dL\nkVtQALSjtKKwlZj2IugFSxVZ6axe0kLoTSYbhP8YKcfUIp0mU+soJMTYLYui\nuCxcU6rWLYyy0KanbSCZTDLT6XQrGw+/rW9HI07bcB8s3dRcZk/0W8ZsjHIZ\nIC1Ei5oGaR+KntAksJxJvzlRUzFPY/qsyoIFWdwm7g7hRWt5kSOn62VlHarB\n6S81KzSUq2AoxckOmdPNLXFZEII4x2VLsaRNjpZLsHwEgYyyz86xNC83X1wL\n5pQ1+w35Mx1gln+YqTTW3Mzgw7a/tJ5o6/tnnV5+6AidtAV8s6iE6mnZChtm\nYtX4Wz2cBF1dMdFWn4sIJBTcIF8CcKw7JXd/dxr2mo6ibX9QkeChAKX99zlM\nn2QP/jNnGA4SAM0E90y6c2NyZ6G/91txkkjqF8rEywma7zh3lmT2j9uhakfE\nwkvl2k5iG01S7AtTjMzekSpbCfEmi2B7iycHrNvx3b1yk7h43hm1YJAD6RfR\nqqB7\r\n=HueX\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# primer/publish\n\nThis [GitHub Action][github actions] publishes to npm with the following conventions:\n\n1. If we're on the `master` branch, the `version` field is used as-is and we just run `npm publish --access public`.\n1. If we're on a `release-<version>` branch, we publish a release candidate to the `next` npm dist-tag with the version in the form: `<version>-rc.<sha>`\n1. Otherwise, we publish a \"canary\" release, which has a version in the form: `0.0.0-<sha>`.\n\n## Status checks\nTwo [status checks] will be listed for this action in your checks: **publish** is the action's check, and **publish <package-name>** is a [commit status] created by the action that reports the URL and links to `unpkg.com` via \"Details\":\n\n**TODO**: add image\n\n## Usage\nTo use this action in your own workflow, add the following snippet to your `.github/main.workflow` file:\n\n```hcl\naction \"publish\" {\n  uses = \"primer/publish@master\"\n  secrets = [\n    \"GITHUB_TOKEN\",\n    \"NPM_AUTH_TOKEN\",\n  ]\n}\n```\n\n**You will need to provide an npm access token with publish permissions via the `NPM_AUTH_TOKEN` secret in the Actions visual editor** if you haven't already.\n\nTo avoid racking up failed deployments, we suggest that you place this action after any linting and test actions.\n\n## Now CLI arguments\nIt's possible to pass additional arguments through to the `now` CLI via the `args` field in your workflow action. Because the `primer-publish` CLI accepts options of its own (such as `--dry-run`), you need to prefix any `npm` arguments with `--`:\n\n```diff\naction \"deploy\" {\n  uses = \"primer/publish@master\"\n+  args = [\"--\", \"--registry=https://registry.your.org\"]\n```\n\n[github actions]: https://github.com/features/actions\n[commit status]: https://developer.github.com/v3/repos/statuses/\n[status checks]: https://help.github.com/articles/about-status-checks/\n","gitHead":"2851103c8df8429b6d4fca5238281e59560e73f4","scripts":{"lint":"eslint *.js src","test":"jest"},"_npmUser":{"name":"shawnbot","email":"shawnbot-npm@nym.hush.com"},"_npmVersion":"6.4.1","description":"Publish Primer projects to npm with GitHub Design Systems conventions","directories":{},"_nodeVersion":"10.15.1","dependencies":{"yargs":"^12.0.5","action-status":"^0.1.1","github-action-meta":"^0.1.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^24.1.0","eslint":"^5.13.0","prettier":"^1.16.4","mocked-env":"^1.2.4","eslint-plugin-github":"^1.8.1"},"_npmOperationalInternal":{"tmp":"tmp/publish_0.1.0-rc.2ac37b5_1549483038988_0.47897166394374535","host":"s3://npm-registry-packages"}},"0.1.0-rc.8435e6f":{"name":"@primer/publish","version":"0.1.0-rc.8435e6f","keywords":["primer","publish","github-actions","npm"],"author":{"name":"GitHub, Inc."},"license":"MIT","_id":"@primer/publish@0.1.0-rc.8435e6f","maintainers":[{"name":"broccolini","email":"diana.mounter@gmail.com"},{"name":"emplums","email":"eplummer26@gmail.com"},{"name":"jonrohan","email":"yes@jonrohan.codes"},{"name":"primer-css","email":"design-systems@github.com"},{"name":"shawnbot","email":"shawnbot-npm@nym.hush.com"}],"bin":{"primer-publish":"cli.js"},"dist":{"shasum":"7421769926abf6d75d47570eb3158c6554783b05","tarball":"https://registry.npmjs.org/@primer/publish/-/publish-0.1.0-rc.8435e6f.tgz","fileCount":19,"integrity":"sha512-mhSsWv0rnsls5qcnnBuhYzwsCGpyhQy7WATd+ZVK0WgF6cUG+lSimtYKpo0z7tGrTRoLv6fbXjdX68t/9Iar6g==","signatures":[{"sig":"MEQCIGJsM8gujiQ9HUrBLyWUizG7z1x6itHWdBH73sYpix1NAiB8YvInN5SNOVJ4gXhkybLipxhzZBhys1TIJfFTnomLQA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":15258,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcW0VfCRA9TVsSAnZWagAAH88P/1cUa02adpaTKcfJkrn9\nE2SXG/H/51LPvbBty/us7/codJVuB1EzSX4LBgSMkzDK9sOyUcoPLVEcojvd\nWT2uhcX+27TWASFYaVd+KBtjI3g02sL3LFP7eIyT7D+xQ/9e88I1taLVPwf6\nOfO9rwmlVWMrC3h7qxacHB3DI08sCEhGJo/VoWwbx6N0/GGtr6Hj6QBL3kfp\n5dGaMdZ7JQn/yFHdajA+mO24/f6kOlVNuhX3iHB99HdWvPf92TWArXV58Rbm\n0E0kvLaJ+Pneq9S0S1xynxXs89Ljya0upLBMi4Fk+aE+rQK+bC15JcMLLA3H\nVPPq0nEyr3NXfnSUAy3HG0DcRTqgHaYevE4u9S9JWUaxWNJkcmKwLCdlDuPc\nVkfPmz3wP5ZiPm4ypPpSpae4MYPxUzThhqQjs8Zo7nT0z/JHCZBteZvtSSna\nQpUvGFH17wf5O5tbmOsNnuclpimGg+0OCcP4X85AgRg/pCLjE143kgeXsx6K\nY/wBL814WriuvT/lKsKN4te3khOjeN+0TxUGmvcuTumaSXJKYqVxZggWd41p\nrGYeMyZjz2smQRkfAjR7Zmc6jylk339BNAw6ZKnk6nKgk5MGProFOEsz0fCH\nhTFQqYiYPD0CBU++VjpvmPUYiQ5Tw0AypdK34dAcMWtZT7k77F3Yc8rmv208\nmSvN\r\n=LF2i\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# primer/publish\n\nThis [GitHub Action][github actions] publishes to npm with the following conventions:\n\n1. If we're on the `master` branch, the `version` field is used as-is and we just run `npm publish --access public`.\n1. If we're on a `release-<version>` branch, we publish a release candidate to the `next` npm dist-tag with the version in the form: `<version>-rc.<sha>`\n1. Otherwise, we publish a \"canary\" release, which has a version in the form: `0.0.0-<sha>`.\n\n## Status checks\nTwo [status checks] will be listed for this action in your checks: **publish** is the action's check, and **publish <package-name>** is a [commit status] created by the action that reports the URL and links to `unpkg.com` via \"Details\":\n\n**TODO**: add image\n\n## Usage\nTo use this action in your own workflow, add the following snippet to your `.github/main.workflow` file:\n\n```hcl\naction \"publish\" {\n  uses = \"primer/publish@master\"\n  secrets = [\n    \"GITHUB_TOKEN\",\n    \"NPM_AUTH_TOKEN\",\n  ]\n}\n```\n\n**You will need to provide an npm access token with publish permissions via the `NPM_AUTH_TOKEN` secret in the Actions visual editor** if you haven't already.\n\nTo avoid racking up failed publish actions, we suggest that you place this action after any linting and test actions.\n\n## npm CLI arguments\nIt's possible to pass additional arguments to `npm` via the `args` field in your workflow action. Because the `primer-publish` CLI accepts options of its own (such as `--dry-run`), you need to prefix any `npm` arguments with `--`:\n\n```diff\naction \"publish\" {\n  uses = \"primer/publish@master\"\n+  args = [\"--\", \"--registry=https://registry.your.org\"]\n```\n\n[github actions]: https://github.com/features/actions\n[commit status]: https://developer.github.com/v3/repos/statuses/\n[status checks]: https://help.github.com/articles/about-status-checks/\n","gitHead":"55bdb9a9e47a6aaa46eb3f09ead184a668a2ba8d","scripts":{"lint":"eslint *.js src","test":"jest"},"_npmUser":{"name":"shawnbot","email":"shawnbot-npm@nym.hush.com"},"_npmVersion":"6.4.1","description":"Publish Primer projects to npm with GitHub Design Systems conventions","directories":{},"_nodeVersion":"10.15.1","dependencies":{"yargs":"^12.0.5","action-status":"^0.1.1","github-action-meta":"^0.1.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^24.1.0","eslint":"^5.13.0","prettier":"^1.16.4","mocked-env":"^1.2.4","eslint-plugin-github":"^1.8.1"},"_npmOperationalInternal":{"tmp":"tmp/publish_0.1.0-rc.8435e6f_1549485407273_0.12470416734498357","host":"s3://npm-registry-packages"}},"0.1.0-rc.54c1cde":{"name":"@primer/publish","version":"0.1.0-rc.54c1cde","keywords":["primer","publish","github-actions","npm"],"author":{"name":"GitHub, Inc."},"license":"MIT","_id":"@primer/publish@0.1.0-rc.54c1cde","maintainers":[{"name":"broccolini","email":"diana.mounter@gmail.com"},{"name":"emplums","email":"eplummer26@gmail.com"},{"name":"jonrohan","email":"yes@jonrohan.codes"},{"name":"primer-css","email":"design-systems@github.com"},{"name":"shawnbot","email":"shawnbot-npm@nym.hush.com"}],"bin":{"primer-publish":"cli.js"},"dist":{"shasum":"956972944612603d9ad776f614cc0ec2c8eadefc","tarball":"https://registry.npmjs.org/@primer/publish/-/publish-0.1.0-rc.54c1cde.tgz","fileCount":19,"integrity":"sha512-+j9a9TyMt5X23DlDikUS1PAtaR7OhXRiUCrPHDht29Ig1m0mn9KhBQvGi/9BuBrEBb6CnVDT+NGIrwKu4lhrtg==","signatures":[{"sig":"MEQCIHbHg/vsiwDyjIS9SRlcjnBGVGLWynklS7FWgVOawIkgAiAxEFkY+tVd5maoJbr/Ujdrj9xF1XCfv/T4NaxwHj7gnA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":16212,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcW1EICRA9TVsSAnZWagAAZbkP/0duVVdBVAroWVXBysGi\no2W+bFfzODI1VDPS/JEnN6/LlZdg48+LELqitrW1CR21GLuQTculURDfenpa\nUvii5zgp4j5VyxY7/ABdFyIPzl20mGTe0x5B8wHiujhAvqncrHahaI1KysFR\n0H85MriKKZ7KQblyuzSaOHvJXyK3iFVHqVZ+k72clVLqG3Nbf4hkPRckmme+\n+6HEuoVWjqWu2nCTauGlTgkMvlUeG2ZudQ/LR9oHAYqwQ6IB7LIn/0kr8wUt\nJKqboIgjNAP6n3hTYb0L8RCIymZA6QuqmkDECyhSpoVui1RNQHyt8NMG68nY\nQyxZ4f4WS0IjBNiE1aSESV0sqq/HDjLC5lI/2sutGWqShrKnTD9Gi4M+Ft4X\npuSS0Ic9GBrXQM31A2/cLPk3lojQ4dwZw4w5Ievb5XNV7xBRaM4eHfsr6Fkx\n9/AvLp9ZLnYEvB3/o2K+iE2QG1wKgZVFeNtA5fey4J245AFmPaa6hL58cbNW\ns+ygVNtFFTRg22Yf1pSeD8kwJXRwiD0hWmOWDKPm3C8jmViy/NQFJX4qA6lw\njepXDl8wLJ/fDmue3BQcGIIIJjWqeuhHldCVqfjuVFNspkhFnIxdv+3x1eaV\n3xNJ8S1HJP5qhmVtsh3eHmSeSYipvwHpKkVId7tH7CQT8l3nJKGxG9npJ7M4\nImXk\r\n=/YOy\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# primer/publish\n\nThis [GitHub Action][github actions] publishes to npm with the following conventions:\n\n1. If we're on the `master` branch, the `version` field is used as-is and we just run `npm publish --access public`.\n1. If we're on a `release-<version>` branch, we publish a release candidate to the `next` npm dist-tag with the version in the form: `<version>-rc.<sha>`\n1. Otherwise, we publish a \"canary\" release, which has a version in the form: `0.0.0-<sha>`.\n\n## Status checks\nTwo [status checks] will be listed for this action in your checks: **publish** is the action's check, and **publish <package-name>** is a [commit status] created by the action that reports the URL and links to `unpkg.com` via \"Details\":\n\n**TODO**: add image\n\n## Usage\nTo use this action in your own workflow, add the following snippet to your `.github/main.workflow` file:\n\n```hcl\naction \"publish\" {\n  uses = \"primer/publish@master\"\n  secrets = [\n    \"GITHUB_TOKEN\",\n    \"NPM_AUTH_TOKEN\",\n  ]\n}\n```\n\n**You will need to provide an npm access token with publish permissions via the `NPM_AUTH_TOKEN` secret in the Actions visual editor** if you haven't already.\n\nTo avoid racking up failed publish actions, we suggest that you place this action after any linting and test actions.\n\n## npm CLI arguments\nIt's possible to pass additional arguments to `npm` via the `args` field in your workflow action. Because the `primer-publish` CLI accepts options of its own (such as `--dry-run`), you need to prefix any `npm` arguments with `--`:\n\n```diff\naction \"publish\" {\n  uses = \"primer/publish@master\"\n+  args = [\"--\", \"--registry=https://registry.your.org\"]\n```\n\n[github actions]: https://github.com/features/actions\n[commit status]: https://developer.github.com/v3/repos/statuses/\n[status checks]: https://help.github.com/articles/about-status-checks/\n","gitHead":"2fbded37ca4f0bc3069c056fc057fc22e44095b6","scripts":{"lint":"eslint *.js src","test":"jest"},"_npmUser":{"name":"shawnbot","email":"shawnbot-npm@nym.hush.com"},"_npmVersion":"6.4.1","description":"Publish Primer projects to npm with GitHub Design Systems conventions","directories":{},"_nodeVersion":"10.15.1","dependencies":{"yargs":"^12.0.5","action-status":"^0.1.1","github-action-meta":"^0.1.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^24.1.0","eslint":"^5.13.0","prettier":"^1.16.4","mocked-env":"^1.2.4","eslint-plugin-github":"^1.8.1"},"_npmOperationalInternal":{"tmp":"tmp/publish_0.1.0-rc.54c1cde_1549488392367_0.3988674032687647","host":"s3://npm-registry-packages"}},"0.1.0-rc.adaad3f":{"name":"@primer/publish","version":"0.1.0-rc.adaad3f","keywords":["primer","publish","github-actions","npm"],"author":{"name":"GitHub, Inc."},"license":"MIT","_id":"@primer/publish@0.1.0-rc.adaad3f","maintainers":[{"name":"broccolini","email":"diana.mounter@gmail.com"},{"name":"emplums","email":"eplummer26@gmail.com"},{"name":"jonrohan","email":"yes@jonrohan.codes"},{"name":"primer-css","email":"design-systems@github.com"},{"name":"shawnbot","email":"shawnbot-npm@nym.hush.com"}],"bin":{"primer-publish":"cli.js"},"dist":{"shasum":"f0ecb50169e0c3d69d002f025288509ecb8dca85","tarball":"https://registry.npmjs.org/@primer/publish/-/publish-0.1.0-rc.adaad3f.tgz","fileCount":19,"integrity":"sha512-KJyxBycziF/9eM4AiBHYQbxU8vzlu8gQgGS4J3g0Sjh3jSLIus813Tyo93JJ+ZpGDK1zY7qzvv2JsEAkL0jgOA==","signatures":[{"sig":"MEQCICX13wz2w4BNRROheaXBCU8hA3jqJ7uQ6/t9w1frH509AiAGAC5LnBjFWwL7AyiXe+c8k0j4ShioNHeNdmoFygz0Wg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":16315,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcW1PyCRA9TVsSAnZWagAAUX0QAItWZ6fjcuvPPUTYoNaX\n31GBqxkmaxLWXZWs0yUu1Xkieusz6/KbR+VyWFgGuB5Iwj+rdpk+RkpaHkJ0\nqjTB3tFSrfagUo31fcfyfh+UJ4u7PV3dai/hOurqvwDXDz+M1jPJ22QX/fZG\nqk+0PdH0MgZzOnljJmItctsJ4fzZjV2RqQymcxs9bRifJU9Ew248rDJkGjVB\n/O+DpElY1xgLpJKCy5wBtQQk/+6Vo3UZTHsYKNqlVKY0ulBeO75lhh2DUjVw\nBpQWer64b1+ruebASqCepHzhsLIqy0eJUfh8OKEID2sdWMkQfp4o2L22nJ1B\n+z1QN7b1aYDs2XWOUu172oEUrXOS/Kk6rw4u5PAQrU8k+ip7n2ND+iTzHOf6\nnj1zuWPU1bUmqbfeikRUxX/Kc64YBYvQrQ49LNHKSGjvN5RI1Sa/AjcrE2Kb\n6p1xuCIq1lCO2CPKNn6O7iUBjDgd7jxBcWrZMbKHV8rlQPW9lbX362SLblWM\n/P8tkmEAc5W+G9CIAMfxwCwn6BBuQ8hljQ5BRAoEZIqunzz4PGKJPBil0zih\nU8nCosPaguLBO8WE7W04QTNUpvn6sTkfVeV4knIX3xob1T/5YpOhg9EXH5ru\n3WGuNvjX1cadungPZ8uQ/vi7/YSN2CTPKFO4wkG2FwG8tm+EsfLKT6KA330C\nZJ6J\r\n=s4vw\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# primer/publish\n\nThis [GitHub Action][github actions] publishes to npm with the following conventions:\n\n1. If we're on the `master` branch, the `version` field is used as-is and we just run `npm publish --access public`.\n1. If we're on a `release-<version>` branch, we publish a release candidate to the `next` npm dist-tag with the version in the form: `<version>-rc.<sha>`\n1. Otherwise, we publish a \"canary\" release, which has a version in the form: `0.0.0-<sha>`.\n\n## Status checks\nTwo [status checks] will be listed for this action in your checks: **publish** is the action's check, and **publish {package-name}** is a [commit status] created by the action that reports the version published and links to `unpkg.com` via \"Details\":\n\n![image](https://user-images.githubusercontent.com/113896/52375286-23368980-2a14-11e9-8974-062a3e45a846.png)\n\n## Usage\nTo use this action in your own workflow, add the following snippet to your `.github/main.workflow` file:\n\n```hcl\naction \"publish\" {\n  uses = \"primer/publish@master\"\n  secrets = [\n    \"GITHUB_TOKEN\",\n    \"NPM_AUTH_TOKEN\",\n  ]\n}\n```\n\n**You will need to provide an npm access token with publish permissions via the `NPM_AUTH_TOKEN` secret in the Actions visual editor** if you haven't already.\n\nTo avoid racking up failed publish actions, we suggest that you place this action after any linting and test actions.\n\n## npm CLI arguments\nIt's possible to pass additional arguments to `npm` via the `args` field in your workflow action. Because the `primer-publish` CLI accepts options of its own (such as `--dry-run`), you need to prefix any `npm` arguments with `--`:\n\n```diff\naction \"publish\" {\n  uses = \"primer/publish@master\"\n+  args = [\"--\", \"--registry=https://registry.your.org\"]\n```\n\n[github actions]: https://github.com/features/actions\n[commit status]: https://developer.github.com/v3/repos/statuses/\n[status checks]: https://help.github.com/articles/about-status-checks/\n","gitHead":"378702bdc6d0fca998d70c42a2e486bb7ce3d2b3","scripts":{"lint":"eslint *.js src","test":"jest"},"_npmUser":{"name":"shawnbot","email":"shawnbot-npm@nym.hush.com"},"_npmVersion":"6.4.1","description":"Publish Primer projects to npm with GitHub Design Systems conventions","directories":{},"_nodeVersion":"10.15.1","dependencies":{"yargs":"^12.0.5","action-status":"^0.1.1","github-action-meta":"^0.1.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^24.1.0","eslint":"^5.13.0","prettier":"^1.16.4","mocked-env":"^1.2.4","eslint-plugin-github":"^1.8.1"},"_npmOperationalInternal":{"tmp":"tmp/publish_0.1.0-rc.adaad3f_1549489137716_0.9985215880560558","host":"s3://npm-registry-packages"}},"0.1.0":{"name":"@primer/publish","version":"0.1.0","keywords":["primer","publish","github-actions","npm"],"author":{"name":"GitHub, Inc."},"license":"MIT","_id":"@primer/publish@0.1.0","maintainers":[{"name":"broccolini","email":"diana.mounter@gmail.com"},{"name":"emplums","email":"eplummer26@gmail.com"},{"name":"jonrohan","email":"yes@jonrohan.codes"},{"name":"primer-css","email":"design-systems@github.com"},{"name":"shawnbot","email":"shawnbot-npm@nym.hush.com"}],"bin":{"primer-publish":"cli.js"},"dist":{"shasum":"671fd4ebe12a7fc5dd22d25d2a9409bc409679e3","tarball":"https://registry.npmjs.org/@primer/publish/-/publish-0.1.0.tgz","fileCount":19,"integrity":"sha512-PGI1HTxpstjqHkWUHb6SPs25b50DoKLz7/EwYiGi/GRFNdoWdqXWLji804Z5ZSh4p78skEMLo7sVX2GwdQXusg==","signatures":[{"sig":"MEUCIQCyg8VSbeblD931KBjLiuOJyxDfIekEYx6K0erPn71KngIgf9RZ6NrjLpTh532Ew7zCXo098L45BAn9NG29Ruz6l5k=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":16304,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcW1brCRA9TVsSAnZWagAArsEQAKDnmHujPPT9/XGYYqqj\nMK6U4xyS8+RxdqWbzm5mKZxn4Z4gxMLmJyrtaVC5NL1aV0n1G25Q/rV219n3\nTSG9a1ZfYEVaQgEXmdyB8ebFgF9JRxBgtIij9XoDyEvPkxcUfIkzXzdIcCgz\nert+aUekRTzOla/yOeDOj2ag2Y4/dz4jjghhOYGlMagkH4IskxZuj7Vryf3U\ny3QgcmpIfO9AoHs87J4OdvrgFFjQLyGicMc4qFtupKlG5F5xByxN0CTQOdX0\nokq2lNiC1RFDWH4Vk2Kgncgx5KjBW3N/n/z1t5S8+t1jgqKPsRdXRW4CTpjI\ntm2hYgwP2Rk2Pi76/J1Q1Mh255qdl3C9VqYC96zXxgJv9ikHYic3bUR8jnkF\nJmpMG56vQHJxuqmIzYkXQqC+UU/G0oRNXPRpeV1EAXpjedw1JREdT7Hg4c6p\nfyA6LMN148Z1SDeLK1QhCq9WS5zftRfyidrcvm4L8MtleJVPQogWgYkl730Z\ntjTnQhvqXytef48cgpnbKMKG2Gdhy8lbiUsZroh3VRemWgzBkveRmcADitms\nTaXdfuEUIAB6fmI2Lw8AmBh+5jshOfop54c+qDndXvBUkmpD5XIdl1yAOw8a\nil1oJ1iAT/HqfZvfuanssbyV0I29U2sdesAqqJ6nhy/xi3rRdwBTAWSl3ygj\nJ8tb\r\n=7PvF\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"d5c2fa5509da5a706ade13915b377ac1aa43cb41","scripts":{"lint":"eslint *.js src","test":"jest"},"_npmUser":{"name":"shawnbot","email":"shawnbot-npm@nym.hush.com"},"_npmVersion":"6.4.1","description":"Publish Primer projects to npm with GitHub Design Systems conventions","directories":{},"_nodeVersion":"10.15.1","dependencies":{"yargs":"^12.0.5","action-status":"^0.1.1","github-action-meta":"^0.1.2"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^24.1.0","eslint":"^5.13.0","prettier":"^1.16.4","mocked-env":"^1.2.4","eslint-plugin-github":"^1.8.1"},"_npmOperationalInternal":{"tmp":"tmp/publish_0.1.0_1549489898429_0.5344959566251162","host":"s3://npm-registry-packages"}},"0.2.0-rc.a5bcf46":{"name":"@primer/publish","version":"0.2.0-rc.a5bcf46","keywords":["primer","publish","github-actions","npm"],"author":{"name":"GitHub, Inc."},"license":"MIT","_id":"@primer/publish@0.2.0-rc.a5bcf46","maintainers":[{"name":"broccolini","email":"diana.mounter@gmail.com"},{"name":"emplums","email":"eplummer26@gmail.com"},{"name":"jonrohan","email":"yes@jonrohan.codes"},{"name":"primer-css","email":"design-systems@github.com"},{"name":"shawnbot","email":"shawnbot-npm@nym.hush.com"}],"bin":{"primer-publish":"cli.js"},"dist":{"shasum":"145c78767bd8890056a534bf3eb2d0d796bc7530","tarball":"https://registry.npmjs.org/@primer/publish/-/publish-0.2.0-rc.a5bcf46.tgz","fileCount":19,"integrity":"sha512-0LkmBUEKCGl+jjnSd/dcuGMVE/9gr+Sa2kPvDrKwziw4NyxmBvp0AUEnoAtY5x/TgXbm+NVtYCHFqMok7r6nLA==","signatures":[{"sig":"MEYCIQD69tTFTobB1OobAnxjAystUAJcWxXeILsBBMGPNViS+AIhAJJzhY7WvWd3VTPl/WNV3u1UqJjnFIaWIfVL7YFpG8nw","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":16454,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcW1uOCRA9TVsSAnZWagAAXp0P/1tq0PP9uh+alARtYxbv\nG49PyD/se2LYklMvXCIb1WipdHrRQDMUreO8SoPRP4QvWr9GN1/4VlfnWysl\nnl0y50KFX8mf8znPAqIQ5Ixt0ivJNPFxETeG/mLNNa1urXB3KYPEaGCYRK5G\nIgSQzrZPrJ3wymgf8tCkDvxk/Zo3cr2BW6Fy0KmP4VjSm2rD/aYFxbdUt1qs\nS6NqjzdqXjXs2t8K7AYeqHQjaoEPzNnJ+qu5HEiVyb9ftOo4NlEZl2qlk1Cv\nck7aZ9u3tN37Tj1C6TxZHE2Zb9LlEr2z86XABVSRjfYTxqdaew2hMksnqcIh\nigdkgOuWBSGmyy/fVbibEhcoQFCuY2AJEOhJpte5yiAhh8Ima5T6g15C7Odo\nNO1bCqqTZjjZXoEWmxPmviPs+RVpr7CmfZfHMBwh/JmhHFDIcOlRFEz855fw\nr5hpP4bXvnY+xZfwdq10aceHCqUXv3xjHB8KMXlA9Y7k+ed25t6/FRH1qWDL\n6SlYfDqsKE50ksY16+UiM0DqtuRpOa7mvu1EzppbcZdf0emcmkKYzhvh/vLc\nyy2lVGYO9L4aNoj3ydDSDbf6zEe/o/xXrUj9JZ0iMXYsCkNwHpUcH63eJQax\nMT40M1hQxTEEbKgCkrGMcjriq6ShVF5/VDsDeI4TAZuQ4sadEcht6p7Zg/T6\nmAQw\r\n=mu4Q\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# primer/publish\n\nThis [GitHub Action][github actions] publishes to npm with the following conventions:\n\n1. If we're on the `master` branch, the `version` field is used as-is and we just run `npm publish --access public`.\n1. If we're on a `release-<version>` branch, we publish a release candidate to the `next` npm dist-tag with the version in the form: `<version>-rc.<sha>`\n1. Otherwise, we publish a \"canary\" release, which has a version in the form: `0.0.0-<sha>`.\n\nAlso:\n\n* If the version in `package.json` is already published, we exit with a `78` code, which is Actions-speak for \"neutral\".\n* On the `master` branch, we push the version commits back to GitHub via git.\n\n## Status checks\nTwo [status checks] will be listed for this action in your checks: **publish** is the action's check, and **publish <package-name>** is a [commit status] created by the action that reports the URL and links to `unpkg.com` via \"Details\":\n\n**TODO**: add image\n\n## Usage\nTo use this action in your own workflow, add the following snippet to your `.github/main.workflow` file:\n\n```hcl\naction \"publish\" {\n  uses = \"primer/publish@master\"\n  secrets = [\n    \"GITHUB_TOKEN\",\n    \"NPM_AUTH_TOKEN\",\n  ]\n}\n```\n\n**You will need to provide an npm access token with publish permissions via the `NPM_AUTH_TOKEN` secret in the Actions visual editor** if you haven't already.\n\nTo avoid racking up failed publish actions, we suggest that you place this action after any linting and test actions.\n\n## npm CLI arguments\nIt's possible to pass additional arguments to `npm` via the `args` field in your workflow action. Because the `primer-publish` CLI accepts options of its own (such as `--dry-run`), you need to prefix any `npm` arguments with `--`:\n\n```diff\naction \"publish\" {\n  uses = \"primer/publish@master\"\n+  args = [\"--\", \"--registry=https://registry.your.org\"]\n```\n\n[github actions]: https://github.com/features/actions\n[commit status]: https://developer.github.com/v3/repos/statuses/\n[status checks]: https://help.github.com/articles/about-status-checks/\n","gitHead":"f736eedb83547f6405a769785af4246d0565a133","scripts":{"lint":"eslint *.js src","test":"jest"},"_npmUser":{"name":"shawnbot","email":"shawnbot-npm@nym.hush.com"},"_npmVersion":"6.4.1","description":"Publish Primer projects to npm with GitHub Design Systems conventions","directories":{},"_nodeVersion":"10.15.1","dependencies":{"yargs":"^12.0.5","action-status":"^0.1.1","github-action-meta":"^0.1.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^24.1.0","eslint":"^5.13.0","prettier":"^1.16.4","mocked-env":"^1.2.4","eslint-plugin-github":"^1.8.1"},"_npmOperationalInternal":{"tmp":"tmp/publish_0.2.0-rc.a5bcf46_1549491085662_0.01856049395480719","host":"s3://npm-registry-packages"}},"0.2.0-rc.a2e5c56":{"name":"@primer/publish","version":"0.2.0-rc.a2e5c56","keywords":["primer","publish","github-actions","npm"],"author":{"name":"GitHub, Inc."},"license":"MIT","_id":"@primer/publish@0.2.0-rc.a2e5c56","maintainers":[{"name":"broccolini","email":"diana.mounter@gmail.com"},{"name":"emplums","email":"eplummer26@gmail.com"},{"name":"jonrohan","email":"yes@jonrohan.codes"},{"name":"primer-css","email":"design-systems@github.com"},{"name":"shawnbot","email":"shawnbot-npm@nym.hush.com"}],"bin":{"primer-publish":"cli.js"},"dist":{"shasum":"b764f5de943aa768a0f7904420d6f55af1e99dc7","tarball":"https://registry.npmjs.org/@primer/publish/-/publish-0.2.0-rc.a2e5c56.tgz","fileCount":19,"integrity":"sha512-H6xRDcaEmU9OVXLvUx4NYkJa3Ko0Vr5/WwcMIRq/fMGtD25DyO/bpNXhTaqOLF6HZqE9pn5T2kNFYzt06uAACg==","signatures":[{"sig":"MEYCIQDbumwTYcttgBGE75vdWit+8F0F7UhM95fHhCnYsAYg6wIhAOG1W/WBHFlflZSFgX48cb72+168mQx2L18FD0KL3fyM","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":16252,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcW12DCRA9TVsSAnZWagAAVN8P/ArlLzaTptiSolLBlWZv\nk3VPg51IlNfuBov0bCt/uvtgOVl8yEEmE8bBip4/h807uM9C2ZJvaKRVXwhA\nIJGoBRGC9Rk3CdVLgTxPeA+hUpK5kKLrQ1khLJJCG+YeUD3p/C8gnvJ5x276\nEqlw8BoqXrZZGpe4TUGmLdOJuw1uAN9BISCuZhnNH3z2MfVFklzJcHOtFmKO\ngF5nXqtz8xwt1RITUeHvhSTUvU/e5Ctyfibfx5IFRgRKS7MZG79j/JuP9mkN\nUuQVswR0IHO33W679f7g80FDP1B8VaJTbIms1qLGyUbqUzlkX2gG4R+K/HyQ\nJB2/yoqQQWFWoiNylP80/h3Nun6d2zsCyX6p9DiZUUwAsNnUFLsTZPYkuqSF\nAeZzW1E1qyxpKo83N/iIbCigGpQQFcHVrzo+4y64APewTZXp2NNlo5Wrl8Zm\nx6vPOizxk3KKn+So9azCFRqutgN2FSvcFuRI0QmvthB25GWHfWJkAG17Oa0K\nsvvpzI4QVJ6X3tMSXMcnawKDD9zVdI1M5wAnaxwFxWnufqOV9nJFGr9WuIK5\n5VUun3hWslRB94jzbPVLt2vIOtdGtR5N+yBEqif3GcPKS7QNcm/3Ql3uU6Bg\ntzHKlaakJl0XZDCSWZtEeO/9bNmF8vHMmOCYBzfnVBHSi3l37uKzLGF6pVWD\nZzrU\r\n=XZYu\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# primer/publish\n\nThis [GitHub Action][github actions] publishes to npm with the following conventions:\n\n1. If we're on the `master` branch, the `version` field is used as-is and we just run `npm publish --access public`.\n1. If we're on a `release-<version>` branch, we publish a release candidate to the `next` npm dist-tag with the version in the form: `<version>-rc.<sha>`\n1. Otherwise, we publish a \"canary\" release, which has a version in the form: `0.0.0-<sha>`.\n\nAlso:\n\n* If the version in `package.json` is already published, we exit with a `78` code, which is Actions-speak for \"neutral\".\n* On the `master` branch, we push the version commits back to GitHub via git.\n\n## Status checks\nTwo [status checks] will be listed for this action in your checks: **publish** is the action's check, and **publish <package-name>** is a [commit status] created by the action that reports the URL and links to `unpkg.com` via \"Details\":\n\n**TODO**: add image\n\n## Usage\nTo use this action in your own workflow, add the following snippet to your `.github/main.workflow` file:\n\n```hcl\naction \"publish\" {\n  uses = \"primer/publish@master\"\n  secrets = [\n    \"GITHUB_TOKEN\",\n    \"NPM_AUTH_TOKEN\",\n  ]\n}\n```\n\n**You will need to provide an npm access token with publish permissions via the `NPM_AUTH_TOKEN` secret in the Actions visual editor** if you haven't already.\n\nTo avoid racking up failed publish actions, we suggest that you place this action after any linting and test actions.\n\n## npm CLI arguments\nIt's possible to pass additional arguments to `npm` via the `args` field in your workflow action. Because the `primer-publish` CLI accepts options of its own (such as `--dry-run`), you need to prefix any `npm` arguments with `--`:\n\n```diff\naction \"publish\" {\n  uses = \"primer/publish@master\"\n+  args = [\"--\", \"--registry=https://registry.your.org\"]\n```\n\n[github actions]: https://github.com/features/actions\n[commit status]: https://developer.github.com/v3/repos/statuses/\n[status checks]: https://help.github.com/articles/about-status-checks/\n","gitHead":"5413acef89d944928b9b7b6975afb9274dad5a28","scripts":{"lint":"eslint *.js src","test":"jest"},"_npmUser":{"name":"shawnbot","email":"shawnbot-npm@nym.hush.com"},"_npmVersion":"6.4.1","description":"Publish Primer projects to npm with GitHub Design Systems conventions","directories":{},"_nodeVersion":"10.15.1","dependencies":{"yargs":"^12.0.5","action-status":"^0.1.1","github-action-meta":"^0.1.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^24.1.0","eslint":"^5.13.0","prettier":"^1.16.4","mocked-env":"^1.2.4","eslint-plugin-github":"^1.8.1"},"_npmOperationalInternal":{"tmp":"tmp/publish_0.2.0-rc.a2e5c56_1549491586662_0.2872883266648474","host":"s3://npm-registry-packages"}},"0.2.0":{"name":"@primer/publish","version":"0.2.0","keywords":["primer","publish","github-actions","npm"],"author":{"name":"GitHub, Inc."},"license":"MIT","_id":"@primer/publish@0.2.0","maintainers":[{"name":"broccolini","email":"diana.mounter@gmail.com"},{"name":"emplums","email":"eplummer26@gmail.com"},{"name":"jonrohan","email":"yes@jonrohan.codes"},{"name":"primer-css","email":"design-systems@github.com"},{"name":"shawnbot","email":"shawnbot-npm@nym.hush.com"}],"bin":{"primer-publish":"cli.js"},"dist":{"shasum":"ae395fb91271d646161352e7ca469b7ff943ea28","tarball":"https://registry.npmjs.org/@primer/publish/-/publish-0.2.0.tgz","fileCount":19,"integrity":"sha512-dLSJl+c245V+UOCriyA6lvvEJEh17XYRIHod988F5hZPy8b5u3BUbBkj+QdIoUCKTE70IppEp/Goybxei6D6uQ==","signatures":[{"sig":"MEUCIQDTateBJ72stQyYenhuzqwyqagsWP48WmAKADJBTCMAOgIgCfGrYFYDxc3EhSEJsqTfiNRRnnNgs7C0fQ98zlFVH24=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":16344,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcW2ZdCRA9TVsSAnZWagAATQMP/3vsc4Q3Ehzzv3C5fxVM\nBSOIYvev2941+XVAvlkT4R2arn2fH2tykFJNLaLKjiVTV+TkDRXtGdxkDali\niTFzxrB7HVOqzx+LIKnYxr8/T33iKSLiaJXk3DDiSsJ37hGhmsLzt0zN89Lq\nHh8HxUby+e8Iuxcn33AhuCBQ8bq2NhTSwNGYGRyku7Dro2n+Bp2mqjEIu2M7\no+shq95ZICxS0Dk3wdXA3B6ZJz4lIjOdz7TFYOQUGX5rdyEBkgRwbZq3qgc5\nMf1A7OKmAYWxgCHtO+C3RtvNLsfM2CCS17wm1ckSamKloGECw4IJIaYvD9zg\nY5ye29QuLhL+GDE9XcL1grBZzKD3T/nb0y73f+PBBxsz6pBS5SFnhaJsrPMU\nvBDgoSIdsQ32U3RiVDEI7CSuwGK7EXpU3VX6GSoL53d2c21XMZY3yJ7rnjZM\nCzpfXUh4NzFmp8YsHjjadbUYmaPSoe9QiEuUkOZK8A9BsKlrPkhLhnWi7EAF\nwfRLW6e7m8NV8OLLiTNAxmunICt0u9HI0yCdSHBHO3kBVuhd3LrowiL0KPKE\nAbrOyKh1wsfk9s+UqQ2RVeaymqNc8AtIxyNI0Z0ro/62rU6VJaKdHieEoKfY\nXb7lkijgat414sUM7HX2kRF8eYMZ7mhbvFiqh+/lBHJMX5XevxiAlRk/tZJ2\nQbh7\r\n=/HQz\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"c3c5ce08e5e4b80f27ba698f29beb25ec80b5469","scripts":{"lint":"eslint *.js src","test":"jest"},"_npmUser":{"name":"shawnbot","email":"shawnbot-npm@nym.hush.com"},"_npmVersion":"6.4.1","description":"Publish Primer projects to npm with GitHub Design Systems conventions","directories":{},"_nodeVersion":"10.15.1","dependencies":{"yargs":"^12.0.5","action-status":"^0.1.1","github-action-meta":"^0.1.2"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^24.1.0","eslint":"^5.13.0","prettier":"^1.16.4","mocked-env":"^1.2.4","eslint-plugin-github":"^1.8.1"},"_npmOperationalInternal":{"tmp":"tmp/publish_0.2.0_1549493852879_0.4648989772731309","host":"s3://npm-registry-packages"}},"0.2.1-rc.bbfef25":{"name":"@primer/publish","version":"0.2.1-rc.bbfef25","keywords":["primer","publish","github-actions","npm"],"author":{"name":"GitHub, Inc."},"license":"MIT","_id":"@primer/publish@0.2.1-rc.bbfef25","maintainers":[{"name":"broccolini","email":"diana.mounter@gmail.com"},{"name":"emplums","email":"eplummer26@gmail.com"},{"name":"jonrohan","email":"yes@jonrohan.codes"},{"name":"primer-css","email":"design-systems@github.com"},{"name":"shawnbot","email":"shawnbot-npm@nym.hush.com"}],"bin":{"primer-publish":"cli.js"},"dist":{"shasum":"f3106105d93619552aa6e5365002884ccedf4d39","tarball":"https://registry.npmjs.org/@primer/publish/-/publish-0.2.1-rc.bbfef25.tgz","fileCount":19,"integrity":"sha512-lePKUVHRfuIHqRk/4i3I0z5PhaI9ZHwyI6M6th80JiMeEWBtkP+6vbhcnJJ0fMmmP5DepIzUfpcWrQLfQaNfjQ==","signatures":[{"sig":"MEYCIQDEGdFiIQUXUi2yHF1PQvB+2ZQqvLnF/3BORR7zTH37PQIhANtqLGWK3lQKVcfKOKKF/5Au/ZsikR56wfKCTvt1Qugt","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":17550,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcW3GcCRA9TVsSAnZWagAAsa4P/jOFYJjCS4v+mp5Pytcb\njCQ4cIoSqI17dj4N0h/LwfixhuBIwhGlpobBego41pJTGhDsfrK7rhEe98PW\nsJFiCEam0pE0W/Ez812+rFRxJHyeWH2RUiC5v327VoOZN70BbshUr/ZQH8bS\nQ/qtzvCvYYfvKPXYUgVXhMVMlRZtAHY6y1a7Dgjlz2Yh0z3EN4KquH3f2f7e\nldwfNjG0GK1ZMB4/1NVrQYQrkkWCwB2mUETPzoUEArHRttnhi9rKRWeQhCeZ\nHC5CJ55xv9Gz1Gk+C7DE3/bditpaRhLSeVI9olxdknQPtWyAuWKZo4E7loP+\nHujUhNn2O6RdcRdsV/hrhXZ105CH+xhTs4tHDLqO54Hm1fFMizweNAxK5oA5\n2UM6mtL2ME8vr5q9kXjaPvSV7Xn34GMiy4r0BZBnzSYVA1/d0OLg7OLtrT5W\nFP+vSUus65XzWV+ckNYJz4wEw9XAMO7dBhTZjSYxk2XiKAvMy9Jdy38si23M\nHtGdogPsGKezOaNvOMTeWea9GvlVGe2cvC56te/5ksHk0GCpXM+xBkt4zgI8\nwWlz2y8EjPkVVu1sjmII675vhz1+0s/UjUr9mlU0wvTNRQ4CAP8TVb+BD3rV\nqol7Axxe/Dqi8BEYhKpVUChGCIp7KWmyfBxFtiCT2ftrcrGs/Lgh11TyBlto\nMpnh\r\n=t2Dj\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# primer/publish\n\nThis [GitHub Action][github actions] publishes to npm with the following conventions:\n\n1. If we're on the `master` branch, the `version` field is used as-is and we just run `npm publish --access public`.\n1. If we're on a `release-<version>` branch, we publish a release candidate to the `next` npm dist-tag with the version in the form: `<version>-rc.<sha>`\n1. Otherwise, we publish a \"canary\" release, which has a version in the form: `0.0.0-<sha>`.\n\nAlso:\n\n* If the version in `package.json` is already published, we exit with a `78` code, which is Actions-speak for \"neutral\".\n* On the `master` branch, we push the version commits back to GitHub via git.\n\n## Status checks\nTwo [status checks] will be listed for this action in your checks: **publish** is the action's check, and **publish {package-name}** is a [commit status] created by the action that reports the version published and links to `unpkg.com` via \"Details\":\n\n![image](https://user-images.githubusercontent.com/113896/52375286-23368980-2a14-11e9-8974-062a3e45a846.png)\n\n## Usage\nTo use this action in your own workflow, add the following snippet to your `.github/main.workflow` file:\n\n```hcl\naction \"publish\" {\n  uses = \"primer/publish@master\"\n  secrets = [\n    \"GITHUB_TOKEN\",\n    \"NPM_AUTH_TOKEN\",\n  ]\n}\n```\n\n**You will need to provide an npm access token with publish permissions via the `NPM_AUTH_TOKEN` secret in the Actions visual editor** if you haven't already.\n\nTo avoid racking up failed publish actions, we suggest that you place this action after any linting and test actions.\n\n## npm CLI arguments\nIt's possible to pass additional arguments to `npm` via the `args` field in your workflow action. Because the `primer-publish` CLI accepts options of its own (such as `--dry-run`), you need to prefix any `npm` arguments with `--`:\n\n```diff\naction \"publish\" {\n  uses = \"primer/publish@master\"\n+  args = [\"--\", \"--registry=https://registry.your.org\"]\n```\n\n[github actions]: https://github.com/features/actions\n[commit status]: https://developer.github.com/v3/repos/statuses/\n[status checks]: https://help.github.com/articles/about-status-checks/\n","gitHead":"6dc620cca6bdd3cc87db1b93a079063b4ae13408","scripts":{"lint":"eslint *.js src","test":"jest"},"_npmUser":{"name":"shawnbot","email":"shawnbot-npm@nym.hush.com"},"_npmVersion":"6.4.1","description":"Publish Primer projects to npm with GitHub Design Systems conventions","directories":{},"_nodeVersion":"10.15.1","dependencies":{"yargs":"^12.0.5","action-status":"^0.1.1","github-action-meta":"^0.1.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^24.1.0","eslint":"^5.13.0","prettier":"^1.16.4","mocked-env":"^1.2.4","eslint-plugin-github":"^1.8.1"},"_npmOperationalInternal":{"tmp":"tmp/publish_0.2.1-rc.bbfef25_1549496731731_0.9715878087133016","host":"s3://npm-registry-packages"}},"0.2.1-rc.0af9799":{"name":"@primer/publish","version":"0.2.1-rc.0af9799","keywords":["primer","publish","github-actions","npm"],"author":{"name":"GitHub, Inc."},"license":"MIT","_id":"@primer/publish@0.2.1-rc.0af9799","maintainers":[{"name":"broccolini","email":"diana.mounter@gmail.com"},{"name":"emplums","email":"eplummer26@gmail.com"},{"name":"jonrohan","email":"yes@jonrohan.codes"},{"name":"primer-css","email":"design-systems@github.com"},{"name":"shawnbot","email":"shawnbot-npm@nym.hush.com"}],"bin":{"primer-publish":"cli.js"},"dist":{"shasum":"642b520bc751650e850ca2db4fe8b7d2632e03a1","tarball":"https://registry.npmjs.org/@primer/publish/-/publish-0.2.1-rc.0af9799.tgz","fileCount":19,"integrity":"sha512-806VBDv4kkUITIBt1XDhHbZrcqPvms99tZpm6Cn3wXSrefmQSk2uLL5IQx0fgn245xKyhC97U2gzoqLtxVMdNw==","signatures":[{"sig":"MEUCIEkL9tqDA/GnLpvjNKZNPtcQzs4WEUmFb9yYHVBJ8qrbAiEA3N5dLQJrpumgDdUNmlviTNO2r2rbvkPUczXWBHGUyOM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":17669,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcW3bACRA9TVsSAnZWagAAiEwP+gJeAs6nQ3DjubpnMFcf\ns573VjgsJzKvIishbHOO64m6VNA/9mSa2nP8a9ETxBpDOV2WBZfZNWvKJpqV\nqj4Zv4NyDHQdPRGHaQjnc3x0ZvAWD+i9dQaKWZ7qIjPv3Ht4qq7bM5sdgShq\n3Pfk1K6dT1zaLUkfdCFyRbsk3Gsg3k0EoYsAoDchEMVeVHR7nKCpIAkFawXE\n8XDdLH8EZ/BK2h+E2VGVy3PnfntPwCNN3bh6kMzsluLU1X7EmKlWQiWEWKMw\nkpLfbysB2gYEtqIxYGIZqZoMxaFxsGX2hh2Rqx7FeHAyJfO0t6Fc1ctl4gVs\nKlXbNH+PksMIjKaoJ9+8lBzo9P4gUZ22BoKaY30hvp9u9aLHL1ZNkzv9MBdn\nIo/+ZA5R+bdSQO7loc0Uet49X62D9+rz+lucleyN4PB6QHkX0up58tSye+Gs\nkBKYcPPi2CIslkCZ1S7PzReCf2K/0zW3QcvrEUUDjHAWw5420EdN0nkHIN7o\n3IL7Len0uqYwFseJlFCtYOOgrdCsV6QnTh/Su8CTvliF8gh7lO4fnqppgqg6\nflIDm4O5mWE6rLpX4VwjNwKXBPV8a1FLniwwp7sYZH91WqZjD1q/uV9K+p83\n2l/ES2D00AM8Ts/sYFdlYEfYIrOKdGQqwWTTVGbzIv6RsnTSzhqt3jBQhtcv\n10n+\r\n=babw\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# primer/publish\n\nThis [GitHub Action][github actions] publishes to npm with the following conventions:\n\n1. If we're on the `master` branch, the `version` field is used as-is and we just run `npm publish --access public`.\n1. If we're on a `release-<version>` branch, we publish a release candidate to the `next` npm dist-tag with the version in the form: `<version>-rc.<sha>`\n1. Otherwise, we publish a \"canary\" release, which has a version in the form: `0.0.0-<sha>`.\n\nAlso:\n\n* If the version in `package.json` is already published, we exit with a `78` code, which is Actions-speak for \"neutral\".\n* On the `master` branch, we push the version commits back to GitHub via git.\n\n## Status checks\nTwo [status checks] will be listed for this action in your checks: **publish** is the action's check, and **publish {package-name}** is a [commit status] created by the action that reports the version published and links to `unpkg.com` via \"Details\":\n\n![image](https://user-images.githubusercontent.com/113896/52375286-23368980-2a14-11e9-8974-062a3e45a846.png)\n\n## Usage\nTo use this action in your own workflow, add the following snippet to your `.github/main.workflow` file:\n\n```hcl\naction \"publish\" {\n  uses = \"primer/publish@master\"\n  secrets = [\n    \"GITHUB_TOKEN\",\n    \"NPM_AUTH_TOKEN\",\n  ]\n}\n```\n\n**You will need to provide an npm access token with publish permissions via the `NPM_AUTH_TOKEN` secret in the Actions visual editor** if you haven't already.\n\nTo avoid racking up failed publish actions, we suggest that you place this action after any linting and test actions.\n\n## npm CLI arguments\nIt's possible to pass additional arguments to `npm` via the `args` field in your workflow action. Because the `primer-publish` CLI accepts options of its own (such as `--dry-run`), you need to prefix any `npm` arguments with `--`:\n\n```diff\naction \"publish\" {\n  uses = \"primer/publish@master\"\n+  args = [\"--\", \"--registry=https://registry.your.org\"]\n```\n\n[github actions]: https://github.com/features/actions\n[commit status]: https://developer.github.com/v3/repos/statuses/\n[status checks]: https://help.github.com/articles/about-status-checks/\n","gitHead":"71c8a34f603cde23aa18ba2de33add7cf61becb3","scripts":{"lint":"eslint *.js src","test":"jest"},"_npmUser":{"name":"shawnbot","email":"shawnbot-npm@nym.hush.com"},"_npmVersion":"6.4.1","description":"Publish Primer projects to npm with GitHub Design Systems conventions","directories":{},"_nodeVersion":"10.15.1","dependencies":{"yargs":"^12.0.5","action-status":"^0.1.1","github-action-meta":"^0.1.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^24.1.0","eslint":"^5.13.0","prettier":"^1.16.4","mocked-env":"^1.2.4","eslint-plugin-github":"^1.8.1"},"_npmOperationalInternal":{"tmp":"tmp/publish_0.2.1-rc.0af9799_1549498047972_0.5208043754605141","host":"s3://npm-registry-packages"}},"0.2.1-rc.ec129d3":{"name":"@primer/publish","version":"0.2.1-rc.ec129d3","keywords":["primer","publish","github-actions","npm"],"author":{"name":"GitHub, Inc."},"license":"MIT","_id":"@primer/publish@0.2.1-rc.ec129d3","maintainers":[{"name":"broccolini","email":"diana.mounter@gmail.com"},{"name":"emplums","email":"eplummer26@gmail.com"},{"name":"jonrohan","email":"yes@jonrohan.codes"},{"name":"primer-css","email":"design-systems@github.com"},{"name":"shawnbot","email":"shawnbot-npm@nym.hush.com"}],"bin":{"primer-publish":"cli.js"},"dist":{"shasum":"18fd7385ae6d2b04d5623982ea98bca0d557c732","tarball":"https://registry.npmjs.org/@primer/publish/-/publish-0.2.1-rc.ec129d3.tgz","fileCount":19,"integrity":"sha512-C6i8E68dTdeUMT29ZnJufNqwtKdOBB8xq7sviutqsifQcddyTglI7W5rtRvslko4JuVvIsCORSVNURPV0X7yaQ==","signatures":[{"sig":"MEUCICjQH23iiLLJiSDLil4jwOovx/oLYTeTZN6IBTAdF0ShAiEA1PsiBSRe3nV+Sw0SXm10f8N5v10J+GWu8mxKxOMDOKQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":17669,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcW3eFCRA9TVsSAnZWagAAo7cP/j1ub9EEYfN6lqxHmdid\nzA1hN8Cj5gunXWeIwY49RNpjjUb52UKL1RjiFEEhiJrg/m8RKXgQlQUxIyHQ\n0UkToxpQrYMtoFtk/O6/y+Le71gUzhQbUF73CTjqIVI4riXH/QgPemYdLE19\nK8FwA4C5oSEgW49FNzWRC8kSqHu/UlQM98wcOCllwGh9vxnf3GHRmgsxgDsa\nMbRobCzTdUObbwfCt3g3l8TjKujIuyI8JrNvt5WAddvlo79+jaIuPDlWQk35\nfF4baRCwY4uKTQ2TSoa7mfZ823jtIq5tSDIQbC2WlcJCHNTu07pxh9UIxY6O\n/QWKBWVvfSYTw+quTq7M2qcg0xwZF8pUrkiI6yvgGJKOoA4bbPTWeBRF637s\nrXxUS+RK0hmkNqFmNJCI1uPmVsLIRyl5ql5pZqiqKyH+AuH41mZ4FwF3wAC+\nOahZeWv8U9RQoKAccVH1i1/W3V5B6iXMYSMJyMrWRUegWtMOt1i9sn2/eKQL\nuDoigWAE2VfWc+RjLdpW3NWgJVXhQXuezMbN+107JuDGu2OsP20HhoqFjIWf\nJhty9bapDpiQwqqc0jzI5fGo8U3XP8p8Gq2KHHbJFYy7tcC8WK8x5ymp/XI0\nVCg16vzPHjBz8q8MZeaj86VPUnEhiaqJtH2+Y7UAy1BlggI1yIaq9st+mpkn\nBKFX\r\n=OGkV\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# primer/publish\n\nThis [GitHub Action][github actions] publishes to npm with the following conventions:\n\n1. If we're on the `master` branch, the `version` field is used as-is and we just run `npm publish --access public`.\n1. If we're on a `release-<version>` branch, we publish a release candidate to the `next` npm dist-tag with the version in the form: `<version>-rc.<sha>`\n1. Otherwise, we publish a \"canary\" release, which has a version in the form: `0.0.0-<sha>`.\n\nAlso:\n\n* If the version in `package.json` is already published, we exit with a `78` code, which is Actions-speak for \"neutral\".\n* On the `master` branch, we push the version commits back to GitHub via git.\n\n## Status checks\nTwo [status checks] will be listed for this action in your checks: **publish** is the action's check, and **publish {package-name}** is a [commit status] created by the action that reports the version published and links to `unpkg.com` via \"Details\":\n\n![image](https://user-images.githubusercontent.com/113896/52375286-23368980-2a14-11e9-8974-062a3e45a846.png)\n\n## Usage\nTo use this action in your own workflow, add the following snippet to your `.github/main.workflow` file:\n\n```hcl\naction \"publish\" {\n  uses = \"primer/publish@master\"\n  secrets = [\n    \"GITHUB_TOKEN\",\n    \"NPM_AUTH_TOKEN\",\n  ]\n}\n```\n\n**You will need to provide an npm access token with publish permissions via the `NPM_AUTH_TOKEN` secret in the Actions visual editor** if you haven't already.\n\nTo avoid racking up failed publish actions, we suggest that you place this action after any linting and test actions.\n\n## npm CLI arguments\nIt's possible to pass additional arguments to `npm` via the `args` field in your workflow action. Because the `primer-publish` CLI accepts options of its own (such as `--dry-run`), you need to prefix any `npm` arguments with `--`:\n\n```diff\naction \"publish\" {\n  uses = \"primer/publish@master\"\n+  args = [\"--\", \"--registry=https://registry.your.org\"]\n```\n\n[github actions]: https://github.com/features/actions\n[commit status]: https://developer.github.com/v3/repos/statuses/\n[status checks]: https://help.github.com/articles/about-status-checks/\n","gitHead":"bdb1a70bbd2e54772e24927526323c068cb956ed","scripts":{"lint":"eslint *.js src","test":"jest"},"_npmUser":{"name":"shawnbot","email":"shawnbot-npm@nym.hush.com"},"_npmVersion":"6.4.1","description":"Publish Primer projects to npm with GitHub Design Systems conventions","directories":{},"_nodeVersion":"10.15.1","dependencies":{"yargs":"^12.0.5","action-status":"^0.1.1","github-action-meta":"^0.1.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^24.1.0","eslint":"^5.13.0","prettier":"^1.16.4","mocked-env":"^1.2.4","eslint-plugin-github":"^1.8.1"},"_npmOperationalInternal":{"tmp":"tmp/publish_0.2.1-rc.ec129d3_1549498245029_0.4563709835906167","host":"s3://npm-registry-packages"}},"0.2.1-rc.b89ef63":{"name":"@primer/publish","version":"0.2.1-rc.b89ef63","keywords":["primer","publish","github-actions","npm"],"author":{"name":"GitHub, Inc."},"license":"MIT","_id":"@primer/publish@0.2.1-rc.b89ef63","maintainers":[{"name":"broccolini","email":"diana.mounter@gmail.com"},{"name":"emplums","email":"eplummer26@gmail.com"},{"name":"jonrohan","email":"yes@jonrohan.codes"},{"name":"primer-css","email":"design-systems@github.com"},{"name":"shawnbot","email":"shawnbot-npm@nym.hush.com"}],"bin":{"primer-publish":"cli.js"},"dist":{"shasum":"f45783ab4bf9f6bd00991bd6ebde0cc94f7080c6","tarball":"https://registry.npmjs.org/@primer/publish/-/publish-0.2.1-rc.b89ef63.tgz","fileCount":19,"integrity":"sha512-1fm4XAGbpdXkTOvhm4z8T6tQwUZQXV3ppudkjgUNbEBtZ49iCXL9jVo/I7kbPN5Z1VytS6iRCXCBr3IJv4tjtQ==","signatures":[{"sig":"MEUCIF7quI0rjFaK8zYxMcm7gJdHbkR2sLgQclNmTs2eFLGEAiEA9i0MmsZccKSWAxtlwO1RaXWKLCxh/BN8StleSgc4DQo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18993,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcW3yPCRA9TVsSAnZWagAAChEP/1pEwPC8dOs9eBeOHByi\nhYynNkBZWDU3sLGEQGoDjGCygZt7EWz3cUVCzJzi1dTuFLB3WS6jGe69TJn9\n0J3chJR3nJ084DdEHRieO4lULpt6tetR4ifZj8olBGpK9yxNpoPPqveNM2tB\nf4Q1JBvwygmJE/YFhszBtGtV//xu0SAWaVbRPuowoyTwwt++G7Rl5RBCgnU7\nsXebdE/AZ/6rJAkJAzXACPo2StHVoK98V/ToOblI67XZdjS6EbeSsBeCtGq8\nlSRvT7Cu0cptKj+m2aNkwvb9EgtKty796FLh5DJR5ph1R1sb8gLvjy1ijsF1\nkhQqeOV30/xFtUP+fmCprz+XF0SRSUmoXwLhyt7KG/ZTfI8/F1bLxF9uGjVo\n5lkjIjfM802lrHxVp3QGns4rEc6NtaBr9ZuMoijBxgBQz3IBOwcuA4z8mT2K\ngOjqhSQcGUNcWb+U+qe9qg2BvJeX8t/Vb9x8b5dgZhqNTHhUlRS5DFEQj6vd\nNkcloOfhZr8w7zeBkW4NFiN/2jqcCj0pFGkwu1f6dwv720l7kHlc/1zpUikt\nwefAKy5I4FVfJEqP31TDwm8QWceWHjFZRVc7ac61Ckz4F+f7MZtv13B66hK4\nAOqWmIS78kBgIV9OfWWyEAuoCQeetV2Sk8Cb18uR5W8nZkYfmC9BqAoINMuX\nZI1I\r\n=T+dX\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# primer/publish\n\nThis [GitHub Action][github actions] publishes to npm with the following conventions:\n\n1. If we're on the `master` branch, the `version` field is used as-is and we just run `npm publish --access public`.\n1. If we're on a `release-<version>` branch, we publish a release candidate to the `next` npm dist-tag with the version in the form: `<version>-rc.<sha>`\n1. Otherwise, we publish a \"canary\" release, which has a version in the form: `0.0.0-<sha>`.\n\nAlso:\n\n* If the version in `package.json` is already published, we exit with a `78` code, which is Actions-speak for \"neutral\".\n* On the `master` branch, we push the version commits back to GitHub via git.\n\n## Status checks\nTwo [status checks] will be listed for this action in your checks: **publish** is the action's check, and **publish {package-name}** is a [commit status] created by the action that reports the version published and links to `unpkg.com` via \"Details\":\n\n![image](https://user-images.githubusercontent.com/113896/52375286-23368980-2a14-11e9-8974-062a3e45a846.png)\n\n## Usage\nTo use this action in your own workflow, add the following snippet to your `.github/main.workflow` file:\n\n```hcl\naction \"publish\" {\n  uses = \"primer/publish@master\"\n  secrets = [\n    \"GITHUB_TOKEN\",\n    \"NPM_AUTH_TOKEN\",\n  ]\n}\n```\n\n**You will need to provide an npm access token with publish permissions via the `NPM_AUTH_TOKEN` secret in the Actions visual editor** if you haven't already.\n\nTo avoid racking up failed publish actions, we suggest that you place this action after any linting and test actions.\n\n## npm CLI arguments\nIt's possible to pass additional arguments to `npm` via the `args` field in your workflow action. Because the `primer-publish` CLI accepts options of its own (such as `--dry-run`), you need to prefix any `npm` arguments with `--`:\n\n```diff\naction \"publish\" {\n  uses = \"primer/publish@master\"\n+  args = [\"--\", \"--registry=https://registry.your.org\"]\n```\n\n[github actions]: https://github.com/features/actions\n[commit status]: https://developer.github.com/v3/repos/statuses/\n[status checks]: https://help.github.com/articles/about-status-checks/\n","gitHead":"4e69e4ce54df8ce446d664f4a0e5681e774e069a","scripts":{"lint":"eslint *.js src","test":"jest"},"_npmUser":{"name":"shawnbot","email":"shawnbot-npm@nym.hush.com"},"_npmVersion":"6.4.1","description":"Publish Primer projects to npm with GitHub Design Systems conventions","directories":{},"_nodeVersion":"10.15.1","dependencies":{"yargs":"^12.0.5","action-status":"^0.1.1","github-action-meta":"^0.1.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^24.1.0","eslint":"^5.13.0","prettier":"^1.16.4","mocked-env":"^1.2.4","eslint-plugin-github":"^1.8.1"},"_npmOperationalInternal":{"tmp":"tmp/publish_0.2.1-rc.b89ef63_1549499534790_0.28288036134120875","host":"s3://npm-registry-packages"}},"0.2.1":{"name":"@primer/publish","version":"0.2.1","keywords":["primer","publish","github-actions","npm"],"author":{"name":"GitHub, Inc."},"license":"MIT","_id":"@primer/publish@0.2.1","maintainers":[{"name":"broccolini","email":"diana.mounter@gmail.com"},{"name":"emplums","email":"eplummer26@gmail.com"},{"name":"jonrohan","email":"yes@jonrohan.codes"},{"name":"primer-css","email":"design-systems@github.com"},{"name":"shawnbot","email":"shawnbot-npm@nym.hush.com"}],"bin":{"primer-publish":"cli.js"},"dist":{"shasum":"5ce7217fb02fae4c9923d66a931c0234792af336","tarball":"https://registry.npmjs.org/@primer/publish/-/publish-0.2.1.tgz","fileCount":19,"integrity":"sha512-oX1eDAHdGuL1ntEgo/IRm9tXQekmD+ERuB/aSYR7vMYieXkACG9xVx9xNIBW8vF+ossostV2pP0mZB73FdKisg==","signatures":[{"sig":"MEUCIDTQNk7HrvY+eblOgtKE9TSPQsVwMNLA3quxrCc6zE+iAiEApxv0mTSvpFtozwsY7W0UlEViLeyyKCp9PfiOh72GPkg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18982,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcW30CCRA9TVsSAnZWagAAsSYP/iItU9tC+GiaRuGs9Fgr\nFE37nabe6BhwLNLymkfVEPGMxo9iWAGrpLgroI0ebNhaVcan/mxR89+Th8Q/\nTZxFaKzxxQf1eaUSjf/6bnnyKj1pB96VdZFztMix+hTv3AxccJK6+9IuEWWa\nsNaEtTIVleKzKp3PnxpykFH/YRJvblEZv1m9dxQAxC8YNLhzsoSzwwNifFyv\n9icQxG4+Qnsk7+2PNSWW7CuVHlbVYw4apdNZJlvAqDQ9Ok5bV+LrbIxg2AYv\nHO4iCxZgmX2KocSTThTd5Wxstp0rTvithOnFPsxHIwhc6KxO1GV4JxpsZe10\nKuIH5l0wg9f7ngNK4hhZ4+wVWBy1TmHOii/aD0cE6jKfBaRDkTL5seRXUPEH\nZ/GJRtCYTX/OLfUQxYjyKakMN9CVLoyJWOsglevxS4LK3q9IM9frP3zRzpLA\n6xIqOw/YlfrUFEFz40iUCpiZherbdPnWIC6ojDBd6k73MaG75UTYRVV8D4hC\nYjpVXmmUslc4XwLxtFM+mOKEsgE3s8pgBiQnJ6JIYDsuISpJsoHwnxcLxE0i\ntjpxbWdpx8lHP78FsMeoBlYFZsjnVy/VEbd4/NNFgqWMbNsp8curxdvuPO6a\ndBKBib9JSdOPNQO4Nj3PDTLI45vxo+E6LXlBI7y3p9siLjIIUNxq+bZgvho/\nwNXr\r\n=yvLq\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"9c3f1ae26d37aa71c233e64277d8bf778a8a5cae","scripts":{"lint":"eslint *.js src","test":"jest"},"_npmUser":{"name":"shawnbot","email":"shawnbot-npm@nym.hush.com"},"_npmVersion":"6.4.1","description":"Publish Primer projects to npm with GitHub Design Systems conventions","directories":{},"_nodeVersion":"10.15.1","dependencies":{"yargs":"^12.0.5","action-status":"^0.1.1","github-action-meta":"^0.1.2"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^24.1.0","eslint":"^5.13.0","prettier":"^1.16.4","mocked-env":"^1.2.4","eslint-plugin-github":"^1.8.1"},"_npmOperationalInternal":{"tmp":"tmp/publish_0.2.1_1549499649559_0.01066773314271674","host":"s3://npm-registry-packages"}},"0.2.1-rc.f656ad2":{"name":"@primer/publish","version":"0.2.1-rc.f656ad2","keywords":["primer","publish","github-actions","npm"],"author":{"name":"GitHub, Inc."},"license":"MIT","_id":"@primer/publish@0.2.1-rc.f656ad2","maintainers":[{"name":"broccolini","email":"diana.mounter@gmail.com"},{"name":"emplums","email":"eplummer26@gmail.com"},{"name":"jonrohan","email":"yes@jonrohan.codes"},{"name":"primer-css","email":"design-systems@github.com"},{"name":"shawnbot","email":"shawnbot-npm@nym.hush.com"}],"bin":{"primer-publish":"cli.js"},"dist":{"shasum":"7fc3946853918ebe2b04be9a288af13d52c23735","tarball":"https://registry.npmjs.org/@primer/publish/-/publish-0.2.1-rc.f656ad2.tgz","fileCount":19,"integrity":"sha512-x+c58bnd54zrWSGYcc/8RMJRlct2b+9Yh6D8+juFcOOQULby36wyhJRFPhwMXFpxoHTejMLK62Jh590UHK0kOA==","signatures":[{"sig":"MEQCICG/ohw/e76EZ1LOCbi26OtM6osLKi1p53Pb0x7oDVZuAiAzRrYh797Bispaq1BhVMpwFoV/PuQLzik03ca5ejy32Q==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19502,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcW3+DCRA9TVsSAnZWagAAFJEP/ikwQGKZ2zUCtmcMRiYg\ngGsi7j3pBGmOHbwp6GFjBZ7tNvTgE/pWxAdpudum1ZiLfa8eZ1CRiGkz+c7N\nnrtZyq+/8q2UqgptJIUn2Nv1KObzW8RDXNQgeP9Wi/RBNITX6IaNKZVmmH/v\nnDGMBSn4GMuzDS2Xu/lIKGH07VqaWzAjUq78Zo15OSiKEpHrjuNUjHm2Znmm\nLzvCIw2fmHvFk4MulioFra5twVk05zh5n6/4vTZw/ppzWpUNUFZZnug4kszi\n4zByat/w75h/CMX8Oss1e8OgVZkQ4WUow3/eVl0nhtGCLMI5rjmG4EfTrghC\nEc1baFh+k9lzjPMcNtJBdIxfsLSBH8Gx7irnSbZs6VB5VBV+6+I7W2N50eTE\nncUpiw8I8MbCMKCx1hFeo8JEvV6FGWXemsUC7eYKOpAldE0kQoNIXPfibyPm\nsKGib/5YzKEnmSLZDA6Ef4dvDoDCM3y9NO5RrxegIq526E5jKVllGzUD6A4e\n7U3yuNo7znLV2RUAAIY5wwpc5AL5uqw3GMZP6Ykmp2gM2ljorWREfD7bNqPP\nGteS3HQMdpV2+CHriKPBGJJCh3e56CDSwzWiYOX+UEPdl8Z1At0650MAt/nk\nhkVogdwGf5HV4vTk4eYKfjQMV0m7FLDceVqnswmw8XSn44DcPR8P1X9pdv0Y\nfNsJ\r\n=XBJ4\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# primer/publish\n\nThis [GitHub Action][github actions] publishes to npm with the following conventions:\n\n1. If we're on the `master` branch, the `version` field is used as-is and we just run `npm publish --access public`.\n1. If we're on a `release-<version>` branch, we publish a release candidate to the `next` npm dist-tag with the version in the form: `<version>-rc.<sha>`\n1. Otherwise, we publish a \"canary\" release, which has a version in the form: `0.0.0-<sha>`.\n\nAlso:\n\n* If the version in `package.json` is already published, we exit with a `78` code, which is Actions-speak for \"neutral\".\n* On the `master` branch, we push the version commits back to GitHub via git.\n\n## Status checks\nTwo [status checks] will be listed for this action in your checks: **publish** is the action's check, and **publish {package-name}** is a [commit status] created by the action that reports the version published and links to `unpkg.com` via \"Details\":\n\n![image](https://user-images.githubusercontent.com/113896/52375286-23368980-2a14-11e9-8974-062a3e45a846.png)\n\n## Usage\nTo use this action in your own workflow, add the following snippet to your `.github/main.workflow` file:\n\n```hcl\naction \"publish\" {\n  uses = \"primer/publish@master\"\n  secrets = [\n    \"GITHUB_TOKEN\",\n    \"NPM_AUTH_TOKEN\",\n  ]\n}\n```\n\n**You will need to provide an npm access token with publish permissions via the `NPM_AUTH_TOKEN` secret in the Actions visual editor** if you haven't already.\n\nTo avoid racking up failed publish actions, we suggest that you place this action after any linting and test actions.\n\n## npm CLI arguments\nIt's possible to pass additional arguments to `npm` via the `args` field in your workflow action. Because the `primer-publish` CLI accepts options of its own (such as `--dry-run`), you need to prefix any `npm` arguments with `--`:\n\n```diff\naction \"publish\" {\n  uses = \"primer/publish@master\"\n+  args = [\"--\", \"--registry=https://registry.your.org\"]\n```\n\n[github actions]: https://github.com/features/actions\n[commit status]: https://developer.github.com/v3/repos/statuses/\n[status checks]: https://help.github.com/articles/about-status-checks/\n","gitHead":"cd6d2cdbc0b783cc0e9b63b92968c480c7fbd4d4","scripts":{"lint":"eslint *.js src","test":"jest"},"_npmUser":{"name":"shawnbot","email":"shawnbot-npm@nym.hush.com"},"_npmVersion":"6.4.1","description":"Publish Primer projects to npm with GitHub Design Systems conventions","directories":{},"_nodeVersion":"10.15.1","dependencies":{"yargs":"^12.0.5","@octokit/rest":"^16.15.0","action-status":"^0.1.1","github-action-meta":"^0.1.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^24.1.0","eslint":"^5.13.0","prettier":"^1.16.4","mocked-env":"^1.2.4","eslint-plugin-github":"^1.8.1"},"_npmOperationalInternal":{"tmp":"tmp/publish_0.2.1-rc.f656ad2_1549500291266_0.6467532663693678","host":"s3://npm-registry-packages"}},"0.2.2-rc.f656ad2":{"name":"@primer/publish","version":"0.2.2-rc.f656ad2","keywords":["primer","publish","github-actions","npm"],"author":{"name":"GitHub, Inc."},"license":"MIT","_id":"@primer/publish@0.2.2-rc.f656ad2","maintainers":[{"name":"broccolini","email":"diana.mounter@gmail.com"},{"name":"emplums","email":"eplummer26@gmail.com"},{"name":"jonrohan","email":"yes@jonrohan.codes"},{"name":"primer-css","email":"design-systems@github.com"},{"name":"shawnbot","email":"shawnbot-npm@nym.hush.com"}],"bin":{"primer-publish":"cli.js"},"dist":{"shasum":"187ec2399ac5394528187a8a84ff298886eb2c1b","tarball":"https://registry.npmjs.org/@primer/publish/-/publish-0.2.2-rc.f656ad2.tgz","fileCount":19,"integrity":"sha512-cQCUT5ggl+Qg97T/yulsePaMF4vEp4Yip91CIP7XBHCN9A0FJa8N4fMZTz8/a8QmNGxE5J8FPVnH0ZvIYgS+VA==","signatures":[{"sig":"MEUCIAyQOdFSvPsk9FpEKVJhIb516laQpb1DZG0+VBqsZp3YAiEAnM/NLfBRmBsl+y59RaugHHtSYrI2x/pOyzyuYmtpol0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19502,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcW3+aCRA9TVsSAnZWagAAjBUP/j3mdmnlqoPO0RljvgwO\n43++iD/RT0kdPbkkjnMrgjMUmVzPtphlrXrIFddou9fg/CykYUEd58QEGNQp\nwTGanr5QETS5Z6CKptAa6sgd7XTOX/7ugoit6ya1bfe2rg5FkV/JkLWAjro1\n1YWtazDBnHwbHTW2Ux3ZzPtqsbkrY2EY/06RP9bndfWXbyASCJswQ3XHgTLY\n7fkWWQCb4JY6rupXAFjSqgBrjQ64+yPSBz55sDeO0CtqrDz8wndvmnVp6Q96\nAkZYeXu/BjuXXEmOy2LSdakOM9xhs2vlwVQWYM+s3tF5xqAXNLrYuuwL8nkz\nLIgrUGQcpvT3xdNZ2UxQYTKLr22gfQoAHV3P0dZM/m7rqz42R3GMl/IQ1NhA\nNpOAfe9hsR+hC2vuA9XkG7fZpKH7Gkyls470MmfaKyoTnMXaD/BXM0Cizyap\nfMU26EjG2JQ6nMY+xtg3EsDJzVcr+dfg+0ORzLMqsRetneTgev/SZ+8mt5QJ\nyyXMSJOY632EGWb1GA1HUtnaeCcPPD/Syt7of9q5NZ12OuXFCNeN01Lq82aC\noEvlaAgfgxq+GgId7tiI+okHNtM3jD9WxoIN+VBME4Yd5VDlJdz6gmtF0bru\n2CitHg1DYht9ony6OPNQuva+mEDL3TKWDT2MZlU3SLt9y5ECv2Hi7XJPAiP7\nJCC1\r\n=JwEK\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# primer/publish\n\nThis [GitHub Action][github actions] publishes to npm with the following conventions:\n\n1. If we're on the `master` branch, the `version` field is used as-is and we just run `npm publish --access public`.\n1. If we're on a `release-<version>` branch, we publish a release candidate to the `next` npm dist-tag with the version in the form: `<version>-rc.<sha>`\n1. Otherwise, we publish a \"canary\" release, which has a version in the form: `0.0.0-<sha>`.\n\nAlso:\n\n* If the version in `package.json` is already published, we exit with a `78` code, which is Actions-speak for \"neutral\".\n* On the `master` branch, we push the version commits back to GitHub via git.\n\n## Status checks\nTwo [status checks] will be listed for this action in your checks: **publish** is the action's check, and **publish {package-name}** is a [commit status] created by the action that reports the version published and links to `unpkg.com` via \"Details\":\n\n![image](https://user-images.githubusercontent.com/113896/52375286-23368980-2a14-11e9-8974-062a3e45a846.png)\n\n## Usage\nTo use this action in your own workflow, add the following snippet to your `.github/main.workflow` file:\n\n```hcl\naction \"publish\" {\n  uses = \"primer/publish@master\"\n  secrets = [\n    \"GITHUB_TOKEN\",\n    \"NPM_AUTH_TOKEN\",\n  ]\n}\n```\n\n**You will need to provide an npm access token with publish permissions via the `NPM_AUTH_TOKEN` secret in the Actions visual editor** if you haven't already.\n\nTo avoid racking up failed publish actions, we suggest that you place this action after any linting and test actions.\n\n## npm CLI arguments\nIt's possible to pass additional arguments to `npm` via the `args` field in your workflow action. Because the `primer-publish` CLI accepts options of its own (such as `--dry-run`), you need to prefix any `npm` arguments with `--`:\n\n```diff\naction \"publish\" {\n  uses = \"primer/publish@master\"\n+  args = [\"--\", \"--registry=https://registry.your.org\"]\n```\n\n[github actions]: https://github.com/features/actions\n[commit status]: https://developer.github.com/v3/repos/statuses/\n[status checks]: https://help.github.com/articles/about-status-checks/\n","gitHead":"5065146726e186a21a3212df877206562cbce290","scripts":{"lint":"eslint *.js src","test":"jest"},"_npmUser":{"name":"shawnbot","email":"shawnbot-npm@nym.hush.com"},"_npmVersion":"6.4.1","description":"Publish Primer projects to npm with GitHub Design Systems conventions","directories":{},"_nodeVersion":"10.15.1","dependencies":{"yargs":"^12.0.5","@octokit/rest":"^16.15.0","action-status":"^0.1.1","github-action-meta":"^0.1.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^24.1.0","eslint":"^5.13.0","prettier":"^1.16.4","mocked-env":"^1.2.4","eslint-plugin-github":"^1.8.1"},"_npmOperationalInternal":{"tmp":"tmp/publish_0.2.2-rc.f656ad2_1549500314403_0.7615527038885344","host":"s3://npm-registry-packages"}},"0.2.2-rc.b896cf0":{"name":"@primer/publish","version":"0.2.2-rc.b896cf0","keywords":["primer","publish","github-actions","npm"],"author":{"name":"GitHub, Inc."},"license":"MIT","_id":"@primer/publish@0.2.2-rc.b896cf0","maintainers":[{"name":"broccolini","email":"diana.mounter@gmail.com"},{"name":"emplums","email":"eplummer26@gmail.com"},{"name":"jonrohan","email":"yes@jonrohan.codes"},{"name":"primer-css","email":"design-systems@github.com"},{"name":"shawnbot","email":"shawnbot-npm@nym.hush.com"}],"bin":{"primer-publish":"cli.js"},"dist":{"shasum":"e2a8141097175bcd7d58097bd8a450c871a7ff21","tarball":"https://registry.npmjs.org/@primer/publish/-/publish-0.2.2-rc.b896cf0.tgz","fileCount":19,"integrity":"sha512-U7TtZViApYvv5Datun4YzTBYvYMW54CeaH1+Aurgl9s7TUiTuk07jG7UV+GxBV3u/P92xUmicSV4tb2NweE7Uw==","signatures":[{"sig":"MEUCIQDOqJ9azKZZxXClvpkl6ZWhyzDvsO2rpYdyVtAl2ii9lQIgQEO4XSToZP4W+SU6yRokLPlEtvoyfhqBWQlguJ4D36w=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19502,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcW4AVCRA9TVsSAnZWagAAHYoP/2Q37X3RmAPO/ImYN0q7\nrQffYFC03/bZRAk8iPriPbWFta+v1+tX2O5Bbb5vDcoT04stJw+MaKLU+0VL\nWZWrvMbX9bXxSpzmtuZ/wKD2Zr3FvYMAa7pdL++RJzllrzoNRyzTjEt15u9I\n3n58SHMq8nfEg93Kz5zx/wEDeggs5f5K1mkW16ZI8A+17SOSR5elzZ2+wB/I\nGH6JDH5rf06V6OXR1vxjlN1wZPg2qghgtPZNMY9ZZ76OV6lLZ0x1RvE/dNhS\ntvESz45sBsY+YMVb7l5dUQ2jvp5LGOHXi4XOQv6IJtFhBLv21lvrsh7yLkjb\nZOW0wHlvgbdzo6msmBm7nxY1+DFjyaF+kpnxgtQSQaEWUe1qPibhzabVMZII\nohN9g3uP54jfhf30WQPS7nRtYMZmEtNZPQHzMJhEAA0jfh8R/k+W5iZjqouL\nRklsLIQDHkSRJzkkktiNeQGMMj6VisKnOjTF5Z39zNyM4ghVmQ8qMWIEY6bV\nhMBqBVZVyDb+riCyrkj9t5l9xxqWczRR0mkO7Wl9jNmy9KudhgYxXY/xYPfA\nkC8frzqqQy3Tdw0gfwdXsw4MBKob/dtSekV7hzpJEhV+gUYtzm7RwrAIIq+M\nkyn7aR75cwuTQBUklfaHtGq15YSwpWj+2qHPOpTODoZAXG+4UQuJIvP1YrL6\nhE4u\r\n=0Kqr\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# primer/publish\n\nThis [GitHub Action][github actions] publishes to npm with the following conventions:\n\n1. If we're on the `master` branch, the `version` field is used as-is and we just run `npm publish --access public`.\n1. If we're on a `release-<version>` branch, we publish a release candidate to the `next` npm dist-tag with the version in the form: `<version>-rc.<sha>`\n1. Otherwise, we publish a \"canary\" release, which has a version in the form: `0.0.0-<sha>`.\n\nAlso:\n\n* If the version in `package.json` is already published, we exit with a `78` code, which is Actions-speak for \"neutral\".\n* On the `master` branch, we push the version commits back to GitHub via git.\n\n## Status checks\nTwo [status checks] will be listed for this action in your checks: **publish** is the action's check, and **publish {package-name}** is a [commit status] created by the action that reports the version published and links to `unpkg.com` via \"Details\":\n\n![image](https://user-images.githubusercontent.com/113896/52375286-23368980-2a14-11e9-8974-062a3e45a846.png)\n\n## Usage\nTo use this action in your own workflow, add the following snippet to your `.github/main.workflow` file:\n\n```hcl\naction \"publish\" {\n  uses = \"primer/publish@master\"\n  secrets = [\n    \"GITHUB_TOKEN\",\n    \"NPM_AUTH_TOKEN\",\n  ]\n}\n```\n\n**You will need to provide an npm access token with publish permissions via the `NPM_AUTH_TOKEN` secret in the Actions visual editor** if you haven't already.\n\nTo avoid racking up failed publish actions, we suggest that you place this action after any linting and test actions.\n\n## npm CLI arguments\nIt's possible to pass additional arguments to `npm` via the `args` field in your workflow action. Because the `primer-publish` CLI accepts options of its own (such as `--dry-run`), you need to prefix any `npm` arguments with `--`:\n\n```diff\naction \"publish\" {\n  uses = \"primer/publish@master\"\n+  args = [\"--\", \"--registry=https://registry.your.org\"]\n```\n\n[github actions]: https://github.com/features/actions\n[commit status]: https://developer.github.com/v3/repos/statuses/\n[status checks]: https://help.github.com/articles/about-status-checks/\n","gitHead":"fcc2602e57038c36ad8cc320a791fb3a4759f75f","scripts":{"lint":"eslint *.js src","test":"jest"},"_npmUser":{"name":"shawnbot","email":"shawnbot-npm@nym.hush.com"},"_npmVersion":"6.4.1","description":"Publish Primer projects to npm with GitHub Design Systems conventions","directories":{},"_nodeVersion":"10.15.1","dependencies":{"yargs":"^12.0.5","@octokit/rest":"^16.15.0","action-status":"^0.1.1","github-action-meta":"^0.1.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^24.1.0","eslint":"^5.13.0","prettier":"^1.16.4","mocked-env":"^1.2.4","eslint-plugin-github":"^1.8.1"},"_npmOperationalInternal":{"tmp":"tmp/publish_0.2.2-rc.b896cf0_1549500437054_0.43249167160133695","host":"s3://npm-registry-packages"}},"0.2.2":{"name":"@primer/publish","version":"0.2.2","keywords":["primer","publish","github-actions","npm"],"author":{"name":"GitHub, Inc."},"license":"MIT","_id":"@primer/publish@0.2.2","maintainers":[{"name":"broccolini","email":"diana.mounter@gmail.com"},{"name":"emplums","email":"eplummer26@gmail.com"},{"name":"jonrohan","email":"yes@jonrohan.codes"},{"name":"primer-css","email":"design-systems@github.com"},{"name":"shawnbot","email":"shawnbot-npm@nym.hush.com"}],"bin":{"primer-publish":"cli.js"},"dist":{"shasum":"e7d83b2e0c8a5731b18cad22c3d4c447ffa1f5cc","tarball":"https://registry.npmjs.org/@primer/publish/-/publish-0.2.2.tgz","fileCount":19,"integrity":"sha512-OtDk60DfkXB6U+1PTCwFpP3UtPCm/355/LzEQbMceVyzqS31qK2Oh49fpvbdhsX/cXpO7kNYr9kmVOuEDWnaug==","signatures":[{"sig":"MEYCIQCD8H+dRTIlQvcRKA8EggLHl/zjAjAhTv1umCEU7zTVvQIhALFPXTZv4Z91AMj6MKHiWzbSl4bdphgqH8cEqKFjwIWV","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19491,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcW4FxCRA9TVsSAnZWagAAOHkP/3uj77A/7tODDTD2y0UH\n7h06rh78jY6MJMHBjbtUJzldPs7VlvzhegaXeVd1r/btAzodwtuEGSGvaC3k\niP9Kyoj+1ilJwrAxZ5AweDRaF61hPf8ULhNdYxj4QZFUhPWp/5bZIxyjjEUO\n8KHll2hFE8pIprg+p3Dy7dTmHz/R5vaE4HeNJ/2ydJfMazKvT8zZouFYVQJN\nJPishmntcPnkmN2KAuOk4A3AUV16iTnzxv62kohCgb7m6OlF9yQyd6v/Uqrt\nH+RvkjZqQ4mOm/nj0bewIl5Wo78WsxwhJFbUbwmSlVPP0A4BjTjQ7aUFnbOg\nDpoMqlqiBm1zPpcYFxgwEXmTVnKrD5wmehIpwKBjGPz/aLnvwStiLmiYkFo7\ngpR3opP+yW9j9ZrjXTTB9FHZwAwpqI+yaCCHMF+yl0Ey5PtnH2+cb63fGP+b\nL2lxNsUAuRrQp9wlTVYNfJQ6iHfu3CUhy3lpd9BErZY3DB6TKD55laV1alLF\nksCkHmWRDPBDOy751GMl7lguhlfzqU6UweVMQ3oSWEq1f76X/oTPIqBeVpCj\nROLvTCsStE1H4abMbnzlxfYEuvCqOwMvjnhNWBU81SoUdOa9YSG7VO2EwbJc\nVwj93cSLFgKWgxHXaEGGhYoTp8OkgB/TjNYee8g5Vt2gz+eCu/7rZS/jkUuL\niraf\r\n=3TFK\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"9d61d22620f3784ac792dd93c45db51e4232f7b4","scripts":{"lint":"eslint *.js src","test":"jest"},"_npmUser":{"name":"shawnbot","email":"shawnbot-npm@nym.hush.com"},"_npmVersion":"6.4.1","description":"Publish Primer projects to npm with GitHub Design Systems conventions","directories":{},"_nodeVersion":"10.15.1","dependencies":{"yargs":"^12.0.5","@octokit/rest":"^16.15.0","action-status":"^0.1.1","github-action-meta":"^0.1.2"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^24.1.0","eslint":"^5.13.0","prettier":"^1.16.4","mocked-env":"^1.2.4","eslint-plugin-github":"^1.8.1"},"_npmOperationalInternal":{"tmp":"tmp/publish_0.2.2_1549500785309_0.8337872006760718","host":"s3://npm-registry-packages"}},"0.2.3-rc.453a87d":{"name":"@primer/publish","version":"0.2.3-rc.453a87d","keywords":["primer","publish","github-actions","npm"],"author":{"name":"GitHub, Inc."},"license":"MIT","_id":"@primer/publish@0.2.3-rc.453a87d","maintainers":[{"name":"broccolini","email":"diana.mounter@gmail.com"},{"name":"emplums","email":"eplummer26@gmail.com"},{"name":"jonrohan","email":"yes@jonrohan.codes"},{"name":"primer-css","email":"design-systems@github.com"},{"name":"shawnbot","email":"shawnbot-npm@nym.hush.com"}],"bin":{"primer-publish":"cli.js"},"dist":{"shasum":"0228292440f89ee811892bded93e2de7f0c3f41f","tarball":"https://registry.npmjs.org/@primer/publish/-/publish-0.2.3-rc.453a87d.tgz","fileCount":19,"integrity":"sha512-0y4Q+3g0/GbFs4DpdPH1fUovcua8s2ee5jjRXzzS32Xt8vSdyYEPpyqbmjKPClVaE1srZxmTXb2EAtpABjBI3g==","signatures":[{"sig":"MEQCIHrIKIzTnun4haUbWPMsD6mTWCdWA1WJ5tpOvakD94bQAiAnIDerUAvp9Cf1jsGklGpkDtyl/TgE7QQW+C+yZuL4yg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19523,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcW4NRCRA9TVsSAnZWagAAVAYP/3puBqKdN9WraKaRJiW4\ndupZ3TYG2WUgz4RtpFVu4gkTxTxcdcCiZIkjYQyzpoO//YIIPRNurXUR/fDo\ngG8ApcQmYYi8AJNEq6FZW/WeqP5yheA1IzHJlKPjLbzTiGyABnep2/Kiqu9p\nYXhBtqKrO9C4IneaA1Nmibk16lnHqxuhVXc1EvSjIiaNYVjtQPS9oMWBPevW\nvmhr/Tw+o1ZXiCH/2zAhTaMAhacBe8ApP63F1r1WWfRVBRzHNON85dBfR6aI\n1aYzlQiy9VWpNziyC/ABYKiXg/6MAtdUMlbCfwbzpF64OcR//XfEJpF97ONs\ngemzJAIKBPHkoYbC7pon5aw71u/cORzAve2l5d3F3DdJv0OMp3ITSxsn34Zp\ngF76/9qkMs9C4UnJM2bz79N7+YTQIc39hGm425FJk0EWHQy/2Usfj9C4kcxs\neO87zgLR+fyD+l3LCE+n0yPrNOibH3DgC5tgej//QPv/eJmQcDhnY7XmyO7S\nOOWuQ+DnHHMNxrpq4N1b0mxp4vxBeo5e8MCY3HuxrXs6Yd0ouloQ9dZMiI3B\nt4Wb9+hqf/KZ13JECLp9rLVDkXGUItSUDnRVMiuLP0Zh2SK4vkAHM6sHe2fi\njuH2PFrPyNafebYZiNezoFYz5kBggZYcC6g9RN8sTtbSk1NVWtUlZwPHwW3h\n8PqR\r\n=2TeC\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# primer/publish\n\nThis [GitHub Action][github actions] publishes to npm with the following conventions:\n\n1. If we're on the `master` branch, the `version` field is used as-is and we just run `npm publish --access public`.\n1. If we're on a `release-<version>` branch, we publish a release candidate to the `next` npm dist-tag with the version in the form: `<version>-rc.<sha>`\n1. Otherwise, we publish a \"canary\" release, which has a version in the form: `0.0.0-<sha>`.\n\nAlso:\n\n* If the version in `package.json` is already published, we exit with a `78` code, which is Actions-speak for \"neutral\".\n* On the `master` branch, we push the version commits back to GitHub via git.\n\n## Status checks\nTwo [status checks] will be listed for this action in your checks: **publish** is the action's check, and **publish {package-name}** is a [commit status] created by the action that reports the version published and links to `unpkg.com` via \"Details\":\n\n![image](https://user-images.githubusercontent.com/113896/52375286-23368980-2a14-11e9-8974-062a3e45a846.png)\n\n## Usage\nTo use this action in your own workflow, add the following snippet to your `.github/main.workflow` file:\n\n```hcl\naction \"publish\" {\n  uses = \"primer/publish@master\"\n  secrets = [\n    \"GITHUB_TOKEN\",\n    \"NPM_AUTH_TOKEN\",\n  ]\n}\n```\n\n**You will need to provide an npm access token with publish permissions via the `NPM_AUTH_TOKEN` secret in the Actions visual editor** if you haven't already.\n\nTo avoid racking up failed publish actions, we suggest that you place this action after any linting and test actions.\n\n## npm CLI arguments\nIt's possible to pass additional arguments to `npm` via the `args` field in your workflow action. Because the `primer-publish` CLI accepts options of its own (such as `--dry-run`), you need to prefix any `npm` arguments with `--`:\n\n```diff\naction \"publish\" {\n  uses = \"primer/publish@master\"\n+  args = [\"--\", \"--registry=https://registry.your.org\"]\n```\n\n[github actions]: https://github.com/features/actions\n[commit status]: https://developer.github.com/v3/repos/statuses/\n[status checks]: https://help.github.com/articles/about-status-checks/\n","gitHead":"388341e6f4762822f44b3939281f891c8def8c2b","scripts":{"lint":"eslint *.js src","test":"jest"},"_npmUser":{"name":"shawnbot","email":"shawnbot-npm@nym.hush.com"},"_npmVersion":"6.4.1","description":"Publish Primer projects to npm with GitHub Design Systems conventions","directories":{},"_nodeVersion":"10.15.1","dependencies":{"yargs":"^12.0.5","@octokit/rest":"^16.15.0","action-status":"^0.1.1","github-action-meta":"^0.1.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^24.1.0","eslint":"^5.13.0","prettier":"^1.16.4","mocked-env":"^1.2.4","eslint-plugin-github":"^1.8.1"},"_npmOperationalInternal":{"tmp":"tmp/publish_0.2.3-rc.453a87d_1549501264185_0.8897716290095266","host":"s3://npm-registry-packages"}},"0.2.3-rc.e6c711e":{"name":"@primer/publish","version":"0.2.3-rc.e6c711e","keywords":["primer","publish","github-actions","npm"],"author":{"name":"GitHub, Inc."},"license":"MIT","_id":"@primer/publish@0.2.3-rc.e6c711e","maintainers":[{"name":"broccolini","email":"diana.mounter@gmail.com"},{"name":"emplums","email":"eplummer26@gmail.com"},{"name":"jonrohan","email":"yes@jonrohan.codes"},{"name":"primer-css","email":"design-systems@github.com"},{"name":"shawnbot","email":"shawnbot-npm@nym.hush.com"}],"bin":{"primer-publish":"cli.js"},"dist":{"shasum":"8833945f9074c76c78393b75a3fe7e5d86ce7102","tarball":"https://registry.npmjs.org/@primer/publish/-/publish-0.2.3-rc.e6c711e.tgz","fileCount":19,"integrity":"sha512-HBKTcXnqnB/vMZk4U99fFQyfIUbvihag2tKmKHat/gucD75QDorGHwFY8DxI6tbyLfT4MK5AhWguJVgnb053Vw==","signatures":[{"sig":"MEUCIQDOOmDBBnQOA0xrHnJvdHDZIau726XT+AtovQCJbctHOwIgDtnQHc0gRyTX7aZ3s2rZTi119VpA3bwzpW/+nRUDVXA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19523,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcW4OJCRA9TVsSAnZWagAAMuUP/R7zRy5RNU89I8v4qjTP\nPtKxNBHSjL2g9r3wK8ihxE3cbJk1YDTGToFbBalL8RY8vvvD0G30x1JUFvSo\nKHYvaTvVTipsSfWNMXLg+lMOiP8jUY7gasoy78uI6eQDd6hhF0cMfOTCVA1b\nlLLtAgV7AUy2c9OYC4PC+muhZvYWn5VDHTdN38XvOuJYb75yPc2pKMgWhi7Q\nbLdVLkskXiX3FKkLySNmy/ur7HaKJKlt+0WvXw8+C2cblFfmSecRESGdemUU\ngJx2RhAyPUbX0Wxr8hACxwXPnRpDZFt5/aoizB0EclBfAj7H8gdyDMWhimoM\nXHXDXTEVlj/wr7OUKGYuic4esi/Lg2wTqXF/5YIYwNgw/df8LKl0IsvjXDGn\nJ2WEacAbGHKsoewMrZ0EP68uO5dhGLGcNwU40Q/QFqvipZtqrZ4LXDpkwVce\nTAysmzZiyPSonOG8GkB168TcfmR9U1wQyS/TEK3ghVy8fT9qebdltR7OPZnE\nv264N8Meet213y9OePtZPGqEr8fvcnw6jA3bUlkwvnsDJxwLYT2TZTHVG4DR\nTY7YgXkGSRy8N3Q0ad6KCYUF0a3rYP3kYXi1Vv0lWRKmVcti7ZKvIye/Zk0S\nd3MyOvtKGXlvQQX2DSkckMzkCOEI26YMS+38sA2sCJyUCgNDj4SCj3Vvr28f\nlCtt\r\n=bSo+\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# primer/publish\n\nThis [GitHub Action][github actions] publishes to npm with the following conventions:\n\n1. If we're on the `master` branch, the `version` field is used as-is and we just run `npm publish --access public`.\n1. If we're on a `release-<version>` branch, we publish a release candidate to the `next` npm dist-tag with the version in the form: `<version>-rc.<sha>`\n1. Otherwise, we publish a \"canary\" release, which has a version in the form: `0.0.0-<sha>`.\n\nAlso:\n\n* If the version in `package.json` is already published, we exit with a `78` code, which is Actions-speak for \"neutral\".\n* On the `master` branch, we push the version commits back to GitHub via git.\n\n## Status checks\nTwo [status checks] will be listed for this action in your checks: **publish** is the action's check, and **publish {package-name}** is a [commit status] created by the action that reports the version published and links to `unpkg.com` via \"Details\":\n\n![image](https://user-images.githubusercontent.com/113896/52375286-23368980-2a14-11e9-8974-062a3e45a846.png)\n\n## Usage\nTo use this action in your own workflow, add the following snippet to your `.github/main.workflow` file:\n\n```hcl\naction \"publish\" {\n  uses = \"primer/publish@master\"\n  secrets = [\n    \"GITHUB_TOKEN\",\n    \"NPM_AUTH_TOKEN\",\n  ]\n}\n```\n\n**You will need to provide an npm access token with publish permissions via the `NPM_AUTH_TOKEN` secret in the Actions visual editor** if you haven't already.\n\nTo avoid racking up failed publish actions, we suggest that you place this action after any linting and test actions.\n\n## npm CLI arguments\nIt's possible to pass additional arguments to `npm` via the `args` field in your workflow action. Because the `primer-publish` CLI accepts options of its own (such as `--dry-run`), you need to prefix any `npm` arguments with `--`:\n\n```diff\naction \"publish\" {\n  uses = \"primer/publish@master\"\n+  args = [\"--\", \"--registry=https://registry.your.org\"]\n```\n\n[github actions]: https://github.com/features/actions\n[commit status]: https://developer.github.com/v3/repos/statuses/\n[status checks]: https://help.github.com/articles/about-status-checks/\n","gitHead":"e6783b0b4cee2995899942002f3da16627177250","scripts":{"lint":"eslint *.js src","test":"jest"},"_npmUser":{"name":"shawnbot","email":"shawnbot-npm@nym.hush.com"},"_npmVersion":"6.4.1","description":"Publish Primer projects to npm with GitHub Design Systems conventions","directories":{},"_nodeVersion":"10.15.1","dependencies":{"yargs":"^12.0.5","@octokit/rest":"^16.15.0","action-status":"^0.1.1","github-action-meta":"^0.1.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^24.1.0","eslint":"^5.13.0","prettier":"^1.16.4","mocked-env":"^1.2.4","eslint-plugin-github":"^1.8.1"},"_npmOperationalInternal":{"tmp":"tmp/publish_0.2.3-rc.e6c711e_1549501320546_0.5757738467520037","host":"s3://npm-registry-packages"}},"0.2.3-rc.aaa0b7f":{"name":"@primer/publish","version":"0.2.3-rc.aaa0b7f","keywords":["primer","publish","github-actions","npm"],"author":{"name":"GitHub, Inc."},"license":"MIT","_id":"@primer/publish@0.2.3-rc.aaa0b7f","maintainers":[{"name":"broccolini","email":"diana.mounter@gmail.com"},{"name":"emplums","email":"eplummer26@gmail.com"},{"name":"jonrohan","email":"yes@jonrohan.codes"},{"name":"primer-css","email":"design-systems@github.com"},{"name":"shawnbot","email":"shawnbot-npm@nym.hush.com"}],"bin":{"primer-publish":"cli.js"},"dist":{"shasum":"a42e288d0e63f5e260c2dbc130ff8d5171aa1c1f","tarball":"https://registry.npmjs.org/@primer/publish/-/publish-0.2.3-rc.aaa0b7f.tgz","fileCount":19,"integrity":"sha512-Y0hchRwuMFc8p5lUAF/fev663JM9u1sr10/gkHpC/CNdGBPG/QLVLlrSJMD0Cbj8eX6nFkEJCiBJ4JUkIGN7Xw==","signatures":[{"sig":"MEYCIQDNjGkdvBxvh21OTNn8FIHBxLMwFJ0gi22ebtmFUBoFqQIhAMqqVTB8DyTM7CcK9dyWYP0KKUWnJItU/OZ8uk2Y3V+I","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19523,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcW4PWCRA9TVsSAnZWagAAefgP/2EBleruCsZvGIiYT+D0\n1o7aXFGo+7pBZM//eclAqo4fAOlFHbOVtBQa2DUGW/RdP5S2C3mOYgzUq/T8\naIlzTIplh9xVV3VMLbuy02TJvuEZtcvwiwVE+BxvK03kSQIZQc5V+IXvZjpg\nSDrzzZ4agfRgrP9AP2DU11oD/Z35sfEMgP8+CXjcYLkWNgTVPAJQ+e2NpU4Q\n3MpVs6d9YwxtulFblDeq2pDM1fUYkoqbI89pYa8cWROvXTkiY/dCjc3+Z1k9\nxDJNmuKiQbiuPRJ7vh0IBEYktmLnsESfCg4Nrn9eUkyBuzKvqSz5JvE2Hjrv\nAUsE38PAqHKz8T3RnJHN54JbTVxp1jMA1gOd2AJEJfy6VFX4v8E6/wqv4/5g\ntjQE9YUwmqQ35fehzaEYCCZJh5aN207GQxOl/wVzFD4YqYHpjjLJht3WhGcP\nTxE44JsGXljhKqBn1vkmHb55Dog6Y7JQx+BvmXTyFgH0GFCRuWa8EY0rOuJq\nfcE/w3MahKufCOtGfuFx0GRpF6jdQ8G+CRwi/0c8gpjoRPxWJ0/TbcKCnvWx\naZWmE0ZgMHlXTsJ6miwBVBuvy1sF0Cn7nHNeI2iSGK3/WNTURgLzc2lnuIXw\nLi+JFOG30zHN8n1qw3Nn1WWChvj8rdFyQSvuTX8VWEEOvx91NvJWHPqeqv9Z\ntrGF\r\n=4JGC\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# primer/publish\n\nThis [GitHub Action][github actions] publishes to npm with the following conventions:\n\n1. If we're on the `master` branch, the `version` field is used as-is and we just run `npm publish --access public`.\n1. If we're on a `release-<version>` branch, we publish a release candidate to the `next` npm dist-tag with the version in the form: `<version>-rc.<sha>`\n1. Otherwise, we publish a \"canary\" release, which has a version in the form: `0.0.0-<sha>`.\n\nAlso:\n\n* If the version in `package.json` is already published, we exit with a `78` code, which is Actions-speak for \"neutral\".\n* On the `master` branch, we push the version commits back to GitHub via git.\n\n## Status checks\nTwo [status checks] will be listed for this action in your checks: **publish** is the action's check, and **publish {package-name}** is a [commit status] created by the action that reports the version published and links to `unpkg.com` via \"Details\":\n\n![image](https://user-images.githubusercontent.com/113896/52375286-23368980-2a14-11e9-8974-062a3e45a846.png)\n\n## Usage\nTo use this action in your own workflow, add the following snippet to your `.github/main.workflow` file:\n\n```hcl\naction \"publish\" {\n  uses = \"primer/publish@master\"\n  secrets = [\n    \"GITHUB_TOKEN\",\n    \"NPM_AUTH_TOKEN\",\n  ]\n}\n```\n\n**You will need to provide an npm access token with publish permissions via the `NPM_AUTH_TOKEN` secret in the Actions visual editor** if you haven't already.\n\nTo avoid racking up failed publish actions, we suggest that you place this action after any linting and test actions.\n\n## npm CLI arguments\nIt's possible to pass additional arguments to `npm` via the `args` field in your workflow action. Because the `primer-publish` CLI accepts options of its own (such as `--dry-run`), you need to prefix any `npm` arguments with `--`:\n\n```diff\naction \"publish\" {\n  uses = \"primer/publish@master\"\n+  args = [\"--\", \"--registry=https://registry.your.org\"]\n```\n\n[github actions]: https://github.com/features/actions\n[commit status]: https://developer.github.com/v3/repos/statuses/\n[status checks]: https://help.github.com/articles/about-status-checks/\n","gitHead":"8b849dbf86f0359f01917f5551ad76563fdf765f","scripts":{"lint":"eslint *.js src","test":"jest"},"_npmUser":{"name":"shawnbot","email":"shawnbot-npm@nym.hush.com"},"_npmVersion":"6.4.1","description":"Publish Primer projects to npm with GitHub Design Systems conventions","directories":{},"_nodeVersion":"10.15.1","dependencies":{"yargs":"^12.0.5","@octokit/rest":"^16.15.0","action-status":"^0.1.1","github-action-meta":"^0.1.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^24.1.0","eslint":"^5.13.0","prettier":"^1.16.4","mocked-env":"^1.2.4","eslint-plugin-github":"^1.8.1"},"_npmOperationalInternal":{"tmp":"tmp/publish_0.2.3-rc.aaa0b7f_1549501397384_0.14874152771246463","host":"s3://npm-registry-packages"}},"0.2.3":{"name":"@primer/publish","version":"0.2.3","keywords":["primer","publish","github-actions","npm"],"author":{"name":"GitHub, Inc."},"license":"MIT","_id":"@primer/publish@0.2.3","maintainers":[{"name":"broccolini","email":"diana.mounter@gmail.com"},{"name":"emplums","email":"eplummer26@gmail.com"},{"name":"jonrohan","email":"yes@jonrohan.codes"},{"name":"primer-css","email":"design-systems@github.com"},{"name":"shawnbot","email":"shawnbot-npm@nym.hush.com"}],"bin":{"primer-publish":"cli.js"},"dist":{"shasum":"6facce4a0f6686a9fed1114284105d720ec41e13","tarball":"https://registry.npmjs.org/@primer/publish/-/publish-0.2.3.tgz","fileCount":19,"integrity":"sha512-+OEy11npWXO/6IkgkAlnmpbphyL8ZleMIGrBn129MkXVp1sJOFWR/2gafAEh4YJqNXr30L8H1iANaHkX9dnASg==","signatures":[{"sig":"MEUCIFD4vzaJsrxDubK9NNIF38jfP9ZmAwnTsOFU6voLKIXVAiEAjQXPuZyqTWcxQYNvtlgh9hT1AXS57ucWola1w7p/yT0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19512,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcW4RGCRA9TVsSAnZWagAAQKIP/jhNhCH8AFVYux1AvGWW\nHbIaTVNI1pTmQpyCDLpp4JEMv/FyrFY+H838MYoFIsSoCORNke5uG3hJYb5O\nxLso8Vx9IA4g6TWGsdajz939OydL6kGUhWMpbrL4nlKZlKp5a8aTWmNrbeMp\nIr+2JYW30cmn0eeQxaQEYsX7LiW6pA5tT8qXIlMVe0nG8cMu2eiaN0RWJdpL\nXozWOwOPwGuidMs4oRTsgc+AH6FagoatTjpMLqUi/hQ7PWiDBFZYBunI2gSA\ndNK+X7N6AlEPWVPiwf/MSD27t/l0O1SJhI8nNqLphaKidhDS9BmsoJ0Q1Iaz\nZQS4z6US1up/ChnkhN5i4jZtGrpcPS0ukv2yUg5L/McayYQyzdNfH3aHXaMl\nLlEn0tQlIdLpj24oOcadcdTvNHv7ruizdMPw6LwpV7iwTh4rIBJnnejFIJ19\nDzChbHFJAdToaXhHujJNUkEBeMk7gRNUX/KuPheJ2RhH521V4uVaci9XX4jQ\nXsAAQvt8VB2GnDsBPrXHxfuzPH+7xSPxjQ0VZXUFDgobQVqAkwgfQddqLihf\nIPq5tKAxdCFKhY6MP5mPH5pgmq9qrARlKFS+iTXaB5iZA6J31teb2JBgqCkV\nANxLW22uIrJCEwmrTMqGVS/gdwADRrxcRUltQgEt7hmCsuKwNOaoRlA4fs70\nLEBu\r\n=cbQk\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"b60dca37e8d9c8b5e788f665d33653b4dc4e7ec7","scripts":{"lint":"eslint *.js src","test":"jest"},"_npmUser":{"name":"shawnbot","email":"shawnbot-npm@nym.hush.com"},"_npmVersion":"6.4.1","description":"Publish Primer projects to npm with GitHub Design Systems conventions","directories":{},"_nodeVersion":"10.15.1","dependencies":{"yargs":"^12.0.5","@octokit/rest":"^16.15.0","action-status":"^0.1.1","github-action-meta":"^0.1.2"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^24.1.0","eslint":"^5.13.0","prettier":"^1.16.4","mocked-env":"^1.2.4","eslint-plugin-github":"^1.8.1"},"_npmOperationalInternal":{"tmp":"tmp/publish_0.2.3_1549501509671_0.34796158062207283","host":"s3://npm-registry-packages"}},"0.2.4":{"name":"@primer/publish","version":"0.2.4","keywords":["primer","publish","github-actions","npm"],"author":{"name":"GitHub, Inc."},"license":"MIT","_id":"@primer/publish@0.2.4","maintainers":[{"name":"broccolini","email":"diana.mounter@gmail.com"},{"name":"emplums","email":"eplummer26@gmail.com"},{"name":"jonrohan","email":"yes@jonrohan.codes"},{"name":"primer-css","email":"design-systems@github.com"},{"name":"shawnbot","email":"shawnbot-npm@nym.hush.com"}],"bin":{"primer-publish":"cli.js"},"dist":{"shasum":"144eb36dc03e2678967edea39260b912e911c841","tarball":"https://registry.npmjs.org/@primer/publish/-/publish-0.2.4.tgz","fileCount":19,"integrity":"sha512-EHH7trjokHOQSmA6D3Yk3p5EX/kVDnN7gqLV7O3zAEN9qvchYjyFaklkHq6QwBVC0CARMx8JdHO2dqy2V4tw2w==","signatures":[{"sig":"MEYCIQCuhPJCtpUKIBctXoJX1MHxg19AeJy7uTprFN4DpALndAIhAKGJ0m+AfYlSwp7ftmWLjADQYNFKPjIHoF7nv9EJ2/mM","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19769,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcW51kCRA9TVsSAnZWagAAgOMP/3ZvP2zOsl45MIM0JKjH\nVAIYhemK/jVORof6riDkXFn+WJxVQi/CQ/NpCEVP6ZLf+e+wqFGb7VHPUWDF\n/j5l3agXRB9IgqKytnUzIRUoylvxay7Ii8BT5DluuJxQHSqwXXabBiqMlrZF\nWUSELh8vjNucVT4mxEKmkl6NvZGNQpKbI0zYI+7laMYRuoM++WnI0GXyilVe\nWBE9HhUNJWxeiTVwUp7uOwZWrDjsovoewV5dEXe5yxNvL5gZbnSNbdQGLFG0\ngG40ebfIVAsYKnztD5qDdZA2Rt+wReINxOUUkiV9nlqLcXjrhaaKsFoGScev\nwCmP+MCFASkjWXU3KYR65W3hag2qCRyh7/JZmbJ15o9498CkO4CYAv3DCfMQ\nejy6vqOrrE4do9Nl3suHHyAJkSGYdUBwqyn4IB8KUxWPnTyOaZH/xIK/JfMs\nJQqDsnBafbn60UDIa1Jjs8QMumqnrB1D4XUvAuvV2nNmGJnr3IE516L88+3t\n3bweS+a6KA4hPW9TtD9PFtzDAe00+zxm0B4wgQ2ROY/9+zieUa9CByhnH41y\n20lgIP4J4PuwESXYqKKLOjCrSlOp+h5r4q13SpEuP0jNCSpsV6aJZpADNuML\n5FZwRB3TIXAhWoJov7YadDiAI+A0cvAauCth0iWCCnVSnWQAeJSG2XvF/U1b\nCMMZ\r\n=zZRj\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"615c48f9b54df06d05a1bb93112ad4bc1a6b4377","scripts":{"lint":"eslint *.js src","test":"jest"},"_npmUser":{"name":"shawnbot","email":"shawnbot-npm@nym.hush.com"},"_npmVersion":"6.4.1","description":"Publish Primer projects to npm with GitHub Design Systems conventions","directories":{},"_nodeVersion":"10.15.1","dependencies":{"yargs":"^12.0.5","@octokit/rest":"^16.15.0","action-status":"^0.1.1","github-action-meta":"^0.1.2"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^24.1.0","eslint":"^5.13.0","prettier":"^1.16.4","mocked-env":"^1.2.4","eslint-plugin-github":"^1.8.1"},"_npmOperationalInternal":{"tmp":"tmp/publish_0.2.4_1549507939815_0.9304738758218458","host":"s3://npm-registry-packages"}},"0.2.5":{"name":"@primer/publish","version":"0.2.5","keywords":["primer","publish","github-actions","npm"],"author":{"name":"GitHub, Inc."},"license":"MIT","_id":"@primer/publish@0.2.5","maintainers":[{"name":"broccolini","email":"diana.mounter@gmail.com"},{"name":"emplums","email":"eplummer26@gmail.com"},{"name":"jonrohan","email":"yes@jonrohan.codes"},{"name":"primer-css","email":"design-systems@github.com"},{"name":"shawnbot","email":"shawnbot-npm@nym.hush.com"}],"bin":{"primer-publish":"cli.js"},"dist":{"shasum":"21a28183590037be0bff76ff214aac4141b11f7f","tarball":"https://registry.npmjs.org/@primer/publish/-/publish-0.2.5.tgz","fileCount":19,"integrity":"sha512-sFxOx71krZjBBC5LFfda+HrnRPD3D0ue/5neKmmYyhyMDYVLlOaILStQAPlmz0eMnzcpKYOt9j2T11d127hhBQ==","signatures":[{"sig":"MEYCIQC+rCc+SmV8lLeTt8ahQPKUzbaM4KHlmYj/WBjU1hNoxQIhAIBuhVbkchyNq9HO15XHExH1r7seaIowJcC2X7hdzMfY","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19664,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcW6BzCRA9TVsSAnZWagAAPWcQAIkuGDa7yjXV8H4ipaUk\n+CuBOfEp+M4XblpiH1mpmC56nLM5VVtkxOp7B1AS51e5ZIRpzpiYCiUKRl7W\n9DIoCWauE5sDXkcExxbuvJ71Tl3ClF/UJxtjxCH5J7s/h3mskVJa1r9hdSH+\nJb6bJlu5DwwvCdLxqeneosIFq0HpNsBmU657UMaVPdhAFHo5BGhPBrdZTe1U\nBN15x82Y+7S4CVWLuhGQoZlXPPbVgXnTeeWgAwXM9UbCtIeIldvdXsSLp50a\n/pHe92yl7xsCS6mMaM0QqjgalS5qG20wFE0v1KzSXtdt/KVE9FfjEniaqtN8\nrdJH+pF8qd5EnVuW+S2N0QiDnnFwDJb4z0g+VvOQSphP9+yZGqMn/s0iCY2k\nnyBucSv1WMKRteny09WDDt6aeSLf21YpaE81nST/bDGLOa26K6hgJP59Y0gY\nQthyXsWJSxjzL+tFTO9rlPNTk50CrVxysICzMfOsheqOkxiui1M5mNhPrAYy\nBZBe7Y09VRS6FvDuMvKLXzw2+hHnlwu45JPpRcnWh5Bk+5gzMczpc4Q9xcRA\nJxDWHVxTxmZgO7AmhZ/LTRyPiaDax17rtn/cV10tjgMJFSGAaY9VihtiFX1u\nwm4UEbmLGIu0YQGVwXLvghjfb2BpkZpeg55OcXstMwtEeyP9CudRJGYxB7ua\nX3T5\r\n=n09m\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"584aef4ac7c0bdd8fed3444d75e8cf461f6d7f56","scripts":{"lint":"eslint *.js src","test":"jest"},"_npmUser":{"name":"shawnbot","email":"shawnbot-npm@nym.hush.com"},"_npmVersion":"6.4.1","description":"Publish Primer projects to npm with GitHub Design Systems conventions","directories":{},"_nodeVersion":"10.15.1","dependencies":{"yargs":"^12.0.5","@octokit/rest":"^16.15.0","action-status":"^0.1.1","github-action-meta":"^0.1.2"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^24.1.0","eslint":"^5.13.0","prettier":"^1.16.4","mocked-env":"^1.2.4","eslint-plugin-github":"^1.8.1"},"_npmOperationalInternal":{"tmp":"tmp/publish_0.2.5_1549508722847_0.9393249085827249","host":"s3://npm-registry-packages"}},"1.0.0-rc.e86dfc8":{"name":"@primer/publish","version":"1.0.0-rc.e86dfc8","keywords":["primer","publish","github-actions","npm"],"author":{"name":"GitHub, Inc."},"license":"MIT","_id":"@primer/publish@1.0.0-rc.e86dfc8","maintainers":[{"name":"broccolini","email":"diana.mounter@gmail.com"},{"name":"emplums","email":"eplummer26@gmail.com"},{"name":"jonrohan","email":"yes@jonrohan.codes"},{"name":"primer-css","email":"design-systems@github.com"},{"name":"shawnbot","email":"shawnbot-npm@nym.hush.com"}],"bin":{"primer-publish":"cli.js"},"dist":{"shasum":"6150d02303bf0459e0e7a96a0aed0184e6289553","tarball":"https://registry.npmjs.org/@primer/publish/-/publish-1.0.0-rc.e86dfc8.tgz","fileCount":19,"integrity":"sha512-jF+/OvOrlnrL9dXYLE+lCRvZ9gGbMcoBlBJgxqZY5iw5do0pOmHWpvdufCns0XSHkaAqvBkyQ7hZ/jsr9usdNw==","signatures":[{"sig":"MEUCID3krsHxT9Af/ASWlKpHlK+DgxhoJ6r36OVgZ1oF+sOZAiEA2AIz+NYNuH8aOThtGwHiaLckyhAJHSfo0mJ2hrxRb2Y=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":20026,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcW6HUCRA9TVsSAnZWagAAS/kP/1cTT7xQfFWsMIJB58MU\nKi35lWhANaNIpEfRgjhoB9kjHl0izweDy/lrzUg05+k1J+IW069c4eWARr6I\na8kCDXzc4A/MHOE1veEvzp2cU2AHfqZ+9vnq2OEP53/bPXWTseghie1Z3VJh\n2tCV5D6NXDfawWIpkX1Fo52VoVmPtBlFT+v1YADQxk2I9nCsTOUKRMk5gPRh\nRd2i37GiWdnlPDio4RSbrBSGz3b3/NmUvQP5YMa73hlgPythECJG62SfFE4F\nwbxAnJf5CA0fDJI955+ZoURAn4Bo4GEXoExRtFqEFTrMtVzYg4Uo0l4yakHT\nNZnZIa65qMpXK0CDy8MWm7TZ/dguOhPRJnLUTAVIzvI6nO+WHIEGUWoxM5Q3\nQ03Qp0arqqmRvW9Hs0PjWQnAB66mg4lZ2gM/F9Jis5kESa+GFH1txHGw6WYu\nBzJ/IXjjwIpF9gmcvQnSTt7cjcNdmh7pycgC/ETgVJbxeEzo+0uoWZcYpb1S\n75lHK9jhoTdGNSVU6N0QJkE9EhmZqEnXnJQpKwszfV5PgIbU9SwQu17U7l9k\nDkuCTFvnkNQcjWUc+YoHRvx4aXo90tv6W9g5Im5jFF/fEnIZb9dGddvSl+KD\nuSnr2HMvLt1N9qu2zGsrXPIqBySWfKovcj3L3thkZCUexMTbPPiARZv4hAQv\nuy4w\r\n=ll1b\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# primer/publish\n\nThis [GitHub Action][github actions] publishes to npm with the following conventions:\n\n1. If we're on the `master` branch, the `version` field is used as-is and we just run `npm publish --access public`.\n    * After publishing a new version on the `master` branch, we tag the commit SHA with `v{version}` via the GitHub API.\n    * If the version in `package.json` is already published, we exit with a `78` code, which is Actions-speak for \"neutral\".\n1. If we're on a `release-<version>` branch, we publish a release candidate to the `next` npm dist-tag with the version in the form: `<version>-rc.<sha>`.\n    * A [status check][status checks] is created with the context `npm version` noting whether the `version` field in `package.json` matches the `<version>` portion of the branch. If it doesn't, the check's status is marked as pending.\n1. Otherwise, we publish a \"canary\" release, which has a version in the form: `0.0.0-<sha>`.\n\n## Status checks\nTwo [status checks] will be listed for this action in your checks: **publish** is the action's check, and **publish {package-name}** is a [commit status] created by the action that reports the version published and links to `unpkg.com` via \"Details\":\n\n![image](https://user-images.githubusercontent.com/113896/52375286-23368980-2a14-11e9-8974-062a3e45a846.png)\n\n## Usage\nTo use this action in your own workflow, add the following snippet to your `.github/main.workflow` file:\n\n```hcl\naction \"publish\" {\n  uses = \"primer/publish@master\"\n  secrets = [\n    \"GITHUB_TOKEN\",\n    \"NPM_AUTH_TOKEN\",\n  ]\n}\n```\n\n**You will need to provide an npm access token with publish permissions via the `NPM_AUTH_TOKEN` secret in the Actions visual editor** if you haven't already.\n\nTo avoid racking up failed publish actions, we suggest that you place this action after any linting and test actions.\n\n## npm CLI arguments\nIt's possible to pass additional arguments to `npm` via the `args` field in your workflow action. Because the `primer-publish` CLI accepts options of its own (such as `--dry-run`), you need to prefix any `npm` arguments with `--`:\n\n```diff\naction \"publish\" {\n  uses = \"primer/publish@master\"\n+  args = [\"--\", \"--registry=https://registry.your.org\"]\n```\n\n[github actions]: https://github.com/features/actions\n[commit status]: https://developer.github.com/v3/repos/statuses/\n[status checks]: https://help.github.com/articles/about-status-checks/\n","gitHead":"3aefec33fac12b263de471a09685015a71c7b77c","scripts":{"lint":"eslint *.js src","test":"jest"},"_npmUser":{"name":"shawnbot","email":"shawnbot-npm@nym.hush.com"},"_npmVersion":"6.4.1","description":"Publish Primer projects to npm with GitHub Design Systems conventions","directories":{},"_nodeVersion":"10.15.1","dependencies":{"yargs":"^12.0.5","@octokit/rest":"^16.15.0","action-status":"^0.1.1","github-action-meta":"^0.1.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^24.1.0","eslint":"^5.13.0","prettier":"^1.16.4","mocked-env":"^1.2.4","eslint-plugin-github":"^1.8.1"},"_npmOperationalInternal":{"tmp":"tmp/publish_1.0.0-rc.e86dfc8_1549509075610_0.7183057973545457","host":"s3://npm-registry-packages"}},"1.0.0-rc.2825d0b":{"name":"@primer/publish","version":"1.0.0-rc.2825d0b","keywords":["primer","publish","github-actions","npm"],"author":{"name":"GitHub, Inc."},"license":"MIT","_id":"@primer/publish@1.0.0-rc.2825d0b","maintainers":[{"name":"broccolini","email":"diana.mounter@gmail.com"},{"name":"emplums","email":"eplummer26@gmail.com"},{"name":"jonrohan","email":"yes@jonrohan.codes"},{"name":"primer-css","email":"design-systems@github.com"},{"name":"shawnbot","email":"shawnbot-npm@nym.hush.com"}],"bin":{"primer-publish":"cli.js"},"dist":{"shasum":"b62bbe6db93d94d13c530009f887d2703ba0daaa","tarball":"https://registry.npmjs.org/@primer/publish/-/publish-1.0.0-rc.2825d0b.tgz","fileCount":19,"integrity":"sha512-3/OWE47FGM48YyUkDwjjCqb4O4aejXMEYote7Hs/lPVFcg5TyD45KCMT9UZ2mP1QccWihCjd+pEcHroOvVKtzA==","signatures":[{"sig":"MEYCIQD9Qb62RM9Ay3Io7/aJsAFcDuau4Mz2QoFpoz/FncViNAIhAIlcmKzdYvdOB/0nLnB71rdEQvf4JoLQ7KebSh5vTnfG","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":20501,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcW6PYCRA9TVsSAnZWagAAacsP/3ShtayDwZ7RsYP7uZ4W\neaNmucnPao/FclnOAfZEEnaH1u3Rm9kT1lkjpuU6mYN0KMFaLlLQ89/rx4yO\nQEbWzXTiLfmbSudUO6pgo/7xt8dWNn43gQ6m12n78w9CXp8Z5JRIyr//NFb1\n9FwKkyJiQA6QLRHht+aT5Tn47mTbPG89IdEm9nq2aXdywOpnAb3A9KI2oI2h\nN2zZo4o/N8DjWAVfU87uWdkHSWwV5fOJtcPeiAHLXRgaWid8HDz363DXw+ZJ\nTsJcsbOLImNX80bTaNUJ0PlgCmfclSFFd/buJkRWH+yeW2FnDr12qRD/zS66\nkjkHN5k9+OQQBoQhtzCvuoB++swEI/3xxOuQvTGAzw+4Nr/hiMnDI2J8XpI5\nrvKu4uZmxGwM+mhvL4su/Xopn60cXKJUDTJyazOmHaK0XF2RVpxUccskgAvy\n3qKxVsqLduNsafzovoOlExMNRS/ZlcpWAJy/l7hEvXwWQxvvs58TJP6ROufN\n/4JaYEMv0b2FYQVE95lgRDulA8PYw0b8fMvn+h57wWBF3pp/YOUDpLOWT19i\n9f9NL34Qg1zmSkpld3bordvV7zIQEpCYP+ehAkXQY+UdB/bh4Jc5xES9SkSs\ntJAgWOMkjfUlCHJ6U60U9PpbQkoB9IOOhJzoCn+2wgbEt2JPUEVusz9C2sub\nSjc/\r\n=lHv1\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# primer/publish\n\nThis [GitHub Action][github actions] publishes to npm with the following conventions:\n\n1. If we're on the `master` branch, the `version` field is used as-is and we just run `npm publish --access public`.\n    * After publishing a new version on the `master` branch, we tag the commit SHA with `v{version}` via the GitHub API.\n    * If the version in `package.json` is already published, we exit with a `78` code, which is Actions-speak for \"neutral\".\n1. If we're on a `release-<version>` branch, we publish a release candidate to the `next` npm dist-tag with the version in the form: `<version>-rc.<sha>`.\n    * A [status check][status checks] is created with the context `npm version` noting whether the `version` field in `package.json` matches the `<version>` portion of the branch. If it doesn't, the check's status is marked as pending.\n1. Otherwise, we publish a \"canary\" release, which has a version in the form: `0.0.0-<sha>`.\n\n## Status checks\nDepending on the branch, a series of [statuses][status checks] will be created by this action in your checks: **publish** is the action's check, and **publish {package-name}** is a [commit status] created by the action that reports the version published and links to `unpkg.com` via \"Details\":\n\n![image](https://user-images.githubusercontent.com/113896/52375286-23368980-2a14-11e9-8974-062a3e45a846.png)\n\nIf you're on a release branch (`release-<version>`) and the `<version>` portion of the branch name doesn't match the `version` field in `package.json`, you'll get a pending status reminding you to update it:\n\n![image](https://user-images.githubusercontent.com/113896/52388530-b63ae800-2a43-11e9-92ef-14ec9459c109.png)\n\n\n## Usage\nTo use this action in your own workflow, add the following snippet to your `.github/main.workflow` file:\n\n```hcl\naction \"publish\" {\n  uses = \"primer/publish@master\"\n  secrets = [\n    \"GITHUB_TOKEN\",\n    \"NPM_AUTH_TOKEN\",\n  ]\n}\n```\n\n**You will need to provide an npm access token with publish permissions via the `NPM_AUTH_TOKEN` secret in the Actions visual editor** if you haven't already. The `GITHUB_TOKEN` secret is also required to create tags after releasing on the master branch.\n\nWe suggest that you place this action after any linting and/or testing actions to catch as many errors as possible before publishing.\n\n## npm CLI arguments\nIt's possible to pass additional arguments to `npm` via the `args` field in your workflow action. Because the `primer-publish` CLI accepts options of its own (such as `--dry-run`), you need to prefix any `npm` arguments with `--`:\n\n```diff\naction \"publish\" {\n  uses = \"primer/publish@master\"\n+  args = [\"--\", \"--registry=https://registry.your.org\"]\n```\n\n[github actions]: https://github.com/features/actions\n[commit status]: https://developer.github.com/v3/repos/statuses/\n[status checks]: https://help.github.com/articles/about-status-checks/\n","gitHead":"f39fb7bdf1b4030f46e9d0343376686d78fc19f4","scripts":{"lint":"eslint *.js src","test":"jest"},"_npmUser":{"name":"shawnbot","email":"shawnbot-npm@nym.hush.com"},"_npmVersion":"6.4.1","description":"Publish Primer projects to npm with GitHub Design Systems conventions","directories":{},"_nodeVersion":"10.15.1","dependencies":{"yargs":"^12.0.5","@octokit/rest":"^16.15.0","action-status":"^0.1.1","github-action-meta":"^0.1.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^24.1.0","eslint":"^5.13.0","prettier":"^1.16.4","mocked-env":"^1.2.4","eslint-plugin-github":"^1.8.1"},"_npmOperationalInternal":{"tmp":"tmp/publish_1.0.0-rc.2825d0b_1549509591767_0.7238621089956079","host":"s3://npm-registry-packages"}},"1.0.0-rc.2f5843b":{"name":"@primer/publish","version":"1.0.0-rc.2f5843b","keywords":["primer","publish","github-actions","npm"],"author":{"name":"GitHub, Inc."},"license":"MIT","_id":"@primer/publish@1.0.0-rc.2f5843b","maintainers":[{"name":"broccolini","email":"diana.mounter@gmail.com"},{"name":"emplums","email":"eplummer26@gmail.com"},{"name":"jonrohan","email":"yes@jonrohan.codes"},{"name":"primer-css","email":"design-systems@github.com"},{"name":"shawnbot","email":"shawnbot-npm@nym.hush.com"}],"bin":{"primer-publish":"cli.js"},"dist":{"shasum":"970ca8096106d8ed9c2d066aebedd610da1fe9d3","tarball":"https://registry.npmjs.org/@primer/publish/-/publish-1.0.0-rc.2f5843b.tgz","fileCount":19,"integrity":"sha512-gcf9OJImCMI2xgPe2Rt+r9iJzyl9XidEO8B0ZWcLWoXGieHRHqACl0N+iNC5EeLBhRyLg0XsSO9BfM2epw2SKw==","signatures":[{"sig":"MEUCIQC7NUiONAQ6jCzRS+MKNr0WpGC5uaS6o7PVJuiOQIxR8wIgYAFuqfS7bGRf5NOWYEd/YJv7vKIPIzOB9KFsLg2jqDQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":20501,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcW6SBCRA9TVsSAnZWagAASkoP/1HfObqa0N/0lly7HY7G\nqqEs8D+OrumejT9+pL3EcLbjouhf6jQ+o8RYDdFsQd00L8fDvIhGX6bNSXhc\nee51GWZSJXi9aMV29cdiqqWrQVkgZtz8uhMsZaq5eQ4YLv46gfncPSgMd1Sy\nDPKk2qGAjLzRmmIixJ7qXup4TuNsfG8ZMKekuSFNV09JYeBJBzk3EDjXeOPk\nNdOkkMcao6avBzlYG8kb634T2Jf0dz4DEbbz9sOlp/zW308FjJjG25v5rtX3\nkYgjOfBYqoXyu42Pyek8W7JE1pGYiAgQmaxHfGhYHaNyT8MCzkS33boKXlMo\nSYfQ5cj3K1Ezx3q/NKRvHFZu3NTNwwlWO5yHj2BfsucF4nMEYPvqguMrElqC\nXexT94KYyrvH2KWTi/M0F9rty3lZoNJZTWzciNnhjYSGKYV0HxrngM/e8UgU\nHP58wx3il3ZwL6F7k/rzsUlFE0tVTSAtEO0G1vvI9MKkoRTgJi+hV8I356Kv\nBm16gBKF2ZCIYJn3JalISe/Jcvs4U8OY4oHL9u95mT5TmlUONFZmL/qMU7k+\nKwem/1YQeoISoMqGee/z0sWSJiLHU2I0nnbtUB22Ffaj8jRjpNwwbhO0OSaM\nGJqlILzhchRoc/2J6mtRFZY+tHDY+bITNlXWW7vMLYi/bAN+TcqTUfOCMAsX\nnJ/F\r\n=bxs2\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# primer/publish\n\nThis [GitHub Action][github actions] publishes to npm with the following conventions:\n\n1. If we're on the `master` branch, the `version` field is used as-is and we just run `npm publish --access public`.\n    * After publishing a new version on the `master` branch, we tag the commit SHA with `v{version}` via the GitHub API.\n    * If the version in `package.json` is already published, we exit with a `78` code, which is Actions-speak for \"neutral\".\n1. If we're on a `release-<version>` branch, we publish a release candidate to the `next` npm dist-tag with the version in the form: `<version>-rc.<sha>`.\n    * A [status check][status checks] is created with the context `npm version` noting whether the `version` field in `package.json` matches the `<version>` portion of the branch. If it doesn't, the check's status is marked as pending.\n1. Otherwise, we publish a \"canary\" release, which has a version in the form: `0.0.0-<sha>`.\n\n## Status checks\nDepending on the branch, a series of [statuses][status checks] will be created by this action in your checks: **publish** is the action's check, and **publish {package-name}** is a [commit status] created by the action that reports the version published and links to `unpkg.com` via \"Details\":\n\n![image](https://user-images.githubusercontent.com/113896/52375286-23368980-2a14-11e9-8974-062a3e45a846.png)\n\nIf you're on a release branch (`release-<version>`) and the `<version>` portion of the branch name doesn't match the `version` field in `package.json`, you'll get a pending status reminding you to update it:\n\n![image](https://user-images.githubusercontent.com/113896/52388530-b63ae800-2a43-11e9-92ef-14ec9459c109.png)\n\n\n## Usage\nTo use this action in your own workflow, add the following snippet to your `.github/main.workflow` file:\n\n```hcl\naction \"publish\" {\n  uses = \"primer/publish@master\"\n  secrets = [\n    \"GITHUB_TOKEN\",\n    \"NPM_AUTH_TOKEN\",\n  ]\n}\n```\n\n**You will need to provide an npm access token with publish permissions via the `NPM_AUTH_TOKEN` secret in the Actions visual editor** if you haven't already. The `GITHUB_TOKEN` secret is also required to create tags after releasing on the master branch.\n\nWe suggest that you place this action after any linting and/or testing actions to catch as many errors as possible before publishing.\n\n## npm CLI arguments\nIt's possible to pass additional arguments to `npm` via the `args` field in your workflow action. Because the `primer-publish` CLI accepts options of its own (such as `--dry-run`), you need to prefix any `npm` arguments with `--`:\n\n```diff\naction \"publish\" {\n  uses = \"primer/publish@master\"\n+  args = [\"--\", \"--registry=https://registry.your.org\"]\n```\n\n[github actions]: https://github.com/features/actions\n[commit status]: https://developer.github.com/v3/repos/statuses/\n[status checks]: https://help.github.com/articles/about-status-checks/\n","gitHead":"2f5843b057d093b2686b1f1ad9b29537e25cb9c2","scripts":{"lint":"eslint *.js src","test":"jest"},"_npmUser":{"name":"shawnbot","email":"shawnbot-npm@nym.hush.com"},"_npmVersion":"6.4.1","description":"Publish Primer projects to npm with GitHub Design Systems conventions","directories":{},"_nodeVersion":"10.15.1","dependencies":{"yargs":"^12.0.5","@octokit/rest":"^16.15.0","action-status":"^0.1.1","github-action-meta":"^0.1.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^24.1.0","eslint":"^5.13.0","prettier":"^1.16.4","mocked-env":"^1.2.4","eslint-plugin-github":"^1.8.1"},"_npmOperationalInternal":{"tmp":"tmp/publish_1.0.0-rc.2f5843b_1549509760599_0.5260035231585691","host":"s3://npm-registry-packages"}},"1.0.0":{"name":"@primer/publish","version":"1.0.0","keywords":["primer","publish","github-actions","npm"],"author":{"name":"GitHub, Inc."},"license":"MIT","_id":"@primer/publish@1.0.0","maintainers":[{"name":"broccolini","email":"diana.mounter@gmail.com"},{"name":"emplums","email":"eplummer26@gmail.com"},{"name":"jonrohan","email":"yes@jonrohan.codes"},{"name":"primer-css","email":"design-systems@github.com"},{"name":"shawnbot","email":"shawnbot-npm@nym.hush.com"}],"bin":{"primer-publish":"cli.js"},"dist":{"shasum":"86f59410d05dafb4eeb819ea173bce5a4fd0cd96","tarball":"https://registry.npmjs.org/@primer/publish/-/publish-1.0.0.tgz","fileCount":19,"integrity":"sha512-urRqGyARGiQ2ePTmFtXhtEz9TMOKthdSppeAZ/qks96IkjQY2+Orip0oYGsH9mBn4Fafc0h22s4wClnoPIb3kQ==","signatures":[{"sig":"MEQCIAIEnvwrPF1gKna0+qTDU0Zz0XbF6cswT1MNJg3rsmxOAiAg20vHx4jfyEI3k7QUEFLqQlsZbUyUlVyEwHQGCsMebA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":20490,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcW6T2CRA9TVsSAnZWagAAPDMQAIHGb0ir/rpVnclZ3X2h\nSMQb8NvJiS9sUUnVvo57xKE720YxiKUAJNFqfJUvFkqfX3hl/tspWxg6p4pq\nhYKISAhfiK+WYarOFI7lxJHFiHjZn7MTrNGcHHL9vzWgE/lFRs4dkcz+46Gv\nJ1GvfgZkl0aaVnRuPnnCXLGedlt/XEhgVikX6BWJJJN0r9PTCUKmfYdUlgGz\niGj361GCfPKUmXctZm0qWTl9kod2E8XACBXFem1vDhMnt1MQK8CR8rCjEuCL\nHod5RgtNM4BrKEqqrm/0XrkIpL66YLElg8NTGyBVQExh6uX7gT1QIwPpSBkh\nu73TDCrhdkQZSAbsLeCOEb7ApfyE2m76I8lDSFnZX3zsKszPsXTEs1zcSHBB\n/XWNoBfBaN+8e0CWsgXWC2F86JQAoex/sCSR2HPev540zwOOnKfZjjYrlVez\nyMd0LslPAgfgw6h5xnzRK/+RWL+/uZ/XoxRiU62iiAJo2P2JK/Wq8tFCs4p7\nrc+uDmZtzjCK2Y8OFf9eW9fEfnSGFDSiVaucttY61YM5xYLWqXyDt4Cxddp0\n0Q+KHWoUGsFxykxLve/DcmCto1NnGQfqAhVsFAn8G89N9SMjGhxLIXESsArG\nudojY/SF0Qlwu7mg6hlo6FYJ1krMdOsru+X6ALzKDDXB5WYXYSdBsIbEld4d\nwRkg\r\n=1sgn\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"d4237c509c354d573b41d4ce323485fb8ccb19b9","scripts":{"lint":"eslint *.js src","test":"jest"},"_npmUser":{"name":"shawnbot","email":"shawnbot-npm@nym.hush.com"},"_npmVersion":"6.4.1","description":"Publish Primer projects to npm with GitHub Design Systems conventions","directories":{},"_nodeVersion":"10.15.1","dependencies":{"yargs":"^12.0.5","@octokit/rest":"^16.15.0","action-status":"^0.1.1","github-action-meta":"^0.1.2"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^24.1.0","eslint":"^5.13.0","prettier":"^1.16.4","mocked-env":"^1.2.4","eslint-plugin-github":"^1.8.1"},"_npmOperationalInternal":{"tmp":"tmp/publish_1.0.0_1549509877449_0.05450314447464355","host":"s3://npm-registry-packages"}},"0.0.0-3695044":{"name":"@primer/publish","version":"0.0.0-3695044","keywords":["primer","publish","github-actions","npm"],"author":{"name":"GitHub, Inc."},"license":"MIT","_id":"@primer/publish@0.0.0-3695044","maintainers":[{"name":"broccolini","email":"diana.mounter@gmail.com"},{"name":"emplums","email":"eplummer26@gmail.com"},{"name":"jonrohan","email":"yes@jonrohan.codes"},{"name":"primer-css","email":"design-systems@github.com"},{"name":"shawnbot","email":"shawnbot-npm@nym.hush.com"}],"bin":{"primer-publish":"cli.js"},"dist":{"shasum":"37cc3c5b5de5dc33aa1d1983d046456a9302c4da","tarball":"https://registry.npmjs.org/@primer/publish/-/publish-0.0.0-3695044.tgz","fileCount":19,"integrity":"sha512-2SvoOPDW4sFJzYs6gUDQk39b3wJMztwC3bIJjnQtxaWAbW6D65KO6bGOKePy31O/5IWpZq/eGmXVhTp7dfaEoQ==","signatures":[{"sig":"MEYCIQDfaic+qFBQVPqkaRqbxe0jx6ajkgSfnM1xK6GnZa1fPwIhALvQvUDQC1LcqWHoP52c4ebCggKeOAAdgjjZAYS1T5fj","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":20322,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcbcbWCRA9TVsSAnZWagAAgrQQAIPb/Ntcb//gOI6/0orr\nryANbWRwqs9lunJvLuSIHAtKaSAqQIKE+cixJKjFui5w2d0bU2Xs/OOXnhfn\ncSpw8JC6kCwQvhHte/r4jPd2HDOl5SMnukb+FBh2W+f7DbEUMb2OdmNbhIOK\n2v0ZCrCykVkMuPmNL7Xca0aCFuwyyzoiGbgkQvhd84ohQibBe5IG8rx0sQx9\nojWHPBuECYhur2RUqVBvcK5e/aAVNA+XfJ/Bh3/fnCO7AG0SPyP8ujA5fkLC\nEshSoofMy8aeERkvpDbngcuuN2suAoJhFCgnWYIx7A43CIsaVvPdyBkHaOcS\nDT99eLTANoI0hJeFoxd1xTBJO78g33qSbpWoybclXY/MtCeUSxemQTFIxyA7\nA2lQ77pTtxZKvV4VavJW1p9MgS1V354cNOQlmxvZ4KqmLmrwQCd/PYqDyvJp\nYjsoxc5JEx8HO+mOOjLx+Q9cq8D6NLznFZ377gTYTuWD3hNGL4titDZclTEd\np4vaZCz19eSeRRtrMUGP24n25s1eP/noXg6e5hCrfTx5GxTc/FtDmayR+2SY\nY48YKEjCEEyS3hu2WmdscU6Dp9i8Gsb7AzHtgkHStJumu9rlBp7zpal6ksXl\noFGLViNM/fvlp9GG7fNiZoOFOreIa9uHGnbjWPTUjDSt4Hz/BRKT2MbS89Tt\nlAGz\r\n=0Dap\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# primer/publish\n\nThis [GitHub Action][github actions] publishes to npm with the following conventions:\n\n1. If we're on the `master` branch, the `version` field is used as-is and we just run `npm publish --access public`.\n    * After publishing a new version on the `master` branch, we tag the commit SHA with `v{version}` via the GitHub API.\n    * If the version in `package.json` is already published, we exit with a `78` code, which is Actions-speak for \"neutral\".\n1. If we're on a `release-<version>` branch, we publish a release candidate to the `next` npm dist-tag with the version in the form: `<version>-rc.<sha>`.\n    * A [status check][status checks] is created with the context `npm version` noting whether the `version` field in `package.json` matches the `<version>` portion of the branch. If it doesn't, the check's status is marked as pending.\n1. Otherwise, we publish a \"canary\" release, which has a version in the form: `0.0.0-<sha>`.\n\n## Status checks\nDepending on the branch, a series of [statuses][status checks] will be created by this action in your checks: **publish** is the action's check, and **publish {package-name}** is a [commit status] created by the action that reports the version published and links to `unpkg.com` via \"Details\":\n\n![image](https://user-images.githubusercontent.com/113896/52375286-23368980-2a14-11e9-8974-062a3e45a846.png)\n\nIf you're on a release branch (`release-<version>`) and the `<version>` portion of the branch name doesn't match the `version` field in `package.json`, you'll get a pending status reminding you to update it:\n\n![image](https://user-images.githubusercontent.com/113896/52388530-b63ae800-2a43-11e9-92ef-14ec9459c109.png)\n\n\n## Usage\nTo use this action in your own workflow, add the following snippet to your `.github/main.workflow` file:\n\n```hcl\naction \"publish\" {\n  uses = \"primer/publish@master\"\n  secrets = [\n    \"GITHUB_TOKEN\",\n    \"NPM_AUTH_TOKEN\",\n  ]\n}\n```\n\n**You will need to provide an npm access token with publish permissions via the `NPM_AUTH_TOKEN` secret in the Actions visual editor** if you haven't already. The `GITHUB_TOKEN` secret is also required to create tags after releasing on the master branch.\n\nWe suggest that you place this action after any linting and/or testing actions to catch as many errors as possible before publishing.\n\n## npm CLI arguments\nIt's possible to pass additional arguments to `npm` via the `args` field in your workflow action. Because the `primer-publish` CLI accepts options of its own (such as `--dry-run`), you need to prefix any `npm` arguments with `--`:\n\n```diff\naction \"publish\" {\n  uses = \"primer/publish@master\"\n+  args = [\"--\", \"--registry=https://registry.your.org\"]\n```\n\n[github actions]: https://github.com/features/actions\n[commit status]: https://developer.github.com/v3/repos/statuses/\n[status checks]: https://help.github.com/articles/about-status-checks/\n","gitHead":"36950440da74fd2785d8ef1960f5f963e68bc046","scripts":{"lint":"eslint *.js src","test":"jest"},"_npmUser":{"name":"shawnbot","email":"shawnbot-npm@nym.hush.com"},"_npmVersion":"6.4.1","description":"Publish Primer projects to npm with GitHub Design Systems conventions","directories":{},"_nodeVersion":"10.15.1","dependencies":{"yargs":"^12.0.5","@octokit/rest":"^16.15.0","action-status":"^0.1.1","github-action-meta":"^0.1.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^24.1.0","eslint":"^5.13.0","prettier":"^1.16.4","mocked-env":"^1.2.4","eslint-plugin-github":"^1.8.1"},"_npmOperationalInternal":{"tmp":"tmp/publish_0.0.0-3695044_1550698198044_0.803417167554503","host":"s3://npm-registry-packages"}},"0.0.0-bff7454":{"name":"@primer/publish","version":"0.0.0-bff7454","keywords":["primer","publish","github-actions","npm"],"author":{"name":"GitHub, Inc."},"license":"MIT","_id":"@primer/publish@0.0.0-bff7454","maintainers":[{"name":"broccolini","email":"diana.mounter@gmail.com"},{"name":"emplums","email":"eplummer26@gmail.com"},{"name":"jonrohan","email":"yes@jonrohan.codes"},{"name":"primer-css","email":"design-systems@github.com"},{"name":"shawnbot","email":"shawnbot-npm@nym.hush.com"}],"bin":{"primer-publish":"cli.js"},"dist":{"shasum":"562faefe10e2f2b908cba984ea4ebc3537d7e76e","tarball":"https://registry.npmjs.org/@primer/publish/-/publish-0.0.0-bff7454.tgz","fileCount":19,"integrity":"sha512-WJaVBfUOkoAz6cAW4TuBqonojHmjJ1OpA90mXCdkhG/50+SzBS2GQuZHCoY80aYkHMruCd92Cmk5pkI/NHX01g==","signatures":[{"sig":"MEUCIBnYrF7nrjDTHAP7rDVyWa4N6r2bVr5RU2Y0pMxHGnpbAiEAsJ6zJhPBfRrch4e9dcf1dVfxwO9weG2V9suszpsOrZw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":20431,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc3y7MCRA9TVsSAnZWagAAcuYP/j8bxX3lt6HGebzwY7oD\nmBmN2yKBBJDeaRSifFQmL7L49xxcqIT9Pq4TbbfwpdFs4Px8oIPnTVZDaGjA\nULworQnKi5D+y3o3DxVNPATAchrzMtdvxvxHLKkDQLb5wgmWvRn8sg0cA82t\npjORnoMYSD9dXSBV5nNVYZn1agQgOXXEkLa/m4fL9NsSI3+3D1ltIovUfpbb\nH3s4EPoKHcPHg7iXbMhM0AH2v9B7gQsMCdANepIhge0R8Z+NEK5pINQU0s4W\nQeGqaJPXOdUoP4m900MZc/L/oHRM/xmzA6pvqa0wK45cfVsyiUPgMfzBUcaa\njoyQJUjals8+wGETp/EWZ1jK47eW/7nWbYm0AcdMPjRa7HMZpGohttlUy7sK\nIilwS+BsqyCadXReG6UyvWeadkzPZlFUeDHI5iIEvS01gnq3h00bjdn5/+yK\nneAsahy/SKl+oOcFMMjbRHFXxHZrgSX98ob9Qd2wr1ZOEW3hahJHk7D54Se+\nmyA3Lg86BaUGQbCG+EVFdEzprqCtt6+OPA8lHKUXNscdxwjBD3HBFtn4ZHsv\nUyFxNOIbXpGeGZjAzI+soBm0r+yCyFyQIrlvghAy7BO1j4MVjOv0q+aCxrl3\nYqm5oXthFP78E+kfTtsBsd+EidSsjmx843+Ib9pN1dehtaPtavK49IAkxcYB\nillc\r\n=ZxE9\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# primer/publish\n\nThis [GitHub Action][github actions] publishes to npm with the following conventions:\n\n1. If we're on the `master` branch, the `version` field is used as-is and we just run `npm publish --access public`.\n    * After publishing a new version on the `master` branch, we tag the commit SHA with `v{version}` via the GitHub API.\n    * If the version in `package.json` is already published, we exit with a `78` code, which is Actions-speak for \"neutral\".\n1. If we're on a `release-<version>` branch, we publish a release candidate to the `next` npm dist-tag with the version in the form: `<version>-rc.<sha>`.\n    * A [status check][status checks] is created with the context `npm version` noting whether the `version` field in `package.json` matches the `<version>` portion of the branch. If it doesn't, the check's status is marked as pending.\n1. Otherwise, we publish a \"canary\" release, which has a version in the form: `0.0.0-<sha>`.\n\n## Status checks\nDepending on the branch, a series of [statuses][status checks] will be created by this action in your checks: **publish** is the action's check, and **publish {package-name}** is a [commit status] created by the action that reports the version published and links to `unpkg.com` via \"Details\":\n\n![image](https://user-images.githubusercontent.com/113896/52375286-23368980-2a14-11e9-8974-062a3e45a846.png)\n\nIf you're on a release branch (`release-<version>`) and the `<version>` portion of the branch name doesn't match the `version` field in `package.json`, you'll get a pending status reminding you to update it:\n\n![image](https://user-images.githubusercontent.com/113896/52388530-b63ae800-2a43-11e9-92ef-14ec9459c109.png)\n\n\n## Usage\nTo use this action in your own workflow, add the following snippet to your `.github/main.workflow` file:\n\n```hcl\naction \"publish\" {\n  uses = \"primer/publish@master\"\n  secrets = [\n    \"GITHUB_TOKEN\",\n    \"NPM_AUTH_TOKEN\",\n  ]\n}\n```\n\n**You will need to provide an npm access token with publish permissions via the `NPM_AUTH_TOKEN` secret in the Actions visual editor** if you haven't already. The `GITHUB_TOKEN` secret is also required to create tags after releasing on the master branch.\n\nWe suggest that you place this action after any linting and/or testing actions to catch as many errors as possible before publishing.\n\n## npm CLI arguments\nIt's possible to pass additional arguments to `npm` via the `args` field in your workflow action. Because the `primer-publish` CLI accepts options of its own (such as `--dry-run`), you need to prefix any `npm` arguments with `--`:\n\n```diff\naction \"publish\" {\n  uses = \"primer/publish@master\"\n+  args = [\"--\", \"--registry=https://registry.your.org\"]\n```\n\n[github actions]: https://github.com/features/actions\n[commit status]: https://developer.github.com/v3/repos/statuses/\n[status checks]: https://help.github.com/articles/about-status-checks/\n","gitHead":"bff7454b00ce2cbe6f312757e5d763da0f992d24","scripts":{"lint":"eslint *.js src","test":"jest"},"_npmUser":{"name":"shawnbot","email":"shawnbot-npm@nym.hush.com"},"_npmVersion":"6.4.1","description":"Publish Primer projects to npm with GitHub Design Systems conventions","directories":{},"_nodeVersion":"10.15.3","dependencies":{"yargs":"^12.0.5","@octokit/rest":"^16.15.0","action-status":"^0.1.1","github-action-meta":"^0.1.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^24.1.0","eslint":"^5.13.0","prettier":"^1.16.4","mocked-env":"^1.2.4","eslint-plugin-github":"^1.8.1"},"_npmOperationalInternal":{"tmp":"tmp/publish_0.0.0-bff7454_1558130379366_0.6579157197518999","host":"s3://npm-registry-packages"}},"0.0.0-f0be813":{"name":"@primer/publish","version":"0.0.0-f0be813","keywords":["primer","publish","github-actions","npm"],"author":{"name":"GitHub, Inc."},"license":"MIT","_id":"@primer/publish@0.0.0-f0be813","maintainers":[{"name":"broccolini","email":"diana.mounter@gmail.com"},{"name":"emplums","email":"eplummer26@gmail.com"},{"name":"jonrohan","email":"yes@jonrohan.codes"},{"name":"primer-css","email":"design-systems@github.com"},{"name":"shawnbot","email":"shawnbot-npm@nym.hush.com"}],"bin":{"primer-publish":"cli.js"},"dist":{"shasum":"f9131b9c96aeecf84e9bbb9578b250ad4e7a50ff","tarball":"https://registry.npmjs.org/@primer/publish/-/publish-0.0.0-f0be813.tgz","fileCount":19,"integrity":"sha512-VHFFn09FaSYArhtHbiR8/ohad59V1jyw/gYmPrNx8TdbcWmtQY8hkFqBjQWS2Rp+PyrZTykJAP97e8KtoMu9ig==","signatures":[{"sig":"MEUCIE86DBge4j+DLHJSgQlBAyORBlWQ5gaxAIE4BYpQzceIAiEAkZ6Yj2wV0vNEKgBS4vrYyQk63jhwWiWTBBqG7kAEXxY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":20285,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc3zSwCRA9TVsSAnZWagAAJi4P/2LEp2juG8wkO1yuFPK1\n+qh8A7XVRC5nbpEAN3ktNHb8hIJti3x2vOFyUsvTg9H/bpd0XVMQ6nBf6zMj\nlVLAWI42D8gevpFGW1JFz33QpI4iqZ9+lIoLGRYCdRvXfrjFbK4iiBnCXqf/\nR6ZDiAKcvgeotNeeigQT/FkAnMXEK9JBdH9N4yBoHQrVeLt/cI+e1uzU6kfo\nK3l9Uc25PzqRS60GHewU281KXyn9n0dONhPegaSLw8x5bldVEPDFvm7cNug1\nmkrqV2pUmhgyQA5h3lCkG5/Dt9pnKCrLl4Ve1suG6fTxvrtMKK0TNj5RBk3+\ndw/B7b2E5DYhtBm0qh0XSuXWHEr4DNH+OHT9VyB8jenint1yThCK5g6to/eu\n9k6ZQhB8bt/9YwUqbxsJGlInTitCWTIQNmwS/4hezn2pzo8gxFmWF+4KT3Ne\n8nze2xbcJh7qB/nAj7jWPi5O3WrqifBu92qwHC63IdTp5I5ouO65K/q954Di\ndlLcOnmqtmky1e0eN66nwiazZUeFGgHU0X8T0SNLNAQsYubQRWVS7cVUvQOX\nG9gO1eo83gyStIhjEQFwpaHqpuPRQ7s2eXElnN6hyMTLr1uJ74rPR8sdQDr/\nPwAGOFir7jt3Kf7vRlwm+SgDB2Osvp0D8efIqmNXGKlQE3JGy77YIuU9BGXt\n25DA\r\n=iwhY\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# primer/publish\n\nThis [GitHub Action][github actions] publishes to npm with the following conventions:\n\n1. If we're on the `master` branch, the `version` field is used as-is and we just run `npm publish --access public`.\n    * After publishing a new version on the `master` branch, we tag the commit SHA with `v{version}` via the GitHub API.\n    * If the version in `package.json` is already published, we exit with a `78` code, which is Actions-speak for \"neutral\".\n1. If we're on a `release-<version>` branch, we publish a release candidate to the `next` npm dist-tag with the version in the form: `<version>-rc.<sha>`.\n    * A [status check][status checks] is created with the context `npm version` noting whether the `version` field in `package.json` matches the `<version>` portion of the branch. If it doesn't, the check's status is marked as pending.\n1. Otherwise, we publish a \"canary\" release, which has a version in the form: `0.0.0-<sha>`.\n\n## Status checks\nDepending on the branch, a series of [statuses][status checks] will be created by this action in your checks: **publish** is the action's check, and **publish {package-name}** is a [commit status] created by the action that reports the version published and links to `unpkg.com` via \"Details\":\n\n![image](https://user-images.githubusercontent.com/113896/52375286-23368980-2a14-11e9-8974-062a3e45a846.png)\n\nIf you're on a release branch (`release-<version>`) and the `<version>` portion of the branch name doesn't match the `version` field in `package.json`, you'll get a pending status reminding you to update it:\n\n![image](https://user-images.githubusercontent.com/113896/52388530-b63ae800-2a43-11e9-92ef-14ec9459c109.png)\n\n\n## Usage\nTo use this action in your own workflow, add the following snippet to your `.github/main.workflow` file:\n\n```hcl\naction \"publish\" {\n  uses = \"primer/publish@master\"\n  secrets = [\n    \"GITHUB_TOKEN\",\n    \"NPM_AUTH_TOKEN\",\n  ]\n}\n```\n\n**You will need to provide an npm access token with publish permissions via the `NPM_AUTH_TOKEN` secret in the Actions visual editor** if you haven't already. The `GITHUB_TOKEN` secret is also required to create tags after releasing on the master branch.\n\nWe suggest that you place this action after any linting and/or testing actions to catch as many errors as possible before publishing.\n\n## npm CLI arguments\nIt's possible to pass additional arguments to `npm` via the `args` field in your workflow action. Because the `primer-publish` CLI accepts options of its own (such as `--dry-run`), you need to prefix any `npm` arguments with `--`:\n\n```diff\naction \"publish\" {\n  uses = \"primer/publish@master\"\n+  args = [\"--\", \"--registry=https://registry.your.org\"]\n```\n\n[github actions]: https://github.com/features/actions\n[commit status]: https://developer.github.com/v3/repos/statuses/\n[status checks]: https://help.github.com/articles/about-status-checks/\n","gitHead":"f0be8131d0eb6f24f7f7d83825a766bfc5bcd1ca","scripts":{"lint":"eslint *.js src","test":"jest"},"_npmUser":{"name":"shawnbot","email":"shawnbot-npm@nym.hush.com"},"_npmVersion":"6.4.1","description":"Publish Primer projects to npm with GitHub Design Systems conventions","directories":{},"_nodeVersion":"10.15.3","dependencies":{"yargs":"^12.0.5","@octokit/rest":"^16.15.0","action-status":"^0.1.1","github-action-meta":"^0.1.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^24.1.0","eslint":"^5.13.0","prettier":"^1.16.4","mocked-env":"^1.2.4","eslint-plugin-github":"^1.8.1"},"_npmOperationalInternal":{"tmp":"tmp/publish_0.0.0-f0be813_1558131887422_0.9363467280084539","host":"s3://npm-registry-packages"}},"0.0.0-6d6071d":{"name":"@primer/publish","version":"0.0.0-6d6071d","keywords":["primer","publish","github-actions","npm"],"author":{"name":"GitHub, Inc."},"license":"MIT","_id":"@primer/publish@0.0.0-6d6071d","maintainers":[{"name":"broccolini","email":"diana.mounter@gmail.com"},{"name":"emplums","email":"eplummer26@gmail.com"},{"name":"jonrohan","email":"yes@jonrohan.codes"},{"name":"primer-css","email":"design-systems@github.com"},{"name":"shawnbot","email":"shawnbot-npm@nym.hush.com"}],"bin":{"primer-publish":"cli.js"},"dist":{"shasum":"89bf1d91a807bf4f2cb3d3a2b590ec12e76bbd1e","tarball":"https://registry.npmjs.org/@primer/publish/-/publish-0.0.0-6d6071d.tgz","fileCount":19,"integrity":"sha512-V4UsLq9es3upiXPuPPGXt9uhmHuRfBlGtwou7FQGELZKOGlpQu4RQtU0qu0/ghjTriImWj31QUYyy7+PwLwm9g==","signatures":[{"sig":"MEUCIE9bFW2XvwaQneP4ZB4v0pgrDj8JhBQtzMSD+7lkjJ2vAiEAvcadNDyqs4Q0UORbFoozqzhLCGznqPft4mB667LZ2xQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":20641,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc30TTCRA9TVsSAnZWagAA3bIP/jyk7aaOD7M8WtTuK4iY\nSO8ginv6sm1Y7NVMJ+sQaTlN2noQ6qwrflB+eDyekG0RSS3KMy2A+Tq4gUcw\nRE9ui6RuUFw5diVrKf+EXec/W7Zxm4a93gwnCLOdLf2+iDXGxX2TZ3OtFc1Y\nOzpVKyJs0l4+XmLusBi9a2NAd1KQK5j6ywb0zV2OfWTR5frp9ZorvqjDXAwe\nieCpPPEXxF7Q2I//90K184XwoO22DaQ53r+wIL3SJhzLDKVKoj1ZUcjcEpDj\nSrLADoiS7xLrcMfDJaK5u1xhL+glVJZzacJ/USgwvv67AS8nIaHncOD+VoLh\nrJ1zC7aUyKfosP/VSEtiHpXUiSmWYdB6oajCbKQZS1qjzHpm8H2jSTtRR0oU\nKGa7YJw1pP4Sfgc9s3pSm/CBzAxNJruBbrYAXq5srC7wRHNqED4FDLLH/4AQ\n1BPYmutwwkfR8NkgVWow7QYYvOb7m3iP3BK2aYdDggXNI9ThW1KeQ62wpxpJ\nhcn853oDwKhtqDCHzYWEXfWdz0ta8WYO4BSuifqOUNlIagVQbtDEPigGEPsz\ncJznxRWH8EmTMH8Aw5SG8hThZcWIIEDpO9s+ozP8XYkTiHKdd9RslBSeJXwb\nom++u0IAPPJ2Ec5snRrdm/TdxStP6bDwSx3qbVac1RL8M/7+zTrtc3NwmEaD\nk3vU\r\n=ZMed\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# primer/publish\n\nThis [GitHub Action][github actions] publishes to npm with the following conventions:\n\n1. If we're on the `master` branch, the `version` field is used as-is and we just run `npm publish --access public`.\n    * After publishing a new version on the `master` branch, we tag the commit SHA with `v{version}` via the GitHub API.\n    * If the version in `package.json` is already published, we exit with a `78` code, which is Actions-speak for \"neutral\".\n1. If we're on a `release-<version>` branch, we publish a release candidate to the `next` npm dist-tag with the version in the form: `<version>-rc.<sha>`.\n    * A [status check][status checks] is created with the context `npm version` noting whether the `version` field in `package.json` matches the `<version>` portion of the branch. If it doesn't, the check's status is marked as pending.\n1. Otherwise, we publish a \"canary\" release, which has a version in the form: `0.0.0-<sha>`.\n\n## Status checks\nDepending on the branch, a series of [statuses][status checks] will be created by this action in your checks: **publish** is the action's check, and **publish {package-name}** is a [commit status] created by the action that reports the version published and links to `unpkg.com` via \"Details\":\n\n![image](https://user-images.githubusercontent.com/113896/52375286-23368980-2a14-11e9-8974-062a3e45a846.png)\n\nIf you're on a release branch (`release-<version>`) and the `<version>` portion of the branch name doesn't match the `version` field in `package.json`, you'll get a pending status reminding you to update it:\n\n![image](https://user-images.githubusercontent.com/113896/52388530-b63ae800-2a43-11e9-92ef-14ec9459c109.png)\n\n\n## Usage\nTo use this action in your own workflow, add the following snippet to your `.github/main.workflow` file:\n\n```hcl\naction \"publish\" {\n  uses = \"primer/publish@master\"\n  secrets = [\n    \"GITHUB_TOKEN\",\n    \"NPM_AUTH_TOKEN\",\n  ]\n}\n```\n\n**You will need to provide an npm access token with publish permissions via the `NPM_AUTH_TOKEN` secret in the Actions visual editor** if you haven't already. The `GITHUB_TOKEN` secret is also required to create tags after releasing on the master branch.\n\nWe suggest that you place this action after any linting and/or testing actions to catch as many errors as possible before publishing.\n\n## npm CLI arguments\nIt's possible to pass additional arguments to `npm` via the `args` field in your workflow action. Because the `primer-publish` CLI accepts options of its own (such as `--dry-run`), you need to prefix any `npm` arguments with `--`:\n\n```diff\naction \"publish\" {\n  uses = \"primer/publish@master\"\n+  args = [\"--\", \"--registry=https://registry.your.org\"]\n```\n\n[github actions]: https://github.com/features/actions\n[commit status]: https://developer.github.com/v3/repos/statuses/\n[status checks]: https://help.github.com/articles/about-status-checks/\n","gitHead":"6d6071de3828d603039bc09e110e9b9a6a0db872","scripts":{"lint":"eslint *.js src","test":"jest"},"_npmUser":{"name":"emplums","email":"eplummer26@gmail.com"},"_npmVersion":"6.4.1","description":"Publish Primer projects to npm with GitHub Design Systems conventions","directories":{},"_nodeVersion":"10.15.3","dependencies":{"yargs":"^12.0.5","@octokit/rest":"^16.15.0","action-status":"^0.1.1","github-action-meta":"^0.1.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^24.1.0","eslint":"^5.13.0","prettier":"^1.16.4","mocked-env":"^1.2.4","eslint-plugin-github":"^1.8.1"},"_npmOperationalInternal":{"tmp":"tmp/publish_0.0.0-6d6071d_1558136018939_0.7552018784968579","host":"s3://npm-registry-packages"}},"0.0.0-2569a6e":{"name":"@primer/publish","version":"0.0.0-2569a6e","keywords":["primer","publish","github-actions","npm"],"author":{"name":"GitHub, Inc."},"license":"MIT","_id":"@primer/publish@0.0.0-2569a6e","maintainers":[{"name":"broccolini","email":"diana.mounter@gmail.com"},{"name":"emplums","email":"eplummer26@gmail.com"},{"name":"jonrohan","email":"yes@jonrohan.codes"},{"name":"primer-css","email":"design-systems@github.com"},{"name":"shawnbot","email":"shawnbot-npm@nym.hush.com"}],"bin":{"primer-publish":"cli.js"},"dist":{"shasum":"b647c2d9fd45802d4aafd3932825421febbc350a","tarball":"https://registry.npmjs.org/@primer/publish/-/publish-0.0.0-2569a6e.tgz","fileCount":19,"integrity":"sha512-sJSuYg9rME4JoBiXu91HJ9qZdCBdt1ENKjpu+fn0ri9N4vjh15F75DnIF0kIou1cu9jAJXiFt1lyllAYn9w9Iw==","signatures":[{"sig":"MEYCIQCQIDyC1CYMNWZItmfeRuov5i13wZnWvimPUD7VsF54zgIhAPHxfOmlL89mhSaw4UPfLeq4lO10UhS+WFvrPJFjN75S","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":20640,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc30cQCRA9TVsSAnZWagAAcmsP/AseXfRIpBVAHZlFSQ7+\nNH186jsh8MyZXmz4eRPA8NtabiszFFMdv4QttzhhiIk8rtD6xRLilaVDanCi\n+c0MNhK/HinhdinXF9Dr/Cnfj0I82LB0KIz0QREKwVzy6Em5Ffd5VVNACvEp\n3GkjGWiU/8FlklpEELub0Q3I7lQeV8lDAyhYQWJF32jxs7RlsQzVkYPOQIok\nuzcBhRRC3gYtFNt/KPJFx8/BRM0vb3PNt9IfbPEFSeFnT9oUzzX0LQvz8ZGQ\nt0ZbKxXLinHjv0yxyQh23hpDWIKTnmGKETHoHgTUQ0YioLv4e39P/IOUTOX5\n/J/vBMngJRW5uctp+x9OY09S9nqbGHgySIXE5WSkC9elTENnSuOpiokRlpJm\nWSdCS/HZS5iBfch8xnVkNdFq4QjoO+ZWap5KzYLenvEJNbbTXSQhG5eDrFcC\nUl9qfjJtwkw3vXqt9YckAaox4m6FMA3ekfaGo5DGxkOucg+HGkQx5dNzvpQo\npuf98z7VmmW/Iyb1Mm4VDKCmh9hNj3uwvU/+780H9P+YWsEtiQO4srJyHf/v\nVaM8AdsW/xlOANpd/BhWNV72SFU7d2UYgOT9+nYUPjdx2WZqxwmGzcaDc8bo\nwlMT/ZwFOjyt2M3Nsz6wJQBamP7xCNalljXfrfqZGf5B53o/57XY+s58NEzY\nO+aa\r\n=1A68\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# primer/publish\n\nThis [GitHub Action][github actions] publishes to npm with the following conventions:\n\n1. If we're on the `master` branch, the `version` field is used as-is and we just run `npm publish --access public`.\n    * After publishing a new version on the `master` branch, we tag the commit SHA with `v{version}` via the GitHub API.\n    * If the version in `package.json` is already published, we exit with a `78` code, which is Actions-speak for \"neutral\".\n1. If we're on a `release-<version>` branch, we publish a release candidate to the `next` npm dist-tag with the version in the form: `<version>-rc.<sha>`.\n    * A [status check][status checks] is created with the context `npm version` noting whether the `version` field in `package.json` matches the `<version>` portion of the branch. If it doesn't, the check's status is marked as pending.\n1. Otherwise, we publish a \"canary\" release, which has a version in the form: `0.0.0-<sha>`.\n\n## Status checks\nDepending on the branch, a series of [statuses][status checks] will be created by this action in your checks: **publish** is the action's check, and **publish {package-name}** is a [commit status] created by the action that reports the version published and links to `unpkg.com` via \"Details\":\n\n![image](https://user-images.githubusercontent.com/113896/52375286-23368980-2a14-11e9-8974-062a3e45a846.png)\n\nIf you're on a release branch (`release-<version>`) and the `<version>` portion of the branch name doesn't match the `version` field in `package.json`, you'll get a pending status reminding you to update it:\n\n![image](https://user-images.githubusercontent.com/113896/52388530-b63ae800-2a43-11e9-92ef-14ec9459c109.png)\n\n\n## Usage\nTo use this action in your own workflow, add the following snippet to your `.github/main.workflow` file:\n\n```hcl\naction \"publish\" {\n  uses = \"primer/publish@master\"\n  secrets = [\n    \"GITHUB_TOKEN\",\n    \"NPM_AUTH_TOKEN\",\n  ]\n}\n```\n\n**You will need to provide an npm access token with publish permissions via the `NPM_AUTH_TOKEN` secret in the Actions visual editor** if you haven't already. The `GITHUB_TOKEN` secret is also required to create tags after releasing on the master branch.\n\nWe suggest that you place this action after any linting and/or testing actions to catch as many errors as possible before publishing.\n\n## npm CLI arguments\nIt's possible to pass additional arguments to `npm` via the `args` field in your workflow action. Because the `primer-publish` CLI accepts options of its own (such as `--dry-run`), you need to prefix any `npm` arguments with `--`:\n\n```diff\naction \"publish\" {\n  uses = \"primer/publish@master\"\n+  args = [\"--\", \"--registry=https://registry.your.org\"]\n```\n\n[github actions]: https://github.com/features/actions\n[commit status]: https://developer.github.com/v3/repos/statuses/\n[status checks]: https://help.github.com/articles/about-status-checks/\n","gitHead":"2569a6eef4373bacdd8f78916083d63bf8ad7340","scripts":{"lint":"eslint *.js src","test":"jest"},"_npmUser":{"name":"emplums","email":"eplummer26@gmail.com"},"_npmVersion":"6.4.1","description":"Publish Primer projects to npm with GitHub Design Systems conventions","directories":{},"_nodeVersion":"10.15.3","dependencies":{"yargs":"^12.0.5","@octokit/rest":"^16.15.0","action-status":"^0.1.1","github-action-meta":"^0.1.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^24.1.0","eslint":"^5.13.0","prettier":"^1.16.4","mocked-env":"^1.2.4","eslint-plugin-github":"^1.8.1"},"_npmOperationalInternal":{"tmp":"tmp/publish_0.0.0-2569a6e_1558136591785_0.37651447945808925","host":"s3://npm-registry-packages"}},"0.0.0-6015abd":{"name":"@primer/publish","version":"0.0.0-6015abd","keywords":["primer","publish","github-actions","npm"],"author":{"name":"GitHub, Inc."},"license":"MIT","_id":"@primer/publish@0.0.0-6015abd","maintainers":[{"name":"broccolini","email":"diana.mounter@gmail.com"},{"name":"emplums","email":"eplummer26@gmail.com"},{"name":"jonrohan","email":"yes@jonrohan.codes"},{"name":"primer-css","email":"design-systems@github.com"},{"name":"shawnbot","email":"shawnbot-npm@nym.hush.com"}],"bin":{"primer-publish":"cli.js"},"dist":{"shasum":"760b0bfb13a4e0eda7bf5951c07a12ca2ac3f73c","tarball":"https://registry.npmjs.org/@primer/publish/-/publish-0.0.0-6015abd.tgz","fileCount":19,"integrity":"sha512-pvCSp/1abS5EPkhjxPfUWHIX+hDYa1CGnQjAJflOgVlIhsBT04AfARtDCqtgiHPhr6i8zABcEvbnbSuQNW51QQ==","signatures":[{"sig":"MEUCIQCArm9dVr8A+sb8k8aNunC85W7zke5uJijV36NJPvKKGAIgaOsobcO28Jd5gFG8ulh2JZyjXZKoPD+bPCWjv3LhgLE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":20651,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc30hPCRA9TVsSAnZWagAA+NAP/jwCP6HUOnt4iRCxZAfY\n78L2QQUl6NfyWONkvSvx/R0r1AP4blWv14gVdC3kSTpr2yXEFaeNWvwonIdI\nk6gzXSJ/mSvlr8Kkcnq/9zWWNOV0UNdoX3Qu4SlarFt2061jyTmJEMsC+fhV\neu/vcGMVLFk3h5qiMipcjmnVnH49RS8KWj6bv4rvkF4TuRReI3JZA8hGaQlH\nFDxy5WJ1R28HqtveXXFR7CIr6b411+vGD+Kkuy0eyvDkx/A0FKIGd+JrKQp1\n0fe+w6bwAxzJmXYjuKEKcu0eqJQsYtGSaVbbY7PsVuCa6dtsjjiKwkzgtUeb\ngqCm03N4HqD3+6EHuBa+Gh2imoWK+rTNJYC6+dyrTkXc+OS3E3uEKiGI6YPL\nnOfCz69ZtCqatulIBtHaICyoO1yM6Ayns9E3wRr6tOKrFbUK699oZhk0438f\n1rWM0TqB2ozw9XQYx6CAu6Yuxb57z8JTLhDJYUIr5dYw3Kv/XjvZ/YFUtU/k\nPhtxxHqwbB3MulqWl1OrNYRXTE6SFsf90HPVsbdFw2q0OTaWnKrZp1F+FXdY\nkDIF/ESkyz1RL1loNlhJIwl+cOrBC99oWsNVj8hD6sc+IYwH75S+N6FmdaNU\n3+4BmsvhjYxxmd3m3dae32Ip/I364cm6K6cplD6h5ZnmYNAIsccu17C39Ic2\nMlkC\r\n=Az4O\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# primer/publish\n\nThis [GitHub Action][github actions] publishes to npm with the following conventions:\n\n1. If we're on the `master` branch, the `version` field is used as-is and we just run `npm publish --access public`.\n    * After publishing a new version on the `master` branch, we tag the commit SHA with `v{version}` via the GitHub API.\n    * If the version in `package.json` is already published, we exit with a `78` code, which is Actions-speak for \"neutral\".\n1. If we're on a `release-<version>` branch, we publish a release candidate to the `next` npm dist-tag with the version in the form: `<version>-rc.<sha>`.\n    * A [status check][status checks] is created with the context `npm version` noting whether the `version` field in `package.json` matches the `<version>` portion of the branch. If it doesn't, the check's status is marked as pending.\n1. Otherwise, we publish a \"canary\" release, which has a version in the form: `0.0.0-<sha>`.\n\n## Status checks\nDepending on the branch, a series of [statuses][status checks] will be created by this action in your checks: **publish** is the action's check, and **publish {package-name}** is a [commit status] created by the action that reports the version published and links to `unpkg.com` via \"Details\":\n\n![image](https://user-images.githubusercontent.com/113896/52375286-23368980-2a14-11e9-8974-062a3e45a846.png)\n\nIf you're on a release branch (`release-<version>`) and the `<version>` portion of the branch name doesn't match the `version` field in `package.json`, you'll get a pending status reminding you to update it:\n\n![image](https://user-images.githubusercontent.com/113896/52388530-b63ae800-2a43-11e9-92ef-14ec9459c109.png)\n\n\n## Usage\nTo use this action in your own workflow, add the following snippet to your `.github/main.workflow` file:\n\n```hcl\naction \"publish\" {\n  uses = \"primer/publish@master\"\n  secrets = [\n    \"GITHUB_TOKEN\",\n    \"NPM_AUTH_TOKEN\",\n  ]\n}\n```\n\n**You will need to provide an npm access token with publish permissions via the `NPM_AUTH_TOKEN` secret in the Actions visual editor** if you haven't already. The `GITHUB_TOKEN` secret is also required to create tags after releasing on the master branch.\n\nWe suggest that you place this action after any linting and/or testing actions to catch as many errors as possible before publishing.\n\n## npm CLI arguments\nIt's possible to pass additional arguments to `npm` via the `args` field in your workflow action. Because the `primer-publish` CLI accepts options of its own (such as `--dry-run`), you need to prefix any `npm` arguments with `--`:\n\n```diff\naction \"publish\" {\n  uses = \"primer/publish@master\"\n+  args = [\"--\", \"--registry=https://registry.your.org\"]\n```\n\n[github actions]: https://github.com/features/actions\n[commit status]: https://developer.github.com/v3/repos/statuses/\n[status checks]: https://help.github.com/articles/about-status-checks/\n","gitHead":"6015abd0a9520d56f4abdf991dcbcc8d62169599","scripts":{"lint":"eslint *.js src","test":"jest"},"_npmUser":{"name":"emplums","email":"eplummer26@gmail.com"},"_npmVersion":"6.4.1","description":"Publish Primer projects to npm with GitHub Design Systems conventions","directories":{},"_nodeVersion":"10.15.3","dependencies":{"yargs":"^12.0.5","@octokit/rest":"^16.15.0","action-status":"^0.1.1","github-action-meta":"^0.1.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^24.1.0","eslint":"^5.13.0","prettier":"^1.16.4","mocked-env":"^1.2.4","eslint-plugin-github":"^1.8.1"},"_npmOperationalInternal":{"tmp":"tmp/publish_0.0.0-6015abd_1558136911001_0.5706696143072088","host":"s3://npm-registry-packages"}},"0.0.0-1546dea":{"name":"@primer/publish","version":"0.0.0-1546dea","keywords":["primer","publish","github-actions","npm"],"author":{"name":"GitHub, Inc."},"license":"MIT","_id":"@primer/publish@0.0.0-1546dea","maintainers":[{"name":"broccolini","email":"diana.mounter@gmail.com"},{"name":"emplums","email":"eplummer26@gmail.com"},{"name":"jonrohan","email":"yes@jonrohan.codes"},{"name":"primer-css","email":"design-systems@github.com"},{"name":"shawnbot","email":"shawnbot-npm@nym.hush.com"}],"bin":{"primer-publish":"cli.js"},"dist":{"shasum":"d1e97dd9e452525645264c9c42c3bfdaa6e6b629","tarball":"https://registry.npmjs.org/@primer/publish/-/publish-0.0.0-1546dea.tgz","fileCount":20,"integrity":"sha512-cI/lJXSN/alTP8zWZZW5s5V9nkiB/E3YDPVBjnensiKVpiWCJhlMU4KJwPZC+0Tv+k9Ve/ZUc/CENolxzvU0LQ==","signatures":[{"sig":"MEQCIEBl3B+EPiIMdDt+FPr6GKm5K9D9K8PnmFmtnnFgZDnfAiAwlR3AsTwaThYh6uPrU21mQesEEGANxW0bg0VDy7BgmA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":23679,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc7u8ECRA9TVsSAnZWagAAT28P/1nxCPUCyvxXcSrLKSZ3\n1efepxT2m3YAQuf7kQBuN0awHe78o6ZMo+Uhb7q1J+triY4JzKTn0iWS5GbP\njEkIISmnqXSKBAwgiiOSeXm2UIGyG3O2HKXzTafX0CtAuqbEHMxJLPcmY2Iy\nSUOIGYuHKeDoVXOZabxiCBIWERX1PCMiODTh73lajHTPA0ZxlaBYLhJmAl2x\nXwGg830qmcjXHclR9iNpQu1D4X/B71AeOvAwGbQtL1eIaEiPepyBmu6QLeib\nRic7tkPJDh75+kPdAk71CKNfUC24SpAmze1SwmrpxelcvMNF5WQCybNkDe5X\nbj3io/E5/7bFFvScPqD2lDnydxeUOZkjrdRWOgECDXsmSzo/aZ+iGJHV4VQQ\nDYZ55GDAYdeJxdLtXITHa+DUCrM4NQx8It1eR0bZrRZZRe3N8+A7dovG6VXu\n7FJE3uZjc+lIU3bEQ46RqMpSLgvJqbphePP/5ydw88ad9e4A6zXLIVeTkeNy\nU+CNPe1bwvLlUVG5n+gGeyqZFydkxeu0y3REogdqriVwswiXlwSF50NQZ3Ao\nDvpADZ7YgMMPqBq+hv2cG+/xai7gOS9A0iXdpIvPNGdkbjTyyBB4Gx48XXaQ\nqJ/KtJV2iVF2zeedYRAs/62cxobzeKIatzUp3IU0VfRbuG7KTw2ufK+ZqZ9B\ncvpp\r\n=G+PG\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# primer/publish\n\nThis [GitHub Action][github actions] publishes to npm with the following conventions:\n\n1. If we're on the `master` branch, the `version` field is used as-is and we just run `npm publish --access public`.\n    * After publishing a new version on the `master` branch, we tag the commit SHA with `v{version}` via the GitHub API.\n    * If the version in `package.json` is already published, we exit with a `78` code, which is Actions-speak for \"neutral\".\n1. If we're on a `release-<version>` branch, we publish a release candidate to the `next` npm dist-tag with the version in the form: `<version>-rc.<sha>`.\n    * A [status check][status checks] is created with the context `npm version` noting whether the `version` field in `package.json` matches the `<version>` portion of the branch. If it doesn't, the check's status is marked as pending.\n1. Otherwise, we publish a \"canary\" release, which has a version in the form: `0.0.0-<sha>`.\n\n## Status checks\nDepending on the branch, a series of [statuses][status checks] will be created by this action in your checks: **publish** is the action's check, and **publish {package-name}** is a [commit status] created by the action that reports the version published and links to `unpkg.com` via \"Details\":\n\n![image](https://user-images.githubusercontent.com/113896/52375286-23368980-2a14-11e9-8974-062a3e45a846.png)\n\nIf you're on a release branch (`release-<version>`) and the `<version>` portion of the branch name doesn't match the `version` field in `package.json`, you'll get a pending status reminding you to update it:\n\n![image](https://user-images.githubusercontent.com/113896/52388530-b63ae800-2a43-11e9-92ef-14ec9459c109.png)\n\n\n## Usage\nTo use this action in your own workflow, add the following snippet to your `.github/main.workflow` file:\n\n```hcl\naction \"publish\" {\n  uses = \"primer/publish@master\"\n  secrets = [\n    \"GITHUB_TOKEN\",\n    \"NPM_AUTH_TOKEN\",\n  ]\n}\n```\n\n**You will need to provide an npm access token with publish permissions via the `NPM_AUTH_TOKEN` secret in the Actions visual editor** if you haven't already. The `GITHUB_TOKEN` secret is also required to create tags after releasing on the master branch.\n\nWe suggest that you place this action after any linting and/or testing actions to catch as many errors as possible before publishing.\n\n## npm CLI arguments\nIt's possible to pass additional arguments to `npm` via the `args` field in your workflow action. Because the `primer-publish` CLI accepts options of its own (such as `--dry-run`), you need to prefix any `npm` arguments with `--`:\n\n```diff\naction \"publish\" {\n  uses = \"primer/publish@master\"\n+  args = [\"--\", \"--registry=https://registry.your.org\"]\n```\n\n[github actions]: https://github.com/features/actions\n[commit status]: https://developer.github.com/v3/repos/statuses/\n[status checks]: https://help.github.com/articles/about-status-checks/\n","gitHead":"1546dea094b2ab573e6eec9f468d44f24334dfac","scripts":{"lint":"eslint *.js src","test":"jest"},"_npmUser":{"name":"emplums","email":"eplummer26@gmail.com"},"_npmVersion":"6.9.0","description":"Publish Primer projects to npm with GitHub Design Systems conventions","directories":{},"_nodeVersion":"10.16.0","dependencies":{"yargs":"^12.0.5","@octokit/rest":"^16.15.0","action-status":"^0.1.1","github-action-meta":"^0.1.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^24.1.0","eslint":"^5.13.0","prettier":"^1.16.4","mocked-env":"^1.2.4","eslint-plugin-github":"^1.8.1"},"_npmOperationalInternal":{"tmp":"tmp/publish_0.0.0-1546dea_1559162627911_0.9263874076469427","host":"s3://npm-registry-packages"}},"0.0.0-9d922d6":{"name":"@primer/publish","version":"0.0.0-9d922d6","keywords":["primer","publish","github-actions","npm"],"author":{"name":"GitHub, Inc."},"license":"MIT","_id":"@primer/publish@0.0.0-9d922d6","maintainers":[{"name":"broccolini","email":"diana.mounter@gmail.com"},{"name":"emplums","email":"eplummer26@gmail.com"},{"name":"jonrohan","email":"yes@jonrohan.codes"},{"name":"primer-css","email":"design-systems@github.com"},{"name":"shawnbot","email":"shawnbot-npm@nym.hush.com"}],"bin":{"primer-publish":"cli.js"},"dist":{"shasum":"4eab49f89efb9b802c99565851bdc0a310d9a652","tarball":"https://registry.npmjs.org/@primer/publish/-/publish-0.0.0-9d922d6.tgz","fileCount":20,"integrity":"sha512-60dEaQHoWa4EJROZTqdg4m1PSYQHo8AcwxRJzxbqBEBSTmsBt17+Pn1kUS/lzjhdHmTmka/5tJmT2trUxfHVJQ==","signatures":[{"sig":"MEYCIQCqSdj3Tvm6Ml83l8giSSTfuH9alta3JLXW56cbKVMcQQIhAOYftB4LvFIGcEyPkiCZRWsH5czfXST6NyctoD49f3LR","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":25132,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdJiRICRA9TVsSAnZWagAAUCQP/iPlzKf3hPeeNP52rJUz\nAKFiPQp/znzCiCoUsHCukAKtAvGYEmAsjAsXIu2HhmCAymQVSL4yablTvHb4\nj95LGDB1KPSiko0P4AGTfb4FSCXO4APPHVc1blB+ZOZV8p73k8qQD1vNkAPM\nGmRLO5U42KWgBxDDoxoYYlLQSRqYpmUB2MCVgQWPqKwOcTXVqj1kI6FNBJ2G\nmxV/qJ1PhTwltv7lRp6wtzdbHZyCH4LEi3bDknxzbWps8rNEDwZRWh3im53p\nggJJ2KuvrTI5Z18k8a0hy4qMHeSHcTSqHv0TQ5yn6uCKAwfuXmfDMmYwh7ir\nyH0EOUNco8K75md8lTu1g8mUdeWoXkynpO4TLkiTBWmNYsIQ5qtR6U8ou2MT\nTM13JGjXZmUokxXx1fKyEbuFNGEJiyIGRjomNATqWsOzs/6LdZCj3CGe3Jge\nlPgFB8rAZHVLOIjHqqxBvE92/zwLXCYUqhSZWjfH6svnR6GCwbf5yBEl/HWH\nNe84V83nwmXaGitb3Bizsn+SCcYWGZreQjrVLxKOFyHkoJJZrwC6vhTfZkud\nl/BnEu8PX9BjyP5FyREQwYc3go3Zefk/n29+hWaBf9Dv+sbvbVCAQTi2h5H9\nV9KrKElMMt2v+OCVjYuYlo47uUtlJLd2M3OA2ZptQO98o9ltutQUz7Udro/g\n1STb\r\n=S5EU\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# primer/publish\n\nThis [GitHub Action][github actions] publishes to npm with the following conventions:\n\n1. If we're on the `master` branch, the `version` field is used as-is and we just run `npm publish --access public`.\n    * After publishing a new version on the `master` branch, we tag the commit SHA with `v{version}` via the GitHub API.\n    * If the version in `package.json` is already published, we exit with a `78` code, which is Actions-speak for \"neutral\".\n1. If we're on a `release-<version>` branch, we publish a release candidate to the `next` npm dist-tag with the version in the form: `<version>-rc.<sha>`.\n    * A [status check][status checks] is created with the context `npm version` noting whether the `version` field in `package.json` matches the `<version>` portion of the branch. If it doesn't, the check's status is marked as pending.\n1. Otherwise, we publish a \"canary\" release, which has a version in the form: `0.0.0-<sha>`.\n\n## Status checks\nDepending on the branch, a series of [statuses][status checks] will be created by this action in your checks: **publish** is the action's check, and **publish {package-name}** is a [commit status] created by the action that reports the version published and links to `unpkg.com` via \"Details\":\n\n![image](https://user-images.githubusercontent.com/113896/52375286-23368980-2a14-11e9-8974-062a3e45a846.png)\n\nIf you're on a release branch (`release-<version>`) and the `<version>` portion of the branch name doesn't match the `version` field in `package.json`, you'll get a pending status reminding you to update it:\n\n![image](https://user-images.githubusercontent.com/113896/52388530-b63ae800-2a43-11e9-92ef-14ec9459c109.png)\n\n\n## Usage\nTo use this action in your own workflow, add the following snippet to your `.github/main.workflow` file:\n\n```hcl\naction \"publish\" {\n  uses = \"primer/publish@master\"\n  secrets = [\n    \"GITHUB_TOKEN\",\n    \"NPM_AUTH_TOKEN\",\n  ]\n}\n```\n\n**You will need to provide an npm access token with publish permissions via the `NPM_AUTH_TOKEN` secret in the Actions visual editor** if you haven't already. The `GITHUB_TOKEN` secret is also required to create tags after releasing on the master branch.\n\nWe suggest that you place this action after any linting and/or testing actions to catch as many errors as possible before publishing.\n\n## npm CLI arguments\nIt's possible to pass additional arguments to `npm` via the `args` field in your workflow action. Because the `primer-publish` CLI accepts options of its own (such as `--dry-run`), you need to prefix any `npm` arguments with `--`:\n\n```diff\naction \"publish\" {\n  uses = \"primer/publish@master\"\n+  args = [\"--\", \"--registry=https://registry.your.org\"]\n```\n\n[github actions]: https://github.com/features/actions\n[commit status]: https://developer.github.com/v3/repos/statuses/\n[status checks]: https://help.github.com/articles/about-status-checks/\n","gitHead":"9d922d60295962b465ede0b8100a2fb8943cd336","scripts":{"lint":"eslint *.js src","test":"jest"},"_npmUser":{"name":"emplums","email":"eplummer26@gmail.com"},"_npmVersion":"6.9.0","description":"Publish Primer projects to npm with GitHub Design Systems conventions","directories":{},"_nodeVersion":"10.16.0","dependencies":{"yargs":"^12.0.5","@octokit/rest":"^16.15.0","action-status":"^0.1.1","github-action-meta":"^0.1.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^24.1.0","eslint":"^5.13.0","prettier":"^1.16.4","mocked-env":"^1.2.4","eslint-plugin-github":"^1.8.1"},"_npmOperationalInternal":{"tmp":"tmp/publish_0.0.0-9d922d6_1562780743940_0.4365458520122498","host":"s3://npm-registry-packages"}},"0.0.0-4bfb3dc":{"name":"@primer/publish","version":"0.0.0-4bfb3dc","keywords":["primer","publish","github-actions","npm"],"author":{"name":"GitHub, Inc."},"license":"MIT","_id":"@primer/publish@0.0.0-4bfb3dc","maintainers":[{"name":"broccolini","email":"diana.mounter@gmail.com"},{"name":"colebemis","email":"cole@colebemis.com"},{"name":"emplums","email":"eplummer26@gmail.com"},{"name":"jonrohan","email":"yes@jonrohan.codes"},{"name":"primer-css","email":"design-systems@github.com"},{"name":"shawnbot","email":"shawnbot-npm@nym.hush.com"}],"bin":{"primer-publish":"cli.js"},"dist":{"shasum":"f5683ceeedeb691d9aa0b233a6b609b61fac13b0","tarball":"https://registry.npmjs.org/@primer/publish/-/publish-0.0.0-4bfb3dc.tgz","fileCount":20,"integrity":"sha512-vUlUqUBgZgqAZo9nBdbVuyo/2Dx32LXGzhrbQj/0hMgIng/DX5k6dl6DU848BP0Rg+kSh+n3URdDUqarabd1tQ==","signatures":[{"sig":"MEQCIDQOKhQaI/Z86w3gBSVVBUAlGw1+RpTxj1Lkp3tgyJH4AiBpWVX8wF9pN0G8XONn/Antn2K/yzzC1A85CABfrQRgHQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":26333,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdJjkwCRA9TVsSAnZWagAAuSAP/iCZqmJpkPAx2INePqI3\n3uB5gEepnaS0mbhGrVDH15wu8AqNrReMFFce52OYYNOcuvoEJdQ5VlITCXbc\nS4ncQIWEvegFt/AWSuAU2zcz4REfla7Ny30s+MwGPI0saIVxUHqVfTkDE5sN\nI8Zc+YdEOLtc/YcYlMiOsmpp5OgaZnPBtSBjr/UNCWPvoMpeBlqarRzvPy5C\n9cuNjDCCGX9NoUZtDsQb0pzePaYO4tvKCaChAVlGCEN1wkF+An6B8CVTpob6\nRH6aZB5S9RCg4qVyvoh+YZPSlVasaRgUppKDY/gcea05PGqiWOf5STh40QvE\nKtdrXXmiWVeAFLZ60Mk5VNKfLdnxseHxnyvUzqQ2yoZbWgsh/YgeUw1GGYhM\nbJuPb3zQxIU7smCn6SVaTEZ0FYofuQy6btK/biu55Shwx946tM1deJExwisM\nKX5+tuN9ol4jVIQD90OmfOXCt7BQkqcR4ssCSMfIaDplzLrInUZSEUZmopHH\nYk+qdDvR0b6bBm0nzEYE8jdolim1ZjiQCITQGk9keuz10WL+PYKto2pa3cpn\nmdn+09Bj0Spl408j7G/QJvgBbwcMgEITBy5GOvRNjteXkAXTaPvoSmTYXUAc\noMahLD8eAwfbmr4mvj3/tK8VZod6fEvRMbbV+PIl/vMM7HwNGvuxx7cfKHFh\n7pAd\r\n=azQh\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# primer/publish\n\nThis [GitHub Action][github actions] publishes to npm with the following conventions:\n\n1. If we're on the `master` branch, the `version` field is used as-is and we just run `npm publish --access public`.\n    * After publishing a new version on the `master` branch, we tag the commit SHA with `v{version}` via the GitHub API.\n    * If the version in `package.json` is already published, we exit with a `78` code, which is Actions-speak for \"neutral\".\n1. If we're on a `release-<version>` branch, we publish a release candidate to the `next` npm dist-tag with the version in the form: `<version>-rc.<sha>`.\n    * A [status check][status checks] is created with the context `npm version` noting whether the `version` field in `package.json` matches the `<version>` portion of the branch. If it doesn't, the check's status is marked as pending.\n1. Otherwise, we publish a \"canary\" release, which has a version in the form: `0.0.0-<sha>`.\n\n## Status checks\nDepending on the branch, a series of [statuses][status checks] will be created by this action in your checks: **publish** is the action's check, and **publish {package-name}** is a [commit status] created by the action that reports the version published and links to `unpkg.com` via \"Details\":\n\n![image](https://user-images.githubusercontent.com/113896/52375286-23368980-2a14-11e9-8974-062a3e45a846.png)\n\nIf you're on a release branch (`release-<version>`) and the `<version>` portion of the branch name doesn't match the `version` field in `package.json`, you'll get a pending status reminding you to update it:\n\n![image](https://user-images.githubusercontent.com/113896/52388530-b63ae800-2a43-11e9-92ef-14ec9459c109.png)\n\n\n## Usage\nTo use this action in your own workflow, add the following snippet to your `.github/main.workflow` file:\n\n```hcl\naction \"publish\" {\n  uses = \"primer/publish@master\"\n  secrets = [\n    \"GITHUB_TOKEN\",\n    \"NPM_AUTH_TOKEN\",\n  ]\n}\n```\n\n**You will need to provide an npm access token with publish permissions via the `NPM_AUTH_TOKEN` secret in the Actions visual editor** if you haven't already. The `GITHUB_TOKEN` secret is also required to create tags after releasing on the master branch.\n\nWe suggest that you place this action after any linting and/or testing actions to catch as many errors as possible before publishing.\n\n## npm CLI arguments\nIt's possible to pass additional arguments to `npm` via the `args` field in your workflow action. Because the `primer-publish` CLI accepts options of its own (such as `--dry-run`), you need to prefix any `npm` arguments with `--`:\n\n```diff\naction \"publish\" {\n  uses = \"primer/publish@master\"\n+  args = [\"--\", \"--registry=https://registry.your.org\"]\n```\n\n[github actions]: https://github.com/features/actions\n[commit status]: https://developer.github.com/v3/repos/statuses/\n[status checks]: https://help.github.com/articles/about-status-checks/\n","gitHead":"4bfb3dc0d50a2c00a52258d2fc510db5b114cc8a","scripts":{"lint":"eslint *.js src","test":"jest"},"_npmUser":{"name":"emplums","email":"eplummer26@gmail.com"},"_npmVersion":"6.9.0","description":"Publish Primer projects to npm with GitHub Design Systems conventions","directories":{},"_nodeVersion":"10.16.0","dependencies":{"yargs":"^12.0.5","@octokit/rest":"^16.15.0","action-status":"^0.1.1","github-action-meta":"^0.1.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^24.1.0","eslint":"^5.13.0","prettier":"^1.16.4","mocked-env":"^1.2.4","eslint-plugin-github":"^1.8.1"},"_npmOperationalInternal":{"tmp":"tmp/publish_0.0.0-4bfb3dc_1562786095809_0.3827282148455633","host":"s3://npm-registry-packages"}},"0.0.0-0edda87":{"name":"@primer/publish","version":"0.0.0-0edda87","keywords":["primer","publish","github-actions","npm"],"author":{"name":"GitHub, Inc."},"license":"MIT","_id":"@primer/publish@0.0.0-0edda87","maintainers":[{"name":"broccolini","email":"diana.mounter@gmail.com"},{"name":"colebemis","email":"cole@colebemis.com"},{"name":"emplums","email":"eplummer26@gmail.com"},{"name":"jonrohan","email":"yes@jonrohan.codes"},{"name":"primer-css","email":"design-systems@github.com"},{"name":"shawnbot","email":"shawnbot-npm@nym.hush.com"}],"bin":{"primer-publish":"cli.js"},"dist":{"shasum":"60ee54a6a07af58643f58088618d96c9af98bb3c","tarball":"https://registry.npmjs.org/@primer/publish/-/publish-0.0.0-0edda87.tgz","fileCount":20,"integrity":"sha512-thARmFgacEOVIbW8/a49tBfliodKSCnilQ68h34u5ElPjxGqJ6Pr1CXSE9f++J2+Gf806DFOw9K+Fjq1pUA3pQ==","signatures":[{"sig":"MEYCIQD0U5/XwSTEjTqgmVFmLDFf5eKwq52b20iXPAXGfgvq3wIhAIM3A6JtK7Ztvwq4ngjrLduEmj+QZ8gbdjjkAfJURquI","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":26938,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdJ8EjCRA9TVsSAnZWagAAcTwP/1aGfZIYqDPpnJPdEyxR\n6gfG+0c/b755po2KJJy2xwyry0ZB+HBgcrbxXHeDN9Gr17YsR7y0c0vyc/Qk\nWGekW6Hjjd0OTpnycQFvTqJEuXAZk0Bquc8qPlzXQcnBBmPvjtt/EcP9ffeJ\n74E2Z/Z9182rMQUGp3O2GYRzwpGP8XUWDWN9xg+wdJxESJOeur7OtkOSPc8O\nFSW8MSy+LSP8/DQYyIsxPQ+KTzfM4ytrwar4JFzVBuQ7BkKgCWmpWxE0T6Hw\nW/7kTvIsmGR+5PbDbw6T3T31shgFcCz3yO+Nub8+LTN6lnkJTDDMScalvyYI\n5O5BagLAd3/8zRBRkLLk0oejcJd3Nm4uuVrWsBKW6EXt3SiqlUSBkfMzO/P1\nfekV9UzC2aH/gRY0IfsZ6ZxzlD+TMzaXlIu0klFUw/pQE/damqUxjykqIxnA\nvsF8iW4Xpz9cr8P6t06x1/wDrnDWDH7mGSxEd+JJvBWp+kdetILV4ZDzLJFF\ngTU++LsWmgaBI6js6lQ9M7iZJc+QjpYVAqu4spyM7vCl7pKpG8g0zyYMMqch\nnP++OhHIWopszxcrABCrCMTCtMRoBk5KoWvKajdtxzTdc76BmkK5LTJMx32n\nu7VKZiz0KEtThU5P0mqiCBvipSUOY+5lBvFCUOk+AsCzcNX205w6iveFe95e\ne+BU\r\n=2NfH\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# primer/publish\n\nThis [GitHub Action][github actions] publishes to npm with the following conventions:\n\n1. If we're on the `master` branch, the `version` field is used as-is and we just run `npm publish --access public`.\n    * After publishing a new version on the `master` branch, we tag the commit SHA with `v{version}` via the GitHub API.\n    * If the version in `package.json` is already published, we exit with a `78` code, which is Actions-speak for \"neutral\".\n1. If we're on a `release-<version>` branch, we publish a release candidate to the `next` npm dist-tag with the version in the form: `<version>-rc.<sha>`.\n    * A [status check][status checks] is created with the context `npm version` noting whether the `version` field in `package.json` matches the `<version>` portion of the branch. If it doesn't, the check's status is marked as pending.\n1. Otherwise, we publish a \"canary\" release, which has a version in the form: `0.0.0-<sha>`.\n\n## Status checks\nDepending on the branch, a series of [statuses][status checks] will be created by this action in your checks: **publish** is the action's check, and **publish {package-name}** is a [commit status] created by the action that reports the version published and links to `unpkg.com` via \"Details\":\n\n![image](https://user-images.githubusercontent.com/113896/52375286-23368980-2a14-11e9-8974-062a3e45a846.png)\n\nIf you're on a release branch (`release-<version>`) and the `<version>` portion of the branch name doesn't match the `version` field in `package.json`, you'll get a pending status reminding you to update it:\n\n![image](https://user-images.githubusercontent.com/113896/52388530-b63ae800-2a43-11e9-92ef-14ec9459c109.png)\n\n\n## Usage\nTo use this action in your own workflow, add the following snippet to your `.github/main.workflow` file:\n\n```hcl\naction \"publish\" {\n  uses = \"primer/publish@master\"\n  secrets = [\n    \"GITHUB_TOKEN\",\n    \"NPM_AUTH_TOKEN\",\n  ]\n}\n```\n\n**You will need to provide an npm access token with publish permissions via the `NPM_AUTH_TOKEN` secret in the Actions visual editor** if you haven't already. The `GITHUB_TOKEN` secret is also required to create tags after releasing on the master branch.\n\nWe suggest that you place this action after any linting and/or testing actions to catch as many errors as possible before publishing.\n\n## Options\n\n### `--dry-run`\n\nDefault: `false`\n\nDoes everything publish would do except actually publishing to the registry. Reports the details of what would have been published.\n\n#### Example\n\n```hcl\naction \"publish\" {\n  uses = \"primer/publish@master\"\n  secrets = [\"GITHUB_TOKEN\", \"NPM_AUTH_TOKEN\"]\n  args = \"--dry-run\"\n}\n```\n\n\n### `--folder=<path>`\n\nDefault: `.`\n\nAccepts a path to the folder that contains the `package.json` to publish.\n\n#### Example\n\n```hcl\naction \"publish\" {\n  uses = \"primer/publish@master\"\n  secrets = [\"GITHUB_TOKEN\", \"NPM_AUTH_TOKEN\"]\n  args = \"--folder=packages/example\"\n}\n```\n\n## npm CLI arguments\nIt's possible to pass additional arguments to `npm` via the `args` field in your workflow action. Because the `primer-publish` CLI accepts options of its own (such as `--dry-run`), you need to prefix any `npm` arguments with `--`:\n\n```diff\naction \"publish\" {\n  uses = \"primer/publish@master\"\n+  args = [\"--\", \"--registry=https://registry.your.org\"]\n```\n\n[github actions]: https://github.com/features/actions\n[commit status]: https://developer.github.com/v3/repos/statuses/\n[status checks]: https://help.github.com/articles/about-status-checks/\n","gitHead":"0edda874134fa9c10a9a51e06ecb7f89e9911905","scripts":{"lint":"eslint *.js src","test":"jest"},"_npmUser":{"name":"emplums","email":"eplummer26@gmail.com"},"_npmVersion":"6.9.0","description":"Publish Primer projects to npm with GitHub Design Systems conventions","directories":{},"_nodeVersion":"10.16.0","dependencies":{"yargs":"^12.0.5","@octokit/rest":"^16.15.0","action-status":"^0.1.1","github-action-meta":"^0.1.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^24.1.0","eslint":"^5.13.0","prettier":"^1.16.4","mocked-env":"^1.2.4","eslint-plugin-github":"^1.8.1"},"_npmOperationalInternal":{"tmp":"tmp/publish_0.0.0-0edda87_1562886434982_0.40578550609163355","host":"s3://npm-registry-packages"}},"0.0.0-c47e406":{"name":"@primer/publish","version":"0.0.0-c47e406","keywords":["primer","publish","github-actions","npm"],"author":{"name":"GitHub, Inc."},"license":"MIT","_id":"@primer/publish@0.0.0-c47e406","maintainers":[{"name":"broccolini","email":"diana.mounter@gmail.com"},{"name":"colebemis","email":"cole@colebemis.com"},{"name":"emplums","email":"eplummer26@gmail.com"},{"name":"jonrohan","email":"yes@jonrohan.codes"},{"name":"primer-css","email":"design-systems@github.com"},{"name":"shawnbot","email":"shawnbot-npm@nym.hush.com"}],"bin":{"primer-publish":"cli.js"},"dist":{"shasum":"67c0bbfb992591ed08e3cf749baf19d6a33e7953","tarball":"https://registry.npmjs.org/@primer/publish/-/publish-0.0.0-c47e406.tgz","fileCount":20,"integrity":"sha512-ipoad8k2ZasBKh0Qnor4Sfb2GD+6W31kW0lpO3bIG401KdgHtsrdO35eoWYFPWjLBxIPkEePz4UTCvh8l25gbA==","signatures":[{"sig":"MEQCICeO3sMlk85Lrs3jbcEBlVgbxML6dXwe4b51LmcXFJKYAiBhRRXl6vq6Y+re6aKg3UYXn+sMmR7Uw/9/mCi7KL4E+w==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":26915,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdKMjOCRA9TVsSAnZWagAAr7gP/RPTpOEo3bXOZ3KbcZrc\n8tjTggZtVNvkgzcqZzxqbf+l5unjim7gk1DDrSxU9jZ6mMUQX7MHH9G5ICr3\nzTnTtyE4e/Wq1hNs9UX2TOg2EsGfl5RO23ARM6yRsgB2uPhMJuwKIU3S1TVh\n4QHWQYoDeUrPg4PwI0YWzDBruzPbR3TZS1UpUs/U7AYBmycDhets7G+OeC4p\nfJuwWgAAsKE2jsKf27gmLtnnJehpBUD6kGuOmFE+foUwUQxlfZETt1RJe4tL\ng2rdOAzTJ7XSsfyIaMnQA5O5xaVYK1G02WnGz7CgBTJ0snYNMhGKDQ0X5KLE\n+DZi+Ip5Eqphpg+2qw5S3PIl5+ZvQt2k7dMM0syvKSiV2ofyoZjV1byFcEgY\ng2/Re74qGa/7oF8iaF8ET5AqjdYCyu0QOtJ3HL/XgKJ/NaC/d6QHIegbzKzU\nxMmM0S3zIsXUa2vGo0n5tJa0q6QT4tez8FHCcu28txsgI7fZqmncx0MZ7ALM\nlNNbNcOIxdWOt53/jA8KtXiq+38UjQJ1yV75Nb6PiIgZ6eEHpgmZ3QBSyDQ+\nuHop3A/Hm6A+td2HtQka7b9rm/Th6QQZGU6eLoE6DkXQkoLbqgECOUzx4t2H\nlQAN+HyT3g1GvPCXtRboLTNHAL80WCLOhF4ZW1VhP9hOxFUXjpdFeU9cbuBX\nybS0\r\n=GD7K\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# primer/publish\n\nThis [GitHub Action][github actions] publishes to npm with the following conventions:\n\n1. If we're on the `master` branch, the `version` field is used as-is and we just run `npm publish --access public`.\n   - After publishing a new version on the `master` branch, we tag the commit SHA with `v{version}` via the GitHub API.\n   - If the version in `package.json` is already published, we exit with a `78` code, which is Actions-speak for \"neutral\".\n1. If we're on a `release-<version>` branch, we publish a release candidate to the `next` npm dist-tag with the version in the form: `<version>-rc.<sha>`.\n   - A [status check][status checks] is created with the context `npm version` noting whether the `version` field in `package.json` matches the `<version>` portion of the branch. If it doesn't, the check's status is marked as pending.\n1. Otherwise, we publish a \"canary\" release, which has a version in the form: `0.0.0-<sha>`.\n\n## Status checks\n\nDepending on the branch, a series of [statuses][status checks] will be created by this action in your checks: **publish** is the action's check, and **publish {package-name}** is a [commit status] created by the action that reports the version published and links to `unpkg.com` via \"Details\":\n\n![image](https://user-images.githubusercontent.com/113896/52375286-23368980-2a14-11e9-8974-062a3e45a846.png)\n\nIf you're on a release branch (`release-<version>`) and the `<version>` portion of the branch name doesn't match the `version` field in `package.json`, you'll get a pending status reminding you to update it:\n\n![image](https://user-images.githubusercontent.com/113896/52388530-b63ae800-2a43-11e9-92ef-14ec9459c109.png)\n\n## Usage\n\nTo use this action in your own workflow, add the following snippet to your `.github/main.workflow` file:\n\n```hcl\naction \"publish\" {\n  uses = \"primer/publish@master\"\n  secrets = [\n    \"GITHUB_TOKEN\",\n    \"NPM_AUTH_TOKEN\",\n  ]\n}\n```\n\n**You will need to provide an npm access token with publish permissions via the `NPM_AUTH_TOKEN` secret in the Actions visual editor** if you haven't already. The `GITHUB_TOKEN` secret is also required to create tags after releasing on the master branch.\n\nWe suggest that you place this action after any linting and/or testing actions to catch as many errors as possible before publishing.\n\n## Options\n\n### `--dry-run`\n\nDefault: `false`\n\nDoes everything publish would do except actually publishing to the registry. Reports the details of what would have been published.\n\n#### Example\n\n```hcl\naction \"publish\" {\n  uses = \"primer/publish@master\"\n  secrets = [\"GITHUB_TOKEN\", \"NPM_AUTH_TOKEN\"]\n  args = \"--dry-run\"\n}\n```\n\n### `--dir=<path>`\n\nDefault: `.`\n\nAccepts a path to the directory that contains the `package.json` to publish.\n\n#### Example\n\n```hcl\naction \"publish\" {\n  uses = \"primer/publish@master\"\n  secrets = [\"GITHUB_TOKEN\", \"NPM_AUTH_TOKEN\"]\n  args = \"--dir=packages/example\"\n}\n```\n\n## npm CLI arguments\n\nIt's possible to pass additional arguments to `npm` via the `args` field in your workflow action. Because the `primer-publish` CLI accepts options of its own (such as `--dry-run`), you need to prefix any `npm` arguments with `--`:\n\n```diff\naction \"publish\" {\n  uses = \"primer/publish@master\"\n+  args = [\"--\", \"--registry=https://registry.your.org\"]\n```\n\n[github actions]: https://github.com/features/actions\n[commit status]: https://developer.github.com/v3/repos/statuses/\n[status checks]: https://help.github.com/articles/about-status-checks/\n","gitHead":"c47e406b55637c685796ff1ee0755321adf25299","scripts":{"lint":"eslint *.js src","test":"jest"},"_npmUser":{"name":"emplums","email":"eplummer26@gmail.com"},"_npmVersion":"6.9.0","description":"Publish Primer projects to npm with GitHub Design Systems conventions","directories":{},"_nodeVersion":"10.16.0","dependencies":{"yargs":"^12.0.5","@octokit/rest":"^16.15.0","action-status":"^0.1.1","github-action-meta":"^0.1.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^24.1.0","eslint":"^5.13.0","prettier":"^1.16.4","mocked-env":"^1.2.4","eslint-plugin-github":"^1.8.1"},"_npmOperationalInternal":{"tmp":"tmp/publish_0.0.0-c47e406_1562953933816_0.35487063053242274","host":"s3://npm-registry-packages"}},"0.0.0-7401859":{"name":"@primer/publish","version":"0.0.0-7401859","keywords":["primer","publish","github-actions","npm"],"author":{"name":"GitHub, Inc."},"license":"MIT","_id":"@primer/publish@0.0.0-7401859","maintainers":[{"name":"broccolini","email":"diana.mounter@gmail.com"},{"name":"colebemis","email":"cole@colebemis.com"},{"name":"emplums","email":"eplummer26@gmail.com"},{"name":"jonrohan","email":"yes@jonrohan.codes"},{"name":"primer-css","email":"design-systems@github.com"},{"name":"shawnbot","email":"shawnbot-npm@nym.hush.com"}],"bin":{"primer-publish":"cli.js"},"dist":{"shasum":"17c6e7fd0805d04022f071735ad99d8826c0677b","tarball":"https://registry.npmjs.org/@primer/publish/-/publish-0.0.0-7401859.tgz","fileCount":20,"integrity":"sha512-Uu9Ylb/1ZrcqLLIA21fRG4wxYSPkM7os63qgTr14XP9VeGOY8SAhCy2ZadJSP6OGNacR6mKYaU/c+J5DScKZ0w==","signatures":[{"sig":"MEUCIG6FEPHIodXGJMyts9mDuKvaTu0R8eiNXofL1+qPZT9cAiEAsFYftRHhHQR5AvZnqXiRJYoCIjcc/rgvwZ82PBiXtPA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":26915,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdLWdHCRA9TVsSAnZWagAANEkP/2GRencs0R+ml/7W01xW\nKPygUvRA+qaNCUJMLl2DMNMp7XFb4JajuKbq/4sx8LgFSPAehZcBZTGodFBk\nFhwjQXy95pKOSFLxJbV4qbDh5n3HjzoMAkYBXiM+uCPmNOD6YQgm/OSV/++3\n0/wgWp+Ziahkpm4gXyxvGQxcsP4YNnHpiizGsgcTqscWzKXOyq+PrBCG0ZU/\ntUGfyAn5r8tgu1Bm4CySRqlBMgSxaX4b0izOuLzwWrjItkN4aqsToWYhoZEx\ntQbgfhCfuZevr3FS1OAevPc2mSIFviCeSb82CykMXf7GlGCFBqbeeDYDcPxI\nb3YFuKFiFh5DPe7Izz0vM8ZRKmvMW/ZSRrud+duY/+faF7rb6O8bfVq7a/kU\nVob6HSM57e168tNFjIHUbHCI/T/W8hBcwGf3KZDYHAMP330fdGy0VQQufB9k\nKQRLYlvIfc3uJARFCoJ8gV/XrVuv5asopPvu0NlMhIa8YYp4I75zvb/sndMP\n48aClAt/52qkODYIxyebX1GEDCUYx9qrvWLTwiFzHTUHQhvj9IvREjR7HEtI\n9YxY/KiopCg4aCXciYeFmJF5WyXZcRBN94gma23oy+SZVTUwTv0SRRd1nMF0\n4R+H7ljYkj7/S6QbXPuHaGf/IgYkWMyQaLQiqS2VJZYOiuDIQXDvmslPLXUR\nFdoj\r\n=SDr/\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# primer/publish\n\nThis [GitHub Action][github actions] publishes to npm with the following conventions:\n\n1. If we're on the `master` branch, the `version` field is used as-is and we just run `npm publish --access public`.\n   - After publishing a new version on the `master` branch, we tag the commit SHA with `v{version}` via the GitHub API.\n   - If the version in `package.json` is already published, we exit with a `78` code, which is Actions-speak for \"neutral\".\n1. If we're on a `release-<version>` branch, we publish a release candidate to the `next` npm dist-tag with the version in the form: `<version>-rc.<sha>`.\n   - A [status check][status checks] is created with the context `npm version` noting whether the `version` field in `package.json` matches the `<version>` portion of the branch. If it doesn't, the check's status is marked as pending.\n1. Otherwise, we publish a \"canary\" release, which has a version in the form: `0.0.0-<sha>`.\n\n## Status checks\n\nDepending on the branch, a series of [statuses][status checks] will be created by this action in your checks: **publish** is the action's check, and **publish {package-name}** is a [commit status] created by the action that reports the version published and links to `unpkg.com` via \"Details\":\n\n![image](https://user-images.githubusercontent.com/113896/52375286-23368980-2a14-11e9-8974-062a3e45a846.png)\n\nIf you're on a release branch (`release-<version>`) and the `<version>` portion of the branch name doesn't match the `version` field in `package.json`, you'll get a pending status reminding you to update it:\n\n![image](https://user-images.githubusercontent.com/113896/52388530-b63ae800-2a43-11e9-92ef-14ec9459c109.png)\n\n## Usage\n\nTo use this action in your own workflow, add the following snippet to your `.github/main.workflow` file:\n\n```hcl\naction \"publish\" {\n  uses = \"primer/publish@master\"\n  secrets = [\n    \"GITHUB_TOKEN\",\n    \"NPM_AUTH_TOKEN\",\n  ]\n}\n```\n\n**You will need to provide an npm access token with publish permissions via the `NPM_AUTH_TOKEN` secret in the Actions visual editor** if you haven't already. The `GITHUB_TOKEN` secret is also required to create tags after releasing on the master branch.\n\nWe suggest that you place this action after any linting and/or testing actions to catch as many errors as possible before publishing.\n\n## Options\n\n### `--dry-run`\n\nDefault: `false`\n\nDoes everything publish would do except actually publishing to the registry. Reports the details of what would have been published.\n\n#### Example\n\n```hcl\naction \"publish\" {\n  uses = \"primer/publish@master\"\n  secrets = [\"GITHUB_TOKEN\", \"NPM_AUTH_TOKEN\"]\n  args = \"--dry-run\"\n}\n```\n\n### `--dir=<path>`\n\nDefault: `.`\n\nAccepts a path to the directory that contains the `package.json` to publish.\n\n#### Example\n\n```hcl\naction \"publish\" {\n  uses = \"primer/publish@master\"\n  secrets = [\"GITHUB_TOKEN\", \"NPM_AUTH_TOKEN\"]\n  args = \"--dir=packages/example\"\n}\n```\n\n## npm CLI arguments\n\nIt's possible to pass additional arguments to `npm` via the `args` field in your workflow action. Because the `primer-publish` CLI accepts options of its own (such as `--dry-run`), you need to prefix any `npm` arguments with `--`:\n\n```diff\naction \"publish\" {\n  uses = \"primer/publish@master\"\n+  args = [\"--\", \"--registry=https://registry.your.org\"]\n```\n\n[github actions]: https://github.com/features/actions\n[commit status]: https://developer.github.com/v3/repos/statuses/\n[status checks]: https://help.github.com/articles/about-status-checks/\n","gitHead":"7401859c767522f4b9cd3be4beba31ff31852fbe","scripts":{"lint":"eslint *.js src","test":"jest"},"_npmUser":{"name":"emplums","email":"eplummer26@gmail.com"},"_npmVersion":"6.9.0","description":"Publish Primer projects to npm with GitHub Design Systems conventions","directories":{},"_nodeVersion":"10.16.0","dependencies":{"yargs":"^12.0.5","@octokit/rest":"^16.15.0","action-status":"^0.1.1","github-action-meta":"^0.1.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^24.1.0","eslint":"^5.13.0","prettier":"^1.16.4","mocked-env":"^1.2.4","eslint-plugin-github":"^1.8.1"},"_npmOperationalInternal":{"tmp":"tmp/publish_0.0.0-7401859_1563256646380_0.41258135274596563","host":"s3://npm-registry-packages"}},"0.0.0-d344316":{"name":"@primer/publish","version":"0.0.0-d344316","keywords":["primer","publish","github-actions","npm"],"author":{"name":"GitHub, Inc."},"license":"MIT","_id":"@primer/publish@0.0.0-d344316","maintainers":[{"name":"broccolini","email":"diana.mounter@gmail.com"},{"name":"colebemis","email":"cole@colebemis.com"},{"name":"emplums","email":"eplummer26@gmail.com"},{"name":"jonrohan","email":"yes@jonrohan.codes"},{"name":"primer-css","email":"design-systems@github.com"},{"name":"shawnbot","email":"shawnbot-npm@nym.hush.com"}],"bin":{"primer-publish":"cli.js"},"dist":{"shasum":"406c457cdea5bc718f9a67b4d849fc223ab9625c","tarball":"https://registry.npmjs.org/@primer/publish/-/publish-0.0.0-d344316.tgz","fileCount":20,"integrity":"sha512-/PkrvWG/Lcv7RqBImHIcqDsipYK0RB46b0FgUBGVXRjKbhVSXPnwX1HWe3rzXpZ823nO5DIxDTiAwaN+XC3fMw==","signatures":[{"sig":"MEYCIQCvmIc586RYj7N0h4smuYgsBu/FeBe7aCjLYOVqt5yP9AIhAKpVaX9B8AFJS2dyOEXrw2BYCKlbkTeaiu/8+EoP7fAS","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":26915,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdZDEsCRA9TVsSAnZWagAA9yEP/jYwuCGZ5GzVVgEjJN5U\nQiQqIRF1t3EH+sa4u1xTtwPgAtwn0vxelaRNgcto4RQCcr14rVw8w1l7log4\nBaLpOFZuRnGpqtzXa4Qc822uYHPHHELnPkbND3pVvrKfGvtbWgIkm9sek6mW\njruUsWa9RjLXuDuq5ZR5hGFyI89ci5cwNPdKDnZuL5eB/hAkUwBVLas5+qts\nLK5CMgMIYQHnVqhdW25x+ZNXMp+dq7EDTuw3oHq9iVn8yskLZ68sCe3BUhjQ\n9a7nQR0nH4QwelVkEjRaNP36LQl0hNoq5Wg8v+cC2wRTbqljJO/UYih3QAB5\n+VtU2yzbr9LguCjZAXF7/thHyiCBzLXl7AsRZKHrVc52tXngAdPS4jyghvTT\nBduDql7eWHb4xOTknRjmJ9Nk0yxbmxqduT5w8YuPs1snDp/h41oVoqmTCdgn\nlILUFD6PXk3aa5HsFtqmdpTIjWfZ2k9gey9ei8l9Dxbva87tf5CJrhPhUP3i\nOM6GbLa0xPqhEPmK6GI8robsOUTzzLF4VcJzLTS+mlcS0di/fmeEtkNDhN7h\noK6Hpx3BAxL3DXKM5tFZeVkGPdV1gtQmsP8EsBf9lS/E76c/A50UBcu060F+\nih3uolkseg7rLkXJi3rxwJpmgUWDda4i/VZJGMjiC+nQ1xQU1eiT9+EV+4nG\n2zs7\r\n=5kDk\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# primer/publish\n\nThis [GitHub Action][github actions] publishes to npm with the following conventions:\n\n1. If we're on the `master` branch, the `version` field is used as-is and we just run `npm publish --access public`.\n   - After publishing a new version on the `master` branch, we tag the commit SHA with `v{version}` via the GitHub API.\n   - If the version in `package.json` is already published, we exit with a `78` code, which is Actions-speak for \"neutral\".\n1. If we're on a `release-<version>` branch, we publish a release candidate to the `next` npm dist-tag with the version in the form: `<version>-rc.<sha>`.\n   - A [status check][status checks] is created with the context `npm version` noting whether the `version` field in `package.json` matches the `<version>` portion of the branch. If it doesn't, the check's status is marked as pending.\n1. Otherwise, we publish a \"canary\" release, which has a version in the form: `0.0.0-<sha>`.\n\n## Status checks\n\nDepending on the branch, a series of [statuses][status checks] will be created by this action in your checks: **publish** is the action's check, and **publish {package-name}** is a [commit status] created by the action that reports the version published and links to `unpkg.com` via \"Details\":\n\n![image](https://user-images.githubusercontent.com/113896/52375286-23368980-2a14-11e9-8974-062a3e45a846.png)\n\nIf you're on a release branch (`release-<version>`) and the `<version>` portion of the branch name doesn't match the `version` field in `package.json`, you'll get a pending status reminding you to update it:\n\n![image](https://user-images.githubusercontent.com/113896/52388530-b63ae800-2a43-11e9-92ef-14ec9459c109.png)\n\n## Usage\n\nTo use this action in your own workflow, add the following snippet to your `.github/main.workflow` file:\n\n```hcl\naction \"publish\" {\n  uses = \"primer/publish@master\"\n  secrets = [\n    \"GITHUB_TOKEN\",\n    \"NPM_AUTH_TOKEN\",\n  ]\n}\n```\n\n**You will need to provide an npm access token with publish permissions via the `NPM_AUTH_TOKEN` secret in the Actions visual editor** if you haven't already. The `GITHUB_TOKEN` secret is also required to create tags after releasing on the master branch.\n\nWe suggest that you place this action after any linting and/or testing actions to catch as many errors as possible before publishing.\n\n## Options\n\n### `--dry-run`\n\nDefault: `false`\n\nDoes everything publish would do except actually publishing to the registry. Reports the details of what would have been published.\n\n#### Example\n\n```hcl\naction \"publish\" {\n  uses = \"primer/publish@master\"\n  secrets = [\"GITHUB_TOKEN\", \"NPM_AUTH_TOKEN\"]\n  args = \"--dry-run\"\n}\n```\n\n### `--dir=<path>`\n\nDefault: `.`\n\nAccepts a path to the directory that contains the `package.json` to publish.\n\n#### Example\n\n```hcl\naction \"publish\" {\n  uses = \"primer/publish@master\"\n  secrets = [\"GITHUB_TOKEN\", \"NPM_AUTH_TOKEN\"]\n  args = \"--dir=packages/example\"\n}\n```\n\n## npm CLI arguments\n\nIt's possible to pass additional arguments to `npm` via the `args` field in your workflow action. Because the `primer-publish` CLI accepts options of its own (such as `--dry-run`), you need to prefix any `npm` arguments with `--`:\n\n```diff\naction \"publish\" {\n  uses = \"primer/publish@master\"\n+  args = [\"--\", \"--registry=https://registry.your.org\"]\n```\n\n[github actions]: https://github.com/features/actions\n[commit status]: https://developer.github.com/v3/repos/statuses/\n[status checks]: https://help.github.com/articles/about-status-checks/\n","gitHead":"d344316f5880a2cf695e8feb335c3e2322809418","scripts":{"lint":"eslint *.js src","test":"jest"},"_npmUser":{"name":"emplums","email":"eplummer26@gmail.com"},"_npmVersion":"6.9.0","description":"Publish Primer projects to npm with GitHub Design Systems conventions","directories":{},"_nodeVersion":"10.16.3","dependencies":{"yargs":"^12.0.5","@octokit/rest":"^16.15.0","action-status":"^0.1.1","github-action-meta":"^0.1.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^24.1.0","eslint":"^5.13.0","prettier":"^1.16.4","mocked-env":"^1.2.4","eslint-plugin-github":"^1.8.1"},"_npmOperationalInternal":{"tmp":"tmp/publish_0.0.0-d344316_1566847275950_0.3622359389135954","host":"s3://npm-registry-packages"}},"0.0.0-1c777fe":{"name":"@primer/publish","version":"0.0.0-1c777fe","keywords":["primer","publish","github-actions","npm"],"author":{"name":"GitHub, Inc."},"license":"MIT","_id":"@primer/publish@0.0.0-1c777fe","maintainers":[{"name":"broccolini","email":"diana.mounter@gmail.com"},{"name":"colebemis","email":"cole@colebemis.com"},{"name":"emplums","email":"eplummer26@gmail.com"},{"name":"jonrohan","email":"yes@jonrohan.codes"},{"name":"primer-css","email":"design-systems@github.com"},{"name":"shawnbot","email":"shawnbot-npm@nym.hush.com"}],"bin":{"primer-publish":"cli.js"},"dist":{"shasum":"78bd5e9aad1b1186acca9aaa3fe4055cfaaf8625","tarball":"https://registry.npmjs.org/@primer/publish/-/publish-0.0.0-1c777fe.tgz","fileCount":20,"integrity":"sha512-8FUQA0jPWB5CCr5u+kT83qUz+jFeVEPqr1PAPfG1M8visNGW8ojeQDgDTOCuRzzUutWi9yaDujvTGI2SwMuKiQ==","signatures":[{"sig":"MEUCIDO2KPHQjTRxMf9mOos1sk3TwM9Fpifp9TO6gVvVhL5hAiEA8X654JJ9VVTFjeM2u8cIaZlZwxa5IvpNhk/HXhq1Aqo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":26915,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdZVhZCRA9TVsSAnZWagAA218QAJbljambqLTxNDPcfluX\ncHLFVybZvlnH8PaKjAgVpfpjqkViLZ2NEFQ8m0qN/knMGbVscw1QfjCY8fXx\nPOVlJWjAyxjGizC4/any0y2Ix+a/OvABw9c0n+8kSQrmt6ZlX/e/heEXUOLs\nusrc/QPlXAapQCBnNZne48Al1DYehgPP+JXyhXld4tZkGjmHDzpJU43c585C\n2mHnnw/U6JD17/fEd6+hLr/GrbC3J1BupeDhe6QmOExN4hJAw0NYDwsng+kG\nBdtrneBxWzTdBRDDG9Jhw4CM03v4BqXB3aA/bi9GK1I43OD/hNKwvn2MuzHO\n9k2WaV/FS75Xd8rh0O+6pYtky9ID0C7b0l+e6u0pxO6vuWdOtf0ivOYd/z0s\nuduS0mhE/0iHIuqgXv1SKBusoFwWE97GLQ6NF0fbuTkf6tIZKCe7BLaadczi\nnPL0EXO1F9Jbzs3rqUfn0QyWJgCGqMMUqDmN12PtmCzyWYml/PK/GLK3GHRh\nR8Ec4duGnoMkvEXPW7UvezEhplgfwtoEs6paRlzWIi/VW+Md3TOR5WIiVVRh\nb+hp2zSNFhOXM5YYct+Uq1eWkTixFcP3udl2qcFmMXE8urA1pqoBOpYX0D1+\nOKZEIDWewb+htjnLLRdwuNZE9xmabWjKkIcXcbWWBXYmop6swvuoGpuaktgZ\nO3LS\r\n=E8Bd\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# primer/publish\n\nThis [GitHub Action][github actions] publishes to npm with the following conventions:\n\n1. If we're on the `master` branch, the `version` field is used as-is and we just run `npm publish --access public`.\n   - After publishing a new version on the `master` branch, we tag the commit SHA with `v{version}` via the GitHub API.\n   - If the version in `package.json` is already published, we exit with a `78` code, which is Actions-speak for \"neutral\".\n1. If we're on a `release-<version>` branch, we publish a release candidate to the `next` npm dist-tag with the version in the form: `<version>-rc.<sha>`.\n   - A [status check][status checks] is created with the context `npm version` noting whether the `version` field in `package.json` matches the `<version>` portion of the branch. If it doesn't, the check's status is marked as pending.\n1. Otherwise, we publish a \"canary\" release, which has a version in the form: `0.0.0-<sha>`.\n\n## Status checks\n\nDepending on the branch, a series of [statuses][status checks] will be created by this action in your checks: **publish** is the action's check, and **publish {package-name}** is a [commit status] created by the action that reports the version published and links to `unpkg.com` via \"Details\":\n\n![image](https://user-images.githubusercontent.com/113896/52375286-23368980-2a14-11e9-8974-062a3e45a846.png)\n\nIf you're on a release branch (`release-<version>`) and the `<version>` portion of the branch name doesn't match the `version` field in `package.json`, you'll get a pending status reminding you to update it:\n\n![image](https://user-images.githubusercontent.com/113896/52388530-b63ae800-2a43-11e9-92ef-14ec9459c109.png)\n\n## Usage\n\nTo use this action in your own workflow, add the following snippet to your `.github/main.workflow` file:\n\n```hcl\naction \"publish\" {\n  uses = \"primer/publish@master\"\n  secrets = [\n    \"GITHUB_TOKEN\",\n    \"NPM_AUTH_TOKEN\",\n  ]\n}\n```\n\n**You will need to provide an npm access token with publish permissions via the `NPM_AUTH_TOKEN` secret in the Actions visual editor** if you haven't already. The `GITHUB_TOKEN` secret is also required to create tags after releasing on the master branch.\n\nWe suggest that you place this action after any linting and/or testing actions to catch as many errors as possible before publishing.\n\n## Options\n\n### `--dry-run`\n\nDefault: `false`\n\nDoes everything publish would do except actually publishing to the registry. Reports the details of what would have been published.\n\n#### Example\n\n```hcl\naction \"publish\" {\n  uses = \"primer/publish@master\"\n  secrets = [\"GITHUB_TOKEN\", \"NPM_AUTH_TOKEN\"]\n  args = \"--dry-run\"\n}\n```\n\n### `--dir=<path>`\n\nDefault: `.`\n\nAccepts a path to the directory that contains the `package.json` to publish.\n\n#### Example\n\n```hcl\naction \"publish\" {\n  uses = \"primer/publish@master\"\n  secrets = [\"GITHUB_TOKEN\", \"NPM_AUTH_TOKEN\"]\n  args = \"--dir=packages/example\"\n}\n```\n\n## npm CLI arguments\n\nIt's possible to pass additional arguments to `npm` via the `args` field in your workflow action. Because the `primer-publish` CLI accepts options of its own (such as `--dry-run`), you need to prefix any `npm` arguments with `--`:\n\n```diff\naction \"publish\" {\n  uses = \"primer/publish@master\"\n+  args = [\"--\", \"--registry=https://registry.your.org\"]\n```\n\n[github actions]: https://github.com/features/actions\n[commit status]: https://developer.github.com/v3/repos/statuses/\n[status checks]: https://help.github.com/articles/about-status-checks/\n","gitHead":"1c777fe9a1bd0a09e6f6faadace44d2f58aec048","scripts":{"lint":"eslint *.js src","test":"jest"},"_npmUser":{"name":"emplums","email":"eplummer26@gmail.com"},"_npmVersion":"6.9.0","description":"Publish Primer projects to npm with GitHub Design Systems conventions","directories":{},"_nodeVersion":"10.16.3","dependencies":{"yargs":"^12.0.5","@octokit/rest":"^16.15.0","action-status":"^0.1.1","github-action-meta":"^0.1.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^24.1.0","eslint":"^5.13.0","prettier":"^1.16.4","mocked-env":"^1.2.4","eslint-plugin-github":"^1.8.1"},"_npmOperationalInternal":{"tmp":"tmp/publish_0.0.0-1c777fe_1566922840129_0.7329602131992194","host":"s3://npm-registry-packages"}},"0.0.0-e22c457":{"name":"@primer/publish","version":"0.0.0-e22c457","keywords":["primer","publish","github-actions","npm"],"author":{"name":"GitHub, Inc."},"license":"MIT","_id":"@primer/publish@0.0.0-e22c457","maintainers":[{"name":"broccolini","email":"diana.mounter@gmail.com"},{"name":"colebemis","email":"cole@colebemis.com"},{"name":"emplums","email":"eplummer26@gmail.com"},{"name":"jonrohan","email":"yes@jonrohan.codes"},{"name":"primer-css","email":"design-systems@github.com"},{"name":"shawnbot","email":"shawnbot-npm@nym.hush.com"}],"bin":{"primer-publish":"cli.js"},"dist":{"shasum":"b7892f417ab9e4530fe93a5e6216068c2467f971","tarball":"https://registry.npmjs.org/@primer/publish/-/publish-0.0.0-e22c457.tgz","fileCount":20,"integrity":"sha512-vG4/rm+LDVHxW+/jp4VnxISknj6qMTnKembGriDwQ0VcryPjAyK6zaNTM1fMraaTtlFpVlcsLfK6KExX34Cs/g==","signatures":[{"sig":"MEUCIBcztmAET+eZJX4WtJVul+Mo5iryb3qk+Sn//RfYI9yGAiEA+K6QeRDGJAniGHNhzIenFfwf8ua+sqAd3XtrjdF/L9E=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":26915,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdZViLCRA9TVsSAnZWagAAvdoP/1GhzpFlgTX/gXPZxhkm\njB3ZyvUlXSDbhtVyDYXZKapfAdfQo5LqbIx4csfahf3gaOBIImS7i1G1lb5/\nQQ1ei3l5/UuFC62Ilkl2BEI2hm+BsAOh+YaV/s2MVRyBPAVjNYAOyCCrZs23\nXU8ZNKfcwdlZaImY/lspjB6YTWNYiWututLrB4g2uDfZWGee4KXQGhWH+Vir\nF4xLT1ycv3DPq2qQ9d4QoB9p6JN65nADE/DDtwKCi0L2XiQokox8e+Chy58D\nNJ8XSlkncbi44Tbb6EzR8biw1rJ7+yu2fB/2ydSM/V811lGZP7DcfAT2vA+z\nxTj0FDsRRHa7oLe0SfTzxJnLLCVKDIjUov7FVQtByY1zLwK1NW5WwF6dz39F\nFf6m1Re3quYK6WCm2lALjF2/P4RG6JEtYJXBA/mGSaXxwqIdn7hTD4Ao2j6R\nbv2mjoFSYjVvH7Dzd4dD5pEgIePyJ001BE1z7gqQure9nQXnlCbOjusrFa8F\nZRgqa4/UB8c3C232rfTK5374T7e/8EyX7p+CmupB2WMrGMbatmMyTnMO/n+1\nSUGX5O1uPBWChAuxG1q3y3ji4b70BQ4g4iF1iBsO5kN03UF7NsOyNTzFNKtt\ndLIM60/+6gAREmchEPG3MS2FPDhyvBXnaQoF3ZCxUd9yL8PgGb80p5js+OHX\nbNAl\r\n=oXMP\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# primer/publish\n\nThis [GitHub Action][github actions] publishes to npm with the following conventions:\n\n1. If we're on the `master` branch, the `version` field is used as-is and we just run `npm publish --access public`.\n   - After publishing a new version on the `master` branch, we tag the commit SHA with `v{version}` via the GitHub API.\n   - If the version in `package.json` is already published, we exit with a `78` code, which is Actions-speak for \"neutral\".\n1. If we're on a `release-<version>` branch, we publish a release candidate to the `next` npm dist-tag with the version in the form: `<version>-rc.<sha>`.\n   - A [status check][status checks] is created with the context `npm version` noting whether the `version` field in `package.json` matches the `<version>` portion of the branch. If it doesn't, the check's status is marked as pending.\n1. Otherwise, we publish a \"canary\" release, which has a version in the form: `0.0.0-<sha>`.\n\n## Status checks\n\nDepending on the branch, a series of [statuses][status checks] will be created by this action in your checks: **publish** is the action's check, and **publish {package-name}** is a [commit status] created by the action that reports the version published and links to `unpkg.com` via \"Details\":\n\n![image](https://user-images.githubusercontent.com/113896/52375286-23368980-2a14-11e9-8974-062a3e45a846.png)\n\nIf you're on a release branch (`release-<version>`) and the `<version>` portion of the branch name doesn't match the `version` field in `package.json`, you'll get a pending status reminding you to update it:\n\n![image](https://user-images.githubusercontent.com/113896/52388530-b63ae800-2a43-11e9-92ef-14ec9459c109.png)\n\n## Usage\n\nTo use this action in your own workflow, add the following snippet to your `.github/main.workflow` file:\n\n```hcl\naction \"publish\" {\n  uses = \"primer/publish@master\"\n  secrets = [\n    \"GITHUB_TOKEN\",\n    \"NPM_AUTH_TOKEN\",\n  ]\n}\n```\n\n**You will need to provide an npm access token with publish permissions via the `NPM_AUTH_TOKEN` secret in the Actions visual editor** if you haven't already. The `GITHUB_TOKEN` secret is also required to create tags after releasing on the master branch.\n\nWe suggest that you place this action after any linting and/or testing actions to catch as many errors as possible before publishing.\n\n## Options\n\n### `--dry-run`\n\nDefault: `false`\n\nDoes everything publish would do except actually publishing to the registry. Reports the details of what would have been published.\n\n#### Example\n\n```hcl\naction \"publish\" {\n  uses = \"primer/publish@master\"\n  secrets = [\"GITHUB_TOKEN\", \"NPM_AUTH_TOKEN\"]\n  args = \"--dry-run\"\n}\n```\n\n### `--dir=<path>`\n\nDefault: `.`\n\nAccepts a path to the directory that contains the `package.json` to publish.\n\n#### Example\n\n```hcl\naction \"publish\" {\n  uses = \"primer/publish@master\"\n  secrets = [\"GITHUB_TOKEN\", \"NPM_AUTH_TOKEN\"]\n  args = \"--dir=packages/example\"\n}\n```\n\n## npm CLI arguments\n\nIt's possible to pass additional arguments to `npm` via the `args` field in your workflow action. Because the `primer-publish` CLI accepts options of its own (such as `--dry-run`), you need to prefix any `npm` arguments with `--`:\n\n```diff\naction \"publish\" {\n  uses = \"primer/publish@master\"\n+  args = [\"--\", \"--registry=https://registry.your.org\"]\n```\n\n[github actions]: https://github.com/features/actions\n[commit status]: https://developer.github.com/v3/repos/statuses/\n[status checks]: https://help.github.com/articles/about-status-checks/\n","gitHead":"e22c4575dde9765288572b02332738435cbfda01","scripts":{"lint":"eslint *.js src","test":"jest"},"_npmUser":{"name":"emplums","email":"eplummer26@gmail.com"},"_npmVersion":"6.9.0","description":"Publish Primer projects to npm with GitHub Design Systems conventions","directories":{},"_nodeVersion":"10.16.3","dependencies":{"yargs":"^12.0.5","@octokit/rest":"^16.15.0","action-status":"^0.1.1","github-action-meta":"^0.1.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^24.1.0","eslint":"^5.13.0","prettier":"^1.16.4","mocked-env":"^1.2.4","eslint-plugin-github":"^1.8.1"},"_npmOperationalInternal":{"tmp":"tmp/publish_0.0.0-e22c457_1566922890320_0.22476055760242675","host":"s3://npm-registry-packages"}},"0.0.0-9813c78":{"name":"@primer/publish","version":"0.0.0-9813c78","keywords":["primer","publish","github-actions","npm"],"author":{"name":"GitHub, Inc."},"license":"MIT","_id":"@primer/publish@0.0.0-9813c78","maintainers":[{"name":"broccolini","email":"diana.mounter@gmail.com"},{"name":"colebemis","email":"cole@colebemis.com"},{"name":"emplums","email":"eplummer26@gmail.com"},{"name":"jonrohan","email":"yes@jonrohan.codes"},{"name":"primer-css","email":"design-systems@github.com"},{"name":"shawnbot","email":"shawnbot-npm@nym.hush.com"}],"bin":{"primer-publish":"cli.js"},"dist":{"shasum":"ba81bee013fefe7cd29b4038d4d2c975815af43d","tarball":"https://registry.npmjs.org/@primer/publish/-/publish-0.0.0-9813c78.tgz","fileCount":20,"integrity":"sha512-R7HYeMu9kCKTGQopl/5D/zXbKaz3OuS1ZXcHUaejAHeUTGd/20HEu7+/zQ8yYqp81Ue0mFgrFQwTM+tu0SpRAw==","signatures":[{"sig":"MEUCIAFdKjQKW4lI6GlGuQcuVec3CJ/59koTJWVsf6FudExWAiEA+p/XchDuwsQ2p8wEVg1ojcVQbBosvCPAh+3QkkqOuAA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":26915,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdZrC+CRA9TVsSAnZWagAAOlgP+wWlNlJyqs6RtAnPv+MI\nmI9yz6j5zbIWfWRmFKTxVTkY+/pxWJf9sHud1rpVCOZ7Qt1zJoOkxvllfLE/\nArXoM5tsWZbNvv/Fh6O+X88/zK2/VdNP5A3u/6kQy7e6D06yp9seXz9pEldv\nVujdctQfMaE/6TJIuwDUIqqbs2mRTOvFcZ4AhlpuSqgzC0NhPmG8WjIfBx0h\nYhUTj8RLFM6MC7Q/aWLzHlkfCIf6xsnBm4z4Ec7vdArUuq0bXecMHQkheYOw\nv5BaXQOhLIbLueLyJ3jC/9wHVl+zh7Ztw/6hdTRbkOv2G7l1ACdnD9ur8t7f\nOohj5esh5ikV/oHemwfSiy/okeir18QJ/KnpoNhtCvB/nGQ6J4jEGynDKyj/\nEk8m+44bJFkDrQxjQAimsvRzrpAIc1icJ5xvmH0G5rTCYT0B7AD5F/+uId0l\njgYIkumCVO/puugQz5rCutukxwd2sMc43xuWnU6veJ13kZoQQXi5Qf0FAznX\naV3pvKmU8EW7oeKaw81S71+GfR6clZizXgPb6+4T1d0rjhEf6e5nBadJdkYD\n+lTKrWBjwluXmlPcuKt77dIW6j06Xycrj7T6XMtuQgHMJbQYNhf/qb3/Kub2\nEd1aRdxQ1HlAKlnL/5wfMH3RZIJs1aMdXgScbmcOFGZAWm7VOiER/9MqqDjO\nSTh0\r\n=E6Lt\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# primer/publish\n\nThis [GitHub Action][github actions] publishes to npm with the following conventions:\n\n1. If we're on the `master` branch, the `version` field is used as-is and we just run `npm publish --access public`.\n   - After publishing a new version on the `master` branch, we tag the commit SHA with `v{version}` via the GitHub API.\n   - If the version in `package.json` is already published, we exit with a `78` code, which is Actions-speak for \"neutral\".\n1. If we're on a `release-<version>` branch, we publish a release candidate to the `next` npm dist-tag with the version in the form: `<version>-rc.<sha>`.\n   - A [status check][status checks] is created with the context `npm version` noting whether the `version` field in `package.json` matches the `<version>` portion of the branch. If it doesn't, the check's status is marked as pending.\n1. Otherwise, we publish a \"canary\" release, which has a version in the form: `0.0.0-<sha>`.\n\n## Status checks\n\nDepending on the branch, a series of [statuses][status checks] will be created by this action in your checks: **publish** is the action's check, and **publish {package-name}** is a [commit status] created by the action that reports the version published and links to `unpkg.com` via \"Details\":\n\n![image](https://user-images.githubusercontent.com/113896/52375286-23368980-2a14-11e9-8974-062a3e45a846.png)\n\nIf you're on a release branch (`release-<version>`) and the `<version>` portion of the branch name doesn't match the `version` field in `package.json`, you'll get a pending status reminding you to update it:\n\n![image](https://user-images.githubusercontent.com/113896/52388530-b63ae800-2a43-11e9-92ef-14ec9459c109.png)\n\n## Usage\n\nTo use this action in your own workflow, add the following snippet to your `.github/main.workflow` file:\n\n```hcl\naction \"publish\" {\n  uses = \"primer/publish@master\"\n  secrets = [\n    \"GITHUB_TOKEN\",\n    \"NPM_AUTH_TOKEN\",\n  ]\n}\n```\n\n**You will need to provide an npm access token with publish permissions via the `NPM_AUTH_TOKEN` secret in the Actions visual editor** if you haven't already. The `GITHUB_TOKEN` secret is also required to create tags after releasing on the master branch.\n\nWe suggest that you place this action after any linting and/or testing actions to catch as many errors as possible before publishing.\n\n## Options\n\n### `--dry-run`\n\nDefault: `false`\n\nDoes everything publish would do except actually publishing to the registry. Reports the details of what would have been published.\n\n#### Example\n\n```hcl\naction \"publish\" {\n  uses = \"primer/publish@master\"\n  secrets = [\"GITHUB_TOKEN\", \"NPM_AUTH_TOKEN\"]\n  args = \"--dry-run\"\n}\n```\n\n### `--dir=<path>`\n\nDefault: `.`\n\nAccepts a path to the directory that contains the `package.json` to publish.\n\n#### Example\n\n```hcl\naction \"publish\" {\n  uses = \"primer/publish@master\"\n  secrets = [\"GITHUB_TOKEN\", \"NPM_AUTH_TOKEN\"]\n  args = \"--dir=packages/example\"\n}\n```\n\n## npm CLI arguments\n\nIt's possible to pass additional arguments to `npm` via the `args` field in your workflow action. Because the `primer-publish` CLI accepts options of its own (such as `--dry-run`), you need to prefix any `npm` arguments with `--`:\n\n```diff\naction \"publish\" {\n  uses = \"primer/publish@master\"\n+  args = [\"--\", \"--registry=https://registry.your.org\"]\n```\n\n[github actions]: https://github.com/features/actions\n[commit status]: https://developer.github.com/v3/repos/statuses/\n[status checks]: https://help.github.com/articles/about-status-checks/\n","gitHead":"9813c789c05858094c78b32c593eb3cace746a4b","scripts":{"lint":"eslint *.js src","test":"jest"},"_npmUser":{"name":"emplums","email":"eplummer26@gmail.com"},"_npmVersion":"6.9.0","description":"Publish Primer projects to npm with GitHub Design Systems conventions","directories":{},"_nodeVersion":"10.16.3","dependencies":{"yargs":"^12.0.5","@octokit/rest":"^16.15.0","action-status":"^0.1.1","github-action-meta":"^0.1.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^24.1.0","eslint":"^5.13.0","prettier":"^1.16.4","mocked-env":"^1.2.4","eslint-plugin-github":"^1.8.1"},"_npmOperationalInternal":{"tmp":"tmp/publish_0.0.0-9813c78_1567011005656_0.30967557448628025","host":"s3://npm-registry-packages"}},"0.0.0-dd3de09":{"name":"@primer/publish","version":"0.0.0-dd3de09","keywords":["primer","publish","github-actions","npm"],"author":{"name":"GitHub, Inc."},"license":"MIT","_id":"@primer/publish@0.0.0-dd3de09","maintainers":[{"name":"broccolini","email":"diana.mounter@gmail.com"},{"name":"colebemis","email":"cole@colebemis.com"},{"name":"emplums","email":"eplummer26@gmail.com"},{"name":"jonrohan","email":"yes@jonrohan.codes"},{"name":"primer-css","email":"design-systems@github.com"},{"name":"shawnbot","email":"shawnbot-npm@nym.hush.com"}],"bin":{"primer-publish":"cli.js"},"dist":{"shasum":"81b9cd5de848e100d67ef3820aee470cfe1f1fde","tarball":"https://registry.npmjs.org/@primer/publish/-/publish-0.0.0-dd3de09.tgz","fileCount":20,"integrity":"sha512-rgCHfCFr5WHr6j2q4tVsl1ZqB0JT4XAF0+JBRYG9Ssh9RIVFUz41/O1eJDRAXNc707lP0EEGDLNE48/JCQe44g==","signatures":[{"sig":"MEUCIHQE4l7BpjJBq3URzoj3c+/DtVUAGveRWfcZaX829hj8AiEAlliytQJ2N4d8Hw3sJ5mtAJFQ6qEmP70GM1/J+tkKngE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":27521,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdcXJhCRA9TVsSAnZWagAAgIYP/1hM1P+8DCXCABxyr+Zu\na63e0kFIlApwcSMaGntRZvLFkpQN++sPLy3S8MJ78EqkvB5t57ytgNivz3Nq\nTYc9znUVdFO+yYFKy7I1Si45m5FQtnwT8ZPP5ffpg/OI8ASxtZacQDC+9lYo\nBIFXklGuIQlDwoesynOvAb2ei8Kq7tV5kVPS0fXjoyawXIMR47Qz6q8ApCr/\nxV1qxUZijLGVl7UHIZ9Alj7+EHlPZmXL121JH37+gmRqTi+JFidDk5wbGRsw\ndvXdpjTa4s277VlYu3VNLAyuKsg4sMTvVcicUexp5SGSSXOotV6UDrGaIn5P\nv2tc8XXQtnwKVWa48YhHvvW0uKVNJQDhF0Ms8Rjp9eVEENR/W/YmY0/TPB2s\n8qkPsFJz+PX34vj9bL7oizQ7fET1062WFrW+0k9MFhpKFdE/2nk++EZnXsiG\nFF/lnkQeGb25xbZPjBlL2R37AKcsRSDm9zOvavE8xHSeSTl9Vg8AmTzx7tN+\nbBwQ8+NDmesgfjDCrOmFFtmlFj3DQQ3mNP5z+VygqyTZ4FkLFgf5tgPxFNQC\nT0fqr46f7p1PnwGG3ei3tHNpLuzV76/ImDrA1s71J+R6W8eD3Hd2lmcCHqOd\nLhHDkUfAqppasQFlvVwrT1UbztKCxwW9eknm42rHnkUc8FCRRgQhXjMfU5my\nIZYU\r\n=gLgZ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# primer/publish\n\nThis [GitHub Action][github actions] publishes to npm with the following conventions:\n\n1. If we're on the `master` branch, the `version` field is used as-is and we just run `npm publish --access public`.\n   - After publishing a new version on the `master` branch, we tag the commit SHA with `v{version}` via the GitHub API.\n   - If the version in `package.json` is already published, we exit with a `78` code, which is Actions-speak for \"neutral\".\n1. If we're on a `release-<version>` branch, we publish a release candidate to the `next` npm dist-tag with the version in the form: `<version>-rc.<sha>`.\n   - A [status check][status checks] is created with the context `npm version` noting whether the `version` field in `package.json` matches the `<version>` portion of the branch. If it doesn't, the check's status is marked as pending.\n1. Otherwise, we publish a \"canary\" release, which has a version in the form: `0.0.0-<sha>`.\n\n## Status checks\n\nDepending on the branch, a series of [statuses][status checks] will be created by this action in your checks: **publish** is the action's check, and **publish {package-name}** is a [commit status] created by the action that reports the version published and links to `unpkg.com` via \"Details\":\n\n![image](https://user-images.githubusercontent.com/113896/52375286-23368980-2a14-11e9-8974-062a3e45a846.png)\n\nIf you're on a release branch (`release-<version>`) and the `<version>` portion of the branch name doesn't match the `version` field in `package.json`, you'll get a pending status reminding you to update it:\n\n![image](https://user-images.githubusercontent.com/113896/52388530-b63ae800-2a43-11e9-92ef-14ec9459c109.png)\n\n## Usage\n\n**You will need to provide an npm access token with publish permissions via the `NPM_AUTH_TOKEN` secret in the Actions visual editor** if you haven't already. The `GITHUB_TOKEN` secret is also required to create tags after releasing on the master branch.\n\nWe suggest that you place this action after any linting and/or testing actions to catch as many errors as possible before publishing.\n\n\n### Actions v2\nTo use this in an [Actions v2](https://help.github.com/en/articles/migrating-github-actions-from-hcl-syntax-to-yaml-syntax) workflow, add the following YAML to one or more of your steps:\n\n```yaml\n- uses: primer/publish@master\n  env:\n    GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n    NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}\n```\n\nYou can pass additional [options](#options) via the `args` key:\n\n```diff\n​- uses: primer/publish@master\n  env:\n    GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n    NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}\n+   args: '--dry-run -- --unsafe-perm'\n```\n\n### Actions v1\nTo use this in an Actions v1 workflow, add the following snippet to `.github/main.workflow`:\n\n```hcl\naction \"publish\" {\n  uses = \"primer/publish@master\"\n  secrets = [\n    \"GITHUB_TOKEN\",\n    \"NPM_AUTH_TOKEN\",\n  ]\n}\n```\n\n## Options\n\n### `--dry-run`\n\nDefault: `false`\n\nDoes everything publish would do except actually publishing to the registry. Reports the details of what would have been published.\n\n#### Example\n\n```hcl\naction \"publish\" {\n  uses = \"primer/publish@master\"\n  secrets = [\"GITHUB_TOKEN\", \"NPM_AUTH_TOKEN\"]\n  args = \"--dry-run\"\n}\n```\n\n### `--dir=<path>`\n\nDefault: `.`\n\nAccepts a path to the directory that contains the `package.json` to publish.\n\n#### Example\n\n```hcl\naction \"publish\" {\n  uses = \"primer/publish@master\"\n  secrets = [\"GITHUB_TOKEN\", \"NPM_AUTH_TOKEN\"]\n  args = \"--dir=packages/example\"\n}\n```\n\n## npm CLI arguments\n\nIt's possible to pass additional arguments to `npm` via the `args` field in your workflow action. Because the `primer-publish` CLI accepts options of its own (such as `--dry-run`), you need to prefix any `npm` arguments with `--`:\n\n```diff\naction \"publish\" {\n  uses = \"primer/publish@master\"\n+  args = [\"--\", \"--registry=https://registry.your.org\"]\n```\n\n[github actions]: https://github.com/features/actions\n[commit status]: https://developer.github.com/v3/repos/statuses/\n[status checks]: https://help.github.com/articles/about-status-checks/\n","gitHead":"dd3de09e4590b12f2dc4cf679c54ff171eb8659e","scripts":{"lint":"eslint *.js src","test":"jest"},"_npmUser":{"name":"emplums","email":"eplummer26@gmail.com"},"_npmVersion":"6.9.0","description":"Publish Primer projects to npm with GitHub Design Systems conventions","directories":{},"_nodeVersion":"10.16.3","dependencies":{"yargs":"^12.0.5","@octokit/rest":"^16.15.0","action-status":"^0.1.1","github-action-meta":"^0.1.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^24.1.0","eslint":"^5.13.0","prettier":"^1.16.4","mocked-env":"^1.2.4","eslint-plugin-github":"^1.8.1"},"_npmOperationalInternal":{"tmp":"tmp/publish_0.0.0-dd3de09_1567715937094_0.5235255841080382","host":"s3://npm-registry-packages"}},"0.0.0-f8ef010":{"name":"@primer/publish","version":"0.0.0-f8ef010","keywords":["primer","publish","github-actions","npm"],"author":{"name":"GitHub, Inc."},"license":"MIT","_id":"@primer/publish@0.0.0-f8ef010","maintainers":[{"name":"broccolini","email":"diana.mounter@gmail.com"},{"name":"colebemis","email":"cole@colebemis.com"},{"name":"emplums","email":"eplummer26@gmail.com"},{"name":"jonrohan","email":"yes@jonrohan.codes"},{"name":"primer-css","email":"design-systems@github.com"},{"name":"shawnbot","email":"shawnbot-npm@nym.hush.com"}],"bin":{"primer-publish":"cli.js"},"dist":{"shasum":"0c43985f1fd55626408064837e4a130e30656363","tarball":"https://registry.npmjs.org/@primer/publish/-/publish-0.0.0-f8ef010.tgz","fileCount":19,"integrity":"sha512-tAKBMPjeHpfqM++U8I42r95IsryoZnQL3w5PiN8T2wyJrFVIPS6oeAriHTkbxkLnWegE0dbbJUP85cVbfkmenA==","signatures":[{"sig":"MEUCIQDiCkOSVi2r060/sK/X9rzwVmAXqSKJ6EXsp+BVdAjoywIgTLco5Pf1R1JfdP7DIeNvw/zN0PZpDJzAPPURK6kUXo8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":20652,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdf/nTCRA9TVsSAnZWagAAHioP+QHj0gYedhLnlsbxVYSi\nW41papsRi5GryT2xKF5LA3nBFMn2xldLkztt/oKpXi9DOR0yoiiC6deCmR4w\nltvMIXN3+7b9T4Tz2bAJ2m0C9+yMrK7f9EkXFVrlglV+I/J1t7jrFErgo5YE\nBeFh7j0qlw77nnSi3LPMqXd89j1VK2O/1abLaYwgmZZBBwV4hwhhtOEhgDwS\nZHnOrQjocq2vCC7AGO30ziUnOwB557CXxGKcUiJt3Zoi99CUpieRRf3OtrgB\nAVKYJaDUKyZvACPjKrLHfZhnrjIeWJIObt7YBtiO64pSJySF25aaMkKOehXD\n/Ij51kPa5+wqS/fbLRVMl+PmBfhrzOkFAZCJQpajS74Se521cfG5Yr2FOxTP\nvjOMmgf5f0+r+umEWE28TZhM3GFB799S35RLSt2uBfYZc3xLt5VaBHr8Jq0r\nU+niUHg3pbV+kfejLuFgxjCgDTXI6Y3vu83DrCfjysXJ4IPGzq4khAEUHx5F\nA4Zjf9oT+wkbo6X3+iRBCybQHpQP8JAfIAVh4Be5E5u2sX39hXp+pIUIA9oI\n26fnGH0Kckr/aiTPz6yuqMuovS2VdF+8eQ374yaWxpYuHOaq27jKey1NEqrV\nzxzKU3iVrVxq5y5tBPAiAAbRv70NPEN10jBccY5ecrhw3vTpEbZdiiMyW4CH\ncmLD\r\n=avPX\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# primer/publish\n\nThis [GitHub Action][github actions] publishes to npm with the following conventions:\n\n1. If we're on the `master` branch, the `version` field is used as-is and we just run `npm publish --access public`.\n    * After publishing a new version on the `master` branch, we tag the commit SHA with `v{version}` via the GitHub API.\n    * If the version in `package.json` is already published, we exit with a `78` code, which is Actions-speak for \"neutral\".\n1. If we're on a `release-<version>` branch, we publish a release candidate to the `next` npm dist-tag with the version in the form: `<version>-rc.<sha>`.\n    * A [status check][status checks] is created with the context `npm version` noting whether the `version` field in `package.json` matches the `<version>` portion of the branch. If it doesn't, the check's status is marked as pending.\n1. Otherwise, we publish a \"canary\" release, which has a version in the form: `0.0.0-<sha>`.\n\n## Status checks\nDepending on the branch, a series of [statuses][status checks] will be created by this action in your checks: **publish** is the action's check, and **publish {package-name}** is a [commit status] created by the action that reports the version published and links to `unpkg.com` via \"Details\":\n\n![image](https://user-images.githubusercontent.com/113896/52375286-23368980-2a14-11e9-8974-062a3e45a846.png)\n\nIf you're on a release branch (`release-<version>`) and the `<version>` portion of the branch name doesn't match the `version` field in `package.json`, you'll get a pending status reminding you to update it:\n\n![image](https://user-images.githubusercontent.com/113896/52388530-b63ae800-2a43-11e9-92ef-14ec9459c109.png)\n\n\n## Usage\nTo use this action in your own workflow, add the following snippet to your `.github/main.workflow` file:\n\n```hcl\naction \"publish\" {\n  uses = \"primer/publish@master\"\n  secrets = [\n    \"GITHUB_TOKEN\",\n    \"NPM_AUTH_TOKEN\",\n  ]\n}\n```\n\n**You will need to provide an npm access token with publish permissions via the `NPM_AUTH_TOKEN` secret in the Actions visual editor** if you haven't already. The `GITHUB_TOKEN` secret is also required to create tags after releasing on the master branch.\n\nWe suggest that you place this action after any linting and/or testing actions to catch as many errors as possible before publishing.\n\n## npm CLI arguments\nIt's possible to pass additional arguments to `npm` via the `args` field in your workflow action. Because the `primer-publish` CLI accepts options of its own (such as `--dry-run`), you need to prefix any `npm` arguments with `--`:\n\n```diff\naction \"publish\" {\n  uses = \"primer/publish@master\"\n+  args = [\"--\", \"--registry=https://registry.your.org\"]\n```\n\n[github actions]: https://github.com/features/actions\n[commit status]: https://developer.github.com/v3/repos/statuses/\n[status checks]: https://help.github.com/articles/about-status-checks/\n","gitHead":"f8ef010e4d05a7f31e2e58b5db35fa199f9de809","scripts":{"lint":"eslint *.js src","test":"jest"},"_npmUser":{"name":"emplums","email":"eplummer26@gmail.com"},"_npmVersion":"6.9.0","description":"Publish Primer projects to npm with GitHub Design Systems conventions","directories":{},"_nodeVersion":"10.16.3","dependencies":{"yargs":"^12.0.5","@octokit/rest":"^16.15.0","action-status":"^0.1.1","github-action-meta":"^0.1.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^24.1.0","eslint":"^5.13.0","prettier":"^1.16.4","mocked-env":"^1.2.4","eslint-plugin-github":"^1.8.1"},"_npmOperationalInternal":{"tmp":"tmp/publish_0.0.0-f8ef010_1568668115421_0.7460902636266284","host":"s3://npm-registry-packages"}},"0.0.0-c047b7c":{"name":"@primer/publish","version":"0.0.0-c047b7c","keywords":["primer","publish","github-actions","npm"],"author":{"name":"GitHub, Inc."},"license":"MIT","_id":"@primer/publish@0.0.0-c047b7c","maintainers":[{"name":"broccolini","email":"diana.mounter@gmail.com"},{"name":"colebemis","email":"cole@colebemis.com"},{"name":"emplums","email":"eplummer26@gmail.com"},{"name":"jonrohan","email":"yes@jonrohan.codes"},{"name":"primer-css","email":"design-systems@github.com"},{"name":"shawnbot","email":"shawnbot-npm@nym.hush.com"}],"bin":{"primer-publish":"cli.js"},"dist":{"shasum":"e1c9a3b3c921da18f99ad8454c5908bacc3add73","tarball":"https://registry.npmjs.org/@primer/publish/-/publish-0.0.0-c047b7c.tgz","fileCount":20,"integrity":"sha512-x1lF81Txt1VXrLW5E5iBFuv5unkd66O8mPTCY+imIA6FC4RX94kp1e1EE7xcnGttbuYCgQQ96ZZPxuZFnkqmEQ==","signatures":[{"sig":"MEUCIQDDsCcHJrw9nuqMGGmCfJ1P6DObNn3dH34Q803iiML5VwIgUa8K3JuHYEEYQpw1/J6xXBOm/E7fYe+K7qlwj2yd2LQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":27933,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdgmAfCRA9TVsSAnZWagAAPf0P/jeOUkWs6GnmOvjs6TV1\nuckv6V0AuMNvbu2fBY5IyMYPifenljQ+GYMU8KdUKOqJAWlVUeV86bFIbDQA\nHf0T5IftlKBJXpyPtW3TqwdDY86BkeBONGOXi92PtlUVx/3lu+7k7gyz6CmS\nEg7Q5pY4aNg+CBUJ2TIZm+ZfAhjp5SUXnVKL7Iz086PEpX1lfHJ8PdvOW11X\nef+kcin8qXRS8bxfyDktkw3JZoVNvrM0M1UXxZo+zFOyXMw8U/9ra5paLKCj\nBW2OTLSrv1LPvvyEXQ0F1AIVAM6YoolOCAkTtMLpq8Z/DSM2nrN6s2rNJ6MJ\nzsN020XI+fKwoHkYOlKaS6X0W6GnKT5Hw/IhTUbybaYJ9863td1skGnD9aaH\nxmTgXXudw1kfw80n1Bxr+nhRynQHkNZztKkcIbkop4JesXJowv5h9yMhmdpU\nPrYOhX2V8ZzRQU9VgBmXpyDjS48flbt8Xo6ywk3dO+T9JVGQupYSh1+0LFMa\nWC1r/v5ca8TCCtc2CY4ifDr45r3ZQgvsCl4q1DSEPV9lDcmQ3oBxnD2+nw++\nBd2M70ndRoa7JaDt53Eip1cuDWvHjsSI4i+bVtL9zUZEfjvevCSE3P2A+P0w\n4ONe2OFxUrNfvKSDOBWUjLLhLor9eW40wnVKLPuY+sJ8hWyJBuwrhMq+ZcEb\nnvN7\r\n=/Drd\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# primer/publish\n\nThis [GitHub Action][github actions] publishes to npm with the following conventions:\n\n1. If we're on the `master` branch, the `version` field is used as-is and we just run `npm publish --access public`.\n   - After publishing a new version on the `master` branch, we tag the commit SHA with `v{version}` via the GitHub API.\n   - If the version in `package.json` is already published, we exit with a `0` code. Previously, we exited with a `78` code, which was Actions v1-speak for \"neutral\", but this has been removed from Actions v2: https://twitter.com/ethomson/status/1163899559279497217?s=20.\n1. If we're on a `release-<version>` branch, we publish a release candidate to the `next` npm dist-tag with the version in the form: `<version>-rc.<sha>`.\n   - A [status check][status checks] is created with the context `npm version` noting whether the `version` field in `package.json` matches the `<version>` portion of the branch. If it doesn't, the check's status is marked as pending.\n1. Otherwise, we publish a \"canary\" release, which has a version in the form: `0.0.0-<sha>`.\n\n## Status checks\n\nDepending on the branch, a series of [statuses][status checks] will be created by this action in your checks: **publish** is the action's check, and **publish {package-name}** is a [commit status] created by the action that reports the version published and links to `unpkg.com` via \"Details\":\n\n![image](https://user-images.githubusercontent.com/113896/52375286-23368980-2a14-11e9-8974-062a3e45a846.png)\n\nIf you're on a release branch (`release-<version>`) and the `<version>` portion of the branch name doesn't match the `version` field in `package.json`, you'll get a pending status reminding you to update it:\n\n![image](https://user-images.githubusercontent.com/113896/52388530-b63ae800-2a43-11e9-92ef-14ec9459c109.png)\n\n## Usage\n\n**You will need to provide an npm access token with publish permissions via the `NPM_AUTH_TOKEN` secret in the Actions visual editor** if you haven't already. The `GITHUB_TOKEN` secret is also required to create tags after releasing on the master branch.\n\nWe suggest that you place this action after any linting and/or testing actions to catch as many errors as possible before publishing.\n\n\n### Actions v2\nTo use this in an [Actions v2](https://help.github.com/en/articles/migrating-github-actions-from-hcl-syntax-to-yaml-syntax) workflow, add the following YAML to one or more of your steps:\n\n```yaml\n- uses: primer/publish@master\n  env:\n    GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n    NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}\n```\n\nYou can pass additional [options](#options) via the `args` key:\n\n```diff\n​- uses: primer/publish@master\n  env:\n    GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n    NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}\n+   args: '--dry-run -- --unsafe-perm'\n```\n\n### Actions v1\nTo use this in an Actions v1 workflow, add the following snippet to `.github/main.workflow`:\n\n```hcl\naction \"publish\" {\n  uses = \"primer/publish@master\"\n  secrets = [\n    \"GITHUB_TOKEN\",\n    \"NPM_AUTH_TOKEN\",\n  ]\n}\n```\n\n## Options\n\n### `--dry-run`\n\nDefault: `false`\n\nDoes everything publish would do except actually publishing to the registry. Reports the details of what would have been published.\n\n#### Example\n\n```hcl\naction \"publish\" {\n  uses = \"primer/publish@master\"\n  secrets = [\"GITHUB_TOKEN\", \"NPM_AUTH_TOKEN\"]\n  args = \"--dry-run\"\n}\n```\n\n### `--dir=<path>`\n\nDefault: `.`\n\nAccepts a path to the directory that contains the `package.json` to publish.\n\n#### Example\n\n```hcl\naction \"publish\" {\n  uses = \"primer/publish@master\"\n  secrets = [\"GITHUB_TOKEN\", \"NPM_AUTH_TOKEN\"]\n  args = \"--dir=packages/example\"\n}\n```\n\n## npm CLI arguments\n\nIt's possible to pass additional arguments to `npm` via the `args` field in your workflow action. Because the `primer-publish` CLI accepts options of its own (such as `--dry-run`), you need to prefix any `npm` arguments with `--`:\n\n```diff\naction \"publish\" {\n  uses = \"primer/publish@master\"\n+  args = [\"--\", \"--registry=https://registry.your.org\"]\n```\n\n[github actions]: https://github.com/features/actions\n[commit status]: https://developer.github.com/v3/repos/statuses/\n[status checks]: https://help.github.com/articles/about-status-checks/\n","gitHead":"c047b7c2646dd34b9f26a3e6a52c6393c07d7d52","scripts":{"lint":"eslint *.js src","test":"jest"},"_npmUser":{"name":"emplums","email":"eplummer26@gmail.com"},"_npmVersion":"6.9.0","description":"Publish Primer projects to npm with GitHub Design Systems conventions","directories":{},"_nodeVersion":"10.16.3","dependencies":{"yargs":"^12.0.5","@octokit/rest":"^16.15.0","action-status":"^0.1.1","github-action-meta":"^0.1.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^24.1.0","eslint":"^5.13.0","prettier":"^1.16.4","mocked-env":"^1.2.4","eslint-plugin-github":"^1.8.1"},"_npmOperationalInternal":{"tmp":"tmp/publish_0.0.0-c047b7c_1568825374443_0.018266112674284907","host":"s3://npm-registry-packages"}},"0.0.0-c2a4747":{"name":"@primer/publish","version":"0.0.0-c2a4747","keywords":["primer","publish","github-actions","npm"],"author":{"name":"GitHub, Inc."},"license":"MIT","_id":"@primer/publish@0.0.0-c2a4747","maintainers":[{"name":"broccolini","email":"diana.mounter@gmail.com"},{"name":"colebemis","email":"cole@colebemis.com"},{"name":"emplums","email":"eplummer26@gmail.com"},{"name":"jonrohan","email":"yes@jonrohan.codes"},{"name":"primer-css","email":"design-systems@github.com"},{"name":"shawnbot","email":"shawnbot-npm@nym.hush.com"}],"bin":{"primer-publish":"cli.js"},"dist":{"shasum":"95765ab03517993a71262a9d401acad232486233","tarball":"https://registry.npmjs.org/@primer/publish/-/publish-0.0.0-c2a4747.tgz","fileCount":20,"integrity":"sha512-p2LHhZX0pH/sgYcFdQ/pdAMZbG+vngUozuCYdZpj61tPEuUjeJf+Cd5ep4Y3Am/AwMklrJYzkYHvtHXtcyD00A==","signatures":[{"sig":"MEUCIQCzr4rzqZtoKucbIVXkI7DcvMsD5xHfuIsAXrULACvYcAIgRLRHK31Z1rg1dz91w/1A77B9PZk+hdENowkQz+M9tLE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":27935,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdgnU1CRA9TVsSAnZWagAAIFYP/0DW0RNtbW/80b7PLxb8\nrCHkBix1cBaUtdvyYTGV5sewpEandCxXVolJvzfdMJswdqZWbcQvF7lWETil\nlyjML/T8C7zVsxYH5CGS0msqH4j9qQ+XkJYJIT+nfJDnHqV7tGc83W+KXjYe\nRdCK/2Gdw+QuEDqELxkrelgZV357Bc8Y9douQboo9hohkX41nti5gHM+yqmK\nAEch1VL2GSDMNzvUlC/EIpf0hnKdHEh1tJ6gL2ANelMRfz/Q10YPQM6H4rWG\nkD+h1dfMw8sHfqZg8HfMZOFEunIklkP00/rnam8DekONE8NrcbeAaoj8Qxqm\n3fJLbLapBk8BypWxsK6JiWxYLg6xljZIezN9Q10ziJWvHFFOfNMNm5mga3Vj\nGLCEUwdpUjimHBuy3TG/eh+JK80XFBNDuObPperrJYmHYmTUCKfSuqnrTMvz\nQymkwg4CC3q1BO0Q2JZtF8zcaLzoldCHpdlx94HO5A7IIrv+uuk6g7Sn5Vso\nroJyZp26ga50IvhehvtQBVN96Nc5V7pCJEpW+Dzm+F7leFO/runDuOON22Zu\nBLgVMVydTHEGNGN/wSpkW88myaPNhGNosbeLjhWPRXAo6KJTWRCW68ziiaHr\nOVQmvc62Mdnmjbj19Us9eJaAGwTZBQg5gFSIt/Pyk8dNLZLCbxaIV4K6dBIP\n0xi4\r\n=RZ6c\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# primer/publish\n\nThis [GitHub Action][github actions] publishes to npm with the following conventions:\n\n1. If we're on the `master` branch, the `version` field is used as-is and we just run `npm publish --access public`.\n   - After publishing a new version on the `master` branch, we tag the commit SHA with `v{version}` via the GitHub API.\n   - If the version in `package.json` is already published, we exit with a `0` code. Previously, we exited with a `78` code, which was Actions v1-speak for \"neutral\", but this has been [removed from Actions v2](https://twitter.com/ethomson/status/1163899559279497217?s=20).\n1. If we're on a `release-<version>` branch, we publish a release candidate to the `next` npm dist-tag with the version in the form: `<version>-rc.<sha>`.\n   - A [status check][status checks] is created with the context `npm version` noting whether the `version` field in `package.json` matches the `<version>` portion of the branch. If it doesn't, the check's status is marked as pending.\n1. Otherwise, we publish a \"canary\" release, which has a version in the form: `0.0.0-<sha>`.\n\n## Status checks\n\nDepending on the branch, a series of [statuses][status checks] will be created by this action in your checks: **publish** is the action's check, and **publish {package-name}** is a [commit status] created by the action that reports the version published and links to `unpkg.com` via \"Details\":\n\n![image](https://user-images.githubusercontent.com/113896/52375286-23368980-2a14-11e9-8974-062a3e45a846.png)\n\nIf you're on a release branch (`release-<version>`) and the `<version>` portion of the branch name doesn't match the `version` field in `package.json`, you'll get a pending status reminding you to update it:\n\n![image](https://user-images.githubusercontent.com/113896/52388530-b63ae800-2a43-11e9-92ef-14ec9459c109.png)\n\n## Usage\n\n**You will need to provide an npm access token with publish permissions via the `NPM_AUTH_TOKEN` secret in the Actions visual editor** if you haven't already. The `GITHUB_TOKEN` secret is also required to create tags after releasing on the master branch.\n\nWe suggest that you place this action after any linting and/or testing actions to catch as many errors as possible before publishing.\n\n\n### Actions v2\nTo use this in an [Actions v2](https://help.github.com/en/articles/migrating-github-actions-from-hcl-syntax-to-yaml-syntax) workflow, add the following YAML to one or more of your steps:\n\n```yaml\n- uses: primer/publish@master\n  env:\n    GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n    NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}\n```\n\nYou can pass additional [options](#options) via the `args` key:\n\n```diff\n​- uses: primer/publish@master\n  env:\n    GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n    NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}\n+   args: '--dry-run -- --unsafe-perm'\n```\n\n### Actions v1\nTo use this in an Actions v1 workflow, add the following snippet to `.github/main.workflow`:\n\n```hcl\naction \"publish\" {\n  uses = \"primer/publish@master\"\n  secrets = [\n    \"GITHUB_TOKEN\",\n    \"NPM_AUTH_TOKEN\",\n  ]\n}\n```\n\n## Options\n\n### `--dry-run`\n\nDefault: `false`\n\nDoes everything publish would do except actually publishing to the registry. Reports the details of what would have been published.\n\n#### Example\n\n```hcl\naction \"publish\" {\n  uses = \"primer/publish@master\"\n  secrets = [\"GITHUB_TOKEN\", \"NPM_AUTH_TOKEN\"]\n  args = \"--dry-run\"\n}\n```\n\n### `--dir=<path>`\n\nDefault: `.`\n\nAccepts a path to the directory that contains the `package.json` to publish.\n\n#### Example\n\n```hcl\naction \"publish\" {\n  uses = \"primer/publish@master\"\n  secrets = [\"GITHUB_TOKEN\", \"NPM_AUTH_TOKEN\"]\n  args = \"--dir=packages/example\"\n}\n```\n\n## npm CLI arguments\n\nIt's possible to pass additional arguments to `npm` via the `args` field in your workflow action. Because the `primer-publish` CLI accepts options of its own (such as `--dry-run`), you need to prefix any `npm` arguments with `--`:\n\n```diff\naction \"publish\" {\n  uses = \"primer/publish@master\"\n+  args = [\"--\", \"--registry=https://registry.your.org\"]\n```\n\n[github actions]: https://github.com/features/actions\n[commit status]: https://developer.github.com/v3/repos/statuses/\n[status checks]: https://help.github.com/articles/about-status-checks/\n","gitHead":"c2a47478e6a980d64aabe39eb798db0c34d8eef8","scripts":{"lint":"eslint *.js src","test":"jest"},"_npmUser":{"name":"emplums","email":"eplummer26@gmail.com"},"_npmVersion":"6.9.0","description":"Publish Primer projects to npm with GitHub Design Systems conventions","directories":{},"_nodeVersion":"10.16.3","dependencies":{"yargs":"^12.0.5","@octokit/rest":"^16.15.0","action-status":"^0.1.1","github-action-meta":"^0.1.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^24.1.0","eslint":"^5.13.0","prettier":"^1.16.4","mocked-env":"^1.2.4","eslint-plugin-github":"^1.8.1"},"_npmOperationalInternal":{"tmp":"tmp/publish_0.0.0-c2a4747_1568830772941_0.2175330706704739","host":"s3://npm-registry-packages"}},"0.0.0-b24b926":{"name":"@primer/publish","version":"0.0.0-b24b926","keywords":["primer","publish","github-actions","npm"],"author":{"name":"GitHub, Inc."},"license":"MIT","_id":"@primer/publish@0.0.0-b24b926","maintainers":[{"name":"broccolini","email":"diana.mounter@gmail.com"},{"name":"colebemis","email":"cole@colebemis.com"},{"name":"emplums","email":"eplummer26@gmail.com"},{"name":"jonrohan","email":"yes@jonrohan.codes"},{"name":"primer-css","email":"design-systems@github.com"},{"name":"shawnbot","email":"shawnbot-npm@nym.hush.com"}],"bin":{"primer-publish":"cli.js"},"dist":{"shasum":"e7c70dab901740e66d4d3b0029bd909d42e55ca1","tarball":"https://registry.npmjs.org/@primer/publish/-/publish-0.0.0-b24b926.tgz","fileCount":20,"integrity":"sha512-E9Mfl90z8WysJKDRx5B4qSdWgKXhx66X2wtVH5+axjB0yI8t4at+AnJi4g5IdtzMrnaLgLNQ9MGnqysFQgp6CA==","signatures":[{"sig":"MEYCIQDzfBOlzSXbBButwX/zc/Io1G0K92wgyi6RVnMW7QIRWgIhANUjA5RSp/nDV+AoROgJ1xDFZcbCG2z2DlbdAGxpbl5l","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":27935,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdgnd6CRA9TVsSAnZWagAAP3YQAJE11vJJmPCVt7zfgkfl\n3+bxiO+SWioA6KCLm8gySgsaQPBAvdSNfflb29zOpmxSvmQZJtaREIrobodR\nqCakuEF5Z3uxA0BkrH4fPucb/53YKL0hL4LUQTSK16W3+mj6vIU/r/Gtjt8f\nSPG6ifJWT+ol2SY4tDamJ0aXAa5UG67qHCRXlYhqH5/GXwTQ9tOG2vum3P06\nEROIEORbRBKgxZri5dlm6P+HuZb3bxHajS04iD8CIq5Z725CbJYZM1tLO0sP\nDWWMhprNus+pTrvXPOrx9UA8C/ZDRz8iOqbylXM3ag/IkITRZxyZG4SUZQJA\nXOCVyH9UXd89DrYZ9KYGTB0z+eU0MpNdVsP/kOB23Q7+iuAdweB1YhSZe3p3\n95xLuRG5ZVulCnS94S9tkSlyq2Yi2th6zWgOviWeUyZQDu2RsIj4sPIfa1x2\n9hCX0ymoVJgEKEkM5d9DKpoE81QMBhBRHltgi4mhFuqmuy0O/eWjiOYXCSeU\nn0Int7nUJK2et4HDOtnLArPyB9V/cYyNFJ7YDq/fTolC2Uj6BiayrzN4legA\nRIVf1okbpq8FiE1FYvKvgEFN5cVr3Trjv6FRURfO6dbBnWd8Ehsrl0AaIB2z\nj66fiQH/hsEb6T0J9ZsGvMNvyluKRtOZ75AHrsF/7kcOA3GB87wceb4C6an6\ne7iW\r\n=IfaQ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# primer/publish\n\nThis [GitHub Action][github actions] publishes to npm with the following conventions:\n\n1. If we're on the `master` branch, the `version` field is used as-is and we just run `npm publish --access public`.\n   - After publishing a new version on the `master` branch, we tag the commit SHA with `v{version}` via the GitHub API.\n   - If the version in `package.json` is already published, we exit with a `0` code. Previously, we exited with a `78` code, which was Actions v1-speak for \"neutral\", but this has been [removed from Actions v2](https://twitter.com/ethomson/status/1163899559279497217?s=20).\n1. If we're on a `release-<version>` branch, we publish a release candidate to the `next` npm dist-tag with the version in the form: `<version>-rc.<sha>`.\n   - A [status check][status checks] is created with the context `npm version` noting whether the `version` field in `package.json` matches the `<version>` portion of the branch. If it doesn't, the check's status is marked as pending.\n1. Otherwise, we publish a \"canary\" release, which has a version in the form: `0.0.0-<sha>`.\n\n## Status checks\n\nDepending on the branch, a series of [statuses][status checks] will be created by this action in your checks: **publish** is the action's check, and **publish {package-name}** is a [commit status] created by the action that reports the version published and links to `unpkg.com` via \"Details\":\n\n![image](https://user-images.githubusercontent.com/113896/52375286-23368980-2a14-11e9-8974-062a3e45a846.png)\n\nIf you're on a release branch (`release-<version>`) and the `<version>` portion of the branch name doesn't match the `version` field in `package.json`, you'll get a pending status reminding you to update it:\n\n![image](https://user-images.githubusercontent.com/113896/52388530-b63ae800-2a43-11e9-92ef-14ec9459c109.png)\n\n## Usage\n\n**You will need to provide an npm access token with publish permissions via the `NPM_AUTH_TOKEN` secret in the Actions visual editor** if you haven't already. The `GITHUB_TOKEN` secret is also required to create tags after releasing on the master branch.\n\nWe suggest that you place this action after any linting and/or testing actions to catch as many errors as possible before publishing.\n\n\n### Actions v2\nTo use this in an [Actions v2](https://help.github.com/en/articles/migrating-github-actions-from-hcl-syntax-to-yaml-syntax) workflow, add the following YAML to one or more of your steps:\n\n```yaml\n- uses: primer/publish@master\n  env:\n    GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n    NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}\n```\n\nYou can pass additional [options](#options) via the `args` key:\n\n```diff\n​- uses: primer/publish@master\n  env:\n    GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n    NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}\n+   args: '--dry-run -- --unsafe-perm'\n```\n\n### Actions v1\nTo use this in an Actions v1 workflow, add the following snippet to `.github/main.workflow`:\n\n```hcl\naction \"publish\" {\n  uses = \"primer/publish@master\"\n  secrets = [\n    \"GITHUB_TOKEN\",\n    \"NPM_AUTH_TOKEN\",\n  ]\n}\n```\n\n## Options\n\n### `--dry-run`\n\nDefault: `false`\n\nDoes everything publish would do except actually publishing to the registry. Reports the details of what would have been published.\n\n#### Example\n\n```hcl\naction \"publish\" {\n  uses = \"primer/publish@master\"\n  secrets = [\"GITHUB_TOKEN\", \"NPM_AUTH_TOKEN\"]\n  args = \"--dry-run\"\n}\n```\n\n### `--dir=<path>`\n\nDefault: `.`\n\nAccepts a path to the directory that contains the `package.json` to publish.\n\n#### Example\n\n```hcl\naction \"publish\" {\n  uses = \"primer/publish@master\"\n  secrets = [\"GITHUB_TOKEN\", \"NPM_AUTH_TOKEN\"]\n  args = \"--dir=packages/example\"\n}\n```\n\n## npm CLI arguments\n\nIt's possible to pass additional arguments to `npm` via the `args` field in your workflow action. Because the `primer-publish` CLI accepts options of its own (such as `--dry-run`), you need to prefix any `npm` arguments with `--`:\n\n```diff\naction \"publish\" {\n  uses = \"primer/publish@master\"\n+  args = [\"--\", \"--registry=https://registry.your.org\"]\n```\n\n[github actions]: https://github.com/features/actions\n[commit status]: https://developer.github.com/v3/repos/statuses/\n[status checks]: https://help.github.com/articles/about-status-checks/\n","gitHead":"b24b926a7611f855a3b9db21946dcda8c21e7d25","scripts":{"lint":"eslint *.js src","test":"jest"},"_npmUser":{"name":"emplums","email":"eplummer26@gmail.com"},"_npmVersion":"6.9.0","description":"Publish Primer projects to npm with GitHub Design Systems conventions","directories":{},"_nodeVersion":"10.16.3","dependencies":{"yargs":"^12.0.5","@octokit/rest":"^16.15.0","action-status":"^0.1.1","github-action-meta":"^0.1.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^24.1.0","eslint":"^5.13.0","prettier":"^1.16.4","mocked-env":"^1.2.4","eslint-plugin-github":"^1.8.1"},"_npmOperationalInternal":{"tmp":"tmp/publish_0.0.0-b24b926_1568831353358_0.2589281415322582","host":"s3://npm-registry-packages"}},"2.0.0":{"name":"@primer/publish","version":"2.0.0","keywords":["primer","publish","github-actions","npm"],"author":{"name":"GitHub, Inc."},"license":"MIT","_id":"@primer/publish@2.0.0","maintainers":[{"name":"broccolini","email":"diana.mounter@gmail.com"},{"name":"colebemis","email":"cole@colebemis.com"},{"name":"emplums","email":"eplummer26@gmail.com"},{"name":"jonrohan","email":"yes@jonrohan.codes"},{"name":"primer-css","email":"design-systems@github.com"},{"name":"shawnbot","email":"shawnbot-npm@nym.hush.com"}],"bin":{"primer-publish":"cli.js"},"dist":{"shasum":"3417a04cafc696c9dae897dfa65b410a2e734b1e","tarball":"https://registry.npmjs.org/@primer/publish/-/publish-2.0.0.tgz","fileCount":20,"integrity":"sha512-ibjyXDGygpYyIkdH6P16Q7KS8NDdxKgt9B2ghXoDfk1vvkRn8UpDogSWoNth79ZO0vVRfjjqZ+07Ew7Ck2PHow==","signatures":[{"sig":"MEUCIDJJyVjXNl87AMFgx4I0XTxyw3gsIY9X97ssjOHjuoICAiEA+mqv5D7RJ6uG2fsXNsKBvAKkLBrWcHNrn40ZDHjCvPI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":27927,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdgnmQCRA9TVsSAnZWagAAmxoP/3Q60tG7xbOY4tG7+jWQ\n6fWvHNK1XK3UgVB0N4+C3tByF7HszUjCMTn0I9rwQHoPPIUx8wMgsHOptghc\nXttUiibPlngfnKQpc2R96iYvB/kvJeff0BrZ3/ljbA9aCZVW686vQyqbZN3z\ncMx3852fUi9KwQr3Kh0jbKvukgwzAQvjjRLQC0zNye8yPPL87up7PWnBgqG/\n59GE4A6NxoCtimDewqzzpoLlwBSLCCnX05Pf2DICHOy/lrSKpQ8XORJN63Bs\nQupZ7Hvzh5lj7TWbMDHTHmnpTi39ThYRofPgMBrzTLyrdQL4jer3Pn4Qe+OJ\nzW6VU9E5f/bYFyk3AT1/AwmuObVcKnv7+Pd0ENIiM2sL24CqITodTgrRp78f\ntQUl8P9NnLVmlsrRQ01OSh8a7Wp5einL3flSez4USHqmtf/N2556rxpmGm6f\nWrFE+2N9tuZpvDmrw3ooujZVTGTu7sJCH9ay2QnlBw9xC2lwzX1Yiwl7cVpk\nzB1ZZB8xVjUPSVPOrIbgpBMpVEE1ai/OFQOjuqV47iliAP0Qi2kS2oOC3TEN\n+RvyscofwL0hzhUTumOKK1YBlwC55FrkCBNGY/uEOUbuI34cZi43RnNJZXrU\npP3Rdcwse0Fp45quVtEQic7im9Ee5CjVbYhKWPvQ+f8AeFahPkJ3BYGmQlCm\nBbOe\r\n=NEGO\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"34686f67f7acde0c80e900835859df578c821284","scripts":{"lint":"eslint *.js src","test":"jest"},"_npmUser":{"name":"emplums","email":"eplummer26@gmail.com"},"_npmVersion":"6.9.0","description":"Publish Primer projects to npm with GitHub Design Systems conventions","directories":{},"_nodeVersion":"10.16.3","dependencies":{"yargs":"^12.0.5","@octokit/rest":"^16.15.0","action-status":"^0.1.1","github-action-meta":"^0.1.2"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^24.1.0","eslint":"^5.13.0","prettier":"^1.16.4","mocked-env":"^1.2.4","eslint-plugin-github":"^1.8.1"},"_npmOperationalInternal":{"tmp":"tmp/publish_2.0.0_1568831887891_0.7041667514751058","host":"s3://npm-registry-packages"}},"0.0.0-04e7b0e":{"name":"@primer/publish","version":"0.0.0-04e7b0e","keywords":["primer","publish","github-actions","npm"],"author":{"name":"GitHub, Inc."},"license":"MIT","_id":"@primer/publish@0.0.0-04e7b0e","maintainers":[{"name":"binarymuse","email":"michelle@michelletilley.net"},{"name":"colebemis","email":"cole@colebemis.com"},{"name":"primer-css","email":"design-systems@github.com"},{"name":"broccolini","email":"diana.mounter@gmail.com"},{"name":"emplums","email":"eplummer26@gmail.com"},{"name":"jonrohan","email":"yes@jonrohan.codes"}],"bin":{"primer-publish":"cli.js"},"dist":{"shasum":"fda95348f4151c1c638905b4b23f10cf9e8586f1","tarball":"https://registry.npmjs.org/@primer/publish/-/publish-0.0.0-04e7b0e.tgz","fileCount":22,"integrity":"sha512-kg58oMO1VXyRFbHCu8Ro8Y16AkIHi5BLW7xhYxD5s1T75EncfoCYrnEOdudeEx1QvueGjDG5UrTHlYhZ1vlk8g==","signatures":[{"sig":"MEYCIQDBdsTW39g47EDaSeJ2gLX8yeyTe/tqFb1BBqhGmja4CQIhAJpjnx3XRuYt1C5IqlIFCriJihzyynB0yrVqQ5bAKxwT","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":29082,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfYm82CRA9TVsSAnZWagAAQaoP/15WjZuuN/VHKKynlOiY\nHuFJxho6DpqVnm1XXn1knD/BOIAvzSRg70qz5NUHV1doDFFTqDmyGJAH+Psq\nzJ5luWjYxQSFTiB7ZNEnQjSWGoDkbXXvOnFxx4OPzmuWLOHplrI1oIBCBv8/\nTORwFrChwefss59ObGh9JIQHD/MXZO3CI0T03oqHAIYtf5oq2qzyowuGPiLv\nNRkXwGUm0a2fren3Ky5GWnYA7vhSeb0ROuOKouJVIrZmOigWDByEbrJff2vB\nco/YvjQ/+H3Av6mz1aZ8IQLYR96OlVzsBfxtSQvphOcsO9dYBVlOxvJkJ2Q7\nFJq7oIDhGesPrrCA9SmRsbsNx5/krSftvBchc2HHUcXGxDlMBtGBasVbiV55\n1UdNzLNCnzZJAu4G99jxNaw6gvsyeOkb/Oh+aAqSIh8e75eHrTHd/H+Dmwep\nfgYjl+aVmT2Y/flzWPjjfLp61DJWNtU/kRABpQxhOXDekS9KkLyt+dipY9yg\nQoTahfETHrSKLYKhSSt5TOxx3Ji1fYatU2jL27TZo07U0QmLl4mGUKXSsVKU\ne+QAu3FuJQRmk38kQyH0ilqo0M+BL6KZyjh0yD395vhE3BTqP4v98o6npqX1\naMkiUINeQ80rQanIVgRy2xzNjf2Pdse02rs79e8//Crp328onAMScY+j5mal\nfau+\r\n=O7c9\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# primer/publish\n\nThis [GitHub Action][github actions] publishes to npm with the following conventions:\n\n1. If we're on the default branch, the `version` field is used as-is and we just run `npm publish --access public`.\n   - After publishing a new version on the default branch, we tag the commit SHA with `v{version}` via the GitHub API.\n   - If the version in `package.json` is already published, we exit with a `0` code. Previously, we exited with a `78` code, which was Actions v1-speak for \"neutral\", but this has been [removed from Actions v2](https://twitter.com/ethomson/status/1163899559279497217?s=20).\n1. If we're on a `release-<version>` branch, we publish a release candidate to the `next` npm dist-tag with the version in the form: `<version>-rc.<sha>`.\n   - A [status check][status checks] is created with the context `npm version` noting whether the `version` field in `package.json` matches the `<version>` portion of the branch. If it doesn't, the check's status is marked as pending.\n1. Otherwise, we publish a \"canary\" release, which has a version in the form: `0.0.0-<sha>`.\n\n## Status checks\n\nDepending on the branch, a series of [statuses][status checks] will be created by this action in your checks: **publish** is the action's check, and **publish {package-name}** is a [commit status] created by the action that reports the version published and links to `unpkg.com` via \"Details\":\n\n![image](https://user-images.githubusercontent.com/113896/52375286-23368980-2a14-11e9-8974-062a3e45a846.png)\n\nIf you're on a release branch (`release-<version>`) and the `<version>` portion of the branch name doesn't match the `version` field in `package.json`, you'll get a pending status reminding you to update it:\n\n![image](https://user-images.githubusercontent.com/113896/52388530-b63ae800-2a43-11e9-92ef-14ec9459c109.png)\n\n## Usage\n\n**You will need to provide an npm access token with publish permissions via the `NPM_AUTH_TOKEN` secret in the Actions visual editor** if you haven't already. The `GITHUB_TOKEN` secret is also required to create tags after releasing on the master branch.\n\nWe suggest that you place this action after any linting and/or testing actions to catch as many errors as possible before publishing.\n\n\n### Actions\nTo use this in an Actions workflow, add the following YAML to one or more of your steps:\n\n```yaml\n- uses: primer/publish@v3\n  env:\n    GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n    NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}\n```\n\nYou can pass additional [inputs](#inputs) via the `with` key:\n\n```hcl\n- name: Publish to the npm registry\n  uses: \"primer/publish@v3\"\n  with:\n    npm-args: \"--unsafe-perm --allow-same-version\"\n    default-branch: \"main\"\n```\n\n\n## Inputs\n\n### `dry_run`\n\nDoes everything publish would do except actually publishing to the registry. Reports the details of what would have been published.\n\nDefault: `false`\n\n#### Example\n\n```hcl\n- name: Publish to the npm registry\n  uses: \"primer/publish@v3\"\n  with:\n    dry_run: true\n```\n\n### `dir`\n\nAccepts a path to the directory that contains the `package.json` to publish.\n\nDefault: `.`\n\n#### Example\n\n```hcl\n- name: Publish to the npm registry\n  uses: \"primer/publish@v3\"\n  with:\n    dir: \"packages/example\"\n}\n```\n\n### `npm_args`\n\nIt's possible to pass additional arguments to `npm` via the `npm_args` input in your workflow action.\n\n```hcl\n- name: Publish to the npm registry\n  uses: \"primer/publish@v3\"\n  with:\n    npm_args: \"--unsafe-perm --allow-same-version\"\n```\n\n### `default_branch`\n\nThe branch you'd like to use to trigger releases. Typically this is `main` or `master`.\n\nDefault: `master`\n\n```hcl\n- name: Publish to the npm registry\n  uses: \"primer/publish@v3\"\n  with:\n    default_branch: \"main\"\n```\n\n### `release_tag`\n\nThe `release_tag` input can be used to override the auto-generated release tag.\n\nDefault: `latest`\n\n```hcl\n- name: Publish to the npm registry\n  uses: \"primer/publish@v3\"\n  with:\n    release_tag: \"1.0.0\"\n```\n\n[github actions]: https://github.com/features/actions\n[commit status]: https://developer.github.com/v3/repos/statuses/\n[status checks]: https://help.github.com/articles/about-status-checks/\n","gitHead":"04e7b0e172a50d4faf73f9865d92ba48c0084d97","scripts":{"lint":"eslint *.js src","test":"jest"},"_npmUser":{"name":"emplums","email":"eplummer26@gmail.com"},"_npmVersion":"6.14.6","description":"Publish Primer projects to npm with GitHub Design Systems conventions","directories":{},"_nodeVersion":"10.22.1","dependencies":{"yargs":"^12.0.5","@octokit/rest":"^16.15.0","action-status":"^0.1.1","github-action-meta":"^0.1.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^24.1.0","eslint":"^5.13.0","prettier":"^1.16.4","mocked-env":"^1.2.4","eslint-plugin-github":"^1.8.1"},"_npmOperationalInternal":{"tmp":"tmp/publish_0.0.0-04e7b0e_1600286518001_0.35616965094843955","host":"s3://npm-registry-packages"}},"0.0.0-58c8426":{"name":"@primer/publish","version":"0.0.0-58c8426","keywords":["primer","publish","github-actions","npm"],"author":{"name":"GitHub, Inc."},"license":"MIT","_id":"@primer/publish@0.0.0-58c8426","maintainers":[{"name":"binarymuse","email":"michelle@michelletilley.net"},{"name":"colebemis","email":"cole@colebemis.com"},{"name":"primer-css","email":"design-systems@github.com"},{"name":"broccolini","email":"diana.mounter@gmail.com"},{"name":"emplums","email":"eplummer26@gmail.com"},{"name":"jonrohan","email":"yes@jonrohan.codes"}],"bin":{"primer-publish":"cli.js"},"dist":{"shasum":"f0d0bf3e8370b664daefba4a28a382226434daca","tarball":"https://registry.npmjs.org/@primer/publish/-/publish-0.0.0-58c8426.tgz","fileCount":22,"integrity":"sha512-sRaVtQsJi2U4CE2fxdIForWrNBFDQzMY+aZY9kncAS7x1SFtEPgPIesL9bkabrG7PEjneM+K9ODS72a8UFkq1Q==","signatures":[{"sig":"MEQCIEow0fRriI1FhvJwrVIl71OyAzbSAxGKhmZ8kQpJpqlQAiAI6psovxikosc1BmAyT4XTWffb0+0vbBaPd+iRwVk2Dw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":29082,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfYnDNCRA9TVsSAnZWagAAzLAP/0OArkAeJKULvteeecFd\nv17cCDHbqWXQbPuvBirEbD5sxjjrPLmFEwcPTY5ICal53sx+LPjCXkqTOeQO\nvJ0e9+1FQe+DnIMhEmTo5X+PS4GRaKHSakxhydgpE7F1rjIqT3YPhpmPkwFc\nKZz+sA3pxIaRoZi/IoWa0OmKBb2Ivkc9EFwbr0fyPibqOwVZUrLlLOD/daXv\nwEZJZCW4y5GKKe0ZMoCZJJ0X64vs8TcQHk8ojb1f0/mtPu4+vic8T8lo531L\nHdVfc2TP2HiulDEGkx22x9QCwcnYKDPYA4XQwbtSOT8Nf/RZdkauJV5S2Hry\n1jGQIObQBon/1jpU6BTkQEIhqrv/i7HCfAbFi1BwUew4w+QuzwrKDddyQsNV\nlrZfWyEVhMVZO0f+fcaNA6uw2yF/FAoDKKzOGcFtipsddBtwfSgLKmMFo5EC\nanvL+aj8cWf6Z7iT+/YO6y14kX6+jcoWXesewa25qYn5UcX6MuZAM4h+M8hD\nbI7KHImIvQkhqvyJm0oXKAMVLSKRK/aQSRToCZvRgHiWitLsIQnBuw59B8Y9\nAJhr9I4DgMThxbA6DvCqSpoWafKdlg9RYZPYOYXN6ZY54Jevetke7EETHwNm\n5H0Sl2ecVHB3JsvyM4UMxvPwcKhChIo9hdEySrQFfXvaHPF3fuBU3Tklmuq8\n0f7p\r\n=ISsZ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# primer/publish\n\nThis [GitHub Action][github actions] publishes to npm with the following conventions:\n\n1. If we're on the default branch, the `version` field is used as-is and we just run `npm publish --access public`.\n   - After publishing a new version on the default branch, we tag the commit SHA with `v{version}` via the GitHub API.\n   - If the version in `package.json` is already published, we exit with a `0` code. Previously, we exited with a `78` code, which was Actions v1-speak for \"neutral\", but this has been [removed from Actions v2](https://twitter.com/ethomson/status/1163899559279497217?s=20).\n1. If we're on a `release-<version>` branch, we publish a release candidate to the `next` npm dist-tag with the version in the form: `<version>-rc.<sha>`.\n   - A [status check][status checks] is created with the context `npm version` noting whether the `version` field in `package.json` matches the `<version>` portion of the branch. If it doesn't, the check's status is marked as pending.\n1. Otherwise, we publish a \"canary\" release, which has a version in the form: `0.0.0-<sha>`.\n\n## Status checks\n\nDepending on the branch, a series of [statuses][status checks] will be created by this action in your checks: **publish** is the action's check, and **publish {package-name}** is a [commit status] created by the action that reports the version published and links to `unpkg.com` via \"Details\":\n\n![image](https://user-images.githubusercontent.com/113896/52375286-23368980-2a14-11e9-8974-062a3e45a846.png)\n\nIf you're on a release branch (`release-<version>`) and the `<version>` portion of the branch name doesn't match the `version` field in `package.json`, you'll get a pending status reminding you to update it:\n\n![image](https://user-images.githubusercontent.com/113896/52388530-b63ae800-2a43-11e9-92ef-14ec9459c109.png)\n\n## Usage\n\n**You will need to provide an npm access token with publish permissions via the `NPM_AUTH_TOKEN` secret in the Actions visual editor** if you haven't already. The `GITHUB_TOKEN` secret is also required to create tags after releasing on the master branch.\n\nWe suggest that you place this action after any linting and/or testing actions to catch as many errors as possible before publishing.\n\n\n### Actions\nTo use this in an Actions workflow, add the following YAML to one or more of your steps:\n\n```yaml\n- uses: primer/publish@v3\n  env:\n    GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n    NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}\n```\n\nYou can pass additional [inputs](#inputs) via the `with` key:\n\n```hcl\n- name: Publish to the npm registry\n  uses: \"primer/publish@v3\"\n  with:\n    npm-args: \"--unsafe-perm --allow-same-version\"\n    default-branch: \"main\"\n```\n\n\n## Inputs\n\n### `dry_run`\n\nDoes everything publish would do except actually publishing to the registry. Reports the details of what would have been published.\n\nDefault: `false`\n\n#### Example\n\n```hcl\n- name: Publish to the npm registry\n  uses: \"primer/publish@v3\"\n  with:\n    dry_run: true\n```\n\n### `dir`\n\nAccepts a path to the directory that contains the `package.json` to publish.\n\nDefault: `.`\n\n#### Example\n\n```hcl\n- name: Publish to the npm registry\n  uses: \"primer/publish@v3\"\n  with:\n    dir: \"packages/example\"\n}\n```\n\n### `npm_args`\n\nIt's possible to pass additional arguments to `npm` via the `npm_args` input in your workflow action.\n\n```hcl\n- name: Publish to the npm registry\n  uses: \"primer/publish@v3\"\n  with:\n    npm_args: \"--unsafe-perm --allow-same-version\"\n```\n\n### `default_branch`\n\nThe branch you'd like to use to trigger releases. Typically this is `main` or `master`.\n\nDefault: `master`\n\n```hcl\n- name: Publish to the npm registry\n  uses: \"primer/publish@v3\"\n  with:\n    default_branch: \"main\"\n```\n\n### `release_tag`\n\nThe `release_tag` input can be used to override the auto-generated release tag.\n\nDefault: `latest`\n\n```hcl\n- name: Publish to the npm registry\n  uses: \"primer/publish@v3\"\n  with:\n    release_tag: \"1.0.0\"\n```\n\n[github actions]: https://github.com/features/actions\n[commit status]: https://developer.github.com/v3/repos/statuses/\n[status checks]: https://help.github.com/articles/about-status-checks/\n","gitHead":"58c84263a725484e915023ccb830c6cb4fe49268","scripts":{"lint":"eslint *.js src","test":"jest"},"_npmUser":{"name":"emplums","email":"eplummer26@gmail.com"},"_npmVersion":"6.14.6","description":"Publish Primer projects to npm with GitHub Design Systems conventions","directories":{},"_nodeVersion":"10.22.1","dependencies":{"yargs":"^12.0.5","@octokit/rest":"^16.15.0","action-status":"^0.1.1","github-action-meta":"^0.1.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^24.1.0","eslint":"^5.13.0","prettier":"^1.16.4","mocked-env":"^1.2.4","eslint-plugin-github":"^1.8.1"},"_npmOperationalInternal":{"tmp":"tmp/publish_0.0.0-58c8426_1600286924783_0.6363397515296574","host":"s3://npm-registry-packages"}},"3.0.0":{"name":"@primer/publish","version":"3.0.0","keywords":["primer","publish","github-actions","npm"],"author":{"name":"GitHub, Inc."},"license":"MIT","_id":"@primer/publish@3.0.0","maintainers":[{"name":"binarymuse","email":"michelle@michelletilley.net"},{"name":"colebemis","email":"cole@colebemis.com"},{"name":"primer-css","email":"design-systems@github.com"},{"name":"broccolini","email":"diana.mounter@gmail.com"},{"name":"emplums","email":"eplummer26@gmail.com"},{"name":"jonrohan","email":"yes@jonrohan.codes"}],"bin":{"primer-publish":"cli.js"},"dist":{"shasum":"311f5c087757b8c401369bef35e7c789fb65e59f","tarball":"https://registry.npmjs.org/@primer/publish/-/publish-3.0.0.tgz","fileCount":22,"integrity":"sha512-Vg/kNQFBqjAIhMD3lB5B96hKEb4PDY7FLyHVXXyhkz1PFuNIUgSBKfQM1uEsRKqgwePiGRC4qEm45mcgoz9iqQ==","signatures":[{"sig":"MEQCICstBt3Zc8tXXBwfYb8iXReGN9xz1LRgx5ttJ0cSunhyAiA6podGP2YBd7x80wA4mKbPch4O385PRAOpHq9OG81CyA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":29074,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfYnK0CRA9TVsSAnZWagAAeDYP/iPcRAOXA0kpOyx03E+x\nFroLtC4E3fzxYeAXygdb2IWazO+nPTptrwtCKEZvXJJemm76jUzD19URhLl9\nsFAENu9G7VI62Owq1ONmcKhoAI1yANAXnhEat/9Xgo95km/oxS2ySYcIZUTt\nqKEOyx50lj3rhXPs4ew7NF8nz6zChgRs3WUznnAd6f6/YIEVoihWIowr4X85\nhBdOxylbsYlr6xAn9e9NKFymgAPp7tdOeaAHNE3RVV+ntndru1ZZryTj5Q/o\nrILDIesJ+hKMfxE3yojEZNMdSdWVa2H6DWian/Wq7qoLJPCx187EvN2Z4EyX\nlIulM++4kxdqU9TsaW6NcNeGa0g7NAPfy1XsSZRdWn3pIEOY3ShL0UnRS1oE\nRrW443Ve5Q6lTkGbpKbu9V+/Ys3J7pqMGeatlOLWc05tFhyHwtl8GjI2ZXx+\nHd4S2pW3jMAopL38gQrzPElb7HqjG0jfeJQEi9L9+L2n94Qe2hlBuXp8V7nC\n5DOWuvgqzLVT03jGAwZE2ec5ExNGV3htLOI6axOsB8xJn3UMEp02eg3eem4y\nVK/PjN1uQJAIfyXqZCB8vHdbMlz/Kimmlk+CoBxPEAmqAESlmi1NJzLt44qI\ni6jd+tzKWXcChDKdMb7udT9FLvav/WxgdlKOQ0fhOM2d2MZEZc0Ix2hnjdQn\nto3z\r\n=pe2K\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"04e7b0e172a50d4faf73f9865d92ba48c0084d97","scripts":{"lint":"eslint *.js src","test":"jest"},"_npmUser":{"name":"emplums","email":"eplummer26@gmail.com"},"_npmVersion":"6.14.5","description":"Publish Primer projects to npm with GitHub Design Systems conventions","directories":{},"_nodeVersion":"12.18.1","dependencies":{"yargs":"^12.0.5","@octokit/rest":"^16.15.0","action-status":"^0.1.1","github-action-meta":"^0.1.2"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^24.1.0","eslint":"^5.13.0","prettier":"^1.16.4","mocked-env":"^1.2.4","eslint-plugin-github":"^1.8.1"},"_npmOperationalInternal":{"tmp":"tmp/publish_3.0.0_1600287412517_0.19179752717409304","host":"s3://npm-registry-packages"}},"0.0.0-bd05ca2":{"name":"@primer/publish","version":"0.0.0-bd05ca2","keywords":["primer","publish","github-actions","npm"],"author":{"name":"GitHub, Inc."},"license":"MIT","_id":"@primer/publish@0.0.0-bd05ca2","maintainers":[{"name":"binarymuse","email":"michelle@michelletilley.net"},{"name":"colebemis","email":"cole@colebemis.com"},{"name":"primer-css","email":"design-systems@github.com"},{"name":"broccolini","email":"diana.mounter@gmail.com"},{"name":"emplums","email":"eplummer26@gmail.com"},{"name":"jonrohan","email":"yes@jonrohan.codes"}],"bin":{"primer-publish":"cli.js"},"dist":{"shasum":"fc83f6988e2869843124f6fe7621f7c4696c6b27","tarball":"https://registry.npmjs.org/@primer/publish/-/publish-0.0.0-bd05ca2.tgz","fileCount":22,"integrity":"sha512-HUf6w1oK/JKknieppybkiHkHNZcevou1CffYnAywk/PyvBF4DrAUVzLWNdHQWxoosP28U7y+1MDXoa5eCauheg==","signatures":[{"sig":"MEUCIANV4d0K8wNAIoShhoh8Jn14n6hcRlRG5rPq9tngof9eAiEAj6Nnv9iTSY/L0WS51kwU2A/riIqnO5NMG0U3DZtr8SI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":29100,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfYngQCRA9TVsSAnZWagAA5fAQAItMT3oyK2OHrsEFraTe\nWjHIN0nD54qGeo8LummKJhF0L5lC1GIjaDp4Bv75m4ZbR5gfJ7km+ztminYj\nIyEaMZOX4DqB/SZ65yh5ArER31jWQ9uq7iabkOSpT44Tx6Wpmes0h3vshPtB\nTshQ6yKjw7KrLVyXIDSnTt9lBRYdMk+xy7opjnJKmnZXAN3OZ5mTNfsPnkFC\nERGT+jeAe/EGasOZJlwP3hLpOAR7qqys+xTCK4kJB8A5RHoyqLrhM2TxAGA2\nG8bwaBLJ2yjeMTyCQI2vxvZQFBO5jTqUPygfZmM7psEn26yaYULqhVyRfvIV\nXpqOQ2Vl9ai+7G2Gx/oW1uvEqR8lsc0pK8cvzL3il2tlhPhkpGbOcnhk0K8V\nqkxVLnYnGrWHDmYEr8G5p3o/gBVWGvg4m19dOa8B2Iwss/y1u8yiSK6JL7aO\njNMO6GG7DCfQlQvNkLgeFWZBA5+GZ+OO5zUQmzRp8aHrVoTfNrSIDm9ediex\nNwBX+zknU51facf8wxfNHGW5e1qqIkMt1ZIFXUapwkoNBwz0d4ApagItPjCA\nYMhliZlXEYeuPXQu//greo/aIVwYd8ArS05YHDoV7cMCbLoX3EDrdg+fPfSF\nOVlWo1e7hB98kdO99cfCUo7dML1g9fXf5VuXwomghA8MYyC4zyukNsCBbPSw\nmOD1\r\n=Wc9d\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# primer/publish\n\nThis [GitHub Action][github actions] publishes to npm with the following conventions:\n\n1. If we're on the default branch, the `version` field is used as-is and we just run `npm publish --access public`.\n   - After publishing a new version on the default branch, we tag the commit SHA with `v{version}` via the GitHub API.\n   - If the version in `package.json` is already published, we exit with a `0` code. Previously, we exited with a `78` code, which was Actions v1-speak for \"neutral\", but this has been [removed from Actions v2](https://twitter.com/ethomson/status/1163899559279497217?s=20).\n1. If we're on a `release-<version>` branch, we publish a release candidate to the `next` npm dist-tag with the version in the form: `<version>-rc.<sha>`.\n   - A [status check][status checks] is created with the context `npm version` noting whether the `version` field in `package.json` matches the `<version>` portion of the branch. If it doesn't, the check's status is marked as pending.\n1. Otherwise, we publish a \"canary\" release, which has a version in the form: `0.0.0-<sha>`.\n\n## Status checks\n\nDepending on the branch, a series of [statuses][status checks] will be created by this action in your checks: **publish** is the action's check, and **publish {package-name}** is a [commit status] created by the action that reports the version published and links to `unpkg.com` via \"Details\":\n\n![image](https://user-images.githubusercontent.com/113896/52375286-23368980-2a14-11e9-8974-062a3e45a846.png)\n\nIf you're on a release branch (`release-<version>`) and the `<version>` portion of the branch name doesn't match the `version` field in `package.json`, you'll get a pending status reminding you to update it:\n\n![image](https://user-images.githubusercontent.com/113896/52388530-b63ae800-2a43-11e9-92ef-14ec9459c109.png)\n\n## Usage\n\n**You will need to provide an npm access token with publish permissions via the `NPM_AUTH_TOKEN` secret in the Actions visual editor** if you haven't already. The `GITHUB_TOKEN` secret is also required to create tags after releasing on the master branch.\n\nWe suggest that you place this action after any linting and/or testing actions to catch as many errors as possible before publishing.\n\n\n### Actions\nTo use this in an Actions workflow, add the following YAML to one or more of your steps:\n\n```yaml\n- uses: primer/publish@v3\n  env:\n    GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n    NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}\n```\n\nYou can pass additional [inputs](#inputs) via the `with` key:\n\n```hcl\n- name: Publish to the npm registry\n  uses: \"primer/publish@3.0.0\"\n  with:\n    npm-args: \"--unsafe-perm --allow-same-version\"\n    default-branch: \"main\"\n```\n\n\n## Inputs\n\n### `dry_run`\n\nDoes everything publish would do except actually publishing to the registry. Reports the details of what would have been published.\n\nDefault: `false`\n\n#### Example\n\n```hcl\n- name: Publish to the npm registry\n  uses: \"primer/publish@3.0.0\"\n  with:\n    dry_run: true\n```\n\n### `dir`\n\nAccepts a path to the directory that contains the `package.json` to publish.\n\nDefault: `.`\n\n#### Example\n\n```hcl\n- name: Publish to the npm registry\n  uses: \"primer/publish@3.0.0\"\n  with:\n    dir: \"packages/example\"\n}\n```\n\n### `npm_args`\n\nIt's possible to pass additional arguments to `npm` via the `npm_args` input in your workflow action.\n\n```hcl\n- name: Publish to the npm registry\n  uses: \"primer/publish@3.0.0\"\n  with:\n    npm_args: \"--unsafe-perm --allow-same-version\"\n```\n\n### `default_branch`\n\nThe branch you'd like to use to trigger releases. Typically this is `main` or `master`.\n\nDefault: `master`\n\n```hcl\n- name: Publish to the npm registry\n  uses: \"primer/publish@3.0.0\"\n  with:\n    default_branch: \"main\"\n```\n\n### `release_tag`\n\nThe `release_tag` input can be used to override the auto-generated release tag.\n\nDefault: `latest`\n\n```hcl\n- name: Publish to the npm registry\n  uses: \"primer/publish@3.0.0\"\n  with:\n    release_tag: \"1.0.0\"\n```\n\n[github actions]: https://github.com/features/actions\n[commit status]: https://developer.github.com/v3/repos/statuses/\n[status checks]: https://help.github.com/articles/about-status-checks/\n","gitHead":"bd05ca2cb2a954e09b6e69ca34210076a71f4607","scripts":{"lint":"eslint *.js src","test":"jest"},"_npmUser":{"name":"emplums","email":"eplummer26@gmail.com"},"_npmVersion":"6.14.6","description":"Publish Primer projects to npm with GitHub Design Systems conventions","directories":{},"_nodeVersion":"10.22.1","dependencies":{"yargs":"^12.0.5","@octokit/rest":"^16.15.0","action-status":"^0.1.1","github-action-meta":"^0.1.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^24.1.0","eslint":"^5.13.0","prettier":"^1.16.4","mocked-env":"^1.2.4","eslint-plugin-github":"^1.8.1"},"_npmOperationalInternal":{"tmp":"tmp/publish_0.0.0-bd05ca2_1600288783762_0.6887293612916758","host":"s3://npm-registry-packages"}}},"time":{"created":"2019-02-06T19:10:40.238Z","modified":"2026-04-22T18:07:55.419Z","0.0.0-sha.aa8705f":"2019-02-06T19:10:40.392Z","0.1.0-next.3febae0":"2019-02-06T19:27:26.729Z","0.1.0-rc.a63e04e":"2019-02-06T19:40:24.020Z","0.1.0-rc.64ad2bd":"2019-02-06T19:43:09.163Z","0.1.0-rc.2ac37b5":"2019-02-06T19:57:19.109Z","0.1.0-rc.8435e6f":"2019-02-06T20:36:47.405Z","0.1.0-rc.54c1cde":"2019-02-06T21:26:32.480Z","0.1.0-rc.adaad3f":"2019-02-06T21:38:57.820Z","0.1.0":"2019-02-06T21:51:38.671Z","0.2.0-rc.a5bcf46":"2019-02-06T22:11:25.767Z","0.2.0-rc.a2e5c56":"2019-02-06T22:19:46.808Z","0.2.0":"2019-02-06T22:57:33.033Z","0.2.1-rc.bbfef25":"2019-02-06T23:45:31.797Z","0.2.1-rc.0af9799":"2019-02-07T00:07:28.082Z","0.2.1-rc.ec129d3":"2019-02-07T00:10:45.131Z","0.2.1-rc.b89ef63":"2019-02-07T00:32:14.964Z","0.2.1":"2019-02-07T00:34:09.691Z","0.2.1-rc.f656ad2":"2019-02-07T00:44:51.389Z","0.2.2-rc.f656ad2":"2019-02-07T00:45:14.503Z","0.2.2-rc.b896cf0":"2019-02-07T00:47:17.139Z","0.2.2":"2019-02-07T00:53:05.411Z","0.2.3-rc.453a87d":"2019-02-07T01:01:04.281Z","0.2.3-rc.e6c711e":"2019-02-07T01:02:00.682Z","0.2.3-rc.aaa0b7f":"2019-02-07T01:03:17.461Z","0.2.3":"2019-02-07T01:05:09.864Z","0.2.4":"2019-02-07T02:52:19.979Z","0.2.5":"2019-02-07T03:05:22.941Z","1.0.0-rc.e86dfc8":"2019-02-07T03:11:15.747Z","1.0.0-rc.2825d0b":"2019-02-07T03:19:51.962Z","1.0.0-rc.2f5843b":"2019-02-07T03:22:40.721Z","1.0.0":"2019-02-07T03:24:37.679Z","0.0.0-3695044":"2019-02-20T21:29:58.192Z","0.0.0-bff7454":"2019-05-17T21:59:39.481Z","0.0.0-f0be813":"2019-05-17T22:24:47.692Z","0.0.0-6d6071d":"2019-05-17T23:33:39.051Z","0.0.0-2569a6e":"2019-05-17T23:43:11.942Z","0.0.0-6015abd":"2019-05-17T23:48:31.108Z","0.0.0-1546dea":"2019-05-29T20:43:48.107Z","0.0.0-9d922d6":"2019-07-10T17:45:44.197Z","0.0.0-4bfb3dc":"2019-07-10T19:14:55.926Z","0.0.0-0edda87":"2019-07-11T23:07:15.122Z","0.0.0-c47e406":"2019-07-12T17:52:13.959Z","0.0.0-7401859":"2019-07-16T05:57:26.516Z","0.0.0-d344316":"2019-08-26T19:21:16.084Z","0.0.0-1c777fe":"2019-08-27T16:20:40.359Z","0.0.0-e22c457":"2019-08-27T16:21:30.568Z","0.0.0-9813c78":"2019-08-28T16:50:05.848Z","0.0.0-dd3de09":"2019-09-05T20:38:57.240Z","0.0.0-f8ef010":"2019-09-16T21:08:35.534Z","0.0.0-c047b7c":"2019-09-18T16:49:34.653Z","0.0.0-c2a4747":"2019-09-18T18:19:33.069Z","0.0.0-b24b926":"2019-09-18T18:29:13.480Z","2.0.0":"2019-09-18T18:38:08.064Z","0.0.0-04e7b0e":"2020-09-16T20:01:58.141Z","0.0.0-58c8426":"2020-09-16T20:08:44.934Z","3.0.0":"2020-09-16T20:16:52.654Z","0.0.0-bd05ca2":"2020-09-16T20:39:43.872Z"},"author":{"name":"GitHub, Inc."},"license":"MIT","keywords":["primer","publish","github-actions","npm"],"description":"Publish Primer projects to npm with GitHub Design Systems conventions","maintainers":[{"email":"yes@jonrohan.codes","name":"jonrohan"},{"email":"joel@hawksley.org","name":"joelhawksley"},{"email":"design-systems@github.com","name":"primer-css"},{"email":"manuelpuyol@github.com","name":"manuelpuyol"},{"email":"clay@smockle.com","name":"smockle"},{"email":"sim@simurai.com","name":"simurai"},{"email":"katehiga8@gmail.com","name":"khiga8"},{"email":"oppermann.lukas@gmail.com","name":"lukasoppermann"},{"email":"siddharth.kshetrapal@gmail.com","name":"siddharthkp"},{"email":"josh@josh.black","name":"joshblack"},{"email":"leslie@cohnwein.com","name":"lesliecdubs"}],"readme":"","readmeFilename":""}