Qwik Nx Plugin
install
npm install -D qwik-nx
Usage
Generating a workspace
npx create-qwik-nx@latest
or
npx create-nx-workspace@latest org-workspace --preset=qwik-nx
Generating an application
nx generate qwik-nx:app
Generating an library
nx generate qwik-nx:lib
Generating a component
nx generate qwik-nx:component
Generating a route
nx generate qwik-nx:route
Setting up Tailwind CSS
nx generate qwik-nx:setup-tailwind
Setting up Deno integration
nx generate qwik-nx:deno-integration
Migrations
This plugin supports Nx migrations and provides necessary version and code updates for Qwik. So instead of bumping plugin version manually in package.json it's recommended to run nx migrate qwik-nx
command, that includes bumping the version of the qwik-nx plugin, related dependencies and running code migrations.
qwik-nx & Nx Compatibility Chart
qwik-nx version | Nx version |
---|---|
^1.0.0 | ^16.0.0 |
^0.16.0 | ^16.0.0 |
>= 0.12.0 < 0.16.0 | ^15.8.0 |
~0.10.0, ~0.11.0 | ~15.7.2 |
>= 0.6.0 < 0.10.0 | ~15.6.0 |
~0.5.0 | ~15.5.0 |
~0.4.0 | ~15.4.0 |
<=0.4.0 | ^15.0.0 |
We will provide support for Nx 15 with critical bug fixes and minor features for a while. If you're using nx@15.8 or higher, you can stick to qwik-nx@0.15.
ROADMAP:
- Complete
add-nx-to-qwik
- Write missing tests
- implement more package.json scripts to project.json targets
- more...
Contributing
Want to contribute? Yayy! ๐
Please read and follow our Contributing Guidelines to learn what are the right steps to take before contributing your time, effort and code.
Thanks ๐
Code Of Conduct
Be kind to each other and please read our code of conduct.
Contributors
Thanks goes to these wonderful people (emoji key):
This project follows the all-contributors specification. Contributions of any kind welcome!
Related Links
License
MIT