Skip to content

Gatsby starter that make your coder life easier : Setup script / Automated version management, package publishing, auto generated changelog / Consistant code with Eslint, Prettier, pre-commit hook / Github actions pre-configured, with staging / production environments

License

Notifications You must be signed in to change notification settings

JimmyBeldone/gatsby-starter-lemonade

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gatsby Starter Lemonade

travis build travis build release number dependencies status dev dependencies status

commitizen semantic-release prettier license

What's in it ?

  • Setup script to make your life easier

  • Semantic Release for fully automated version management and package publishing

  • Auto generetaed CHANGELOG.md relying on Conventionnal Commits

  • Strong lint config with Eslint configured extended with Airbnb style guide & Prettier

  • Reactotron ready to use (and preconfigured for Redux too)

  • Pre-commit hook that automatically lint & format code

  • PWA

  • Github actions pre-configured, with staging / production environments

  • Netlify ready


Installation

  1. Clone this repo git clone https://github.com/JimmyBeldone/gatsby-starter-lemonade.git

  2. Run yarn setup (install dependencies & remove .git folder) and follow the instructions


Need Redux ?

yarn add redux react-redux @reduxjs/toolkit redux-persist

  1. Uncomment src/store/index.js
  2. Uncomment <ReduxProvider> in src/views/layouts/MainWrapper.jsx
  3. (optionnal) To use Reactotron with Redux :
  • yarn add reactotron-redux -D
  • Uncomment Redux config in src/config/ReactotronConfig.js

Configure Semantic release

If it isn't done already, init your git repo :

git init
git remote add origin git@github.com:username/repository.git
git add .
git commit -m "first commit"
git push -u origin master
  1. Go to https://github.com/settings/tokens and generate a personnal access token so that semantic-release is allowed to access your repo.

  2. Create a new repository secret named GH_TOKEN and past your personnal access token.

  3. Your repository url must be set in package.json:

    "repository": {
        "type": "git",
        "url": "https://github.com/JimmyBeldone/expo-starter-lemonade"
    },
  4. Next time you push on master branch, a release will be added if your conventionnal commit type is correct.


Use Github actions and set staging / production env

  1. Create new branches

    git branch staging && git checkout staging && git push origin staging
    git branch develop && git checkout develop && git push origin develop
  2. Configure these files depending on your needs.

  3. Don't forget to add secrets to your repo


License

MIT

Copyright (c) 2020 Jimmy Beldone

About

Gatsby starter that make your coder life easier : Setup script / Automated version management, package publishing, auto generated changelog / Consistant code with Eslint, Prettier, pre-commit hook / Github actions pre-configured, with staging / production environments

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •