{"_id":"@constgen/neutrino-revision","_rev":"4-0a9d06a8c9416e084a81eb9ac069c417","name":"@constgen/neutrino-revision","dist-tags":{"pnpm-temp":"1.0.0","latest":"1.9.2"},"versions":{"1.0.0":{"name":"@constgen/neutrino-revision","version":"1.0.0","description":"Neutrino middleware for versioning of the application based on the Git revision","main":"index.js","author":{"name":"Constantine Genchevsky","email":"const.gen@gmail.com"},"license":"GPL-3.0","repository":{"type":"git","url":"git+https://github.com/constgen/constgen-neutrino.git"},"homepage":"https://github.com/constgen/constgen-neutrino/packages/revision","keywords":["neutrino","neutrino-middlware","middlware","preset","webpack","ci","git","revision","version"],"dependencies":{"env-ci":"5.0.2","git-revision-webpack-plugin":"3.0.4"},"peerDependencies":{"neutrino":"^9.0.0","webpack":"^4.0.0"},"engines":{"node":">=10","npm":">=5.4.0"},"bugs":{"url":"https://github.com/constgen/constgen-neutrino/issues"},"_id":"@constgen/neutrino-revision@1.0.0","_nodeVersion":"12.16.1","_npmVersion":"6.13.4","dist":{"integrity":"sha512-QgBUyGnncpH/33CcvJcN9lFMEKiNj7Lay+/23V3ti+WzZ7FsB5cEh9D498Wt0XdiV0AzrUyD8Xqit3fQj7oAKA==","shasum":"bef7f699804823f858c12762afa4a0b55d6e7b0e","tarball":"https://registry.npmjs.org/@constgen/neutrino-revision/-/neutrino-revision-1.0.0.tgz","fileCount":4,"unpackedSize":38609,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJei0lmCRA9TVsSAnZWagAAoz4P/0RaCcy7Wr5DmZ4sPcUT\nbfA/ZgtzIz55I+PusooMORdJqASGNez6eoT7svmHbNxKQwBG+g4Wj79jrRrw\noHq5YYXjIeRR28RQ6BFqXQUBPJ6UB/DnKGTra4dvEpYyLBUUXMvtfECt3K9X\n3SM+3nEL6d0f+WKbpqtHz879wsDHJ+7NnoePJ9iPLmGpEOyz2nLR6GyxgEV6\n739B5lPe3iGSNQ1GEDfiC3STIuMi6wgdOBtSGsrfiNSliIanefOcgx8v/nth\nfeB7HgDwajk3seFY9u1GbUEsiQan+zePEI1UpWUwwCgoP+S8+C66SH/2a2TS\n6ekBWhBcXW4BwMcwHom0UHAkMzUbI82Io0bFvj77VSRaeNt0a5vpTrxJMRBX\nj+DHTVhA0T0RjdtxltXDNkykBSfjO8+ExMKChKgw88hBFFThdNpKS17yznJP\npM+lnfCXy274ne8JBdQW6+IWGy8kiNzsoNTVjD6XPCXl1yO+BOT0aWjlKrh3\nH7Q+znmndYW/vCb4420rddjSXfemR8PtbO6jrFsUM2LW/zFStH0YVkhbYBXA\nDjpFzfcnl2dbIaLOHO8ddAo1R5ngH8pRIzYNl0RimYB7guP1tS2rEFdfGDlw\nE9Rm4tCGs3skPzGcKx9ib82D973PYT7N9weiMTgIwrHxa/VAWYoRuxMRUjzg\nGwH3\r\n=WQn7\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDBvFJa1PEyjN4D62dAfHoS1q5NHBFlt8PtLgRrSKLbyAIgXGb8HwMTE518fmU8x7rVMsPSX4nXox8xzyAd+WSMl5Y="}]},"maintainers":[{"name":"constgen","email":"const.gen@gmail.com"}],"_npmUser":{"name":"constgen","email":"const.gen@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/neutrino-revision_1.0.0_1586186598271_0.9369207712085801"},"_hasShrinkwrap":false},"1.5.0":{"name":"@constgen/neutrino-revision","version":"1.5.0","description":"Neutrino middleware for versioning of the application based on the Git revision","main":"index.js","author":{"name":"Constantine Genchevsky","email":"const.gen@gmail.com"},"license":"GPL-3.0","repository":{"type":"git","url":"git+https://github.com/constgen/constgen-neutrino.git"},"homepage":"https://github.com/constgen/constgen-neutrino/packages/revision","keywords":["neutrino","neutrino-middlware","middlware","preset","webpack","ci","git","revision","version"],"dependencies":{"env-ci":"5.0.2","git-revision-webpack-plugin":"3.0.4"},"peerDependencies":{"neutrino":"^9.0.0","webpack":"^4.0.0"},"engines":{"node":">=10","npm":">=5.4.0"},"bugs":{"url":"https://github.com/constgen/constgen-neutrino/issues"},"_id":"@constgen/neutrino-revision@1.5.0","_nodeVersion":"12.18.3","_npmVersion":"6.14.6","dist":{"integrity":"sha512-Tx5tw7nthwIn/DgAIemw+a8z8o3uDs4lqgZYZ08dUw7SUfvyIfmkNqkwmltgU58yOUCCuv/HKcJZS/UjCriNWg==","shasum":"a6a4c83b637aeb320df7b038020719aed3d31a6e","tarball":"https://registry.npmjs.org/@constgen/neutrino-revision/-/neutrino-revision-1.5.0.tgz","fileCount":4,"unpackedSize":38679,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfPSJMCRA9TVsSAnZWagAAbi4P/0GUV88VjzKYNwIV6BG+\nLwRHccpeViFNaS8N/kAK5IUkd5InjT/YdttoRhT9pW6ljB5LI5NnrmrEqPP7\nsoqySyZTD04FXGQYKzySKFYeW9Pa88ijaEbTJyPrf4/2E24doPl3aEkQbXzt\n6tq2nvrB/bxlscF59e0gSW7w5iuZ1iQ7vqRKa1LzOewyDJdCB57gGhvBjm77\nhpFT+AJGCSmYwqVhIpZWSczhlHLVCeXfSQZefqp8E6farjQqYELlCwnavdId\nWoidbqXvANapxsdk31TZGs0iDiIRYYuaYQszJrF/LBbeygfSPYZxFJCN+bIq\nRZ/7qPMYhwANfisH6jv+IaZ7ZQcIwWJlCMiIgVx0+NdhVUqerse6AVfss5qr\nsW2e3ZpiWFTRGSiMUo2Yu0DZ4BkmsNazJJjNWwOagqEBbgdiEfpMFa0L07/8\nggB7u/O3eIICx/wEIaGdtnppKJ5b7vgNv/hw4jBBkDRAfXvswBa0IO8ezY7T\n0K6wTSn0ZKRKiHYjwO9dsqtH0Kdu9oZShNr/z4oxbtrBUDBzhvdnsy5/1MRn\nmiYAmYfauLctEmUVCmIFd2/DeKZJaB9gLGsvFjkydJXiwgiAhguWoW6M2OQU\n7t1HQlp2RUdSMrNnP2RvOduH2Gk1VVIuM7WiZJMdZK73x5+LLzGfiMU3onEy\n3h/v\r\n=gSBt\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBPM16Qcd+8wfmrex/7O3qtiT2EDVbhOP37o0UU54QIEAiEAtQM9ubjzYT/TAwsn06delqkDHCYW7M6+LulBcb8ffRs="}]},"maintainers":[{"name":"constgen","email":"const.gen@gmail.com"}],"_npmUser":{"name":"constgen","email":"const.gen@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/neutrino-revision_1.5.0_1597841996423_0.022162778228021374"},"_hasShrinkwrap":false},"1.7.0":{"name":"@constgen/neutrino-revision","version":"1.7.0","description":"Neutrino middleware for versioning of the application based on the Git revision","main":"index.js","author":{"name":"Constantine Genchevsky","email":"const.gen@gmail.com"},"license":"GPL-3.0","repository":{"type":"git","url":"git+https://github.com/constgen/constgen-neutrino.git"},"homepage":"https://github.com/constgen/constgen-neutrino/packages/revision","keywords":["neutrino","neutrino-middlware","middlware","preset","webpack","ci","git","revision","version"],"dependencies":{"env-ci":"5.0.2","git-revision-webpack-plugin":"3.0.4","check-git":"2.0.2"},"peerDependencies":{"neutrino":"^9.0.0","webpack":"^4.0.0"},"engines":{"node":">=10","npm":">=5.4.0"},"bugs":{"url":"https://github.com/constgen/constgen-neutrino/issues"},"_id":"@constgen/neutrino-revision@1.7.0","_nodeVersion":"12.18.3","_npmVersion":"6.14.6","dist":{"integrity":"sha512-ar7MlfjRZward45TNa0Tvb0KmX8N5dAZm0LiXr8mDzWfsHzY5xouN5xqxr8Ce66pD4RZZrE8du8rbi0fwNITFA==","shasum":"d81dc78fd31d1ff317a3c66422f4ab41defccd1b","tarball":"https://registry.npmjs.org/@constgen/neutrino-revision/-/neutrino-revision-1.7.0.tgz","fileCount":4,"unpackedSize":39091,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfPnqaCRA9TVsSAnZWagAA/N8P/id62c/lklhJW6NjYKdf\nURhXJma4yW/9/CsRuSX5ZUNW/9gbXJMBf5UH1CeHapCSR7zqowV3MLLDQ+Zn\nRwyuewS2FZ+ssCEO95NnjsVtmL6EAizeqSGyuPsgH0hBYHWlREq+cmh02WNr\nbcrp9AEnSir8w+RfS77Hy/tNcgZDH/YWAt9/kiJbWTmVpN0aDJVBZq5clNXG\nGMjhjN+7YjW8Z6vj4aQbYDVsdEDcR0LnbJs2ywISYWlMfQWaGGcdb4mbdjRv\nUreBI+xOsTu2MvMDvPpWseF4s+0bDBjWFPGVZbVbjxKnPxGvap/oS5DzvZ+n\nD9hxpDMoljUdm68eGr2EZ4zTR6FCbO9dyW766QBFDOFzQ5LJ5fjWlgh1oIev\nFlKCDAxLH/eRVWI35w4jjH56BRDGzeU7m6A9Ftd0YX5K4f20wgZBqOzH6qsZ\nNCujGMiFyDfMH9QltVsHArN/ESY6RDNNtzAKkPTs0453hnsIg5CzdQUBWlQ5\n6THGV06nFUzwUPCL0hQZjeXKD6Gbj9ueWJEZEAhOyRM+jdkqj8by4uY/aPqN\nqxqBTvieMUxEgPcOztd6skUjL9A1x8jBYZbIMORRuZRbgkOjVOcd/5I1+LRI\nzlmPVZfNR419+jaqsbJW4WPe2voTfFYQrZQw6kj20c2csI+iHHygXc+BRuoA\nti5Z\r\n=ejQB\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGHAn6FgcE7eKsXp0FHIEbmTn1cc15aPuMwRgEcel8IfAiAuMVVXr5DFDNdEpqTv2jmfNznv/vIS04vZ2GRduvuH/Q=="}]},"maintainers":[{"name":"constgen","email":"const.gen@gmail.com"}],"_npmUser":{"name":"constgen","email":"const.gen@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/neutrino-revision_1.7.0_1597930138410_0.035545566171645726"},"_hasShrinkwrap":false},"1.9.2":{"name":"@constgen/neutrino-revision","version":"1.9.2","description":"Neutrino middleware for versioning of the application based on the Git revision","main":"index.js","author":{"name":"Constantine Genchevsky","email":"const.gen@gmail.com"},"license":"GPL-3.0","repository":{"type":"git","url":"git+https://github.com/constgen/constgen-neutrino.git"},"homepage":"https://github.com/constgen/constgen-neutrino/tree/master/packages/revision","keywords":["neutrino","neutrino-middleware","middleware","preset","webpack","ci","git","revision","version"],"dependencies":{"env-ci":"5.0.2","git-revision-webpack-plugin":"3.0.4","check-git":"2.0.2"},"peerDependencies":{"neutrino":"^9.0.0","webpack":"^4.0.0"},"engines":{"node":">=10","npm":">=5.4.0"},"bugs":{"url":"https://github.com/constgen/constgen-neutrino/issues"},"_id":"@constgen/neutrino-revision@1.9.2","_nodeVersion":"12.18.4","_npmVersion":"6.14.6","dist":{"integrity":"sha512-psG1bNcpb3EBljRI0NWYrZyDf77EJJV2b+cGu10XjkbTAlyjHjWmJZK92Ld0+29VvAOgoHgGUDMjMFQUN3zfdg==","shasum":"ca6729ce35574d40511bafbe5b6539e66bf2c17c","tarball":"https://registry.npmjs.org/@constgen/neutrino-revision/-/neutrino-revision-1.9.2.tgz","fileCount":4,"unpackedSize":39105,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfcmx3CRA9TVsSAnZWagAArRAQAI42cKkrVqJ2QQFIlOlV\n98TWqkGR4vZSxh274iEZ8IYeacDfF77OWmrbNmrMAe1TXAwOn+USTWCrKEur\nd4XWDys1EA5bMefruRmgYCCHTpwvMpcNxsEAgICxKWonbqslVjHNahNa1J9S\nWxBKMgpaVL0+wzH+OeI0tpxchEGNxKy2dY3vcFUcsWe70J6DbeaSN9UbANkR\nNlRsRb4eOhDYBOVww/+4H4QTXgFZF40FUVXvPE7hGwJBn0xC5BMf/5QxepjY\n/nsy9jd6nP2Sf0gg0EcTLgxAvNl9/KA23rMaBiW0t6njmtIvyMmC4n3e1Qvu\nCfvwwYXqaM18yyPB4Iay+hK/2I6rS+aavFXiL7XHIcqKftZ61C9MwIsRQq6R\nfCU5M74XSujVkfI2KJWRUXcDFnW+4Bej2NcJgZqvKoyCJMtZ64nFbwuXY2dT\ngEaWlGa0Uw6mE6J6Si/Eqkfp6QqORCDeIgCz2jrKOqEu2D/GIjPOwgNvgPRR\nYMaxiUFvLSEVQ67pX+kdsSkX3VFHBYcnMGUA9yLnhUiZ0PpVSDAeXryWmtgD\ny/a+Rejzxj34e29lLOEzwwSW7NXs1Y8n4sCGpsJJ1pURQEPgjPHdCdOlDU5T\nlH1OVDtYy1Je/iPvQK1opt7s7nR3RU7xDEDaeIii53PbTbycVzIxVpXzddjH\ncVzz\r\n=ENpA\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHEPk7G80zkkxht+J0RVXR8zJgEDMXl9PC3D+jAjjittAiEAx4+Qm1BijrRqw92pbLAlZwr6q9OaY1WrJjnWqr4LB38="}]},"maintainers":[{"name":"constgen","email":"const.gen@gmail.com"}],"_npmUser":{"name":"constgen","email":"const.gen@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/neutrino-revision_1.9.2_1601334391400_0.5190174361753583"},"_hasShrinkwrap":false}},"time":{"created":"2020-04-06T15:23:18.038Z","1.0.0":"2020-04-06T15:23:18.373Z","modified":"2022-04-05T00:59:58.050Z","1.5.0":"2020-08-19T12:59:56.561Z","1.7.0":"2020-08-20T13:28:58.604Z","1.9.2":"2020-09-28T23:06:31.566Z"},"maintainers":[{"name":"constgen","email":"const.gen@gmail.com"}],"description":"Neutrino middleware for versioning of the application based on the Git revision","homepage":"https://github.com/constgen/constgen-neutrino/tree/master/packages/revision","keywords":["neutrino","neutrino-middleware","middleware","preset","webpack","ci","git","revision","version"],"repository":{"type":"git","url":"git+https://github.com/constgen/constgen-neutrino.git"},"author":{"name":"Constantine Genchevsky","email":"const.gen@gmail.com"},"bugs":{"url":"https://github.com/constgen/constgen-neutrino/issues"},"license":"GPL-3.0","readme":"# @constgen/neutrino-revision\n\n[![npm](https://img.shields.io/npm/v/@constgen/neutrino-revision.svg)](https://www.npmjs.com/package/@constgen/neutrino-revision)\n[![npm](https://img.shields.io/npm/dt/@constgen/neutrino-revision.svg)](https://www.npmjs.com/package/@constgen/neutrino-revision)\n\n[Neutrino](https://neutrino.js.org) middleware that exposes Git revision information through environment variables\n\n## Features\n\n- Git revision information through environment variables: `VERSION`, `COMMITHASH`, `BRANCH`\n- Correctly handle CI/CD environments\n- Create files in the output with the revision information\n- Fallback `VERSION` to **package.json** `\"version\"` in non-Git environment\n\n## Requirements\n\n- Node.js v10+\n- Neutrino v9\n- Webpack v4\n\n## Installation\n\n`@constgen/neutrino-revision` can be installed from NPM. You should install it to `\"dependencies\"` (--save) or `\"devDependncies\"` (--save-dev) depending on your goal.\n\n```bash\nnpm install --save @constgen/neutrino-revision\n```\n\n## Usage\n\n### In preset\n\nRequire this package and plug it into Neutrino. The middleware has no options:\n\n```js\nlet revision = require('@constgen/neutrino-revision')\n\nneutrino.use(revision())\n```\n\n### In **neutrinorc**\n\nThe middleware also may be used together with another presets in Neutrino rc-file, e.g.:\n\n**.neutrinorc.js**\n\n```js\nlet revision = require('@constgen/neutrino-revision')\n\nmodule.exports = {\n   use: [\n      revision()\n   ]\n}\n```","readmeFilename":"README.md"}