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
MIT License
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
Clone this repo git clone https://github.com/JimmyBeldone/gatsby-starter-lemonade.git
Run yarn setup
(install dependencies & remove .git folder) and follow the instructions
yarn add redux react-redux @reduxjs/toolkit redux-persist
src/store/index.js
<ReduxProvider>
in src/views/layouts/MainWrapper.jsx
yarn add reactotron-redux -D
src/config/ReactotronConfig.js
If it isn't done already, init your git repo :
git init
git remote add origin [email protected]:username/repository.git
git add .
git commit -m "first commit"
git push -u origin master
Go to https://github.com/settings/tokens and generate a personnal access token so that semantic-release is allowed to access your repo.
Create a new repository secret named GH_TOKEN
and past your personnal access token.
Your repository url must be set in package.json
:
"repository": {
"type": "git",
"url": "https://github.com/JimmyBeldone/expo-starter-lemonade"
},
Next time you push on master
branch, a release will be added if your conventionnal commit type is correct.
Create new branches
git branch staging && git checkout staging && git push origin staging
git branch develop && git checkout develop && git push origin develop
Configure these files depending on your needs.
Don't forget to add secrets to your repo
MIT
Copyright (c) 2020 Jimmy Beldone