@rxap/plugin-nestjs 19.1.4-dev.4 → 19.1.4-dev.5

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
+ ## [19.1.4-dev.5](https://gitlab.com/rxap/packages/compare/@rxap/plugin-nestjs@19.1.4-dev.4...@rxap/plugin-nestjs@19.1.4-dev.5) (2024-09-03)
7
+
8
+ ### Bug Fixes
9
+
10
+ - ensure the frontend name is normalized and the user-interface- prefix striped ([ad14af8](https://gitlab.com/rxap/packages/commit/ad14af808516e7d7f236726413cb44b8943a0f1c))
11
+
6
12
  ## [19.1.4-dev.4](https://gitlab.com/rxap/packages/compare/@rxap/plugin-nestjs@19.1.4-dev.3...@rxap/plugin-nestjs@19.1.4-dev.4) (2024-08-30)
7
13
 
8
14
  ### Bug Fixes
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "19.1.4-dev.4",
2
+ "version": "19.1.4-dev.5",
3
3
  "name": "@rxap/plugin-nestjs",
4
4
  "license": "GPL-3.0-or-later",
5
5
  "dependencies": {
@@ -54,7 +54,7 @@
54
54
  },
55
55
  "schematics": "./generators.json",
56
56
  "type": "commonjs",
57
- "gitHead": "53a9351f4a8a8817550da2b3aaac5eb1c05c9f4d",
57
+ "gitHead": "634ca203b8f3ea5cfd454525132d22455109477a",
58
58
  "main": "./src/index.js",
59
59
  "types": "./src/index.d.ts"
60
60
  }
@@ -12,7 +12,8 @@ function frontendMicroserviceGenerator(tree, options) {
12
12
  throw new Error('No nx.json found');
13
13
  }
14
14
  const presetOptions = (_b = (_a = nxJson.generators) === null || _a === void 0 ? void 0 : _a['@rxap/plugin-nestjs:microservice']) !== null && _b !== void 0 ? _b : {};
15
- yield (0, generator_1.default)(tree, Object.assign(Object.assign(Object.assign(Object.assign({}, presetOptions), { apiPrefix: ['api', 'app', options.frontend, options.feature].join('/') }), options), { name: ['service', 'app', options.frontend, options.feature].join('-'), directory: ['service', 'app', options.frontend, options.feature].join('/') }));
15
+ const frontendName = options.frontend.replace(/^user-interface-/, '');
16
+ yield (0, generator_1.default)(tree, Object.assign(Object.assign(Object.assign(Object.assign({}, presetOptions), { apiPrefix: ['api', 'app', frontendName, options.feature].join('/') }), options), { name: ['service', 'app', frontendName, options.feature].join('-'), directory: ['service', 'app', frontendName, options.feature].join('/') }));
16
17
  });
17
18
  }
18
19
  exports.default = frontendMicroserviceGenerator;
@@ -1 +1 @@
1
- {"version":3,"file":"generator.js","sourceRoot":"","sources":["../../../../../../../packages/plugin/nestjs/src/generators/frontend-microservice/generator.ts"],"names":[],"mappings":";;AAOA,sEAmBC;;AA1BD,uCAGoB;AACpB,yDAA8D;AAG9D,SAAsB,6BAA6B,CACjD,IAAU,EACV,OAA4C;;;QAG5C,MAAM,MAAM,GAAG,IAAA,mBAAU,EAAC,IAAI,CAAC,CAAC;QAChC,IAAI,CAAC,MAAM,EAAE,CAAC;YACZ,MAAM,IAAI,KAAK,CAAC,kBAAkB,CAAC,CAAC;QACtC,CAAC;QACD,MAAM,aAAa,GAAG,MAAA,MAAA,MAAM,CAAC,UAAU,0CAAG,kCAAkC,CAAC,mCAAI,EAAE,CAAC;QAEpF,MAAM,IAAA,mBAAqB,EAAC,IAAI,8DAC3B,aAAa,KAChB,SAAS,EAAE,CAAE,KAAK,EAAE,KAAK,EAAE,OAAO,CAAC,QAAQ,EAAE,OAAO,CAAC,OAAO,CAAE,CAAC,IAAI,CAAC,GAAG,CAAC,KACrE,OAAO,KACV,IAAI,EAAE,CAAE,SAAS,EAAE,KAAK,EAAE,OAAO,CAAC,QAAQ,EAAE,OAAO,CAAC,OAAO,CAAE,CAAC,IAAI,CAAC,GAAG,CAAC,EACvE,SAAS,EAAE,CAAE,SAAS,EAAE,KAAK,EAAE,OAAO,CAAC,QAAQ,EAAE,OAAO,CAAC,OAAO,CAAE,CAAC,IAAI,CAAC,GAAG,CAAC,IAC5E,CAAC;IAEL,CAAC;CAAA;AAED,kBAAe,6BAA6B,CAAC"}
1
+ {"version":3,"file":"generator.js","sourceRoot":"","sources":["../../../../../../../packages/plugin/nestjs/src/generators/frontend-microservice/generator.ts"],"names":[],"mappings":";;AAOA,sEAqBC;;AA5BD,uCAGoB;AACpB,yDAA8D;AAG9D,SAAsB,6BAA6B,CACjD,IAAU,EACV,OAA4C;;;QAG5C,MAAM,MAAM,GAAG,IAAA,mBAAU,EAAC,IAAI,CAAC,CAAC;QAChC,IAAI,CAAC,MAAM,EAAE,CAAC;YACZ,MAAM,IAAI,KAAK,CAAC,kBAAkB,CAAC,CAAC;QACtC,CAAC;QACD,MAAM,aAAa,GAAG,MAAA,MAAA,MAAM,CAAC,UAAU,0CAAG,kCAAkC,CAAC,mCAAI,EAAE,CAAC;QAEpF,MAAM,YAAY,GAAG,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAC,kBAAkB,EAAE,EAAE,CAAC,CAAC;QAEtE,MAAM,IAAA,mBAAqB,EAAC,IAAI,8DAC3B,aAAa,KAChB,SAAS,EAAE,CAAE,KAAK,EAAE,KAAK,EAAE,YAAY,EAAE,OAAO,CAAC,OAAO,CAAE,CAAC,IAAI,CAAC,GAAG,CAAC,KACjE,OAAO,KACV,IAAI,EAAE,CAAE,SAAS,EAAE,KAAK,EAAE,YAAY,EAAE,OAAO,CAAC,OAAO,CAAE,CAAC,IAAI,CAAC,GAAG,CAAC,EACnE,SAAS,EAAE,CAAE,SAAS,EAAE,KAAK,EAAE,YAAY,EAAE,OAAO,CAAC,OAAO,CAAE,CAAC,IAAI,CAAC,GAAG,CAAC,IACxE,CAAC;IAEL,CAAC;CAAA;AAED,kBAAe,6BAA6B,CAAC"}