@mzane42/react-day-time-picker
v2.0.2
Published
A React component to help with scheduling a day and time.
Downloads
19
Maintainers
Readme
Elmut - Day Time picker
This repos is a day time picker component for elmut, the original package here from @mooncake-dev/react-day-time-picker
A React component to help with scheduling a day and time
Running Locally
npm start
How to deploy new version
Continuous Deployment (CD) Integration
With the integration of semantic-release and GitHub Actions, the release process has been automated. When you push commits or merge pull requests to that follow the conventional commit format to master master
, the GitHub Action will:
- Analyze the commit messages to determine the type of version bump (major, minor, patch).
- Build the package.
- Publish the new version to npm.
- Create/update a changelog.
- Create a GitHub release with the determined new version.
Conventionnal Commit
all in english
<type>([optional scope]): <description>
[optional body]
[optional footer(s)
<type>
:
- fix: a commit of the type
fix
patches a bug in your codebase (this correlates with PATCH in Semantic Versioning). - feat: a commit of the type
feat
introduces a new feature to the codebase (this correlates with MINOR in Semantic Versioning). - BREAKING CHANGE: a commit that has a footer
BREAKING CHANGE:
, or appends a!
after the type/scope, not working ? introduces a breaking API change (correlating with MAJOR in Semantic Versioning). A BREAKING CHANGE can be part of commits of any type. - refactor: a commit of type
refactor
introduces a refactoring in the codebase (this correlates with PATCH in Semantic Versioning). - build: if a change happens in the CI or in the settings of the project.
([optional scope])
:
describe the section of the codebase modified all in PascalCase (naming > as the section changed is named) atom-Button, molecule-GridMedia, ...
<description>
:
clearly describe what have changed
Release Generation
when the release is triggered on GitLab the version of the package is automatically incremented based on the commit messages.
Manual Release Instructions
If for some reason, the automated release isn't feasible, or you need to publish manually, follow the steps below. However, the use of the automated CD process is recommended.
Build:
npm run prepublishOnly
Publish:
npm publish --access public
More details about publishing can be found in the npm documentation.
Make sure:
- You increment the npm version after you make code changes with
npm version
. - You're logged in.