0.0.0 • Published 3 years ago
citii-web-components v0.0.0
Reboot Design System Web Component Collection
A collection of standard web components part of the Reboot Design System.
The purpose of this package is to explore a efficient way to build micro front-ends using a set of reusable building blocks.
The collection is currently in an early development stage.
Contact angel.garcia@novasolutionsystems.com to know more about the package and the develoment process.
Getting Started
Clone the project from the repository
git clone https://<PersonalAccessTokens>@github.com/miguelnova/reboot-ds.git
Change directory
cd reboot-ds
Donwload package:
npm i
To integrate the Reboot Design System Web Component Collection (or RDS) package:
npm i reboot-ds
Run the project
npm start
New component
Create a new web component:
stencil generate wc-personal-card
src
|- components
|- atoms
|- wc-personal-card
|- wc-personal-card.css
|- wc-personal-card.spec.ts
|- wc-personal-card.tsx
Save changes
Save changes commit
git add .
npm run commit
Types commits
types: {
chore: {
description: 'Build process or auxiliary tool changes',
emoji: '🤖',
value: 'chore'
},
ci: {
description: 'CI related changes',
emoji: '🎡',
value: 'ci'
},
docs: {
description: 'Documentation only changes',
emoji: '✏️',
value: 'docs'
},
feat: {
description: 'A new feature',
emoji: '🎸',
value: 'feat'
},
fix: {
description: 'A bug fix',
emoji: '🐛',
value: 'fix'
},
perf: {
description: 'A code change that improves performance',
emoji: '⚡️',
value: 'perf'
},
refactor: {
description: 'A code change that neither fixes a bug or adds a feature',
emoji: '💡',
value: 'refactor'
},
release: {
description: 'Create a release commit',
emoji: '🏹',
value: 'release'
},
style: {
description: 'Markup, white-space, formatting, missing semi-colons...',
emoji: '💄',
value: 'style'
},
test: {
description: 'Adding missing tests',
emoji: '💍',
value: 'test'
}
}
Run Scripts
Analyze static code with ESlint
npm run lint
Format code
npm run format
Run unit tests
npm run test
Build a project
npm run build
0.0.0
3 years ago