Nx: [Documentation] tools folder purpose.

Created on 10 Jun 2018  路  2Comments  路  Source: nrwl/nx

Please explain tools folder purpose and usage.

feature

Most helpful comment

In the meantime, to expand on the use of the tools directory:

The tools directory is the home of non-sourcecode and non-config code.

One type of tool which you can create are Workspace Schematics (via ng g workspace-schematic) which allow you have codegen specific to your organization and help enforce standards.

In general, any type of code which does not fall under source code or configuration may be placed in the tools directory.

All 2 comments

Hey Justin, would you mind creating some documentation for what we use the tools folder for? I think currently its just used for our generated workspace schematics. However, you could also mention that this is the canonical folder where files are places which configure build systems (at least I know that's true for bazel projects I've worked with in the past)

In the meantime, to expand on the use of the tools directory:

The tools directory is the home of non-sourcecode and non-config code.

One type of tool which you can create are Workspace Schematics (via ng g workspace-schematic) which allow you have codegen specific to your organization and help enforce standards.

In general, any type of code which does not fall under source code or configuration may be placed in the tools directory.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ZempTime picture ZempTime  路  3Comments

vimalraj-a picture vimalraj-a  路  3Comments

IonFoXx picture IonFoXx  路  3Comments

zachnewburgh picture zachnewburgh  路  3Comments

joelmuskwe picture joelmuskwe  路  3Comments