A collection of Nx plugins powered by Codeware Sthlm.
Plugin source code has moved to codeware repository.
Add support for Payload in your existing Nx workspace.
Quickly create a new Nx workspace with a Payload application, using the plugin as a preset.
npx create-nx-payloador
npx create-nx-workspace --preset @cdwr/nx-payloadnpm add -D @cdwr/nx-payloadnpx nx generate @cdwr/nx-payload:appNx has great support for package managers. You can get started with the package manager you love the most. For example
yarn create nx-payloadpnpm create nx-payloador
npx create-nx-workspace --pm yarnnpx create-nx-workspace --pm pnpmRead more about Nx installation
Installing Nx globally has advantages and lets you focus on runing Nx commands, without worring about your current package manager.
nx run-many -t build lint test e2eor shorter
nx run-manynx run [package]:[target] [options]or use the shorter infix notation
nx [target] [package] [options]Packages can be published locally to a Verdaccio registry, to be able to run manual smoke tests complementing the automated tests.
Start Verdaccio and configure package managers for a local setup.
nx local-registryThe process will keep running in the current terminal.
Quit the process to shutdown Verdaccio when needed, which will also restore the initial package manager setup
In another terminal build an publish all plugins to local Verdaccio registry.
nx local-registry:publishOpen http://localhost:4873/ to view the packages.
It's now possible to test a plugin in a local scope.
For example
npx create-nx-payload@local
