nx 19.4.3 → 19.4.4

Sign up to get free protection for your applications and to get access to all the features.
package/README.md CHANGED
@@ -59,7 +59,7 @@ npx nx@latest init
59
59
  - [Nx.Dev: Documentation, Guides, Tutorials](https://nx.dev)
60
60
  - [Intro to Nx](https://nx.dev/getting-started/intro)
61
61
  - [Official Nx YouTube Channel](https://www.youtube.com/@NxDevtools)
62
- - [Blog Posts About Nx](https://blog.nrwl.io/nx/home)
62
+ - [Blog Posts About Nx](https://nx.dev/blog)
63
63
 
64
64
  <p style="text-align: center;"><a href="https://nx.dev/#learning-materials" target="_blank" rel="noreferrer"><img src="https://raw.githubusercontent.com/nrwl/nx/master/images/nx-courses-and-videos.svg"
65
65
  width="100%" alt="Nx - Smart Monorepos · Fast CI"></a></p>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nx",
3
- "version": "19.4.3",
3
+ "version": "19.4.4",
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": {
@@ -70,7 +70,7 @@
70
70
  "yargs-parser": "21.1.1",
71
71
  "node-machine-id": "1.1.12",
72
72
  "ora": "5.3.0",
73
- "@nrwl/tao": "19.4.3"
73
+ "@nrwl/tao": "19.4.4"
74
74
  },
75
75
  "peerDependencies": {
76
76
  "@swc-node/register": "^1.8.0",
@@ -85,16 +85,16 @@
85
85
  }
86
86
  },
87
87
  "optionalDependencies": {
88
- "@nx/nx-darwin-x64": "19.4.3",
89
- "@nx/nx-darwin-arm64": "19.4.3",
90
- "@nx/nx-linux-x64-gnu": "19.4.3",
91
- "@nx/nx-linux-x64-musl": "19.4.3",
92
- "@nx/nx-win32-x64-msvc": "19.4.3",
93
- "@nx/nx-linux-arm64-gnu": "19.4.3",
94
- "@nx/nx-linux-arm64-musl": "19.4.3",
95
- "@nx/nx-linux-arm-gnueabihf": "19.4.3",
96
- "@nx/nx-win32-arm64-msvc": "19.4.3",
97
- "@nx/nx-freebsd-x64": "19.4.3"
88
+ "@nx/nx-darwin-x64": "19.4.4",
89
+ "@nx/nx-darwin-arm64": "19.4.4",
90
+ "@nx/nx-linux-x64-gnu": "19.4.4",
91
+ "@nx/nx-linux-x64-musl": "19.4.4",
92
+ "@nx/nx-win32-x64-msvc": "19.4.4",
93
+ "@nx/nx-linux-arm64-gnu": "19.4.4",
94
+ "@nx/nx-linux-arm64-musl": "19.4.4",
95
+ "@nx/nx-linux-arm-gnueabihf": "19.4.4",
96
+ "@nx/nx-win32-arm64-msvc": "19.4.4",
97
+ "@nx/nx-freebsd-x64": "19.4.4"
98
98
  },
99
99
  "nx-migrations": {
100
100
  "migrations": "./migrations.json",
@@ -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);