@sap-ux/create 0.13.83 → 0.13.85

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.
@@ -15,6 +15,7 @@ let loginAttempts = 3;
15
15
  */
16
16
  function addAnnotationsToOdataCommand(cmd) {
17
17
  cmd.command('annotations [path]')
18
+ .description('Add annotations to the OData service of an adaptation project.')
18
19
  .option('-s, --simulate', 'simulate only do not write or install')
19
20
  .option('-c, --config <string>', 'Path to project configuration file in YAML format', 'ui5.yaml')
20
21
  .action(async (path, options) => {
@@ -12,6 +12,7 @@ const project_access_1 = require("@sap-ux/project-access");
12
12
  */
13
13
  function addCardsEditorConfigCommand(cmd) {
14
14
  cmd.command('cards-editor [path]')
15
+ .description('Add a cards editor configuration to a project, enabling card generation.')
15
16
  .option('-c, --config <string>', 'Path to project configuration file in YAML format', 'ui5.yaml')
16
17
  .option('-s, --simulate', 'simulate only do not write config; sets also --verbose')
17
18
  .option('-v, --verbose', 'show verbose information')
@@ -12,6 +12,7 @@ const common_1 = require("../../common");
12
12
  */
13
13
  function addAddCdsPluginUi5Command(cmd) {
14
14
  cmd.command('cds-plugin-ui5 [path]')
15
+ .description('Add the cds-plugin-ui5 and all prerequisites to a CAP project for UI5 integration.')
15
16
  .option('-n, --skip-install', 'skip npm install step')
16
17
  .option('-s, --simulate', 'simulate only, do not write or install; sets also --verbose')
17
18
  .option('-v, --verbose', 'show verbose information')
@@ -13,6 +13,7 @@ const common_1 = require("../../common");
13
13
  */
14
14
  function addComponentUsagesCommand(cmd) {
15
15
  cmd.command('component-usages [path]')
16
+ .description('Add component usages to an adaptation project, updating the manifest accordingly.')
16
17
  .option('-s, --simulate', 'simulate only do not write or install')
17
18
  .action(async (path, options) => {
18
19
  await addComponentUsages(path, !!options.simulate);
@@ -15,6 +15,7 @@ const common_1 = require("../../common");
15
15
  */
16
16
  function addDeployConfigCommand(cmd) {
17
17
  cmd.command('deploy-config [path]')
18
+ .description('Add or update ABAP deployment configuration files for the project.')
18
19
  .option('-t, --target <string>', 'target for deployment; ABAP or Cloud Foundry (not yet implemented)')
19
20
  .option('-s, --simulate', 'simulate only do not write; sets also --verbose')
20
21
  .option('-v, --verbose', 'show verbose information')
@@ -15,6 +15,7 @@ const mem_fs_1 = require("mem-fs");
15
15
  */
16
16
  function addAddHtmlFilesCmd(cmd) {
17
17
  cmd.command('html [path]')
18
+ .description('Add HTML files for local preview and testing, using the preview middleware configuration.')
18
19
  .option('-c, --config <string>', 'Path to project configuration file in YAML format', 'ui5.yaml')
19
20
  .option('-s, --simulate', 'simulate only do not write config; sets also --verbose')
20
21
  .option('-v, --verbose', 'show verbose information')
@@ -15,6 +15,7 @@ const common_1 = require("../../common");
15
15
  */
16
16
  function addAddMockserverConfigCommand(cmd) {
17
17
  cmd.command('mockserver-config [path]')
18
+ .description('Add configuration for the mockserver module to enable local OData mocking.')
18
19
  .option('-i, --interactive', 'ask for config options, otherwise use defaults')
19
20
  .option('-n, --skip-install', 'skip npm install step')
20
21
  .option('-s, --simulate', 'simulate only do not write or install; sets also --verbose')
@@ -20,6 +20,7 @@ const tracing_1 = require("../../tracing");
20
20
  */
21
21
  function addInboundNavigationConfigCommand(cmd) {
22
22
  cmd.command('inbound-navigation [path]')
23
+ .description('Add Fiori Launchpad inbound navigation configuration to a project.')
23
24
  .option('-s, --simulate', 'simulate only do not write config; sets also --verbose')
24
25
  .option('-v, --verbose', 'show verbose information')
25
26
  .option('-c, --config <string>', 'Path to project configuration file in YAML format', project_access_1.FileName.Ui5Yaml)
@@ -12,6 +12,7 @@ const validation_1 = require("../../validation/validation");
12
12
  */
13
13
  function addNewModelCommand(cmd) {
14
14
  cmd.command('model [path]')
15
+ .description('Add a new OData service and UI5 model to an existing adaptation project.')
15
16
  .option('-s, --simulate', 'simulate only do not write or install')
16
17
  .action(async (path, options) => {
17
18
  await addNewModel(path, !!options.simulate);
@@ -11,6 +11,7 @@ const validation_1 = require("../../validation");
11
11
  */
12
12
  function addAddSmartLinksConfigCommand(cmd) {
13
13
  cmd.command('smartlinks-config [path]')
14
+ .description('Add a smartLinks configuration to a project for cross-app navigation.')
14
15
  .option('-s, --simulate', 'simulate only do not write config; sets also --verbose')
15
16
  .option('-v, --verbose', 'show verbose information')
16
17
  .action(async (path, options) => {
@@ -12,6 +12,7 @@ const path_1 = require("path");
12
12
  */
13
13
  function addAddVariantsConfigCommand(cmd) {
14
14
  cmd.command('variants-config [path]')
15
+ .description('Add configuration and scripts for variant management.')
15
16
  .option('-c, --config <string>', 'Path to project configuration file in YAML format', 'ui5.yaml')
16
17
  .option('-s, --simulate', 'simulate only do not write config; sets also --verbose')
17
18
  .option('-v, --verbose', 'show verbose information')
@@ -14,6 +14,7 @@ let loginAttempts = 3;
14
14
  */
15
15
  function addChangeDataSourceCommand(cmd) {
16
16
  cmd.command('data-source [path]')
17
+ .description('Change the OData source of the base application in an adaptation project.')
17
18
  .option('-s, --simulate', 'simulate only do not write or install')
18
19
  .option('-c, --config <string>', 'Path to project configuration file in YAML format', 'ui5.yaml')
19
20
  .action(async (path, options) => {
@@ -12,6 +12,7 @@ const validation_1 = require("../../validation");
12
12
  */
13
13
  function addChangeInboundCommand(cmd) {
14
14
  cmd.command('inbound [path]')
15
+ .description('Replace the Inbound FLP configurations of the base application in an adaptation project.')
15
16
  .option('-s, --simulate', 'simulate only do not write or install')
16
17
  .action(async (path, options) => {
17
18
  await changeInbound(path, !!options.simulate);
@@ -10,6 +10,7 @@ const app_config_writer_1 = require("@sap-ux/app-config-writer");
10
10
  */
11
11
  function addConvertPreviewCommand(cmd) {
12
12
  cmd.command('preview-config [path]')
13
+ .description('Convert an app to use virtual preview endpoints and update configuration files.')
13
14
  .option('-s, --simulate <boolean>', 'simulate only do not write')
14
15
  .option('-v, --verbose', 'show verbose information')
15
16
  .option('-t, --tests <boolean>', 'also convert test suite and test runners')
@@ -16,6 +16,7 @@ const path_1 = require("path");
16
16
  */
17
17
  function addGenerateAdaptationProjectCommand(cmd) {
18
18
  cmd.command('adaptation-project [path]')
19
+ .description('Generate a new UI5 adaptation project with optional prompts and configuration.')
19
20
  .option('-n, --skip-install', 'skip npm install step')
20
21
  .option('-s, --simulate', 'simulate only do not write or install')
21
22
  .option('-y, --yes', 'use default values for all prompts')
@@ -15,6 +15,7 @@ const validation_1 = require("../../validation");
15
15
  */
16
16
  function addRemoveMockserverConfigCommand(cmd) {
17
17
  cmd.command('mockserver-config [path]')
18
+ .description('Remove the configuration for the mockserver module from a project.')
18
19
  .option('-v, --verbose', 'show verbose information')
19
20
  .option('-f, --force', 'do not ask for confirmation when deleting files')
20
21
  .action(async (path, options) => {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@sap-ux/create",
3
3
  "description": "SAP Fiori tools module to add or remove features",
4
- "version": "0.13.83",
4
+ "version": "0.13.85",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/SAP/open-ux-tools.git",
@@ -30,19 +30,19 @@
30
30
  "mem-fs": "2.1.0",
31
31
  "mem-fs-editor": "9.4.0",
32
32
  "prompts": "2.4.2",
33
- "@sap-ux/abap-deploy-config-inquirer": "1.5.1",
34
- "@sap-ux/abap-deploy-config-writer": "0.2.1",
35
- "@sap-ux/adp-tooling": "0.15.7",
36
- "@sap-ux/app-config-writer": "0.6.24",
37
- "@sap-ux/cap-config-writer": "0.10.21",
33
+ "@sap-ux/abap-deploy-config-inquirer": "1.5.2",
34
+ "@sap-ux/abap-deploy-config-writer": "0.2.2",
35
+ "@sap-ux/adp-tooling": "0.15.8",
36
+ "@sap-ux/cap-config-writer": "0.10.22",
37
+ "@sap-ux/app-config-writer": "0.6.25",
38
+ "@sap-ux/mockserver-config-writer": "0.9.9",
38
39
  "@sap-ux/logger": "0.7.0",
39
- "@sap-ux/mockserver-config-writer": "0.9.8",
40
- "@sap-ux/odata-service-writer": "0.27.12",
41
- "@sap-ux/preview-middleware": "0.20.70",
42
- "@sap-ux/project-access": "1.30.7",
40
+ "@sap-ux/odata-service-writer": "0.27.13",
41
+ "@sap-ux/project-access": "1.30.8",
43
42
  "@sap-ux/system-access": "0.6.11",
44
43
  "@sap-ux/ui5-config": "0.29.0",
45
- "@sap-ux/flp-config-inquirer": "0.4.3"
44
+ "@sap-ux/preview-middleware": "0.20.71",
45
+ "@sap-ux/flp-config-inquirer": "0.4.4"
46
46
  },
47
47
  "devDependencies": {
48
48
  "@types/diff": "5.0.9",
@@ -50,8 +50,8 @@
50
50
  "@types/mem-fs": "1.1.2",
51
51
  "@types/mem-fs-editor": "7.0.1",
52
52
  "@types/prompts": "2.4.4",
53
- "@sap-ux/inquirer-common": "0.7.27",
54
- "@sap-ux/store": "1.1.2"
53
+ "@sap-ux/store": "1.1.2",
54
+ "@sap-ux/inquirer-common": "0.7.28"
55
55
  },
56
56
  "scripts": {
57
57
  "build": "tsc --build",