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
@ianwremmel/create 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.
Rig up projects on GitHub/CircleCI
I got tired of going through the same set of steps to create a repo, tweak package.json, connect circle ci, and whatnot, so, this automates that process according to my preferences.
Since this project is intended for use with
npm init, there's generally no need to install it.
(optional) Install the 1Password CLI to (potentiall) avoid some password prompts.
Use with npm init
npm install -g @ianwremmel/create
In order to avoid some password prompts,
create attempts to pull credentials
from 1Password. You'll need to set:
github.com(2-Factor Auth is supported)
Circle CI API Token
If you don't set these values, you'll be prompted for them at runtime. Due to timing effects, you may be prompted for multiple GitHub OTPs.
Use just like
If you're relying on 1Password, make sure to run
eval $(op signin my)first.
npm init @ianwremmel
You'll be prompted for a few decisions and then the script will do (at least) the following:
This project is supposed to be idempotent, but rerunning in an existing project is not well tested. Use at your own risk.