today, we're going to talk about library and Nx (...and much more)
A task runner
A task runner
that can orchestrates and executes tasks efficiently
A task runner
that can orchestrates and executes tasks efficiently
because it knows about your projects
It is also a collection of tools
It is also a collection of tools
1. The demo is in Nx 19. What about Nx 20?
1. The demo is in Nx 19. What about Nx 20?
2. The demo uses Angular. Why?
twitter.com/@nartc1410
github.com/nartc
npx create-nx-workspace <name_of_workspace>npx create-nx-workspace <name_of_workspace>
--package-manager=npm,yarn,pnpmnpx create-nx-workspace <name_of_workspace>npm i -D @nx/angular
npx nx generate @nx/angular:library libs/core
--publishable
--import-path="@js-day-demo/core"
--standaloneDemo
npx nx generate @nx/angular:app apps/playgroundDemo
@angular/core
@angular/core
@angular/core/testing
@angular/core
@angular/core/testing
https://unpkg.com/browse/msw@2.5.1/package.json
npx nx generate @nx/angular:entry-pointDemo
npx ng add <name-of-library>npm i -D @nx/pluginnpx nx generate @nx/plugin:plugin libs/pluginnpx nx generate @nx/plugin:generatorDemo
A smart release tool because it has information about the Project Graph
Demo
Demo