@x-locations/ui-components
v4.1.2
Published
https://xl-ui-components.vercel.app/
Keywords
Readme
x-locations/ui-components
https://xl-ui-components.vercel.app/
Development tips
If you want to use this repo in as a dependency in another repo but unsure yet of your changes, you can add it as a dependency like this:
"@x-locations/ui-components": "git+https://<PAT>:[email protected]/x-locations/ui-components.git#<COMMIT-NNUMBER>"
"@x-locations/ui-components": "git+https://<PAT>:[email protected]/x-locations/ui-components.git#<BRANCH-NAME>"Important Note:
Since this repo is private, you must setup your Personal Access Token (PAT). You can follow this setup: https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token
Committing code
This repository follows commitlint config so make sure to follow the rules.
- For new features, add prefix
feat: - For bug fixes, add prefix
fix: - For refactors, add prefix
refactor: - For docs, add prefix
docs:
Examples:
Correct
feat: some message
fix: some message
refactor: some message
docs: some messageIncorrect
: some message
foo: some message
feat: some message.
fix: some message that is way too long and breaks the line max-length by several charactersImportant Note:
Make sure prefix is in lowercase, and does not end in a dot .
Keep it short and simple
More details: @commitlint/config-conventional
Publishing a beta version to npm
Important! Make sure you are in the branch you want to publish.
Choose a version. In this example, I am using 2.0.0-beta.0.
npm version 2.0.0-beta.0Login to your npm account.
npm loginAfter this command, you will be prompted to open it in the browser. If you're already logged in, you may be prompted with the OTP.
After logging in, you can now publish.
npm publish --tag betaCheck if you have successfully made the beta version in the npm package. https://www.npmjs.com/package/@x-locations/ui-components?activeTab=versions
Remove --tag beta if you want it to be published normally.
