nx 19.5.5 → 19.5.6

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nx",
3
- "version": "19.5.5",
3
+ "version": "19.5.6",
4
4
  "private": false,
5
5
  "description": "The core Nx plugin contains the core functionality of Nx like the project graph, nx commands and task orchestration.",
6
6
  "repository": {
@@ -71,7 +71,7 @@
71
71
  "yargs-parser": "21.1.1",
72
72
  "node-machine-id": "1.1.12",
73
73
  "ora": "5.3.0",
74
- "@nrwl/tao": "19.5.5"
74
+ "@nrwl/tao": "19.5.6"
75
75
  },
76
76
  "peerDependencies": {
77
77
  "@swc-node/register": "^1.8.0",
@@ -86,16 +86,16 @@
86
86
  }
87
87
  },
88
88
  "optionalDependencies": {
89
- "@nx/nx-darwin-x64": "19.5.5",
90
- "@nx/nx-darwin-arm64": "19.5.5",
91
- "@nx/nx-linux-x64-gnu": "19.5.5",
92
- "@nx/nx-linux-x64-musl": "19.5.5",
93
- "@nx/nx-win32-x64-msvc": "19.5.5",
94
- "@nx/nx-linux-arm64-gnu": "19.5.5",
95
- "@nx/nx-linux-arm64-musl": "19.5.5",
96
- "@nx/nx-linux-arm-gnueabihf": "19.5.5",
97
- "@nx/nx-win32-arm64-msvc": "19.5.5",
98
- "@nx/nx-freebsd-x64": "19.5.5"
89
+ "@nx/nx-darwin-x64": "19.5.6",
90
+ "@nx/nx-darwin-arm64": "19.5.6",
91
+ "@nx/nx-linux-x64-gnu": "19.5.6",
92
+ "@nx/nx-linux-x64-musl": "19.5.6",
93
+ "@nx/nx-win32-x64-msvc": "19.5.6",
94
+ "@nx/nx-linux-arm64-gnu": "19.5.6",
95
+ "@nx/nx-linux-arm64-musl": "19.5.6",
96
+ "@nx/nx-linux-arm-gnueabihf": "19.5.6",
97
+ "@nx/nx-win32-arm64-msvc": "19.5.6",
98
+ "@nx/nx-freebsd-x64": "19.5.6"
99
99
  },
100
100
  "nx-migrations": {
101
101
  "migrations": "./migrations.json",
@@ -4,7 +4,7 @@ import { NxArgs } from '../../utils/command-line-utils';
4
4
  import { MessageKey } from '../../utils/ab-testing';
5
5
  export declare function onlyDefaultRunnerIsUsed(nxJson: NxJsonConfiguration): boolean;
6
6
  export declare function connectToNxCloudIfExplicitlyAsked(opts: NxArgs): Promise<void>;
7
- export declare function connectWorkspaceToCloud(options: ConnectToNxCloudOptions): Promise<string>;
7
+ export declare function connectWorkspaceToCloud(options: ConnectToNxCloudOptions, directory?: string): Promise<string>;
8
8
  export declare function connectToNxCloudCommand(command?: string): Promise<boolean>;
9
9
  export declare function connectExistingRepoToNxCloudPrompt(command?: string, key?: MessageKey): Promise<boolean>;
10
10
  export declare function connectToNxCloudWithPrompt(command: string): Promise<void>;
@@ -46,11 +46,11 @@ async function connectToNxCloudIfExplicitlyAsked(opts) {
46
46
  process.exit(0);
47
47
  }
48
48
  }
49
- async function connectWorkspaceToCloud(options) {
50
- const tree = new tree_1.FsTree(workspace_root_1.workspaceRoot, false, 'connect-to-nx-cloud');
49
+ async function connectWorkspaceToCloud(options, directory = workspace_root_1.workspaceRoot) {
50
+ const tree = new tree_1.FsTree(directory, false, 'connect-to-nx-cloud');
51
51
  const accessToken = await (0, connect_to_nx_cloud_1.connectToNxCloud)(tree, options);
52
52
  tree.lock();
53
- (0, tree_1.flushChanges)(workspace_root_1.workspaceRoot, tree.listChanges());
53
+ (0, tree_1.flushChanges)(directory, tree.listChanges());
54
54
  return accessToken;
55
55
  }
56
56
  async function connectToNxCloudCommand(command) {
Binary file