@nx/nest 21.6.1-beta.3 → 21.6.1-rc.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nx/nest",
3
- "version": "21.6.1-beta.3",
3
+ "version": "21.6.1-rc.0",
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": {
@@ -32,10 +32,10 @@
32
32
  },
33
33
  "dependencies": {
34
34
  "@nestjs/schematics": "^11.0.0",
35
- "@nx/devkit": "21.6.1-beta.3",
36
- "@nx/js": "21.6.1-beta.3",
37
- "@nx/eslint": "21.6.1-beta.3",
38
- "@nx/node": "21.6.1-beta.3",
35
+ "@nx/devkit": "21.6.1-rc.0",
36
+ "@nx/js": "21.6.1-rc.0",
37
+ "@nx/eslint": "21.6.1-rc.0",
38
+ "@nx/node": "21.6.1-rc.0",
39
39
  "tslib": "^2.3.0"
40
40
  },
41
41
  "publishConfig": {
@@ -1 +1 @@
1
- {"version":3,"file":"update-tsconfig.d.ts","sourceRoot":"","sources":["../../../../../../../packages/nest/src/generators/library/lib/update-tsconfig.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAEvC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAEnD,wBAAgB,cAAc,CAAC,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE,iBAAiB,GAAG,IAAI,CAkB3E"}
1
+ {"version":3,"file":"update-tsconfig.d.ts","sourceRoot":"","sources":["../../../../../../../packages/nest/src/generators/library/lib/update-tsconfig.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAEvC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAEnD,wBAAgB,cAAc,CAAC,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE,iBAAiB,GAAG,IAAI,CAsB3E"}
@@ -6,6 +6,9 @@ function updateTsConfig(tree, options) {
6
6
  const project = (0, devkit_1.readProjectConfiguration)(tree, options.projectName);
7
7
  return (0, devkit_1.updateJson)(tree, `${project.root}/tsconfig.lib.json`, (json) => {
8
8
  json.compilerOptions.target = options.target;
9
+ // NestJS requires decorators to be enabled for dependency injection
10
+ json.compilerOptions.experimentalDecorators = true;
11
+ json.compilerOptions.emitDecoratorMetadata = true;
9
12
  if (options.strict) {
10
13
  json.compilerOptions = {
11
14
  ...json.compilerOptions,