@rxap/plugin-nestjs 16.2.0-dev.5 → 16.2.0-dev.6

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/CHANGELOG.md CHANGED
@@ -3,6 +3,12 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [16.2.0-dev.6](https://gitlab.com/rxap/packages/compare/@rxap/plugin-nestjs@16.2.0-dev.5...@rxap/plugin-nestjs@16.2.0-dev.6) (2024-03-26)
7
+
8
+ ### Bug Fixes
9
+
10
+ - improve logging ([153ba91](https://gitlab.com/rxap/packages/commit/153ba91f959394c53451aa3dbb1991cac5c5e8a7))
11
+
6
12
  # [16.2.0-dev.5](https://gitlab.com/rxap/packages/compare/@rxap/plugin-nestjs@16.2.0-dev.4...@rxap/plugin-nestjs@16.2.0-dev.5) (2024-03-23)
7
13
 
8
14
  ### Bug Fixes
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "16.2.0-dev.5",
2
+ "version": "16.2.0-dev.6",
3
3
  "name": "@rxap/plugin-nestjs",
4
4
  "license": "GPL-3.0-or-later",
5
5
  "dependencies": {
@@ -107,7 +107,7 @@
107
107
  },
108
108
  "schematics": "./generators.json",
109
109
  "type": "commonjs",
110
- "gitHead": "665983fbaa645692b9a546f6f0ad130b5c6f2cf8",
110
+ "gitHead": "4f547dc16bf9355ba0fe694be4983b103906d7ca",
111
111
  "main": "./src/index.js",
112
112
  "types": "./src/index.d.ts"
113
113
  }
@@ -11,14 +11,16 @@ function runExecutor(options, context) {
11
11
  console.log('Executor ran for PackageJson', options);
12
12
  (0, plugin_utilities_1.LoadProjectToPackageMapping)(context);
13
13
  const dependencies = (0, plugin_utilities_1.GetAllPackageDependenciesForProject)(context);
14
+ console.log('resolved local published package dependencies', JSON.stringify(dependencies));
14
15
  if (options.dependencies) {
16
+ console.log('adding dependencies from options', options.dependencies.join(', '));
15
17
  const rootPackageJson = (0, node_utilities_1.jsonFile)((0, path_1.join)(context.root, 'package.json'));
16
18
  for (const dependency of options.dependencies) {
17
19
  dependencies[dependency] = (_d = (_b = (_a = rootPackageJson.dependencies) === null || _a === void 0 ? void 0 : _a[dependency]) !== null && _b !== void 0 ? _b : (_c = rootPackageJson.devDependencies) === null || _c === void 0 ? void 0 : _c[dependency]) !== null && _d !== void 0 ? _d : 'latest';
18
20
  }
19
21
  }
20
22
  const packageJson = { dependencies, name: context.projectName, private: true };
21
- console.log('dependencies', dependencies);
23
+ console.log('generated package.json', JSON.stringify(packageJson));
22
24
  (0, fs_1.writeFileSync)((0, path_1.join)((0, plugin_utilities_1.GetProjectRoot)(context), 'package.json'), JSON.stringify(packageJson, null, 2));
23
25
  return {
24
26
  success: true,
@@ -1 +1 @@
1
- {"version":3,"file":"executor.js","sourceRoot":"","sources":["../../../../../../../packages/plugin/nestjs/src/executors/package-json/executor.ts"],"names":[],"mappings":";;;AACA,yDAAgD;AAChD,6DAIgC;AAEhC,2BAAmC;AACnC,+BAA4B;AAG5B,SAA8B,WAAW,CACvC,OAAkC,EAClC,OAAwB;;;QAExB,OAAO,CAAC,GAAG,CAAC,8BAA8B,EAAE,OAAO,CAAC,CAAC;QAErD,IAAA,8CAA2B,EAAC,OAAO,CAAC,CAAC;QAErC,MAAM,YAAY,GAAG,IAAA,sDAAmC,EAAC,OAAO,CAAC,CAAC;QAElE,IAAI,OAAO,CAAC,YAAY,EAAE;YACxB,MAAM,eAAe,GAAgB,IAAA,yBAAQ,EAAC,IAAA,WAAI,EAAC,OAAO,CAAC,IAAI,EAAE,cAAc,CAAC,CAAC,CAAC;YAClF,KAAK,MAAM,UAAU,IAAI,OAAO,CAAC,YAAY,EAAE;gBAC7C,YAAY,CAAC,UAAU,CAAC,GAAG,MAAA,MAAA,MAAA,eAAe,CAAC,YAAY,0CAAG,UAAU,CAAC,mCAC1C,MAAA,eAAe,CAAC,eAAe,0CAAG,UAAU,CAAC,mCAAI,QAAQ,CAAC;aACtF;SACF;QAED,MAAM,WAAW,GAAG,EAAE,YAAY,EAAE,IAAI,EAAE,OAAO,CAAC,WAAW,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;QAE/E,OAAO,CAAC,GAAG,CAAC,cAAc,EAAE,YAAY,CAAC,CAAC;QAE1C,IAAA,kBAAa,EAAC,IAAA,WAAI,EAAC,IAAA,iCAAc,EAAC,OAAO,CAAC,EAAE,cAAc,CAAC,EAAE,IAAI,CAAC,SAAS,CAAC,WAAW,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,CAAC;QAEnG,OAAO;YACL,OAAO,EAAE,IAAI;SACd,CAAC;;CACH;AA3BD,8BA2BC"}
1
+ {"version":3,"file":"executor.js","sourceRoot":"","sources":["../../../../../../../packages/plugin/nestjs/src/executors/package-json/executor.ts"],"names":[],"mappings":";;;AACA,yDAAgD;AAChD,6DAIgC;AAEhC,2BAAmC;AACnC,+BAA4B;AAG5B,SAA8B,WAAW,CACvC,OAAkC,EAClC,OAAwB;;;QAExB,OAAO,CAAC,GAAG,CAAC,8BAA8B,EAAE,OAAO,CAAC,CAAC;QAErD,IAAA,8CAA2B,EAAC,OAAO,CAAC,CAAC;QAErC,MAAM,YAAY,GAAG,IAAA,sDAAmC,EAAC,OAAO,CAAC,CAAC;QAElE,OAAO,CAAC,GAAG,CAAC,+CAA+C,EAAE,IAAI,CAAC,SAAS,CAAC,YAAY,CAAC,CAAC,CAAC;QAE3F,IAAI,OAAO,CAAC,YAAY,EAAE;YACxB,OAAO,CAAC,GAAG,CAAC,kCAAkC,EAAE,OAAO,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC;YACjF,MAAM,eAAe,GAAgB,IAAA,yBAAQ,EAAC,IAAA,WAAI,EAAC,OAAO,CAAC,IAAI,EAAE,cAAc,CAAC,CAAC,CAAC;YAClF,KAAK,MAAM,UAAU,IAAI,OAAO,CAAC,YAAY,EAAE;gBAC7C,YAAY,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