Run npm install
in order to install all required dependencies and initialize the Git hooks.
npm run build
For a production build use the build:prod
script. Either way the output will be available in dist/{core,moment}
.
The sample application will automatically launch on http://localhost:4200/.
npm run build
npm run start
Navigate into the project you want to link mat-datetimepicker to.
cd my-project
Add the dependencies to your package.json
:
{
"dependencies": {
"@mat-datetimepicker/core": "8.0.0",
"@mat-datetimepicker/moment": "8.0.0"
}
}
Link the local built modules:
npm link "@mat-datetimepicker/core"
npm link "@mat-datetimepicker/moment"
This project uses a mix of @commitlint
and semantic-release
for automated versioning and deployment.
Developers have to follow so-called conventional commit messages, or we will not accept changes!
In short: The commit message has to follow this pattern (the ?
marks an optional part):
type(scope?): subject
body?
footer?
All available types are documented
in .versionrc.json
. A brief summary of
conventional commits is available at their website.
If you are not yet familiar with conventional commits: no worries! We have added a Git hooks which will validate your commit message - and notify you about any mistakes made.