@nx/nest 17.3.1 → 18.0.0-beta.1

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/nest",
3
- "version": "17.3.1",
3
+ "version": "18.0.0-beta.1",
4
4
  "private": false,
5
5
  "description": "The Nx Plugin for Nest contains executors and generators for allowing your workspace to create powerful Nest best in class APIs.",
6
6
  "repository": {
@@ -31,13 +31,13 @@
31
31
  },
32
32
  "dependencies": {
33
33
  "@nestjs/schematics": "^9.1.0",
34
- "@nx/devkit": "17.3.1",
35
- "@nx/js": "17.3.1",
36
- "@nx/eslint": "17.3.1",
37
- "@nx/node": "17.3.1",
34
+ "@nx/devkit": "18.0.0-beta.1",
35
+ "@nx/js": "18.0.0-beta.1",
36
+ "@nx/eslint": "18.0.0-beta.1",
37
+ "@nx/node": "18.0.0-beta.1",
38
38
  "@phenomnomnominal/tsquery": "~5.0.1",
39
39
  "tslib": "^2.3.0",
40
- "@nrwl/nest": "17.3.1"
40
+ "@nrwl/nest": "18.0.0-beta.1"
41
41
  },
42
42
  "publishConfig": {
43
43
  "access": "public"
@@ -5,6 +5,7 @@ const devkit_1 = require("@nx/devkit");
5
5
  const js_1 = require("@nx/js");
6
6
  const lib_1 = require("./lib");
7
7
  const init_1 = require("../init/init");
8
+ const log_show_project_command_1 = require("@nx/devkit/src/utils/log-show-project-command");
8
9
  async function libraryGenerator(tree, rawOptions) {
9
10
  return await libraryGeneratorInternal(tree, {
10
11
  projectNameAndRootFormat: 'derived',
@@ -15,7 +16,7 @@ exports.libraryGenerator = libraryGenerator;
15
16
  async function libraryGeneratorInternal(tree, rawOptions) {
16
17
  const options = await (0, lib_1.normalizeOptions)(tree, rawOptions);
17
18
  await (0, js_1.libraryGenerator)(tree, (0, lib_1.toJsLibraryGeneratorOptions)(options));
18
- const initTask = (0, init_1.default)(tree, rawOptions);
19
+ const initTask = await (0, init_1.default)(tree, rawOptions);
19
20
  (0, lib_1.deleteFiles)(tree, options);
20
21
  (0, lib_1.createFiles)(tree, options);
21
22
  (0, lib_1.addExportsToBarrelFile)(tree, options);
@@ -24,7 +25,12 @@ async function libraryGeneratorInternal(tree, rawOptions) {
24
25
  if (!options.skipFormat) {
25
26
  await (0, devkit_1.formatFiles)(tree);
26
27
  }
27
- return initTask;
28
+ return (0, devkit_1.runTasksInSerial)(...[
29
+ initTask,
30
+ () => {
31
+ (0, log_show_project_command_1.logShowProjectCommand)(options.projectName);
32
+ },
33
+ ]);
28
34
  }
29
35
  exports.libraryGeneratorInternal = libraryGeneratorInternal;
30
36
  exports.default = libraryGenerator;