@sap-ux/launch-config 0.11.1 → 1.0.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/dist/debug-config/config.d.ts +1 -1
- package/dist/debug-config/config.d.ts.map +1 -1
- package/dist/debug-config/config.js +7 -10
- package/dist/debug-config/config.js.map +1 -1
- package/dist/debug-config/helpers.d.ts +1 -1
- package/dist/debug-config/helpers.d.ts.map +1 -1
- package/dist/debug-config/helpers.js +8 -14
- package/dist/debug-config/helpers.js.map +1 -1
- package/dist/debug-config/workspaceManager.d.ts +1 -1
- package/dist/debug-config/workspaceManager.d.ts.map +1 -1
- package/dist/debug-config/workspaceManager.js +19 -22
- package/dist/debug-config/workspaceManager.js.map +1 -1
- package/dist/i18n.js +8 -16
- package/dist/i18n.js.map +1 -1
- package/dist/index.d.ts +10 -10
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +10 -40
- package/dist/index.js.map +1 -1
- package/dist/launch-config-crud/create.d.ts +1 -1
- package/dist/launch-config-crud/create.d.ts.map +1 -1
- package/dist/launch-config-crud/create.js +27 -31
- package/dist/launch-config-crud/create.js.map +1 -1
- package/dist/launch-config-crud/delete.js +10 -13
- package/dist/launch-config-crud/delete.js.map +1 -1
- package/dist/launch-config-crud/modify.d.ts +1 -1
- package/dist/launch-config-crud/modify.d.ts.map +1 -1
- package/dist/launch-config-crud/modify.js +17 -20
- package/dist/launch-config-crud/modify.js.map +1 -1
- package/dist/launch-config-crud/read.d.ts +1 -1
- package/dist/launch-config-crud/read.d.ts.map +1 -1
- package/dist/launch-config-crud/read.js +21 -28
- package/dist/launch-config-crud/read.js.map +1 -1
- package/dist/launch-config-crud/update.d.ts +1 -1
- package/dist/launch-config-crud/update.d.ts.map +1 -1
- package/dist/launch-config-crud/update.js +18 -21
- package/dist/launch-config-crud/update.js.map +1 -1
- package/dist/launch-config-crud/utils.d.ts +1 -1
- package/dist/launch-config-crud/utils.d.ts.map +1 -1
- package/dist/launch-config-crud/utils.js +22 -33
- package/dist/launch-config-crud/utils.js.map +1 -1
- package/dist/launch-config-crud/writer.js +7 -10
- package/dist/launch-config-crud/writer.js.map +1 -1
- package/dist/project-discovery/project.d.ts +1 -1
- package/dist/project-discovery/project.d.ts.map +1 -1
- package/dist/project-discovery/project.js +14 -17
- package/dist/project-discovery/project.js.map +1 -1
- package/dist/types/constants.js +3 -6
- package/dist/types/constants.js.map +1 -1
- package/dist/types/index.d.ts +2 -2
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/index.js +2 -18
- package/dist/types/index.js.map +1 -1
- package/dist/types/types.js +2 -5
- package/dist/types/types.js.map +1 -1
- package/package.json +8 -6
|
@@ -1,9 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
const mem_fs_1 = require("mem-fs");
|
|
5
|
-
const mem_fs_editor_1 = require("mem-fs-editor");
|
|
6
|
-
const jsonc_parser_1 = require("jsonc-parser");
|
|
1
|
+
import { create as createStorage } from 'mem-fs';
|
|
2
|
+
import { create } from 'mem-fs-editor';
|
|
3
|
+
import { applyEdits, modify } from 'jsonc-parser';
|
|
7
4
|
/**
|
|
8
5
|
* Writes changes for 'launch.json'.
|
|
9
6
|
*
|
|
@@ -14,9 +11,9 @@ const jsonc_parser_1 = require("jsonc-parser");
|
|
|
14
11
|
* @param fs - optional, the memfs editor instance.
|
|
15
12
|
* @returns void.
|
|
16
13
|
*/
|
|
17
|
-
async function updateLaunchJSON(content, filePath, jsonPath, options = {}, fs) {
|
|
14
|
+
export async function updateLaunchJSON(content, filePath, jsonPath, options = {}, fs) {
|
|
18
15
|
if (!fs) {
|
|
19
|
-
fs =
|
|
16
|
+
fs = create(createStorage());
|
|
20
17
|
}
|
|
21
18
|
const jsonString = fs.read(filePath);
|
|
22
19
|
if (!options.formattingOptions) {
|
|
@@ -26,8 +23,8 @@ async function updateLaunchJSON(content, filePath, jsonPath, options = {}, fs) {
|
|
|
26
23
|
};
|
|
27
24
|
}
|
|
28
25
|
// make edits and apply them
|
|
29
|
-
const edits =
|
|
30
|
-
const updated =
|
|
26
|
+
const edits = modify(jsonString, jsonPath, content, options);
|
|
27
|
+
const updated = applyEdits(jsonString, edits);
|
|
31
28
|
// write changes to file
|
|
32
29
|
fs.write(filePath, updated);
|
|
33
30
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"writer.js","sourceRoot":"","sources":["../../src/launch-config-crud/writer.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"writer.js","sourceRoot":"","sources":["../../src/launch-config-crud/writer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,IAAI,aAAa,EAAE,MAAM,QAAQ,CAAC;AACjD,OAAO,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAEvC,OAAO,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AAGlD;;;;;;;;;GASG;AACH,MAAM,CAAC,KAAK,UAAU,gBAAgB,CAClC,OAA6C,EAC7C,QAAgB,EAChB,QAAkB,EAClB,UAA+B,EAAE,EACjC,EAAW;IAEX,IAAI,CAAC,EAAE,EAAE,CAAC;QACN,EAAE,GAAG,MAAM,CAAC,aAAa,EAAE,CAAC,CAAC;IACjC,CAAC;IACD,MAAM,UAAU,GAAG,EAAE,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;IACrC,IAAI,CAAC,OAAO,CAAC,iBAAiB,EAAE,CAAC;QAC7B,OAAO,CAAC,iBAAiB,GAAG;YACxB,OAAO,EAAE,CAAC;YACV,YAAY,EAAE,IAAI;SACrB,CAAC;IACN,CAAC;IACD,4BAA4B;IAC5B,MAAM,KAAK,GAAG,MAAM,CAAC,UAAU,EAAE,QAAQ,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;IAC7D,MAAM,OAAO,GAAG,UAAU,CAAC,UAAU,EAAE,KAAK,CAAC,CAAC;IAC9C,wBAAwB;IACxB,EAAE,CAAC,KAAK,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAC;AAChC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"project.d.ts","sourceRoot":"","sources":["../../src/project-discovery/project.ts"],"names":[],"mappings":"AAKA,OAAO,EAAa,KAAK,YAAY,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"project.d.ts","sourceRoot":"","sources":["../../src/project-discovery/project.ts"],"names":[],"mappings":"AAKA,OAAO,EAAa,KAAK,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAEjE,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAmC7C;;;;;;;GAOG;AACH,wBAAsB,uCAAuC,CACzD,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE;IAAE,MAAM,CAAC,EAAE,MAAM,CAAA;CAAE,GAC9B,OAAO,CAAC,YAAY,CAAC,CA+BvB"}
|
|
@@ -1,11 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
const project_access_1 = require("@sap-ux/project-access");
|
|
7
|
-
const jsonc_parser_1 = require("jsonc-parser");
|
|
8
|
-
const types_1 = require("../types");
|
|
1
|
+
import { promises as fs } from 'node:fs';
|
|
2
|
+
import { basename, join } from 'node:path';
|
|
3
|
+
import { DirName, FileName, readUi5Yaml } from '@sap-ux/project-access';
|
|
4
|
+
import { parse } from 'jsonc-parser';
|
|
5
|
+
import { Arguments } from '../types/index.js';
|
|
9
6
|
/**
|
|
10
7
|
* Find out starting HTML file for project using package.json.
|
|
11
8
|
*
|
|
@@ -13,8 +10,8 @@ const types_1 = require("../types");
|
|
|
13
10
|
* @returns file to start launch configuration with.
|
|
14
11
|
*/
|
|
15
12
|
async function getStartFileFromPackageFile(projectRoot) {
|
|
16
|
-
const pckJsonPath =
|
|
17
|
-
const packageJson =
|
|
13
|
+
const pckJsonPath = join(projectRoot, FileName.Package);
|
|
14
|
+
const packageJson = parse(await fs.readFile(pckJsonPath, { encoding: 'utf8' }));
|
|
18
15
|
const scripts = packageJson.scripts;
|
|
19
16
|
// default html file
|
|
20
17
|
let startHtmlFile = 'test/flpSandbox.html';
|
|
@@ -25,8 +22,8 @@ async function getStartFileFromPackageFile(projectRoot) {
|
|
|
25
22
|
if (match && key === 'start') {
|
|
26
23
|
const scriptParts = value?.split(' ');
|
|
27
24
|
// search for --open argument
|
|
28
|
-
const openIndex = scriptParts?.indexOf(
|
|
29
|
-
? scriptParts?.indexOf(
|
|
25
|
+
const openIndex = scriptParts?.indexOf(Arguments.Open) !== -1
|
|
26
|
+
? scriptParts?.indexOf(Arguments.Open)
|
|
30
27
|
: scriptParts.indexOf('-o');
|
|
31
28
|
if (openIndex !== undefined && openIndex !== -1 && scriptParts) {
|
|
32
29
|
startHtmlFile = scriptParts[openIndex + 1];
|
|
@@ -45,7 +42,7 @@ async function getStartFileFromPackageFile(projectRoot) {
|
|
|
45
42
|
* @param options.logger - optional, the logger instance.
|
|
46
43
|
* @returns default configuration options.
|
|
47
44
|
*/
|
|
48
|
-
async function getDefaultLaunchConfigOptionsForProject(projectRoot, options) {
|
|
45
|
+
export async function getDefaultLaunchConfigOptionsForProject(projectRoot, options) {
|
|
49
46
|
const logger = options?.logger;
|
|
50
47
|
let name = '';
|
|
51
48
|
let ui5Version = '';
|
|
@@ -54,13 +51,13 @@ async function getDefaultLaunchConfigOptionsForProject(projectRoot, options) {
|
|
|
54
51
|
let oDataVersion; // 4.0 or 2.0
|
|
55
52
|
const visible = true;
|
|
56
53
|
try {
|
|
57
|
-
const manifestPath =
|
|
58
|
-
const manifestContent =
|
|
54
|
+
const manifestPath = join(projectRoot, DirName.Webapp, FileName.Manifest);
|
|
55
|
+
const manifestContent = parse(await fs.readFile(manifestPath, { encoding: 'utf8' }));
|
|
59
56
|
oDataVersion = manifestContent['sap.app']?.dataSources?.mainService.settings?.odataVersion;
|
|
60
|
-
name = `Launch Fiori app: ${
|
|
57
|
+
name = `Launch Fiori app: ${basename(projectRoot)}`;
|
|
61
58
|
ui5Version = 'latest'; // reactivate code to find ui5 version in project-access
|
|
62
59
|
startFile = await getStartFileFromPackageFile(projectRoot);
|
|
63
|
-
const ui5YamlConfig = await
|
|
60
|
+
const ui5YamlConfig = await readUi5Yaml(projectRoot, FileName.Ui5Yaml);
|
|
64
61
|
// read backend configurations from ui5.yaml
|
|
65
62
|
backendConfigs =
|
|
66
63
|
ui5YamlConfig.findCustomMiddleware('fiori-tools-proxy')?.configuration.backend;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"project.js","sourceRoot":"","sources":["../../src/project-discovery/project.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"project.js","sourceRoot":"","sources":["../../src/project-discovery/project.ts"],"names":[],"mappings":"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"}
|
package/dist/types/constants.js
CHANGED
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
exports.FIORI_TOOLS_LAUNCH_CONFIG_HANDLER_ID = 'fiori_tools';
|
|
5
|
-
exports.LAUNCH_JSON_FILE = 'launch.json';
|
|
6
|
-
exports.RUN_SCRIPT = 'run-script';
|
|
1
|
+
export const FIORI_TOOLS_LAUNCH_CONFIG_HANDLER_ID = 'fiori_tools';
|
|
2
|
+
export const LAUNCH_JSON_FILE = 'launch.json';
|
|
3
|
+
export const RUN_SCRIPT = 'run-script';
|
|
7
4
|
//# sourceMappingURL=constants.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../src/types/constants.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../src/types/constants.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,oCAAoC,GAAG,aAAa,CAAC;AAClE,MAAM,CAAC,MAAM,gBAAgB,GAAG,aAAa,CAAC;AAC9C,MAAM,CAAC,MAAM,UAAU,GAAG,YAAY,CAAC"}
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from './types';
|
|
2
|
-
export * from './constants';
|
|
1
|
+
export * from './types.js';
|
|
2
|
+
export * from './constants.js';
|
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,gBAAgB,CAAC"}
|
package/dist/types/index.js
CHANGED
|
@@ -1,19 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./types"), exports);
|
|
18
|
-
__exportStar(require("./constants"), exports);
|
|
1
|
+
export * from './types.js';
|
|
2
|
+
export * from './constants.js';
|
|
19
3
|
//# sourceMappingURL=index.js.map
|
package/dist/types/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,gBAAgB,CAAC"}
|
package/dist/types/types.js
CHANGED
|
@@ -1,10 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.Arguments = void 0;
|
|
4
|
-
var Arguments;
|
|
1
|
+
export var Arguments;
|
|
5
2
|
(function (Arguments) {
|
|
6
3
|
Arguments["FrameworkVersion"] = "--framework-version";
|
|
7
4
|
Arguments["Open"] = "--open";
|
|
8
5
|
Arguments["Config"] = "--config";
|
|
9
|
-
})(Arguments || (
|
|
6
|
+
})(Arguments || (Arguments = {}));
|
|
10
7
|
//# sourceMappingURL=types.js.map
|
package/dist/types/types.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/types/types.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/types/types.ts"],"names":[],"mappings":"AAGA,MAAM,CAAN,IAAY,SAIX;AAJD,WAAY,SAAS;IACjB,qDAAwC,CAAA;IACxC,4BAAe,CAAA;IACf,gCAAmB,CAAA;AACvB,CAAC,EAJW,SAAS,KAAT,SAAS,QAIpB"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sap-ux/launch-config",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "1.0.0",
|
|
4
4
|
"description": "SAP Fiori tools launch config administration",
|
|
5
|
+
"type": "module",
|
|
5
6
|
"repository": {
|
|
6
7
|
"type": "git",
|
|
7
8
|
"url": "https://github.com/SAP/open-ux-tools.git",
|
|
@@ -27,15 +28,16 @@
|
|
|
27
28
|
"mem-fs": "2.1.0",
|
|
28
29
|
"mem-fs-editor": "9.4.0",
|
|
29
30
|
"yargs-parser": "21.1.1",
|
|
30
|
-
"@sap-ux/project-access": "
|
|
31
|
-
"@sap-ux/ui5-config": "0.
|
|
32
|
-
"@sap-ux/ui5-info": "0.
|
|
31
|
+
"@sap-ux/project-access": "2.0.0",
|
|
32
|
+
"@sap-ux/ui5-config": "1.0.0",
|
|
33
|
+
"@sap-ux/ui5-info": "1.0.0"
|
|
33
34
|
},
|
|
34
35
|
"devDependencies": {
|
|
36
|
+
"@jest/globals": "30.3.0",
|
|
35
37
|
"@types/mem-fs": "1.1.2",
|
|
36
38
|
"@types/mem-fs-editor": "7.0.1",
|
|
37
39
|
"@types/yargs-parser": "21.0.3",
|
|
38
|
-
"@sap-ux/logger": "0.
|
|
40
|
+
"@sap-ux/logger": "1.0.0"
|
|
39
41
|
},
|
|
40
42
|
"scripts": {
|
|
41
43
|
"build": "tsc --build",
|
|
@@ -43,7 +45,7 @@
|
|
|
43
45
|
"format": "prettier --write '**/*.{js,json,ts,yaml,yml}' --ignore-path ../../.prettierignore",
|
|
44
46
|
"lint": "eslint",
|
|
45
47
|
"lint:fix": "eslint --fix",
|
|
46
|
-
"test": "jest --ci --forceExit --detectOpenHandles --colors",
|
|
48
|
+
"test": "cross-env NODE_OPTIONS='--experimental-vm-modules' jest --ci --forceExit --detectOpenHandles --colors",
|
|
47
49
|
"watch": "tsc --watch"
|
|
48
50
|
}
|
|
49
51
|
}
|