This is a
playground to test code. It runs a full
Node.js environment and already has all of
npm’s 1,000,000+ packages pre-installed, including
purgitory with all
npm packages installed. Try it out:
This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.
Purge local branches that have been merged and deleted to the main branch in remote
Pretty stable. It does exactly what's on the cover,but there's lots of room for improvement
$ npx purgitory
$ npm -g i purgitory $ purgit --help
So far this is just code slapped together to make something work, it's far from perfect but there's great room for improvement, with the help from you.
To contribute, create an issue first, upon greenlight, you can submit a PR, this is to make sure that we don't work on the same thing at once, or you don't put all your hard work into something that contradicts plans I have for the project. Or you could pick out one of the TODO items as something you could tackle, I'd really appreciate it. Anyways to get started, fork the repo and clone locally then do:
$ npm install $ npm link $ npm run dev
npm run dev is just typescript building the project on the fly as files changes and because
npm link doesn't always behaves, unit tests are your best friend when working on something.