Package Exports
- nx
- nx/bin/nx
- nx/bin/nx.js
- nx/package.json
- nx/src/adapter/compat
- nx/src/adapter/decorate-cli
- nx/src/adapter/decorate-cli.js
- nx/src/adapter/ngcli-adapter
- nx/src/adapter/ngcli-adapter.js
- nx/src/command-line/affected
- nx/src/command-line/affected.js
- nx/src/command-line/nx-commands
- nx/src/command-line/repair
- nx/src/command-line/repair.js
- nx/src/command-line/report
- nx/src/command-line/report.js
- nx/src/command-line/run
- nx/src/command-line/run-many
- nx/src/command-line/run-many.js
- nx/src/command-line/run-one
- nx/src/command-line/run-one.js
- nx/src/command-line/run.js
- nx/src/config/configuration
- nx/src/config/configuration.js
- nx/src/config/nx-json
- nx/src/config/nx-json.js
- nx/src/config/project-graph
- nx/src/config/project-graph.js
- nx/src/config/workspaces
- nx/src/config/workspaces.js
- nx/src/executors/run-commands/run-commands.impl
- nx/src/executors/run-commands/run-commands.impl.js
- nx/src/executors/run-script/run-script.impl
- nx/src/executors/run-script/run-script.impl.js
- nx/src/generators/testing-utils/create-tree
- nx/src/generators/testing-utils/create-tree-with-empty-workspace
- nx/src/generators/testing-utils/create-tree-with-empty-workspace.js
- nx/src/generators/testing-utils/create-tree.js
- nx/src/generators/tree
- nx/src/generators/tree.js
- nx/src/generators/utils/json
- nx/src/generators/utils/json.js
- nx/src/generators/utils/project-configuration
- nx/src/generators/utils/project-configuration.js
- nx/src/hasher/hash-task
- nx/src/hasher/hasher
- nx/src/hasher/hasher.js
- nx/src/hasher/hashing-impl
- nx/src/hasher/hashing-impl.js
- nx/src/project-graph/affected/affected-project-graph
- nx/src/project-graph/affected/affected-project-graph.js
- nx/src/project-graph/build-dependencies/typescript-import-locator
- nx/src/project-graph/build-dependencies/typescript-import-locator.js
- nx/src/project-graph/file-utils
- nx/src/project-graph/file-utils.js
- nx/src/project-graph/operators
- nx/src/project-graph/operators.js
- nx/src/project-graph/project-graph
- nx/src/project-graph/project-graph-builder
- nx/src/project-graph/project-graph-builder.js
- nx/src/project-graph/project-graph.js
- nx/src/tasks-runner/cache
- nx/src/tasks-runner/cache.js
- nx/src/tasks-runner/create-task-graph
- nx/src/tasks-runner/create-task-graph.js
- nx/src/tasks-runner/default-tasks-runner
- nx/src/tasks-runner/default-tasks-runner.js
- nx/src/tasks-runner/forked-process-task-runner.js
- nx/src/tasks-runner/life-cycle
- nx/src/tasks-runner/life-cycle.js
- nx/src/tasks-runner/life-cycles/dynamic-run-many-terminal-output-life-cycle
- nx/src/tasks-runner/life-cycles/dynamic-run-many-terminal-output-life-cycle.js
- nx/src/tasks-runner/life-cycles/dynamic-run-one-terminal-output-life-cycle.js
- nx/src/tasks-runner/run-command
- nx/src/tasks-runner/run-command.js
- nx/src/tasks-runner/tasks-runner
- nx/src/tasks-runner/tasks-runner-v2
- nx/src/tasks-runner/tasks-runner-v2.js
- nx/src/tasks-runner/tasks-runner.js
- nx/src/tasks-runner/utils
- nx/src/tasks-runner/utils.js
- nx/src/utils/ab-testing
- nx/src/utils/app-root
- nx/src/utils/app-root.js
- nx/src/utils/cache-directory
- nx/src/utils/cache-directory.js
- nx/src/utils/command-line-utils
- nx/src/utils/command-line-utils.js
- nx/src/utils/fileutils
- nx/src/utils/fileutils.js
- nx/src/utils/find-workspace-root
- nx/src/utils/find-workspace-root.js
- nx/src/utils/json
- nx/src/utils/json.js
- nx/src/utils/logger
- nx/src/utils/logger.js
- nx/src/utils/nx-plugin
- nx/src/utils/object-sort
- nx/src/utils/object-sort.js
- nx/src/utils/output
- nx/src/utils/output.js
- nx/src/utils/package-json
- nx/src/utils/package-json.js
- nx/src/utils/package-manager
- nx/src/utils/package-manager.js
- nx/src/utils/params
- nx/src/utils/params.js
- nx/src/utils/path
- nx/src/utils/path.js
- nx/src/utils/perf-logging
- nx/src/utils/plugins/models
- nx/src/utils/plugins/models.js
- nx/src/utils/project-graph-utils
- nx/src/utils/project-graph-utils.js
- nx/src/utils/register
- nx/src/utils/register.js
- nx/src/utils/serialize-overrides-into-command-line
- nx/src/utils/split-target
- nx/src/utils/split-target.js
- nx/src/utils/strip-indents
- nx/src/utils/strip-indents.js
- nx/src/utils/target-project-locator
- nx/src/utils/target-project-locator.js
- nx/src/utils/versions
- nx/src/utils/versions.js
- nx/src/utils/workspace-root
- nx/src/utils/workspace-root.js
- nx/tasks-runners/default
- nx/tasks-runners/default.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (nx) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Nx: Smart, Fast and Extensible Build System
Nx is a next generation build system with first class monorepo support and powerful integrations.
Getting Started
Creating an Nx Workspace
Using npx
npx create-nx-workspace
Using npm init
npm init nx-workspace
Using yarn create
yarn create nx-workspace
The create-nx-workspace
command will ask you to select a preset, which will configure some plugins and create your applications to help you get started.
? What to create in the new workspace (Use arrow keys)
❯ apps [an empty workspace with no plugins with a layout that works best for building apps]
core [an empty workspace with no plugins set up to publish npm packages (similar to yarn workspaces)]
ts [an empty workspace with the JS/TS plugin preinstalled]
react [a workspace with a single React application]
angular [a workspace with a single Angular application]
next.js [a workspace with a single Next.js application]
nest [a workspace with a single Nest application]
express [a workspace with a single Express application]
web components [a workspace with a single app built using web components]
react-native [a workspace with a single React Native application]
react-express [a workspace with a full stack application (React + Express)]
Select the preset that works best for you
Adding Nx to an Existing Monorepo
Run:
npx add-nx-to-monorepo@latest
Documentation & Resources
A few links to help you get started: