@leapdev/gui
v3.0.0
Published
LEAP GUI
Maintainers
Readme
LEAP GUI
Background
This is source scss of LEAP GUI Toolkit.
Developement workflow
Auto-updates
In GUI project
Make sure you have the latest Node installed Node.js
Install dependencies Corepack and yarn 4 is recommended.
corepack enable
yarn- Run serve
yarn serveserve script auto-publishes once, then pushes updates everytime changes made to SCSS.
In the consumed project (eg. Sirius), link GUI package and start dev server
npx yalc link @leapdev/gui # or yalc link @leapdev/gui if you have installed yalc locally
yarn start leap test.auRemember to add .yalc and yalc.lock to gitignore if you haven't done already.
Now make changes to SCSS → auto-updates in Sirius!
Manual updates
Install dependencies as usual.
In GUI
- Publish package, one time only
yarn local:publish- Build and push changes manually
yarn build:pushIn the consumed project (e.g. Sirius)
Link the package and start dev server same as the auto-update workflow
npx yalc link @leapdev/gui
yarn start leap test.auBuild for Production
- Make sure you have the latest Node installed Node.js
- Install project dependencies
yarn - Run
yarn buildin Terminal to compile GUI
Notes
Currently using an 1.32.13 (older version) until SASS devs apply a patch for deprecation warnings regarding division. Issue discussed here https://github.com/sass/libsass/issues/2822#issuecomment-482914373
Enabled flags to mute deprecation warnings until a SASS version update is available without having to spam console.
