@nx/node 19.6.0 → 19.7.0-beta.0
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.
package/README.md
CHANGED
@@ -22,7 +22,7 @@
|
|
22
22
|
|
23
23
|
# Nx: Smart Monorepos · Fast CI
|
24
24
|
|
25
|
-
Nx is a build system
|
25
|
+
Nx is a build system, optimized for monorepos, with plugins for popular frameworks and tools and advanced CI capabilities including caching and distribution.
|
26
26
|
|
27
27
|
## Getting Started
|
28
28
|
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@nx/node",
|
3
|
-
"version": "19.
|
3
|
+
"version": "19.7.0-beta.0",
|
4
4
|
"private": false,
|
5
5
|
"description": "The Node Plugin for Nx contains generators to manage Node applications within an Nx workspace.",
|
6
6
|
"repository": {
|
@@ -32,11 +32,11 @@
|
|
32
32
|
},
|
33
33
|
"dependencies": {
|
34
34
|
"tslib": "^2.3.0",
|
35
|
-
"@nx/devkit": "19.
|
36
|
-
"@nx/jest": "19.
|
37
|
-
"@nx/js": "19.
|
38
|
-
"@nx/eslint": "19.
|
39
|
-
"@nrwl/node": "19.
|
35
|
+
"@nx/devkit": "19.7.0-beta.0",
|
36
|
+
"@nx/jest": "19.7.0-beta.0",
|
37
|
+
"@nx/js": "19.7.0-beta.0",
|
38
|
+
"@nx/eslint": "19.7.0-beta.0",
|
39
|
+
"@nrwl/node": "19.7.0-beta.0"
|
40
40
|
},
|
41
41
|
"publishConfig": {
|
42
42
|
"access": "public"
|
@@ -185,6 +185,9 @@ function addProxy(tree, options) {
|
|
185
185
|
}
|
186
186
|
(0, devkit_1.updateProjectConfiguration)(tree, options.frontendProject, projectConfig);
|
187
187
|
}
|
188
|
+
else {
|
189
|
+
devkit_1.logger.warn(`Skip updating proxy for frontend project "${options.frontendProject}" since "serve" target is not found in project.json. For more information, see: https://nx.dev/recipes/node/application-proxies.`);
|
190
|
+
}
|
188
191
|
}
|
189
192
|
async function addLintingToApplication(tree, options) {
|
190
193
|
const lintTask = await (0, eslint_1.lintProjectGenerator)(tree, {
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import type { ProjectNameAndRootFormat } from '@nx/devkit/src/generators/project-name-and-root-utils';
|
2
|
-
import type { Linter } from '@nx/eslint';
|
2
|
+
import type { Linter, LinterType } from '@nx/eslint';
|
3
3
|
|
4
4
|
export interface Schema {
|
5
5
|
name: string;
|
@@ -9,7 +9,7 @@ export interface Schema {
|
|
9
9
|
projectNameAndRootFormat?: ProjectNameAndRootFormat;
|
10
10
|
unitTestRunner?: 'jest' | 'none';
|
11
11
|
e2eTestRunner?: 'jest' | 'none';
|
12
|
-
linter?: Linter;
|
12
|
+
linter?: Linter | LinterType;
|
13
13
|
tags?: string;
|
14
14
|
frontendProject?: string;
|
15
15
|
swcJest?: boolean;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import type { ProjectNameAndRootFormat } from '@nx/devkit/src/generators/project-name-and-root-utils';
|
2
|
-
import type { Linter } from '@nx/eslint';
|
2
|
+
import type { Linter, LinterType } from '@nx/eslint';
|
3
3
|
|
4
4
|
export interface Schema {
|
5
5
|
name: string;
|
@@ -10,7 +10,7 @@ export interface Schema {
|
|
10
10
|
skipFormat?: boolean;
|
11
11
|
tags?: string;
|
12
12
|
unitTestRunner?: 'jest' | 'none';
|
13
|
-
linter?: Linter;
|
13
|
+
linter?: Linter | LinterType;
|
14
14
|
buildable?: boolean;
|
15
15
|
publishable?: boolean;
|
16
16
|
importPath?: string;
|