nx 19.5.0-canary.20240716-34da542 → 19.5.0

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.0-canary.20240716-34da542",
3
+ "version": "19.5.0",
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.0-canary.20240716-34da542"
74
+ "@nrwl/tao": "19.5.0"
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.0-canary.20240716-34da542",
90
- "@nx/nx-darwin-arm64": "19.5.0-canary.20240716-34da542",
91
- "@nx/nx-linux-x64-gnu": "19.5.0-canary.20240716-34da542",
92
- "@nx/nx-linux-x64-musl": "19.5.0-canary.20240716-34da542",
93
- "@nx/nx-win32-x64-msvc": "19.5.0-canary.20240716-34da542",
94
- "@nx/nx-linux-arm64-gnu": "19.5.0-canary.20240716-34da542",
95
- "@nx/nx-linux-arm64-musl": "19.5.0-canary.20240716-34da542",
96
- "@nx/nx-linux-arm-gnueabihf": "19.5.0-canary.20240716-34da542",
97
- "@nx/nx-win32-arm64-msvc": "19.5.0-canary.20240716-34da542",
98
- "@nx/nx-freebsd-x64": "19.5.0-canary.20240716-34da542"
89
+ "@nx/nx-darwin-x64": "19.5.0",
90
+ "@nx/nx-darwin-arm64": "19.5.0",
91
+ "@nx/nx-linux-x64-gnu": "19.5.0",
92
+ "@nx/nx-linux-x64-musl": "19.5.0",
93
+ "@nx/nx-win32-x64-msvc": "19.5.0",
94
+ "@nx/nx-linux-arm64-gnu": "19.5.0",
95
+ "@nx/nx-linux-arm64-musl": "19.5.0",
96
+ "@nx/nx-linux-arm-gnueabihf": "19.5.0",
97
+ "@nx/nx-win32-arm64-msvc": "19.5.0",
98
+ "@nx/nx-freebsd-x64": "19.5.0"
99
99
  },
100
100
  "nx-migrations": {
101
101
  "migrations": "./migrations.json",
@@ -174,7 +174,7 @@
174
174
  "binaryName": "nx",
175
175
  "packageName": "@nx/nx",
176
176
  "wasm": {
177
- "initialMemory": 16384,
177
+ "initialMemory": 1024,
178
178
  "maximumMemory": 32768
179
179
  },
180
180
  "targets": [
@@ -1,12 +1,12 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const workspace_root_1 = require("../src/utils/workspace-root");
4
- const package_json_workspaces_1 = require("../src/plugins/package-json-workspaces");
4
+ const package_json_1 = require("../src/plugins/package-json");
5
5
  const plugin = {
6
6
  name: 'nx-all-package-jsons-plugin',
7
7
  createNodes: [
8
8
  '*/**/package.json',
9
- (f) => (0, package_json_workspaces_1.createNodeFromPackageJson)(f, workspace_root_1.workspaceRoot),
9
+ (f) => (0, package_json_1.createNodeFromPackageJson)(f, workspace_root_1.workspaceRoot),
10
10
  ],
11
11
  };
12
12
  module.exports = plugin;
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.yargsNxInfixCommand = exports.yargsRunCommand = void 0;
4
+ const yargs_1 = require("yargs");
4
5
  const shared_options_1 = require("../yargs-utils/shared-options");
5
6
  const params_1 = require("../../utils/params");
6
7
  exports.yargsRunCommand = {
@@ -29,6 +30,11 @@ exports.yargsNxInfixCommand = {
29
30
  describe: 'Run a target for a project',
30
31
  handler: async (args) => {
31
32
  const exitCode = await (0, params_1.handleErrors)(args.verbose ?? process.env.NX_VERBOSE_LOGGING === 'true', async () => {
33
+ // Yargs parses <target> as 'undefined' if running just 'nx'
34
+ if (!args.target || args.target === 'undefined') {
35
+ (0, yargs_1.showHelp)();
36
+ process.exit(1);
37
+ }
32
38
  return (await Promise.resolve().then(() => require('./run-one'))).runOne(process.cwd(), (0, shared_options_1.withOverrides)(args, 0));
33
39
  });
34
40
  process.exit(exitCode);