See the contributing guide for detailed instructions on how to get started with contributing to the stacks project.
The ideologies of Stacks and Nx
are aligned in their focus
on providing businesses with a framework that accelerates development, allowing
you to focus on business objectives with best practice code. Leveraging Nx
allows us to build upon that work and to fill the gaps with infrastructure,
pipelines and the integration with other Stacks subsystems. Leveraging Nx allows
a common developer experience, global communities of support, and an enterprise
ready base.
What is Nx?
The Nx framework is a powerful tool that allows developers to easily build, test, and automate their applications. It is built on top of the popular open-source Node.js platform, and provides a streamlined and efficient workflow for building apps. With Nx, developers can easily manage their dependencies, automate tasks, and quickly test their applications.
Additionally, Nx provides powerful features such as code-sharing, optimized builds, and real-time feedback, making it an ideal choice for any developer looking to streamline their development process and improve their productivity.
Find out more about Nx through their official [documentation](https://nx.dev/getting-started/intro)!
For the reasons listed above we have chosen to use Nx within Stacks for CSR and SSR frontend web applications, capitalising on Nx generators and executors to streamline your development and testing processes.
What are Nx Generators and Executors?
Nx generators and executors are two powerful features of the Nx build system that allow developers to quickly and easily generate new code and files for their projects, as well as to automate common tasks.
Nx generators are templates that can be used to quickly generate new code and files for different types of projects, such as Angular applications, React components, and Node.js services. Developers can use these generators to quickly create the code and files they need, based on pre-defined templates, saving them time and effort.
Nx executors, on the other hand, are scripts that can be used to automate common tasks, such as building, testing, and deploying code. Developers can use these executors to automate repetitive tasks and to streamline their workflow. Executors can also be customized to suit the specific needs of a project, making them a highly versatile tool.
Visit the official Stacks documentation site for Nx here!
To accelerate your project development and ensure consistency across those projects, we have several stacks plugins available!
Plugin | Description |
---|---|
@ensono-stacks/create-stacks-workspace |
Create an Nx workspace using stacks! |
@ensono-stacks/workspace |
'Stackify' your existing Nx workspace |
@ensono-stacks/next |
Enhance your Next.js project with Stacks! |
@ensono-stacks/azure-node |
|
@ensono-stacks/rest-client |
Add a rest client to a project in your stacks workspace |
@ensono-stacks/playwright |
Add the playwright testing library and much more to your project! |
@ensono-stacks/cypress |
Deprecated: This plugin is no longer supported. Ensono-stacks/cypress 2.0.7 is the final release version and may not be compatible with the ensono-stacks/workspace plugin above version 2.0.7. |
@ensono-stacks/logger |
Add industry standard logging capabilities to your project |