-
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
- Uncomment
src/store/index.js
- Uncomment
<ReduxProvider>
insrc/views/layouts/MainWrapper.jsx
- (optionnal) To use Reactotron with Redux :
yarn add reactotron-redux -D
- Uncomment Redux config in
src/config/ReactotronConfig.js
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
-
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