@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.
- 13.x
13.1.3
2 Nov 2021core: ensure cache has correct project graph version
core: improve graph version adapter error message
13.1.2
27 Oct 2021nextjs: fix migration path for enable-swc
nxdev: fix broken test setup
13.1.1
27 Oct 2021nextjs: migration to enable SWC for nextjs apps
13.1.0
27 Oct 2021core: nx daemon shouldn't cause flickering on windows
core: update generator logic so empty strings ("") for appsDir and libsDir work properly
13.0.2
22 Oct 2021core: convert-nx-executor should be executable in ng workspace
dep-graph: eyeball icon is clickable
dep-graph: fix highlighting in group by folder mode
Bug Fixes
core: convert-nx-executor should be executable in ng workspace
dep-graph: eyeball icon is clickable
dep-graph: fix highlighting in group by folder mode
storybook: storybook migration fails if targets not defined on a project
13.0.1
20 Oct 2021testing: remove outdated deprecation message when headless not set
web: remove sass migration since it is failing
13.0.0
20 Oct 2021- Removed
angular: remove deprecated options from the ngrx generator
- Removed
angular: remove deprecated utilities related to the angular devkit
- Breaking
angular: All the utilities located at
@nrwl/angular/src/utils/ast-utilswere removed. These utilities were already deprecated since the last major version. Also, the previously deprecated utilitiesrunSchematicandrunExternalSchematiclocated in@nrwl/angular/src/utils/testingwere removed. These utilities were not part of the package public API and as such, they were not recommended to be used and were likely to be changed or removed.
Bug Fixes
core: add null check to migration for config locaton swap
core: daemon watch mode gets stuck
core: ensure workspace version format is respected when making changes to it
core: fix single file outputs cache regression
core: handle failures writing to the cache
core: patch resolve logic for tsconfig paths
core: print a more descriptive error message telling users invoke decorate-angular-cli.js
core: reset daemon intenral state when cache is missing
core: throw an error when configuration is invalid/ outdated
core: update outdated graph version
core: update webpack 5 migration smartly match expected version and packages before performing removal
misc: dep-graph --file option supports absolute paths
misc: select correct projects on dep graph when in watch mode
repo: make sure NX_WORKSPACE_ROOT_PATH exists
web: remove default
baseHrefin dev-server
cleanup
- Removed
angular: remove deprecated options from the ngrx generator
- Removed
angular: remove deprecated utilities related to the angular devkit
Features
core: add exponential backoff for graph recomputation
core: clean up daemon server
core: compute all workspace files incrementally
core: consolidate nx.json and workspace.json
core: extract project graph external nodes
core: remove deprected project graph version
core: shift from 'master' to 'main' as default branch and base
core: standalone project configuration is default
core: strict mode by default for workspace libraries
core: upgrade to webpack 5
core: use worker threads to construct a project graph
Breaking changes
- Breaking
angular: All the utilities located at
@nrwl/angular/src/utils/ast-utilswere removed. These utilities were already deprecated since the last major version. Also, the previously deprecated utilitiesrunSchematicandrunExternalSchematiclocated in@nrwl/angular/src/utils/testingwere removed. These utilities were not part of the package public API and as such, they were not recommended to be used and were likely to be changed or removed. - Breaking
angular: The deprecated options
onlyAddFilesandonlyEmptyRootfrom thengrxgenerator were removed,skipImportandminimalshould be used instead.
- 12.x
12.10.1
6 Dec 2021core: fix stack overflow when using standalone configs with 600+ projects
12.10.0
8 Oct 2021- Security
core: fix vulnerabilities
angular: remove extra comma when generating application with --inlineTemplate
angular: remove relative calculation for config paths in wrapped angular devkit schematics
Bug Fixes
angular: remove extra comma when generating application with --inlineTemplate
angular: remove relative calculation for config paths in wrapped angular devkit schematics
core: apply NX_variables on top of env variables
core: changes to the daemon in order to support windows
core: convert-to-nx-project should normalize paths (a3599a5), closes #6968
core: daemon server should reinitialize file hashes on each connection
core: display dynamic prompts in angular cli
core: ensure ANSI escape codes are stripped in git-hasher process outputs
core: ensure daemon server perf logging instantiated only once
core: fix defaulting object properties to empty {}
core: fix error when tsconfig.base.json is invalid json
- Security
core: fix vulnerabilities
core: git-hasher checkForDeletedFiles will now hard error
core: gracefully handle errors when writing the latest output hash cache files (#6959) (ae7361c), closes #6957
core: handle empty root path in angular.json
core: read v2 workspace format in converted nx generators (8f9da7c), closes #6452
core: resolve nested files using tsConfig paths that have similar names (305813e), closes #6672
core: simplify the way angular devkit migrations run
core: support hidden files in assets
repo: fix yarn command in PR instructions
web: remove default value of
baseHref(#6994) (2bcc552), closes #5079web: remove obsolete options for terser in webpack 5 mode (#6956) (11cc599), closes #6953
Features
core: add examples and links to nx.dev when using --help
core: daemon supports incremental file hashing
core: obey git's init.defaultBranch when initializing nx.json
core: parallelize cache restoration
misc: add --open option for dep-graph command
misc: add dep graph search depth (#6933) (ecf3244), closes #5101
nest): feat(nest: add standalone config flag to nest library generator
react: add migration to replace deprecated node-sass with sass
repo: add logs to documentation generation in CI
workspace: Enable run-commands preferLocal option by default
12.9.0
7 Sep 2021core: hash npm projects based on version
core: npmrc should be obeyed during nx migrate
Bug Fixes
core: configFilePath included in hash (#6881) (a656959), closes #6880
core: hash npm projects based on version
core: npmrc should be obeyed during nx migrate
core: use defaultConfiguration in run-many and affected when no configuration is specified
core: use tao generate for angular devkit workspace-schematics
repo: fix error in contributing docs
testing): fix(testing: support for typescript jest configs (#6920) (25519a9), closes #5394
Features
core: add react native to main repo
misc: add x-type to app and lib generators
12.8.0
25 Aug 2021core: close webpack compiler when build complete
Bug Fixes
core: always use environment variable for cache directory (#6746) (eaa0287), closes #6629
core: close webpack compiler when build complete
core: fix --directory alias conflict (#6596) (295b8d7), closes #6571
core: fix env for batch mode
core: fix reading project config when nx.json doesn't have projects
core: Fix removal of terminalOutputs in cache
core: fix validation of string length
core: parse aliases in target configuration and coerce aliased options
core: remove .eslintrc double extends update on move
core: skip caching output properties missing in options and arguments
core: updateWorkspaceConfiguration does not respect extends
gatsby: remove npm_config_legacy_peer_deps
misc: fix adding @nrwl/workspace to projects without prettier
misc: improve alignment and spacing for mobile view
nextjs: remove styled-jsx/babel from .babelrc as next/babel has it already built-in
repo: fix release to not use deprecated github api
repo: fix release to properly generate changelog
repo: fix release to update package.json version without release-it
repo: skip package manager detection tests for other package managers
testing: fix remove typescript plugin migration when project has no targets
testing: remove webpack dependency since it is causing issues with MFE
Features
core: add an ability to extend nx.json config
core: add default path argument for
readNxJsoncore: detect package manager used to invoke create-nx-(plugin|workspace)
misc: add generator for simple npm-package
misc: remove ts-node, tslib, and dotenv from empty workspace package.json
misc: simplify npm scripts generated
testing: remove cypress typescript preprocessor
Reverts
12.7.2
17 Aug 2021core: close webpack compiler when build complete
core: fix env for batch mode
core: Fix removal of terminalOutputs in cache
Bug Fixes
core: close webpack compiler when build complete
core: fix env for batch mode
core: Fix removal of terminalOutputs in cache
core: fix validation of string length
core: parse aliases in target configuration and coerce aliased options
repo: fix release to properly generate changelog
repo: fix release to update package.json version without release-it
12.7.1
12 Aug 2021gatsby: Remove npm_config_legacy_peer_deps
gatsby: Remove npm_config_legacy_peer_deps
12.7.0
11 Aug 2021- Deprecated
core: fix --with-deps arg support and deprecate its usage
core: add better option validation
Bug Fixes
core: add better option validation
core: apply verbose flag to combined options if the schema allows it (#6593) (ffcd283), closes #6520 #4160
core: default run-many to use provided projects order
core: define fileExist method for ts host (#6582) (1c19db5), closes #6500
core: do not override process.env with variables in dotenv files
core: ensure cache pathMappings always exist
core: ensure to only passthrough verbose if isVerbose is true (#6607) (f7aeb99), closes #6606
- Deprecated
core: fix --with-deps arg support and deprecate its usage
core: fix prompt support for enum definitions
core: fix reading nx.json without projects property
core: flush changes using the tree write file options
core: target project locator should handle tsconfig paths fully
core: warn for project-graph error while it is experimental
misc: allow run-commands to accept readyWhen for a single command
misc: fix affected:dep-graph file output
misc: fix moving projects with standalone configuration
misc: handle moving to a subfolder which results in the same project name and normalize import path
misc: make generated schemas compliant with json schema spec
misc: make workspace tsc executor to handle dependencies
misc: minor fixes in readme files
misc: NxCloud activation link is not displayed
misc: read settings in .editorconfig when formatting files in generators
testing: remove installation of babel packages for jest projects
web: remove unnecessary packages from being installed with @nrwl/web
workspace: exit process with exit code 1 on any failed task including dependency
Features
12.6.6
10 Aug 2021core: default run-many to use provided projects order
core: fix prompt support for enum definitions
12.6.5
5 Aug 2021angular: lock version of angular-devkit to ~12.1.0
core: fix reading nx.json without projects property
misc: NxCloud activation link is not displayed
Bug Fixes
angular: lock version of angular-devkit to ~12.1.0
core: fix reading nx.json without projects property
misc: NxCloud activation link is not displayed
misc: read settings in .editorconfig when formatting files in generators
testing: handle migrating base jest config without projects
12.6.4
4 Aug 2021core: add better option validation
Bug Fixes
core: add better option validation
core: apply verbose flag to combined options if the schema allows it (#6593) (463b9c2), closes #6520 #4160
core: define fileExist method for ts host (#6582) (9ddc072), closes #6500
core: flush changes using the tree write file options
core: target project locator should handle tsconfig paths fully
core: warn for project-graph error while it is experimental
misc: make generated schemas compliant with json schema spec
testing: remove installation of babel packages for jest projects
web: remove unnecessary packages from being installed with @nrwl/web
12.6.3
29 Jul 2021core: do not override process.env with variables in dotenv files
misc: allow run-commands to accept readyWhen for a single command
misc: fix moving projects with standalone configuration
Bug Fixes
core: do not override process.env with variables in dotenv files
misc: allow run-commands to accept readyWhen for a single command
misc: fix moving projects with standalone configuration
misc: handle moving to a subfolder which results in the same project name and normalize import path
Features
core: updated dotenv and switched to import 'dotenv/config'
12.6.2
23 Jul 202112.6.0
22 Jul 2021- Breaking
core:
ProjectGraphBuilder#addDependencyis replaced withaddExplicitDependencyandaddImplicitDependency. Read the updated guide. - Breaking
core:
ProjectGraphBuilder#getProjectGraphis replaced withgetUpdatedProjectGraph. Read the updated guide. core: caching individual files
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.
12.5.9
21 Jul 2021core: ensure overrides are not parsed as head and base for affected
core: validate pattern if specified for a schema property
Bug Fixes
core: ensure overrides are not parsed as head and base for affected
core: validate pattern if specified for a schema property
core: wrapped angular schematics should be able to update newly created standalone projects (#6351) (6e15c69), closes #6342 #6342 #6353 #6354
misc: @nrwl/workspace:rm generator should work with standalone configs
misc: move generator should support project.json files
12.5.8
12 Jul 2021core: add @nrwl/nx-cloud to report package list
core: adjust logger to avoid errors when the passed object is not a string
core: include dependencies of projects which do not have a target
Bug Fixes
core: add @nrwl/nx-cloud to report package list
core: adjust logger to avoid errors when the passed object is not a string
core: include dependencies of projects which do not have a target
core: make sanitizePath cross-platform
core: project.json files are not being used with wrapAngularDevkitSchematic (#6276) (0c2e21f), closes #6271 #6272
core: project.json split should be remembered if all projects utilize it
core: safely handle when tasksRunnerOptions are not defined
core: update root jest config with move generator (#6313) (4fe522f), closes #6303
nextjs: wrong deprecation message for createGlobPatternsOfDependentProjects
repo: adjust the language in the readme
12.5.7
6 Jul 202112.5.6
5 Jul 2021core: error messase when missing targets
core: fix fallback for npm scripts
core: include dependencies of projects which do not have a target
Bug Fixes
core: error messase when missing targets
core: fix fallback for npm scripts
core: include dependencies of projects which do not have a target
misc: dep graph should not remove deps
12.5.2
2 Jul 2021core: correct detect run commands when using project.json
core: make missing output check more comprehensive
12.5.1
30 Jun 2021angular: check for angular.json when converting config event path
core: affected base and head logs
core: convert-to-nx-project should not prompt for project when --all is passed
12.5.0
28 Jun 2021angular: override TSLint deprecation message to point to Nx ESLint conversion generator
angular: remove Stylus from new Angular workspaces and apps
core: add support for formatting using all extensions prettier supports
Bug Fixes
angular: override TSLint deprecation message to point to Nx ESLint conversion generator
angular: remove Stylus from new Angular workspaces and apps
core: add support for formatting using all extensions prettier supports
core: catch errors when cleaning up tmp dir during migrate
core: clean up tmp directories during migrate
core: do not migrate nrwl packages that are not installed
core: fix aliased args parsing
core: fix remove generator for custom layout
core: fix the add-target-dependencies migration to remove the old property
core: format after sorting nx.json, workspace.json and tsconfig.…
core: override isDirectory in wrapped angular schematics host
core: resolve npm packages after typescript
core: throw error for non-existing proj on getSourceDirOfDependentProjects
misc: correct url parsing for dep-graph server
nextjs: remove obsolete React import on _app.tsx
repo: fix flaky cross-os new line check
Features
core: add hint for --verbose flag in case of task exec error
core: allow NX_BASE and NX_HEAD environment variables to set affected SHAs
core: allow setting file permissions while writing with
Tree(e7f18a0), closes #5680core: expose utilities for retrieving source dirs of dependent projects
core: first step to common JSON behavior and common fileutils
core: migrate prettier to v2.3.1
core: replace strictlyOrderedTargets with targetDependencies
core: sort projects in nx.json, workspace.json, and tsconfig.base.json
core: split nx config to project files
core: use common fileutils in
[@nrwl](https://github.com/nrwl)/cliandcreate-nx-pluginmisc: add watch mode to dep-graph command
misc: fixMissingBuildDependencies should not require package.json
repo: enable prefer offline for yarn install
repo: notify slack on nightly github actions
repo: remove obsolete kill commands and check if ports closed
12.4.0
16 Jun 2021angular: override TSLint deprecation message to point to Nx ESLint conversion generator
core: add support for formatting using all extensions prettier supports
core: clean up tmp directories during migrate
Bug Fixes
angular: override TSLint deprecation message to point to Nx ESLint conversion generator
core: add support for formatting using all extensions prettier supports
core: clean up tmp directories during migrate
core: fix aliased args parsing
core: fix remove generator for custom layout
core: override isDirectory in wrapped angular schematics host
core: throw error for non-existing proj on getSourceDirOfDependentProjects
repo: fix flaky cross-os new line check
Features
core: expose utilities for retrieving source dirs of dependent projects
core: first step to common JSON behavior and common fileutils
core: sort projects in nx.json, workspace.json, and tsconfig.base.json
core: use common fileutils in
[@nrwl](https://github.com/nrwl)/cliandcreate-nx-pluginmisc: fixMissingBuildDependencies should not require package.json
12.3.6
2 Jun 2021- Deprecated
core: warn when deprecated options are used in generators and executors
core: add nxignore and gitignore to the list of files affecting the hashing
core: displayed commands do not wrap strings into quotes correctly
Bug Fixes
core: add nxignore and gitignore to the list of files affecting the hashing
core: displayed commands do not wrap strings into quotes correctly
core: list files from the tree in the ngcli-adapter
core: update project package.json on move
repo: remove npm lock file and merge yarnrc files
repo: resolve xmlhttprequest-ssl to v1.6.2
web: prevent inherited target in tsconfig from being removed (#5756) (060660e), closes #4115 #4115
Features
- Deprecated
core: warn when deprecated options are used in generators and executors
repo: add checks for lock files
12.3.5
27 May 2021core: iteration of targets should not break if targets don't exist
core: run workspace-generators within the same process
Bug Fixes
core: iteration of targets should not break if targets don't exist
core: nx run should not use defaultConfiguration when configuration is passed (#5796) (8354c54), closes #5793
core: run workspace-generators within the same process
core: update project's eslintrc and readme on move (#5714) (1a6fc76), closes #5493
core: update rollup-plugin-typescript2 to fix array spread error (#5704) (0345d08), closes #5467 #5467
misc: be more specific finding targets being used when removing projects
Features
core: add spinner during node module install
core: added encoding param in Tree.read()
core: allow to collapse the sidebar on dep-graph UI
misc: change the nx tag line
repo: cleanup storage for matrix tests
repo: fix failing yarn and pnpm
repo: revert i/o functions to fs-extra
workspace: support formatting on
.graphql,.gql,.yaml,.yml&.vuefiles
12.3.4
19 May 202112.3.2
14 May 202112.3.1
13 May 2021angular: fix angular-eslint migration
angular: update angular-eslint to v12 stable
linter: hasher throws when invoked not in root
Bug Fixes
angular: fix angular-eslint migration
angular: update angular-eslint to v12 stable
linter: hasher throws when invoked not in root
Features
nxdev: Set TailwindCSS colours extend for Nx
12.3.0
13 May 2021core: add description to commands schema help
core: misc fixes to make the task orchestration logic work with the existing nx cloud package
core: support target without watch option
Bug Fixes
core: add description to commands schema help
core: misc fixes to make the task orchestration logic work with the existing nx cloud package
core: support target without watch option
repo: fixing issue with some options missing from docs
storybook: remove webpack v4 typings
Features
core: add support for custom hashers
12.2.0
10 May 2021core: change legacy_peer_deps to npm env variable
core: remove unused quiet option from nx cli
repo: fixed documentation map-link-checker
Bug Fixes
core: change legacy_peer_deps to npm env variable
core: remove unused quiet option from nx cli
repo: fixed documentation map-link-checker
Features
core: support .env.local
12.1.1
4 May 2021core: change legacy_peer_deps to npm env variable
core: remove unused quiet option from nx cli
nextjs: allow node modules css import in libs
12.1.0
3 May 2021- Removed
nextjs: remove isServer flag from web babel preset
core: fix parsing for affected
core: cache diff does not handle projects with no files
Bug Fixes
core: fix parsing for affected
core: cache diff does not handle projects with no files
core: cleanup output of task results
core: consistently process args with yargs-parser instead of minimist
core: do not remove version from overrides
core: do not report on tasks when being run within an Nx command
core: emit erorr logs instead of retrying when creating a worksapce
core: error when an invalid target/configuration is passed
core: fix invalid performance mark
core: override root config target dependencies instead of merge
core: propagate sigterm and other signals correctly
core: report based on projects and tasks
core: allow building of workspaces when hosted at /
core: print error if there is an issue creating the sandbox during create
core: throw an error if generating a new workspace into a non-empty directory
core: Wrap head + base arguments in quotes in execSyn (#5240) (4b61d44), closes #4828
misc: handle empty project graph in the tslint version of the enforce module bounaries check
misc: fix grouping problem in dep-graph client
- Removed
nextjs: remove isServer flag from web babel preset
repo: fix nx-dev build
repo: clear output before building packages again
Features
core: add --ignoreExistingTsLintConfig option to lint conversion generators
core: added package manager union type
core: allow defining target deps
core: allow passing a path into read workspace config
core: cache task failures
core: refactored dep-graph to use latest tippy.js and cytoscape
core: add --buildable support to workspace lib
core: allow defining target dependencies across all projects
core: replace lodash.template with a custom interpolation function
misc: updated documentation generation scripts and removed shelljs
repo: explicitly kill processes holding onto ports
repo: replace tslint with eslint in recommended extensions
repo: switch to using dependsOn for the relationship between build and build-base
repo: updated husky, is-ci and pretty-quick
repo: updated yarn to 1.22.10
12.0.8
20 Apr 2021core: print error if there is an issue creating the sandbox during create
gatsby: fix the e2e for gatsby production
web: fix named exports mapping for react/jsx-runtime
12.0.7
16 Apr 2021core: throw an error if generating a new workspace into a non-empty directory
repo: clear output before building packages again
core: allow passing a path into read workspace config
12.0.3
13 Apr 202112.0.2
12 Apr 2021- Removed
nextjs: remove isServer flag from web babel preset
misc: fix grouping problem in dep-graph client
12.0.1
11 Apr 2021linter: fix enforce-module-boundaries rule to return when no project graph is present
react: fix malformed babelrc
nxdev: setup tailwindcss jit
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.