nx 14.0.4 → 14.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (34) hide show
  1. package/migrations.json +1 -8
  2. package/package.json +3 -3
  3. package/src/adapter/ngcli-adapter.d.ts +1 -1
  4. package/src/adapter/ngcli-adapter.js +2 -4
  5. package/src/adapter/ngcli-adapter.js.map +1 -1
  6. package/src/command-line/generate.js +1 -1
  7. package/src/command-line/generate.js.map +1 -1
  8. package/src/command-line/migrate.js +1 -1
  9. package/src/command-line/migrate.js.map +1 -1
  10. package/src/{generators → config}/tree.d.ts +0 -0
  11. package/src/{generators → config}/tree.js +0 -0
  12. package/src/config/tree.js.map +1 -0
  13. package/src/config/workspaces.js +2 -8
  14. package/src/config/workspaces.js.map +1 -1
  15. package/src/utils/versions.js +1 -1
  16. package/src/generators/internal-utils/format-changed-files-with-prettier-if-available.d.ts +0 -6
  17. package/src/generators/internal-utils/format-changed-files-with-prettier-if-available.js +0 -46
  18. package/src/generators/internal-utils/format-changed-files-with-prettier-if-available.js.map +0 -1
  19. package/src/generators/testing-utils/create-tree-with-empty-workspace.d.ts +0 -5
  20. package/src/generators/testing-utils/create-tree-with-empty-workspace.js +0 -35
  21. package/src/generators/testing-utils/create-tree-with-empty-workspace.js.map +0 -1
  22. package/src/generators/testing-utils/create-tree.d.ts +0 -5
  23. package/src/generators/testing-utils/create-tree.js +0 -12
  24. package/src/generators/testing-utils/create-tree.js.map +0 -1
  25. package/src/generators/tree.js.map +0 -1
  26. package/src/generators/utils/json.d.ts +0 -28
  27. package/src/generators/utils/json.js +0 -49
  28. package/src/generators/utils/json.js.map +0 -1
  29. package/src/generators/utils/project-configuration.d.ts +0 -77
  30. package/src/generators/utils/project-configuration.js +0 -383
  31. package/src/generators/utils/project-configuration.js.map +0 -1
  32. package/src/migrations/update-14-0-4/remove-roots.d.ts +0 -2
  33. package/src/migrations/update-14-0-4/remove-roots.js +0 -16
  34. package/src/migrations/update-14-0-4/remove-roots.js.map +0 -1
@@ -1,2 +0,0 @@
1
- import { Tree } from '../../generators/tree';
2
- export default function (tree: Tree): Promise<void>;
@@ -1,16 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- const project_configuration_1 = require("../../generators/utils/project-configuration");
5
- const format_changed_files_with_prettier_if_available_1 = require("../../generators/internal-utils/format-changed-files-with-prettier-if-available");
6
- function default_1(tree) {
7
- return tslib_1.__awaiter(this, void 0, void 0, function* () {
8
- // This looks like it does nothing, but this will actually effectively migrate over all the configs that need to be moved over, but won't touch configs that don't need to be moved
9
- for (const [projName, projConfig] of (0, project_configuration_1.getProjects)(tree)) {
10
- (0, project_configuration_1.updateProjectConfiguration)(tree, projName, projConfig);
11
- }
12
- yield (0, format_changed_files_with_prettier_if_available_1.formatChangedFilesWithPrettierIfAvailable)(tree);
13
- });
14
- }
15
- exports.default = default_1;
16
- //# sourceMappingURL=remove-roots.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"remove-roots.js","sourceRoot":"","sources":["../../../../../../packages/nx/src/migrations/update-14-0-4/remove-roots.ts"],"names":[],"mappings":";;;AACA,wFAGsD;AACtD,qJAA4I;AAE5I,mBAA+B,IAAU;;QACvC,mLAAmL;QACnL,KAAK,MAAM,CAAC,QAAQ,EAAE,UAAU,CAAC,IAAI,IAAA,mCAAW,EAAC,IAAI,CAAC,EAAE;YACtD,IAAA,kDAA0B,EAAC,IAAI,EAAE,QAAQ,EAAE,UAAU,CAAC,CAAC;SACxD;QAED,MAAM,IAAA,2FAAyC,EAAC,IAAI,CAAC,CAAC;IACxD,CAAC;CAAA;AAPD,4BAOC"}