@nx/node 16.8.0-beta.2 → 16.8.0-beta.3
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nx/node",
|
|
3
|
-
"version": "16.8.0-beta.
|
|
3
|
+
"version": "16.8.0-beta.3",
|
|
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": {
|
|
@@ -30,17 +30,17 @@
|
|
|
30
30
|
"migrations": "./migrations.json"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@nrwl/node": "16.8.0-beta.
|
|
34
|
-
"@nx/devkit": "16.8.0-beta.
|
|
35
|
-
"@nx/jest": "16.8.0-beta.
|
|
36
|
-
"@nx/js": "16.8.0-beta.
|
|
37
|
-
"@nx/linter": "16.8.0-beta.
|
|
38
|
-
"@nx/workspace": "16.8.0-beta.
|
|
33
|
+
"@nrwl/node": "16.8.0-beta.3",
|
|
34
|
+
"@nx/devkit": "16.8.0-beta.3",
|
|
35
|
+
"@nx/jest": "16.8.0-beta.3",
|
|
36
|
+
"@nx/js": "16.8.0-beta.3",
|
|
37
|
+
"@nx/linter": "16.8.0-beta.3",
|
|
38
|
+
"@nx/workspace": "16.8.0-beta.3",
|
|
39
39
|
"tslib": "^2.3.0"
|
|
40
40
|
},
|
|
41
41
|
"publishConfig": {
|
|
42
42
|
"access": "public"
|
|
43
43
|
},
|
|
44
44
|
"type": "commonjs",
|
|
45
|
-
"gitHead": "
|
|
45
|
+
"gitHead": "dcd48165a485bc8db57a1fb02b96a0772de3b7e9"
|
|
46
46
|
}
|
|
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.setupDockerSchematic = exports.setupDockerGenerator = exports.updateProjectConfig = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const devkit_1 = require("@nx/devkit");
|
|
6
|
+
const path_1 = require("path");
|
|
6
7
|
function normalizeOptions(tree, setupOptions) {
|
|
7
8
|
var _a, _b, _c;
|
|
8
9
|
return Object.assign(Object.assign({}, setupOptions), { project: (_a = setupOptions.project) !== null && _a !== void 0 ? _a : (0, devkit_1.readNxJson)(tree).defaultProject, targetName: (_b = setupOptions.targetName) !== null && _b !== void 0 ? _b : 'docker-build', buildTarget: (_c = setupOptions.buildTarget) !== null && _c !== void 0 ? _c : 'build' });
|
|
@@ -18,7 +19,7 @@ function addDocker(tree, options) {
|
|
|
18
19
|
}
|
|
19
20
|
else {
|
|
20
21
|
const outputPath = (_a = project.targets[`${options.buildTarget}`]) === null || _a === void 0 ? void 0 : _a.options.outputPath;
|
|
21
|
-
(0, devkit_1.generateFiles)(tree, (0,
|
|
22
|
+
(0, devkit_1.generateFiles)(tree, (0, path_1.join)(__dirname, './files'), project.root, {
|
|
22
23
|
tmpl: '',
|
|
23
24
|
app: project.sourceRoot,
|
|
24
25
|
buildLocation: outputPath,
|