@nrwl/workspace
19.8.4 · 4 Oct 2024MIT633.3k / weekRepositoryHomepagenpmAtom feed
563 stable releases, newest first, by release line. Notes are quoted as the maintainers published them.
- 14.x
14.5.2
2 Aug 2022misc: autocomplete prompts
14.5.1
28 Jul 2022Note: Version bump only for package @nrwl/nx-source
14.5.0
28 Jul 2022- Deprecated
angular: deprecate DataPersistence class in favor of data persistence operators
- Deprecated
angular: deprecate syntax option from the ngrx generator
core: adjust add and addDev command for pnpm when it is in a pnpm workspace
Bug Fixes
core: adjust add and addDev command for pnpm when it is in a pnpm workspace
core: handle specifying a prerelease version without a package when migrating
core: improve performance of enforce-module-boundaries linting rule on Windows
core: outputs in nx.json targetDefaults is not work (#11157) (f8104d9), closes #11141
core: print out configuration for run-many logging
core: remove eslintrc.json from the package build artifact
core: use generator options from nx config (#11006) (d579f94), closes #11004
core: use proper package manager when installing package for migration
misc: add dotenv as dependencies for plugins that import it
misc: make unparsed not required and add smart provider in adapter
misc: show help when no command is passed
repo: explicitly stop all agents on failure
Features
- Deprecated
angular: deprecate DataPersistence class in favor of data persistence operators
- Deprecated
angular: deprecate syntax option from the ngrx generator
core: add ability to use globs as outputs
core: allow configuring targets to forward args to its target dependencies
core: improve graph utils matrix generation
core: run-many runs all projects by default
core: update GitHub CI workflow generator to v0.6
misc: implement nx repair and prettify migrate output
repo: add lock file linting to commit check, PR and nightly
14.4.3
16 Jul 2022core: adjust add and addDev command for pnpm when it is in a pnpm workspace
core: handle specifying a prerelease version without a package when migrating
Bug Fixes
core: adjust add and addDev command for pnpm when it is in a pnpm workspace
core: handle specifying a prerelease version without a package when migrating
core: outputs in nx.json targetDefaults is not work (#11157) (2a711b4), closes #11141
core: remove eslintrc.json from the package build artifact
core: use generator options from nx config (#11006) (dfd7e0f), closes #11004
misc: add dotenv as dependencies for plugins that import it
14.4.2
5 Jul 2022angular: generate stories for secondary entrypoints
core: merge named inputs from project.json and package.json
core: resolve default project correctly when running targets
Bug Fixes
angular: generate stories for secondary entrypoints
core: merge named inputs from project.json and package.json
core: resolve default project correctly when running targets
misc: handle external nodes correctly in module federation additional shared config
node: add missing production configuration for serve target in app generator
14.4.1
4 Jul 2022core: expand the number of cases where analyzeSourceFiles is defaulted to true
core: plugins config changes should invalidate graph cache
14.4.0
1 Jul 2022core: correctly handle * in implicitDependencies derived from inputs
core: do not attempt to slice leading slash on move if not defined
core: handle removals of dependencies
Bug Fixes
core: correctly handle * in implicitDependencies derived from inputs
core: do not attempt to slice leading slash on move if not defined
core: handle removals of dependencies
core: hasher should handle non existent env vars
core: make nx init search against a regex instead of indexOf
core: nx Cloud messaging on the wrkspace setup commands
core: return a list of dependents that do not have sourceRoot to calculate glob patterns (#10899) (1afad76), closes #10871
core: show meaningful error message when unsupported positional arg set
misc: normalize paths when moving projects
react-native: remove trailing "/" in generated .gitignore
repo: add snap files to prod exclude input
Features
core: extend the default hasher to support different filesets
core: finalize the input api
core: generalize the notion of filesets to include other inputs
core: make npmScope optional
core: move workspace configuration computation to daemon
core: support env vars and runtime deps as inputs
core: update github action workflow to latest version
14.3.6
16 Jun 2022angular: ensure @schematics/angular version gets updated when listed in the package.json
core: scheduler should notify the life cycle about task scheduling
Bug Fixes
angular: ensure @schematics/angular version gets updated when listed in the package.json
core: scheduler should notify the life cycle about task scheduling
core: update move generator to move multiple projects in eslint parserOptions override (#10775) (a0f5b7c), closes #10774
misc: add space in monorepo-nx-enterprise.md
Features
angular: add support for incremental builds to the webpack-server executor
react: update @nrwl/react package versions
14.3.5
15 Jun 2022core: handle an edge case where overrides_unparsed is not set
core: handle optional cli property when writing workspace configuration in the ng cli adapter
14.3.4
15 Jun 2022angular: remove unnecessary unused entry module import from new mf remote apps
core: Add missing
formatFilesto migrations (09baf95), closes nrwl/nx#10665core: runExecutor should set overrides_unparsed to mimic the invocation from the terminal
Bug Fixes
angular: remove unnecessary unused entry module import from new mf remote apps
core: Add missing
formatFilesto migrations (09baf95), closes nrwl/nx#10665core: runExecutor should set overrides_unparsed to mimic the invocation from the terminal
Features
core: generalize setting target defaults
14.3.3
15 Jun 2022misc: format command prints an irrelevant warning
core: read globs from pnpm config files
14.3.2
14 Jun 2022core: handle empty positional overrides
react: update emotion package versions
14.3.1
13 Jun 2022detox: change detox to compiling dependency to fix android with react native 0.68
react-native: upgrade metro to 0.71.1 and react-native-config to 1.4.6
Bug Fixes
detox: change detox to compiling dependency to fix android with react native 0.68
Features
react-native: upgrade metro to 0.71.1 and react-native-config to 1.4.6
Reverts
14.3.0
13 Jun 2022core: fix ignore logic and un-expose the functions from devkit
core: handle falsy error in params.ts#handleErrors
core: rearrange the core and npm presets to avoid breaking existing workspaces
Bug Fixes
core: fix ignore logic and un-expose the functions from devkit
core: handle falsy error in params.ts#handleErrors
core: rearrange the core and npm presets to avoid breaking existing workspaces
repo: reset git index when terminating publishing
storybook: remove projectBuildConfig from everywhere
Features
core: introduce the NX_PROJECT_GRAPH_CACHE_DIRECTORY to allow separating it from the computation cache
core: provide a way to handle get unparsed args in the executor
core: support nested ignore files
core: throw graceful error in runNxMigration() if no collection
14.2.4
9 Jun 2022core: prevent "ng completion" command to run through the nx cli
core: print a better error when tasksRunnerOptions are missing
repo: fix lerna.json formatting during publish
Bug Fixes
core: prevent "ng completion" command to run through the nx cli
core: print a better error when tasksRunnerOptions are missing
repo: fix lerna.json formatting during publish
Features
misc: add ability to run graph in any workspace
14.2.3
9 Jun 202214.2.2
8 Jun 2022core: custom executor package resolution should work when not using nx-plugin
core: handle non-existing cli entry in nx.json in migration to remove default collection
misc: fix printing duplicate generators that are actually extensions
14.2.1
7 Jun 2022- Deprecated
core: deprecate affected:apps and affected:libs
core: do not create project graph when creating a sandbox in create-nx-workspace
core: ensure createPackageJson sorts dependencies consistently
Bug Fixes
core: do not create project graph when creating a sandbox in create-nx-workspace
core: ensure createPackageJson sorts dependencies consistently
core: ensure pnpm v7 install when peer deps are missing
core: fix outputs migration
core: new and migrate commands should exit with code
core: print normalized generator name instead of aliases
core: require.resolve(m/package.json) is not guarunteed to work for modern module format
core: swc should be an optional peer dependency
web: fix dev-server deprecation warning
Features
core: ability to pass extra target deps when invoking commands
core: add the flag to stop execution on first error
- Deprecated
core: deprecate affected:apps and affected:libs
core: do not double prefix output when running nested commands
core: install packages after migrations have run and dependencies haven been modified
core: make nx.json optional
core: migrate to prettier ^2.6.2
core: outputs should be able to interpolate project properties
core: prefix when using --output-style=stream
core: prompt for available generators
Reverts
Revert "fix(js): resolve shallow dependencies when building package.json (#10600)" (029be8c), closes #10600
Revert "fix(core): store relative file name in hash details (#10166)" (6c3ce13), closes #10166
Revert "cleanup(storybook): Refine change Storybook target warn message (#10495)" (#10571) (56e0ec5), closes #10495 #10571
14.1.10
27 Jun 2022angular: export component generator
14.1.9
25 May 2022core: bump nrwl/ci workflow versions
core: default project is not set correctly
Bug Fixes
core: bump nrwl/ci workflow versions
core: call pnpm run without -- for pnpm v7 (#10305) (7b7fc89), closes #10111
core: default project is not set correctly
core: do not default to white color
core: ensure updateStorybook in nrwl/workspace:move handle direc…
core: include types/node in deps when adding workspace-generator
core: preserve dash casing when passing args to executors
core: use absolute paths when resolving package.json files
misc: misc fixes
repo: fix add-to-monorepo test
repo: fix pnpm v7 install config
repo: update package group during publishing
Features
core: make nx prefix customizable
core: support customizing command header
14.1.8
24 May 2022core: bump nrwl/ci workflow versions
core: do not default to white color
core: ensure updateStorybook in nrwl/workspace:move handle direc…
Bug Fixes
core: bump nrwl/ci workflow versions
core: do not default to white color
core: ensure updateStorybook in nrwl/workspace:move handle direc…
core: include types/node in deps when adding workspace-generator
repo: fix pnpm v7 install config
Features
core: make nx prefix customizable
core: support customizing command header
14.1.7
17 May 2022core: default project is not set correctly
core: preserve dash casing when passing args to executors
Bug Fixes
core: call pnpm run without -- for pnpm v7 (#10305) (7b7fc89), closes #10111
core: default project is not set correctly
core: preserve dash casing when passing args to executors
core: use absolute paths when resolving package.json files
js: format .lib.swcrc file with nx format
repo: fix add-to-monorepo test
14.1.6
16 May 2022misc: misc fixes
14.1.5
11 May 2022core: list only changed files on format:write log
core: migrate should not fail if dependencies section doesn't exist
Bug Fixes
core: if git hash-object reports fewer hashes than requested - log one of the missing files (#10134) (0ec1a62), closes #9946
core: list only changed files on format:write log
core: migrate should not fail if dependencies section doesn't exist
core: migrate should not fail under certain circumstances (#10225) (6025ce5), closes #10144
core: only migrate projects with project.json
Features
14.1.4
5 May 2022core: introduce an explicit variable for deciding on how output is printed
14.1.3
5 May 2022core: fix broken cnw with pnpm v7
14.1.2
5 May 2022core: add dependency from workspace to devkit
core: add tao to package group
core: skip dependencies already added (avoid circular dependencies)
Bug Fixes
core: add dependency from workspace to devkit
core: add tao to package group
core: skip dependencies already added (avoid circular dependencies)
core: update run-migrations log message
react: remove collected dependency from module federation shared config when not found in package.json
Features
core: expose hash file function in hasher
14.1.1
4 May 2022misc: fix incorrect nx imports
nextjs: update custom server setup so hostname and port are always provided
14.1.0
4 May 2022core: align yargs options in workspace-generator with generic opts passed to other commands
core: allow daemon to disable glob cache
core: automatically add root to the project.json projects
Bug Fixes
core: align yargs options in workspace-generator with generic opts passed to other commands
core: allow daemon to disable glob cache
core: automatically add root to the project.json projects
core: calculate dependencies of mixed targets
core: correct log message when uninstalled plugin is referenced in nx.json (#9994) (1d2bd1c), closes #9976
core: emit success false in compileTypeScriptFiles if typescript diagnostic contains errors
core: fix having multiple versions of nx/devkit
core: fix migrating old workspaces without nx
core: fix migrating workspaces without any task runners configured
core: move removing roots migration to 14.0.6
core: normalize paths in ng cli adapter when finding matching files
core: pnpm exec check not matching for v7
core: refine move and remove generators for projects with a target name
Features
core: mark implementation packages as affected if their corresponding type declaration package is updated
core: switch cnw ci option to be single-select
misc: add noop executor for cases when we need to define a target hat does nothing
misc: add syntax sugar for dependsOn
misc: move run-commands executor to nx
14.0.4
28 Apr 2022core: align yargs options in workspace-generator with generic opts passed to other commands
core: allow daemon to disable glob cache
core: automatically add root to the project.json projects
Bug Fixes
core: align yargs options in workspace-generator with generic opts passed to other commands
core: allow daemon to disable glob cache
core: automatically add root to the project.json projects
core: calculate dependencies of mixed targets
core: correct log message when uninstalled plugin is referenced in nx.json (#9994) (793bd76), closes #9976
core: fix having multiple versions of nx/devkit
core: fix migrating old workspaces without nx
core: pnpm exec check not matching for v7
14.0.3
26 Apr 2022core: fix importing default exports for generators+executors
core: fix usage of --dry-run flag in workspace generators
Bug Fixes
core: fix importing default exports for generators+executors
core: fix postinstall failure due to project graph build error (#9960) (2647e48), closes #9451
core: fix usage of --dry-run flag in workspace generators
misc: file server should force remote caching when invoking build
storybook: ignore experimental packages during migrating to v14
14.0.2
23 Apr 2022core: add dependency for cliui + string-width
core: fix creating new workspaces with not normalized names
core: make npm scope optional
Bug Fixes
core: add dependency for cliui + string-width
core: fix creating new workspaces with not normalized names
core: make npm scope optional
Features
misc: add application x-type for host and remote generators
Reverts
14.0.1
21 Apr 2022angular: remove src from lintFilePatterns
core: remove log during migrate
testing: include jest.config.ts in tsconfig.spec.json
14.0.0
21 Apr 2022- Breaking
react: react-router API has changed, and @testing-library/react-hooks has been deprecated (See: nx.dev/guides/react-18)
angular: remove implicit deps creation from mfe
Bug Fixes
angular: remove implicit deps creation from mfe
core: allow parsing dot notation cli args (#9812) (74a4047), closes #9764
core: build project's that have buildable dependencies without package.json's
core: build-project-graph shouldn't fail when large number of workers are available (#9804) (1857138), closes #9801
core: fix migrate race conditions
core: fix migration for tasks runners
core: fix typings in params
core: fix writing partial files to disk during migration
core: handle failed CI workflows in CNW CLI
core: improve generated workflows
core: init generators should not crash when trying to remove dependencies when package.json does not have dependencies
core: local plugins should resolve in package-manager workspaces (#9913) (2d2c8a7), closes #9823
core: make CNW preset property open for custom presets
core: remove @nrwl/workspace when adding nx to monorepo
core: replaceAppNameWithPath should not consider defaultConfiguration #9706
devkit: remove from package-json should pass when dev dependencies null (#9903) (b225d98), closes #9877
- Removed
storybook: remove hard-coded ci:true option (#9827) (c0de03b), closes #9681
Features
angular: remove mfe-host alias in favour of host
angular: remove mfe-remote alias in favour of remote
angular: remove unnecessarily generated code for remotes
core: add --create-commits option to nx migrate
core: add CI generation to create-nx-workspace
core: add NX_MIGRATE_USE_NEXT flag to test next version of migrate
core: default to Yes for Nx Cloud during add-nx-to-monorepo
core: migrate @nrwl/workspace:run-script to nx:run-script
core: migrate nx.json presets to come from nx package
core: prompt users to connect to nx cloud when upgrading major versions
core: remove @types/node from default workspace
core: respect packageGroup in nx migrate (#9667) (32b49b6), closes #4575
core: throw error on ci generator if nx cloud not set
misc: do not add typescript or @nrwl/cli during add nx to monorepo
Breaking changes
- Breaking
react: react-router API has changed, and @testing-library/react-hooks has been deprecated (See: nx.dev/guides/react-18)
- 13.x
13.10.6
27 Jun 202213.10.5
19 May 2022core: fix having multiple versions of nx/devkit
13.10.4
4 May 2022core: fix migrating workspaces without any task runners configured
13.10.3
19 Apr 2022Bug Fixes
core: allow parsing dot notation cli args (#9812) (2b045e0), closes #9764
core: build-project-graph shouldn't fail when large number of workers are available (#9804) (d37379f), closes #9801
core: make CNW preset property open for custom presets
- Removed
storybook: remove hard-coded ci:true option (#9827) (2ac7746), closes #9681
13.10.2
13 Apr 2022angular: remove implicit deps creation from mfe
core: fix migration for tasks runners
core: init generators should not crash when trying to remove dependencies when package.json does not have dependencies
13.10.0
7 Apr 2022core: add log line to inform install after migration
core: add missing CNW flags in help report
core: add missing lint info to library generator
Bug Fixes
core: add log line to inform install after migration
core: add missing CNW flags in help report
core: add missing lint info to library generator
core: add more descriptive dependencies build error
core: don't allow arbitrary code execution when manipulating cache
core: fix a perf regression in the lint executor
core: fix migrate command to properly handle the packages consolidation
core: fix missing versions from nx report
core: fix tao to support migrations from older workspaces
core: handle large property names when running --help
core: infer packages from workspaces.packages properly
core: ngcli-adapter should work on windows without workspace.json present
core: normalize file path for node-hasher (#9585) (9123665), closes #9584 #9581
core: preset core should remove workspace.json
core: projects inferrred in apps directory should be inferred as an application
core: remove @nrwl/cli bin setting
core: remove warning for out of date global version
core: restore failed project summary data to dynamic output
core: switch from appRootPath to workspaceRoot
core: targets referred to by targetDependencies should be optional by default
core: throw an error when a circular dep occurs in a graph mixing buidlable/no-buildable projects
core: un-scope the node_modules entry in generated .gitignore (#9544) (9a16371), closes #9412
core: undo removal of @nrwl/cli and add warning when it is imported
core: update local plugin resolution to use path utilities
nx-plugin: remove broken reference to e2e tsconfig
Remove redundant code
repo: align the version of @nrwl/workspace and @nrwl/next
repo: fix builds
repo: remove mismatched @nrwl/next from dependencies
testing: remove default testTimeout value which overrides the jest config
Features
core: ability to run local nx plugins w/o build step
core: add colors to create-nx-workspace
core: add option importPath to workspace remove library
core: improve migrations performance by using registry to fetch packages information
core: toggle additional prompts in CNW with a flag
13.9.7
5 Apr 2022core: remove warning for out of date global version
angular: support migrating angular cli workspaces with multiple projects when keeping the angular cli layout
13.9.6
1 Apr 2022core: re-add migrating @nrwl/cli
13.9.5
25 Mar 2022core: add missing CNW flags in help report
core: fix a perf regression in the lint executor
core: fix missing versions from nx report
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.