🚲 The Ol' Bike Shed
What
A series of simple scripts (aka recipes) to scaffold up a project with Thinkmill specific conventions.
Prerequisites
node >=8
yarn
# If you don't have it, `brew install yarn`
Usage
$ npx @thinkmill/shed
# or
$ npm i -g @thinkmill/shed
Example
$ mkdir new-project && cd new-project
$ npx @thinkmill/shed
Recipes
Base
Your stock standard TM devDependencies
and config files.
# Dir structure
.
├── .babelrc
├── .circleci
│ └── config.yml
├── .editorconfig
├── .eslintignore
├── .eslintrc
├── .gitignore
├── .prettierrc
├── __test__
│ └── index.spec.js
├── package.json
└── yarn.lock
React (I think this needs some work...)
A stripped-down version of create-react-app.
Contributing
It's easy to add or upgrade a recipe. There's 3 places you'll need to add your code:
-
./src/recipes
- Add your recipe to make sure Inquirer knows what to look for. -
./src/config/[your-recipe-config]
- Amend or add any config to the config files.
Todo
- [x] Extend it to accomodate different types of 'recipes'
- [x] Add Inquirer
- [x] Precommit, prepublish and ci scripts.
- [x] Publish to npm
- [ ] Get buy-in from everyone to contribute to this repo
- [ ] Watch everyone else flesh this thing out....