- Git :software for distributed version control
- Node : cross-platform JavaScript runtime environment
- Yarn : Software packaging system
Node and Yarn can be installed with Node Version Manager nvm that allows you to quickly install and use different versions of node via the command line.
git clone [email protected]:anct-cartographie-nationale/timetable-to-osm-opening-hours.git
yarn
husky install
chmod a+x .husky/commit-msg
chmod a+x .husky/pre-commit
- Must be up-to-date with master (rebased, linear history)
- Must be prefixed with follow the
build/
,chore/
,ci/
,docs/
,feat/
,fix/
,perf/
,refactor/
,revert/
,style/
ortest/
according to their content. See Conventional Commits cheat sheet
Must follow conventional commits specification: Commits Conventionnels
Commits must be verified: About commit signature verification
- All validation checks in workflow
Build
must pass without failure
Release on NPM and Github are fully automated on merge on master with Semantic Release.
npm npm is the world's largest javascript software registry.
- Organisation: @gouvfr-anct
- Package: @gouvfr-anct/timetable-to-osm-opening-hours
- Repository secrets to setup :
NODE_AUTH_TOKEN
: NPM access token to publish on organisation @gouvfr-anct