0.0.3 • Published 1 year ago

evainsurtech v0.0.3

Weekly downloads
-
License
Propetary
Repository
-
Last release
1 year ago

Referencias para la construccion del storybook

https://medium.com/storybookjs/structuring-your-storybook-5148b116b874

Install in local

Use yarn to install the dependencies: yarn install

NO use npm or pnpm: Problems resolving dependencies of storybook`

Install in pipeline CI

yarn install --frozen-lockfile

Run storybook in local

npm run storybook or yarn run storybook or yarn storybook

Build storybook

Set correct envs DEPLOY_URL= PREVIEW_URL=//iframe.html

Exmaple: DEPLOY_URL=/storybook PREVIEW_URL=/storybook/iframe.html

npm run build or yarn run build or yarn build

Generate build dir to deploy

Flow to build and publish in npm

Prerequisite: be authenticated in the npm account

In package.json set correct name and version Ex: "name": "@daxamayac/ds", "version": "16.0.0",

In windows

npm run clearWindows or yarn run clearWindows or yarn clearWindows
npm run buildWindows or yarn run buildWindows or yarn buildWindows
for publish only work with npm >> npm run publicPublish

In linux

npm run clearLinux or yarn run clearLinux or yarn clearLinux
npm run buildLinux or yarn run buildLinux or yarn buildLinux for publish only work with npm >> npm run publicPublish