@nrwl/workspace
19.8.4 · 4 Oct 2024MIT633.3k / weekRepositoryHomepagenpmAtom feed
12.10.1 is the newest release of 12.x.
In short
2 breaking5 new13 fixed2 internal
- Breaking
core:
ProjectGraphBuilder#addDependencyis replaced withaddExplicitDependencyandaddImplicitDependency. Read the updated guide. - Breaking
core:
ProjectGraphBuilder#getProjectGraphis replaced withgetUpdatedProjectGraph. Read the updated guide.
Release note
The section about @nrwl/workspace of a note shared by several packages.
Bug Fixes
core: caching individual files
core: end tasks after cache is written
core: ensure overrides are not parsed as head and base for affected
core: fix wrong create-nx-workspace tutorial link
core: handle directories with lots of files when reading the workspace files
core: improve run-commands dx for ready-when
core: move generator should respect non-relative extends parts
core: path comparison across OS for getProjectNameFromDirPath (#6433) (18c3681), closes #6406
core: validate pattern if specified for a schema property
core: wrapped angular schematics should be able to update newly created standalone projects (#6351) (6ef8afb), closes #6342 #6342 #6353 #6354
misc: @nrwl/workspace:rm generator should work with standalone configs
misc: move generator should support project.json files
misc: remove import of webpack-dev-server
Features
core: add the target project name to the environment variables
core: improve project graph creation not to invalidate nxdeps when global config change
core: speed up ts module resolution
core: store file deps and only reanalyze changed files
core: support project and target specific env files when running a task
Breaking changes
- Breaking
core:
ProjectGraphBuilder#addDependencyis replaced withaddExplicitDependencyandaddImplicitDependency. Read the updated guide. - Breaking
core:
ProjectGraphBuilder#getProjectGraphis replaced withgetUpdatedProjectGraph. Read the updated guide.
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.