0.0.63 • Published 1 year ago
brandable-ui-library v0.0.63
Brandable UI Component Library
Core Technologies
- React 18+
- Vite
- Typescript
- TailwindCSS
- PostCSS
- ESLint
- Husky
How to Build and Manage Components?
Creating New Components
- Create individual Component files in the
/components
directory - Export all of these components in the
/components/index.ts
file, this is where the build instructions are pulling components from
Editing Components
- Simply edit them
How to deploy changes
- Once your changes have been made and tested locally, increment the version number in the
package.json
file. This is a requirement for the NPM Registry. Use Semantic Versioning as much as possible. - Run
npm run build
to build the latest version of the package with your updates. - In the terminal, from the top-level project directory
/brandable-ui-library
, log in to your NPM account withnpm auth login
. - Run
npm publish
How to consume new changes?
- Update the package manually from the CONSUMING APPLICATION
- Increment the
brandable-ui-library
independencies
to the new version. - Run a new
npm install
oryarn
- Increment the
Instructions for Consumption
- Install the package with NPM or Yarn:
npm i brandable-ui-library
- In the Consuming Application's
tailwind.config.js
file, add the following line in thecontent
block:
"./node_modules/brandable-ui-library/**/*.{js,ts,jsx,tsx}"
- Import and use components as normal in your files
- Override the imported components styling using the Tailwind Config
Local Development
npm run [command]
will run the Vite build commands under the hood, checkpackage.json
for full details.npm run dev
to test locally
brandable-ui-library
0.0.44
1 year ago
0.0.45
1 year ago
0.0.47
1 year ago
0.0.62
1 year ago
0.0.63
1 year ago
0.0.60
1 year ago
0.0.61
1 year ago
0.0.59
1 year ago
0.0.51
1 year ago
0.0.52
1 year ago
0.0.53
1 year ago
0.0.54
1 year ago
0.0.55
1 year ago
0.0.56
1 year ago
0.0.57
1 year ago
0.0.58
1 year ago
0.0.50
1 year ago
0.0.48
1 year ago
0.0.49
1 year ago
0.0.40
1 year ago
0.0.41
1 year ago
0.0.42
1 year ago
0.0.20
1 year ago
0.0.43
1 year ago
0.0.21
1 year ago
0.0.22
1 year ago
0.0.23
1 year ago
0.0.24
1 year ago
0.0.25
1 year ago
0.0.37
1 year ago
0.0.38
1 year ago
0.0.39
1 year ago
0.0.30
1 year ago
0.0.31
1 year ago
0.0.32
1 year ago
0.0.33
1 year ago
0.0.34
1 year ago
0.0.35
1 year ago
0.0.36
1 year ago
0.0.26
1 year ago
0.0.27
1 year ago
0.0.28
1 year ago
0.0.29
1 year ago
0.0.18
1 year ago
0.0.19
1 year ago
0.0.10
1 year ago
0.0.11
1 year ago
0.0.12
1 year ago
0.0.13
1 year ago
0.0.14
1 year ago
0.0.15
1 year ago
0.0.9
1 year ago
0.0.16
1 year ago
0.0.17
1 year ago
0.0.8
1 year ago
0.0.7
1 year ago
0.0.6
1 year ago
0.0.5
1 year ago
0.0.4
1 year ago
0.0.3
1 year ago
0.0.2
1 year ago
0.0.1
1 year ago