nx 19.5.1 → 19.5.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (63) hide show
  1. package/bin/nx-cloud.d.ts +2 -1
  2. package/bin/nx-cloud.js +9 -17
  3. package/bin/nx.js +1 -1
  4. package/package.json +12 -12
  5. package/src/adapter/ngcli-adapter.js +7 -4
  6. package/src/command-line/connect/command-object.js +6 -0
  7. package/src/command-line/connect/connect-to-nx-cloud.d.ts +1 -1
  8. package/src/command-line/connect/connect-to-nx-cloud.js +11 -4
  9. package/src/command-line/connect/view-logs.js +1 -1
  10. package/src/command-line/list/list.js +10 -14
  11. package/src/command-line/migrate/command-object.js +1 -0
  12. package/src/command-line/release/command-object.js +5 -21
  13. package/src/command-line/reset/command-object.d.ts +1 -0
  14. package/src/command-line/reset/command-object.js +4 -0
  15. package/src/command-line/reset/reset.js +13 -0
  16. package/src/command-line/run/executor-utils.js +14 -5
  17. package/src/command-line/run/run.js +2 -14
  18. package/src/command-line/watch/watch.js +1 -1
  19. package/src/core/graph/main.js +1 -1
  20. package/src/daemon/socket-utils.js +1 -1
  21. package/src/daemon/tmp-dir.d.ts +1 -1
  22. package/src/daemon/tmp-dir.js +3 -2
  23. package/src/migrations/update-16-0-0/update-nx-cloud-runner.js +2 -0
  24. package/src/migrations/update-18-0-0/disable-crystal-for-existing-workspaces.d.ts +1 -1
  25. package/src/migrations/update-18-0-0/disable-crystal-for-existing-workspaces.js +3 -1
  26. package/src/native/nx.wasm32-wasi.wasm +0 -0
  27. package/src/nx-cloud/generators/connect-to-nx-cloud/connect-to-nx-cloud.js +4 -16
  28. package/src/nx-cloud/utilities/client.d.ts +10 -0
  29. package/src/nx-cloud/utilities/client.js +35 -0
  30. package/src/nx-cloud/utilities/get-cloud-options.d.ts +2 -0
  31. package/src/nx-cloud/utilities/get-cloud-options.js +8 -0
  32. package/src/nx-cloud/utilities/url-shorten.d.ts +2 -3
  33. package/src/nx-cloud/utilities/url-shorten.js +15 -11
  34. package/src/tasks-runner/run-command.d.ts +4 -4
  35. package/src/tasks-runner/run-command.js +22 -17
  36. package/src/tasks-runner/task-graph-utils.d.ts +3 -0
  37. package/src/tasks-runner/task-graph-utils.js +34 -0
  38. package/src/tasks-runner/utils.js +9 -6
  39. package/src/utils/ab-testing.d.ts +1 -1
  40. package/src/utils/ab-testing.js +2 -1
  41. package/src/utils/chunkify.d.ts +10 -0
  42. package/src/utils/chunkify.js +19 -12
  43. package/src/utils/command-line-utils.d.ts +3 -0
  44. package/src/utils/command-line-utils.js +11 -7
  45. package/src/utils/git-utils.js +14 -4
  46. package/src/utils/plugins/core-plugins.d.ts +6 -3
  47. package/src/utils/plugins/core-plugins.js +107 -115
  48. package/src/utils/plugins/index.d.ts +4 -4
  49. package/src/utils/plugins/index.js +7 -8
  50. package/src/utils/plugins/installed-plugins.d.ts +2 -3
  51. package/src/utils/plugins/installed-plugins.js +4 -31
  52. package/src/utils/plugins/local-plugins.d.ts +2 -3
  53. package/src/utils/plugins/local-plugins.js +2 -29
  54. package/src/utils/plugins/output.d.ts +5 -0
  55. package/src/utils/plugins/output.js +104 -0
  56. package/src/utils/plugins/plugin-capabilities.d.ts +12 -2
  57. package/src/utils/plugins/plugin-capabilities.js +2 -80
  58. package/src/utils/plugins/community-plugins.d.ts +0 -2
  59. package/src/utils/plugins/community-plugins.js +0 -28
  60. package/src/utils/plugins/models.d.ts +0 -22
  61. package/src/utils/plugins/models.js +0 -2
  62. package/src/utils/plugins/shared.d.ts +0 -1
  63. package/src/utils/plugins/shared.js +0 -7
@@ -1,22 +0,0 @@
1
- import { ExecutorsJsonEntry, GeneratorsJsonEntry } from '../../config/misc-interfaces';
2
- export interface PluginCapabilities {
3
- name: string;
4
- executors?: {
5
- [name: string]: ExecutorsJsonEntry;
6
- };
7
- generators?: {
8
- [name: string]: GeneratorsJsonEntry;
9
- };
10
- projectInference?: boolean;
11
- projectGraphExtension?: boolean;
12
- }
13
- export interface CorePlugin {
14
- name: string;
15
- capabilities: 'executors' | 'generators' | 'executors,generators';
16
- link?: string;
17
- }
18
- export interface CommunityPlugin {
19
- name: string;
20
- url: string;
21
- description: string;
22
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1 +0,0 @@
1
- export declare function hasElements(obj: any): boolean;
@@ -1,7 +0,0 @@
1
- "use strict";
2
- // Lifted in part from https://github.com/nrwl/angular-console
3
- Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.hasElements = hasElements;
5
- function hasElements(obj) {
6
- return obj && Object.values(obj).length > 0;
7
- }