This site uses cookies to ensure that you get the best experience on our website.
"targetDefaults": "build": "dependsOn": ["^build"], "outputs": ["projectRoot/dist"]
nx build my-app --skip-nx-cache # bypass cache Only run tasks on projects changed since a given commit: "targetDefaults": "build": "dependsOn": ["^build"]
nx list Example: generate a React component library "depConstraints": [ "sourceTag": "scope:app"
"rules": "@nx/enforce-module-boundaries": ["error", "depConstraints": [ "sourceTag": "scope:app", "onlyDependOnLibsWithTags": ["scope:shared", "scope:app"] ] ] "targetDefaults": "build": "dependsOn": ["^build"]
nx g @nx/react:lib shared/ui Custom generators can be created in tools/generators . Use tags in project.json :