Vue 3 Brand-Evo Components and Widget Library for Customer Apps. Overview
npm i @fitx/customer-components
import { BaseButton } from '@fitx/customer-components';
All Designs located as sketch files in sketch cloud ✍
npm install
npm run serve
npm run build:vite
npm run build:lib-web
npm run build:vite-wc
npm run build
npm run test:unit
npm run test:e2e
npm run lint
npm run storybook
npm run build-storybook
Create local SymLink to Package
npm link
Go to consuming App, link and install
npm link @fitx/customer-components
npm i @fitx/customer-components
Make sure to update index file after add new Components. and run
npm run build:lib
npm publish --access public
As soon as you merge or push into branch 'release' GitHub Actions starts a workflow:
-
run unit tests
-
after success:
-
publish to NPM
-
netlify will trigger build for manually deployment
-
On update Master, Netlify will build and deploy automatically
❗ If version in package.json is not updated, NPM release will fail ❗