Skip to content

Latest commit

 

History

History
39 lines (27 loc) · 1.25 KB

README.md

File metadata and controls

39 lines (27 loc) · 1.25 KB

🧩 front-components-lib lib 🧩

Our shared components, to be used in several apps.

⚡ CLI

Description Command
⚠️ Linting the app pnpm nx run lint front-components-lib
✔️ Type checking using tsc pnpm nx run type-check front-components-lib
✅ Launching tests pnpm nx run test front-components-lib
🕵️ Run sonarcloud command pnpm nx run sonar front-components-lib

🔶 Useful flags

flag Description
--skip-nx-cache disables nx caching; the command will be ran fully
--verbose prints additional error stack trace on failure

🔶 Tests flags

🧿 Launching tests in watch mode:

pnpm nx test front-components-lib --watch

🧿 Launching all tests in watch mode:

pnpm nx test front-components-lib --watchAll

🧿 Targetting a set of tests (spec files in that example):

pnpm nx test front-components-lib --testFile=spec