- Node = v10.15.x
- NPM >= v6.4.x
- Yarn >= v1.3.2 or
npm install -g yarn
Git's merge commit message
[alias]
mergelogmsg = "!f() { var=$(git symbolic-ref --short HEAD) && printf 'Merge branch %s into %s\n\n::SUMMARY::\nBranch %s commits:\n' $1 $var $1 > temp_merge_msg && git log --format=format:'%s' $var..$1 >> temp_merge_msg && printf '\n\nBranch %s commits:\n' $var >> temp_merge_msg && git log --format=format:'%s' $1..$var >> temp_merge_msg && printf '\n\n* * * * * * * * * * * * * * * * * * * * * * * * *\n::DETAILS::\n' >> temp_merge_msg && git log --left-right $var...$1 >> temp_merge_msg && git merge --no-ff --no-commit $1 && git commit -eF temp_merge_msg; rm -f temp_merge_msg;}; f"
// ./internals/webpack/config.js
// values configured for development
PUBLIC_URL=http://localhost:8000
BFF=http://localhost:8000
NODE_ENV=development
yarn
-
yarn start:development: start server in development mode http://localhost:8000
-
yarn build: to build files
-
yarn start: start server in production mode
-
yarn lint:sass: to run linter (scss)
-
yarn lint:js: to run linter (js)
-
yarn lint: to run
lint:sass and lint:js
-
yarn release: to create tag
Current tag example: 1.0.0-beta.4
Command:
yarn release 1.0.0-beta.5
Questions and answers:
- ? Show updated files? `Yes`
- M package.json
- ? Commit (Release 1.0.0-beta.5)? `Yes`
- ? Tag (1.0.0-beta.5)? `Yes`
- ? Push? `Yes`
- ? Publish "salles" to npm? `No`
Check Releases for detailed changelog.
MIT license © Hemerson Vianna