https://xl-ui-components.vercel.app/
https://xl-ui-components.vercel.app/
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:
``sh`
"@x-locations/ui-components": "git+https://
"@x-locations/ui-components": "git+https://
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
This repository follows commitlint config so make sure to follow the rules.
- For new features, add prefix feat:fix:
- For bug fixes, add prefix refactor:
- For refactors, add prefix docs:
- For docs, add prefix
Examples:
Correct
`sh`
feat: some message
fix: some message
refactor: some message
docs: some message
Incorrect
`sh`
: some message
foo: some message
feat: some message.
fix: some message that is way too long and breaks the line max-length by several characters
Important Note:
Make sure prefix is in lowercase, and does not end in a dot .
Keep it short and simple
More details: @commitlint/config-conventional
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.
`sh`
npm version 2.0.0-beta.0
Login to your npm account.
`sh`
npm login
After 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.
`sh`
npm publish --tag beta
Check 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.