@sap-ux/deploy-config-sub-generator 0.5.19 → 0.5.21

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.
@@ -48,7 +48,9 @@ class default_1 extends deploy_config_generator_shared_1.DeploymentGenerator {
48
48
  this.promptOptions = opts?.subGenPromptOptions;
49
49
  this.target = (0, utils_1.parseTarget)(args, opts);
50
50
  this.vscode = opts.vscode;
51
- (0, utils_1.registerNamespaces)(this.rootGeneratorName(), this.genNamespace, this.env.isPackageRegistered.bind(this.env), this.env.lookup.bind(this.env));
51
+ if (this.rootGeneratorName()) {
52
+ this.env.lookup({ packagePatterns: [this.rootGeneratorName()] });
53
+ }
52
54
  // Extensions use options.data to pass in the options
53
55
  if (this.options.data?.destinationRoot) {
54
56
  this.launchStandaloneFromYui = true;
@@ -1,5 +1,4 @@
1
1
  import type { DeployConfigOptions } from '../types';
2
- import type { GeneratorOptions } from 'yeoman-generator';
3
2
  /**
4
3
  * Parses the target from the CLI args or the options.
5
4
  *
@@ -18,13 +17,4 @@ export declare function getYUIDetails(appRootPath: string): {
18
17
  name: string;
19
18
  description: string;
20
19
  }[];
21
- /**
22
- * Registers all the root generator's namespaces i.e the subgenerators.
23
- *
24
- * @param rootGenerator - the root generator name
25
- * @param generatorNamespace - the namespace of the generator
26
- * @param isPackageRegistered - function to check if a package is registered
27
- * @param lookup - function to lookup and register the package's namespaces
28
- */
29
- export declare function registerNamespaces(rootGenerator: string, generatorNamespace: string, isPackageRegistered: GeneratorOptions['env.isPackageRegistered'], lookup: GeneratorOptions['env.lookup']): void;
30
20
  //# sourceMappingURL=utils.d.ts.map
@@ -2,7 +2,6 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.parseTarget = parseTarget;
4
4
  exports.getYUIDetails = getYUIDetails;
5
- exports.registerNamespaces = registerNamespaces;
6
5
  const node_path_1 = require("node:path");
7
6
  /**
8
7
  * Parses the target from the CLI args or the options.
@@ -38,17 +37,4 @@ function getYUIDetails(appRootPath) {
38
37
  }
39
38
  ];
40
39
  }
41
- /**
42
- * Registers all the root generator's namespaces i.e the subgenerators.
43
- *
44
- * @param rootGenerator - the root generator name
45
- * @param generatorNamespace - the namespace of the generator
46
- * @param isPackageRegistered - function to check if a package is registered
47
- * @param lookup - function to lookup and register the package's namespaces
48
- */
49
- function registerNamespaces(rootGenerator, generatorNamespace, isPackageRegistered, lookup) {
50
- if (rootGenerator && !isPackageRegistered(generatorNamespace)) {
51
- lookup({ packagePatterns: [rootGenerator] });
52
- }
53
- }
54
40
  //# sourceMappingURL=utils.js.map
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@sap-ux/deploy-config-sub-generator",
3
3
  "description": "Main generator for configuring ABAP or Cloud Foundry deployment configuration",
4
- "version": "0.5.19",
4
+ "version": "0.5.21",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/SAP/open-ux-tools.git",
@@ -25,14 +25,14 @@
25
25
  "i18next": "25.3.0",
26
26
  "yeoman-generator": "5.10.0",
27
27
  "@sap-ux/btp-utils": "1.1.6",
28
- "@sap-ux/cf-deploy-config-sub-generator": "0.2.95",
29
- "@sap-ux/abap-deploy-config-sub-generator": "0.1.109",
30
- "@sap-ux/deploy-config-generator-shared": "0.1.62",
31
- "@sap-ux/fiori-generator-shared": "0.13.43",
32
- "@sap-ux/inquirer-common": "0.9.16",
33
- "@sap-ux/odata-service-inquirer": "2.11.21",
28
+ "@sap-ux/abap-deploy-config-sub-generator": "0.1.110",
29
+ "@sap-ux/deploy-config-generator-shared": "0.1.63",
30
+ "@sap-ux/cf-deploy-config-sub-generator": "0.2.96",
31
+ "@sap-ux/fiori-generator-shared": "0.13.44",
32
+ "@sap-ux/inquirer-common": "0.9.17",
33
+ "@sap-ux/odata-service-inquirer": "2.11.22",
34
34
  "@sap-ux/project-access": "1.32.16",
35
- "@sap-ux/store": "1.3.5",
35
+ "@sap-ux/store": "1.4.0",
36
36
  "@sap-ux/ui5-config": "0.29.11"
37
37
  },
38
38
  "devDependencies": {
@@ -51,10 +51,10 @@
51
51
  "rimraf": "6.0.1",
52
52
  "unionfs": "4.4.0",
53
53
  "yeoman-test": "6.3.0",
54
- "@sap-ux/abap-deploy-config-inquirer": "1.6.60",
55
- "@sap-ux/cf-deploy-config-inquirer": "0.5.53",
54
+ "@sap-ux/abap-deploy-config-inquirer": "1.6.61",
56
55
  "@sap-ux/cf-deploy-config-writer": "0.3.46",
57
- "@sap-ux/jest-file-matchers": "0.2.8"
56
+ "@sap-ux/jest-file-matchers": "0.2.8",
57
+ "@sap-ux/cf-deploy-config-inquirer": "0.5.54"
58
58
  },
59
59
  "engines": {
60
60
  "node": ">=20.x"