@nx/node 0.0.0-pr-27552-8322864 → 0.0.0-pr-27504-68aa5d2
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 with built-in tooling and advanced CI capabilities. It helps you maintain and scale monorepos, both locally and on CI.
|
|
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": "0.0.0-pr-
|
|
3
|
+
"version": "0.0.0-pr-27504-68aa5d2",
|
|
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": "0.0.0-pr-
|
|
36
|
-
"@nx/jest": "0.0.0-pr-
|
|
37
|
-
"@nx/js": "0.0.0-pr-
|
|
38
|
-
"@nx/eslint": "0.0.0-pr-
|
|
39
|
-
"@nrwl/node": "0.0.0-pr-
|
|
35
|
+
"@nx/devkit": "0.0.0-pr-27504-68aa5d2",
|
|
36
|
+
"@nx/jest": "0.0.0-pr-27504-68aa5d2",
|
|
37
|
+
"@nx/js": "0.0.0-pr-27504-68aa5d2",
|
|
38
|
+
"@nx/eslint": "0.0.0-pr-27504-68aa5d2",
|
|
39
|
+
"@nrwl/node": "0.0.0-pr-27504-68aa5d2"
|
|
40
40
|
},
|
|
41
41
|
"publishConfig": {
|
|
42
42
|
"access": "public"
|
|
@@ -185,9 +185,6 @@ 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
|
-
}
|
|
191
188
|
}
|
|
192
189
|
async function addLintingToApplication(tree, options) {
|
|
193
190
|
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
|
|
2
|
+
import type { Linter } 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;
|
|
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
|
|
2
|
+
import type { Linter } 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;
|
|
14
14
|
buildable?: boolean;
|
|
15
15
|
publishable?: boolean;
|
|
16
16
|
importPath?: string;
|