@sap-ux/environment-check 0.19.4 → 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/archive/index.d.ts.map +1 -1
- package/dist/archive/index.js +21 -59
- package/dist/archive/index.js.map +1 -1
- package/dist/checks/destination.d.ts +2 -2
- package/dist/checks/destination.d.ts.map +1 -1
- package/dist/checks/destination.js +31 -39
- package/dist/checks/destination.js.map +1 -1
- package/dist/checks/endpoint.d.ts +1 -1
- package/dist/checks/endpoint.d.ts.map +1 -1
- package/dist/checks/endpoint.js +16 -20
- package/dist/checks/endpoint.js.map +1 -1
- package/dist/checks/environment.d.ts +1 -1
- package/dist/checks/environment.d.ts.map +1 -1
- package/dist/checks/environment.js +72 -77
- package/dist/checks/environment.js.map +1 -1
- package/dist/checks/get-installed.d.ts +1 -1
- package/dist/checks/get-installed.d.ts.map +1 -1
- package/dist/checks/get-installed.js +30 -36
- package/dist/checks/get-installed.js.map +1 -1
- package/dist/checks/index.d.ts +4 -4
- package/dist/checks/index.d.ts.map +1 -1
- package/dist/checks/index.js +4 -15
- package/dist/checks/index.js.map +1 -1
- package/dist/checks/service-checks.d.ts +1 -1
- package/dist/checks/service-checks.d.ts.map +1 -1
- package/dist/checks/service-checks.js +43 -50
- package/dist/checks/service-checks.js.map +1 -1
- package/dist/checks/stored-system.d.ts +1 -1
- package/dist/checks/stored-system.d.ts.map +1 -1
- package/dist/checks/stored-system.js +19 -23
- package/dist/checks/stored-system.js.map +1 -1
- package/dist/checks/workspace.d.ts +1 -1
- package/dist/checks/workspace.d.ts.map +1 -1
- package/dist/checks/workspace.js +22 -58
- package/dist/checks/workspace.js.map +1 -1
- package/dist/cli/index.js +34 -35
- package/dist/cli/index.js.map +1 -1
- package/dist/command.js +7 -14
- package/dist/command.js.map +1 -1
- package/dist/formatter.js +4 -10
- package/dist/formatter.js.map +1 -1
- package/dist/i18n.js +8 -16
- package/dist/i18n.js.map +1 -1
- package/dist/index.d.ts +4 -4
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4 -25
- package/dist/index.js.map +1 -1
- package/dist/logger.d.ts +1 -1
- package/dist/logger.d.ts.map +1 -1
- package/dist/logger.js +6 -9
- package/dist/logger.js.map +1 -1
- package/dist/output/index.d.ts +3 -3
- package/dist/output/index.d.ts.map +1 -1
- package/dist/output/index.js +3 -19
- package/dist/output/index.js.map +1 -1
- package/dist/output/markdown.d.ts +1 -1
- package/dist/output/markdown.d.ts.map +1 -1
- package/dist/output/markdown.js +59 -62
- package/dist/output/markdown.js.map +1 -1
- package/dist/output/string.d.ts +1 -1
- package/dist/output/string.d.ts.map +1 -1
- package/dist/output/string.js +3 -6
- package/dist/output/string.js.map +1 -1
- package/dist/output/zip.d.ts +1 -1
- package/dist/output/zip.d.ts.map +1 -1
- package/dist/output/zip.js +8 -44
- package/dist/output/zip.js.map +1 -1
- package/dist/types.js +35 -14
- package/dist/types.js.map +1 -1
- package/package.json +11 -9
package/dist/cli/index.js
CHANGED
|
@@ -1,17 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
const minimist_1 = __importDefault(require("minimist"));
|
|
10
|
-
const prompts_1 = __importDefault(require("prompts"));
|
|
11
|
-
const types_1 = require("../types");
|
|
12
|
-
const markdown_1 = require("../output/markdown");
|
|
13
|
-
const environment_1 = require("../checks/environment");
|
|
14
|
-
const output_1 = require("../output");
|
|
1
|
+
import { writeFile } from 'node:fs';
|
|
2
|
+
import { t } from '../i18n.js';
|
|
3
|
+
import minimist from 'minimist';
|
|
4
|
+
import prompts from 'prompts';
|
|
5
|
+
import { OutputMode, Severity } from '../types.js';
|
|
6
|
+
import { convertResultsToMarkdown } from '../output/markdown.js';
|
|
7
|
+
import { checkEnvironment } from '../checks/environment.js';
|
|
8
|
+
import { storeResultsZip } from '../output/index.js';
|
|
15
9
|
/**
|
|
16
10
|
* Output usage information to console.
|
|
17
11
|
*/
|
|
@@ -21,7 +15,7 @@ Usage: envcheck [<OPTIONS>] [<WORKSPACE_ROOT_A>] [<WORKSPACE_ROOT_..>]
|
|
|
21
15
|
|
|
22
16
|
Following <OPTIONS> are available:
|
|
23
17
|
--destination <DESTINATION> destination or stored SAP system to perform deep check, multiple destinations can be passed
|
|
24
|
-
--output ${Object.values(
|
|
18
|
+
--output ${Object.values(OutputMode).join(' | ')} format for output, if not specified all messages except 'info' are shown
|
|
25
19
|
|
|
26
20
|
<WORKSPACE_ROOT*> path the root folder of a workspace. Multiple roots can be defined.
|
|
27
21
|
We search for apps with destinations in workspaces
|
|
@@ -52,7 +46,7 @@ function getOptions(cliArgs) {
|
|
|
52
46
|
*/
|
|
53
47
|
async function writeToFile(filename, content) {
|
|
54
48
|
return new Promise((resolve, reject) => {
|
|
55
|
-
|
|
49
|
+
writeFile(filename, content, (error) => {
|
|
56
50
|
if (error) {
|
|
57
51
|
reject(error);
|
|
58
52
|
}
|
|
@@ -69,16 +63,16 @@ async function writeToFile(filename, content) {
|
|
|
69
63
|
async function outputResults(result, mode) {
|
|
70
64
|
for (const message of result.messages || []) {
|
|
71
65
|
switch (message.severity) {
|
|
72
|
-
case
|
|
66
|
+
case Severity.Error: {
|
|
73
67
|
console.error(`🔴 ${message.text}`);
|
|
74
68
|
break;
|
|
75
69
|
}
|
|
76
|
-
case
|
|
70
|
+
case Severity.Warning: {
|
|
77
71
|
console.warn(`🟡 ${message.text}`);
|
|
78
72
|
break;
|
|
79
73
|
}
|
|
80
|
-
case
|
|
81
|
-
if (mode ===
|
|
74
|
+
case Severity.Debug: {
|
|
75
|
+
if (mode === OutputMode.Verbose) {
|
|
82
76
|
console.info(`ℹ ${message.text}`);
|
|
83
77
|
}
|
|
84
78
|
break;
|
|
@@ -89,21 +83,21 @@ async function outputResults(result, mode) {
|
|
|
89
83
|
}
|
|
90
84
|
}
|
|
91
85
|
switch (mode) {
|
|
92
|
-
case
|
|
86
|
+
case OutputMode.Json: {
|
|
93
87
|
const filename = 'envcheck-results.json';
|
|
94
88
|
await writeToFile(filename, JSON.stringify(result, null, 4));
|
|
95
|
-
console.log(
|
|
89
|
+
console.log(t('info.jsonResults', { filename }));
|
|
96
90
|
break;
|
|
97
91
|
}
|
|
98
|
-
case
|
|
99
|
-
const markdown =
|
|
92
|
+
case OutputMode.Markdown: {
|
|
93
|
+
const markdown = convertResultsToMarkdown(result);
|
|
100
94
|
const filename = 'envcheck-results.md';
|
|
101
95
|
await writeToFile(filename, markdown);
|
|
102
|
-
console.log(
|
|
96
|
+
console.log(t('info.markdownResults', { filename }));
|
|
103
97
|
break;
|
|
104
98
|
}
|
|
105
|
-
case
|
|
106
|
-
|
|
99
|
+
case OutputMode.Zip: {
|
|
100
|
+
storeResultsZip(result);
|
|
107
101
|
break;
|
|
108
102
|
}
|
|
109
103
|
default: {
|
|
@@ -118,8 +112,8 @@ async function outputResults(result, mode) {
|
|
|
118
112
|
* @returns user input for username and password
|
|
119
113
|
*/
|
|
120
114
|
async function credentialCallback(destination) {
|
|
121
|
-
console.log(
|
|
122
|
-
const { username, password } = await (
|
|
115
|
+
console.log(t('info.authRequired', { destination: destination.Name }));
|
|
116
|
+
const { username, password } = await prompts([
|
|
123
117
|
{
|
|
124
118
|
type: 'text',
|
|
125
119
|
name: 'username',
|
|
@@ -137,27 +131,32 @@ async function credentialCallback(destination) {
|
|
|
137
131
|
* Main function that checks command line arguments and calls environment check.
|
|
138
132
|
*
|
|
139
133
|
*/
|
|
140
|
-
async function cli() {
|
|
134
|
+
export async function cli() {
|
|
141
135
|
try {
|
|
142
|
-
const cliArgs = (
|
|
136
|
+
const cliArgs = minimist(process.argv.slice(2));
|
|
143
137
|
if (cliArgs.h || cliArgs.help) {
|
|
144
138
|
showHelp();
|
|
145
139
|
return;
|
|
146
140
|
}
|
|
147
141
|
const options = getOptions(cliArgs) || {};
|
|
148
142
|
options.credentialCallback = credentialCallback;
|
|
149
|
-
const result = await
|
|
150
|
-
const outputMode = Object.keys(
|
|
143
|
+
const result = await checkEnvironment(options);
|
|
144
|
+
const outputMode = Object.keys(OutputMode).find((key) => OutputMode[key] === cliArgs.output)
|
|
151
145
|
? cliArgs.output
|
|
152
146
|
: undefined;
|
|
153
147
|
await outputResults(result, outputMode);
|
|
154
148
|
}
|
|
155
149
|
catch (error) {
|
|
156
|
-
console.error(
|
|
150
|
+
console.error(t('error.checkingEnv', { error }));
|
|
157
151
|
}
|
|
158
152
|
}
|
|
159
153
|
/**
|
|
160
154
|
* Execute directly when this file is loaded.
|
|
161
155
|
*/
|
|
162
|
-
|
|
156
|
+
try {
|
|
157
|
+
await cli();
|
|
158
|
+
}
|
|
159
|
+
catch (error) {
|
|
160
|
+
console.error(error);
|
|
161
|
+
}
|
|
163
162
|
//# sourceMappingURL=index.js.map
|
package/dist/cli/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/cli/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/cli/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AACpC,OAAO,EAAE,CAAC,EAAE,MAAM,YAAY,CAAC;AAC/B,OAAO,QAAQ,MAAM,UAAU,CAAC;AAChC,OAAO,OAAO,MAAM,SAAS,CAAC;AAE9B,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACnD,OAAO,EAAE,wBAAwB,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAC5D,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAErD;;GAEG;AACH,SAAS,QAAQ;IACb,OAAO,CAAC,GAAG,CAAC;;;;;eAKD,MAAM,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC,IAAI,CACrC,KAA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AE,EAAE,CAAC,UAAU,CAAC,GAAG,CAAC,KAAK,OAAO,CAAC,MAAM,CAAC;YACxF,CAAC,CAAE,OAAO,CAAC,MAAqB;YAChC,CAAC,CAAC,SAAS,CAAC;QAChB,MAAM,aAAa,CAAC,MAAM,EAAE,UAAU,CAAC,CAAC;IAC5C,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACb,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC,mBAAmB,EAAE,EAAE,KAAK,EAAE,CAAC,CAAC,CAAC;IACrD,CAAC;AACL,CAAC;AAED;;GAEG;AACH,IAAI,CAAC;IACD,MAAM,GAAG,EAAE,CAAC;AAChB,CAAC;AAAC,OAAO,KAAK,EAAE,CAAC;IACb,OAAO,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;AACzB,CAAC"}
|
package/dist/command.js
CHANGED
|
@@ -1,22 +1,15 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.npmCommand = void 0;
|
|
7
|
-
exports.spawnCommand = spawnCommand;
|
|
8
|
-
const node_child_process_1 = require("node:child_process");
|
|
9
|
-
const node_os_1 = __importDefault(require("node:os"));
|
|
1
|
+
import { spawn } from 'node:child_process';
|
|
2
|
+
import os from 'node:os';
|
|
10
3
|
/**
|
|
11
4
|
* npm command is platform depending: Winows 'npm.cmd', Mac 'npm'
|
|
12
5
|
*/
|
|
13
|
-
|
|
6
|
+
export const npmCommand = process.platform.startsWith('win') ? 'npm.cmd' : 'npm';
|
|
14
7
|
/**
|
|
15
8
|
* Platform specific config for spawn to execute commands
|
|
16
9
|
*/
|
|
17
10
|
const spawnOptions = process.platform.startsWith('win')
|
|
18
|
-
? { windowsVerbatimArguments: true, shell: true, cwd:
|
|
19
|
-
: { cwd:
|
|
11
|
+
? { windowsVerbatimArguments: true, shell: true, cwd: os.homedir() }
|
|
12
|
+
: { cwd: os.homedir() };
|
|
20
13
|
/**
|
|
21
14
|
* Execute a command with arguments.
|
|
22
15
|
*
|
|
@@ -24,10 +17,10 @@ const spawnOptions = process.platform.startsWith('win')
|
|
|
24
17
|
* @param commandArgs - command arguments, like --global
|
|
25
18
|
* @returns output
|
|
26
19
|
*/
|
|
27
|
-
function spawnCommand(command, commandArgs) {
|
|
20
|
+
export function spawnCommand(command, commandArgs) {
|
|
28
21
|
return new Promise((resolve, reject) => {
|
|
29
22
|
let output = '';
|
|
30
|
-
const spawnProcess =
|
|
23
|
+
const spawnProcess = spawn(command, commandArgs, spawnOptions);
|
|
31
24
|
spawnProcess.stdout.on('data', (data) => {
|
|
32
25
|
const newData = data.toString();
|
|
33
26
|
output += newData;
|
package/dist/command.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"command.js","sourceRoot":"","sources":["../src/command.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"command.js","sourceRoot":"","sources":["../src/command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAC;AAC3C,OAAO,EAAE,MAAM,SAAS,CAAC;AACzB;;GAEG;AACH,MAAM,CAAC,MAAM,UAAU,GAAG,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,KAAK,CAAC;AAEjF;;GAEG;AACH,MAAM,YAAY,GAAG,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAC,KAAK,CAAC;IACnD,CAAC,CAAC,EAAE,wBAAwB,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,GAAG,EAAE,EAAE,CAAC,OAAO,EAAE,EAAE;IACpE,CAAC,CAAC,EAAE,GAAG,EAAE,EAAE,CAAC,OAAO,EAAE,EAAE,CAAC;AAE5B;;;;;;GAMG;AACH,MAAM,UAAU,YAAY,CAAC,OAAe,EAAE,WAAqB;IAC/D,OAAO,IAAI,OAAO,CAAC,CAAC,OAAO,EAAE,MAAM,EAAE,EAAE;QACnC,IAAI,MAAM,GAAG,EAAE,CAAC;QAChB,MAAM,YAAY,GAAG,KAAK,CAAC,OAAO,EAAE,WAAW,EAAE,YAAY,CAAC,CAAC;QAC/D,YAAY,CAAC,MAAM,CAAC,EAAE,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,EAAE;YACpC,MAAM,OAAO,GAAG,IAAI,CAAC,QAAQ,EAAE,CAAC;YAChC,MAAM,IAAI,OAAO,CAAC;QACtB,CAAC,CAAC,CAAC;QACH,YAAY,CAAC,MAAM,CAAC,EAAE,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,EAAE;YACpC,MAAM,OAAO,GAAG,IAAI,CAAC,QAAQ,EAAE,CAAC;YAChC,MAAM,IAAI,OAAO,CAAC;QACtB,CAAC,CAAC,CAAC;QACH,YAAY,CAAC,EAAE,CAAC,MAAM,EAAE,GAAG,EAAE;YACzB,OAAO,CAAC,MAAM,CAAC,CAAC;QACpB,CAAC,CAAC,CAAC;QACH,YAAY,CAAC,EAAE,CAAC,OAAO,EAAE,CAAC,KAAK,EAAE,EAAE;YAC/B,MAAM,CAAC,KAAK,CAAC,CAAC;QAClB,CAAC,CAAC,CAAC;IACP,CAAC,CAAC,CAAC;AACP,CAAC"}
|
package/dist/formatter.js
CHANGED
|
@@ -1,16 +1,10 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.countNumberOfServices = countNumberOfServices;
|
|
4
|
-
exports.getServiceCountText = getServiceCountText;
|
|
5
|
-
exports.getCircularReplacer = getCircularReplacer;
|
|
6
|
-
exports.byteNumberToSizeString = byteNumberToSizeString;
|
|
7
1
|
/**
|
|
8
2
|
* Count the number of services from the result of a catalog call.
|
|
9
3
|
*
|
|
10
4
|
* @param catalogResult - V2 or V4 result of catalog call
|
|
11
5
|
* @returns - number of services
|
|
12
6
|
*/
|
|
13
|
-
function countNumberOfServices(catalogResult) {
|
|
7
|
+
export function countNumberOfServices(catalogResult) {
|
|
14
8
|
let numberServices = 0;
|
|
15
9
|
if (Array.isArray(catalogResult)) {
|
|
16
10
|
numberServices = catalogResult.length;
|
|
@@ -23,7 +17,7 @@ function countNumberOfServices(catalogResult) {
|
|
|
23
17
|
* @param count - number of service
|
|
24
18
|
* @returns - string with number of services
|
|
25
19
|
*/
|
|
26
|
-
function getServiceCountText(count) {
|
|
20
|
+
export function getServiceCountText(count) {
|
|
27
21
|
return count === 1 ? `${count} service` : `${count} services`;
|
|
28
22
|
}
|
|
29
23
|
/**
|
|
@@ -33,7 +27,7 @@ function getServiceCountText(count) {
|
|
|
33
27
|
* @example JSON.stringify(object, getCircularReplacer());
|
|
34
28
|
* @returns - replacer that replaces circular structures
|
|
35
29
|
*/
|
|
36
|
-
function getCircularReplacer() {
|
|
30
|
+
export function getCircularReplacer() {
|
|
37
31
|
const seen = new WeakSet();
|
|
38
32
|
return (key, value) => {
|
|
39
33
|
if (typeof value === 'object' && value !== null) {
|
|
@@ -51,7 +45,7 @@ function getCircularReplacer() {
|
|
|
51
45
|
* @param byteNumber - int number of bytes
|
|
52
46
|
* @returns output string
|
|
53
47
|
*/
|
|
54
|
-
function byteNumberToSizeString(byteNumber) {
|
|
48
|
+
export function byteNumberToSizeString(byteNumber) {
|
|
55
49
|
if (byteNumber === 0) {
|
|
56
50
|
return '0 Bytes';
|
|
57
51
|
}
|
package/dist/formatter.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"formatter.js","sourceRoot":"","sources":["../src/formatter.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"formatter.js","sourceRoot":"","sources":["../src/formatter.ts"],"names":[],"mappings":"AAEA;;;;;GAKG;AACH,MAAM,UAAU,qBAAqB,CAAC,aAAkC;IACpE,IAAI,cAAc,GAAG,CAAC,CAAC;IACvB,IAAI,KAAK,CAAC,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I,EAAE,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,IAAI,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC;AAC3F,CAAC"}
|
package/dist/i18n.js
CHANGED
|
@@ -1,23 +1,15 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.i18n = void 0;
|
|
7
|
-
exports.initI18n = initI18n;
|
|
8
|
-
exports.t = t;
|
|
9
|
-
const i18next_1 = __importDefault(require("i18next"));
|
|
10
|
-
const env_check_i18n_json_1 = __importDefault(require("./translations/env-check.i18n.json"));
|
|
1
|
+
import i18next from 'i18next';
|
|
2
|
+
import translations from './translations/env-check.i18n.json' with { type: 'json' };
|
|
11
3
|
const NS = 'environment-check';
|
|
12
|
-
|
|
4
|
+
export const i18n = i18next.createInstance();
|
|
13
5
|
/**
|
|
14
6
|
* Initialize i18next with the translations for this module.
|
|
15
7
|
*/
|
|
16
|
-
async function initI18n() {
|
|
17
|
-
await
|
|
8
|
+
export async function initI18n() {
|
|
9
|
+
await i18n.init({
|
|
18
10
|
resources: {
|
|
19
11
|
en: {
|
|
20
|
-
[NS]:
|
|
12
|
+
[NS]: translations
|
|
21
13
|
}
|
|
22
14
|
},
|
|
23
15
|
lng: 'en',
|
|
@@ -34,8 +26,8 @@ async function initI18n() {
|
|
|
34
26
|
* @param options additional options
|
|
35
27
|
* @returns {string} localized string stored for the given key
|
|
36
28
|
*/
|
|
37
|
-
function t(key, options) {
|
|
38
|
-
return
|
|
29
|
+
export function t(key, options) {
|
|
30
|
+
return i18n.t(key, options);
|
|
39
31
|
}
|
|
40
32
|
initI18n().catch(() => {
|
|
41
33
|
// Ignore any errors since the checks will still work
|
package/dist/i18n.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"i18n.js","sourceRoot":"","sources":["../src/i18n.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"i18n.js","sourceRoot":"","sources":["../src/i18n.ts"],"names":[],"mappings":"AACA,OAAO,OAAO,MAAM,SAAS,CAAC;AAC9B,OAAO,YAAY,MAAM,oCAAoC,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAC;AAEpF,MAAM,EAAE,GAAG,mBAAmB,CAAC;AAC/B,MAAM,CAAC,MAAM,IAAI,GAAa,OAAO,CAAC,cAAc,EAAE,CAAC;AAEvD;;GAEG;AACH,MAAM,CAAC,KAAK,UAAU,QAAQ;IAC1B,MAAM,IAAI,CAAC,IAAI,CAAC;QACZ,SAAS,EAAE;YACP,EAAE,EAAE;gBACA,CAAC,EAAE,CAAC,EAAE,YAAY;aACrB;SACJ;QACD,GAAG,EAAE,IAAI;QACT,WAAW,EAAE,IAAI;QACjB,SAAS,EAAE,EAAE;QACb,EAAE,EAAE,CAAC,EAAE,CAAC;QACR,iBAAiB,EAAE,KAAK;KAC3B,CAAC,CAAC;AACP,CAAC;AAED;;;;;;GAMG;AACH,MAAM,UAAU,CAAC,CAAC,GAAW,EAAE,OAAkB;IAC7C,OAAQ,IAAI,CAAC,CAA8C,CAAC,GAAG,EAAE,OAAO,CAAC,CAAC;AAC9E,CAAC;AAED,QAAQ,EAAE,CAAC,KAAK,CAAC,GAAG,EAAE;IAClB,qDAAqD;AACzD,CAAC,CAAC,CAAC"}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export * from './types';
|
|
2
|
-
export * from './checks';
|
|
3
|
-
export { convertResultsToMarkdown, storeResultsZip, convertResultsToString } from './output';
|
|
4
|
-
export { archiveProject } from './archive';
|
|
1
|
+
export * from './types.js';
|
|
2
|
+
export * from './checks/index.js';
|
|
3
|
+
export { convertResultsToMarkdown, storeResultsZip, convertResultsToString } from './output/index.js';
|
|
4
|
+
export { archiveProject } from './archive/index.js';
|
|
5
5
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,mBAAmB,CAAC;AAClC,OAAO,EAAE,wBAAwB,EAAE,eAAe,EAAE,sBAAsB,EAAE,MAAM,mBAAmB,CAAC;AACtG,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -1,26 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
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
|
-
exports.archiveProject = exports.convertResultsToString = exports.storeResultsZip = exports.convertResultsToMarkdown = void 0;
|
|
18
|
-
__exportStar(require("./types"), exports);
|
|
19
|
-
__exportStar(require("./checks"), exports);
|
|
20
|
-
var output_1 = require("./output");
|
|
21
|
-
Object.defineProperty(exports, "convertResultsToMarkdown", { enumerable: true, get: function () { return output_1.convertResultsToMarkdown; } });
|
|
22
|
-
Object.defineProperty(exports, "storeResultsZip", { enumerable: true, get: function () { return output_1.storeResultsZip; } });
|
|
23
|
-
Object.defineProperty(exports, "convertResultsToString", { enumerable: true, get: function () { return output_1.convertResultsToString; } });
|
|
24
|
-
var archive_1 = require("./archive");
|
|
25
|
-
Object.defineProperty(exports, "archiveProject", { enumerable: true, get: function () { return archive_1.archiveProject; } });
|
|
1
|
+
export * from './types.js';
|
|
2
|
+
export * from './checks/index.js';
|
|
3
|
+
export { convertResultsToMarkdown, storeResultsZip, convertResultsToString } from './output/index.js';
|
|
4
|
+
export { archiveProject } from './archive/index.js';
|
|
26
5
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,mBAAmB,CAAC;AAClC,OAAO,EAAE,wBAAwB,EAAE,eAAe,EAAE,sBAAsB,EAAE,MAAM,mBAAmB,CAAC;AACtG,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC"}
|
package/dist/logger.d.ts
CHANGED
package/dist/logger.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"logger.d.ts","sourceRoot":"","sources":["../src/logger.ts"],"names":[],"mappings":"AAAA,OAAO,EAAkB,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAE7D,OAAO,KAAK,EAAE,OAAO,EAAE,aAAa,EAAY,MAAM,
|
|
1
|
+
{"version":3,"file":"logger.d.ts","sourceRoot":"","sources":["../src/logger.ts"],"names":[],"mappings":"AAAA,OAAO,EAAkB,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAE7D,OAAO,KAAK,EAAE,OAAO,EAAE,aAAa,EAAY,MAAM,YAAY,CAAC;AAEnE;;GAEG;AACH,cAAM,MAAO,SAAQ,WAAY,YAAW,OAAO;;IAK/C;;;;OAIG;IACH,IAAI,CAAC,GAAG,WAAW,EAAE,aAAa,EAAE,GAAG,IAAI;IAM3C;;;;OAIG;IACH,WAAW,IAAI,aAAa,EAAE;CAWjC;AAED;;;;;GAKG;AACH,wBAAgB,SAAS,IAAI,MAAM,CAElC"}
|
package/dist/logger.js
CHANGED
|
@@ -1,13 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.getLogger = getLogger;
|
|
4
|
-
const logger_1 = require("@sap-ux/logger");
|
|
1
|
+
import { ArrayTransport, ToolsLogger } from '@sap-ux/logger';
|
|
5
2
|
/**
|
|
6
3
|
* Logger to collect messages while performing checks
|
|
7
4
|
*/
|
|
8
|
-
class Logger extends
|
|
5
|
+
class Logger extends ToolsLogger {
|
|
9
6
|
constructor() {
|
|
10
|
-
super({ transports: [new
|
|
7
|
+
super({ transports: [new ArrayTransport()] });
|
|
11
8
|
}
|
|
12
9
|
/**
|
|
13
10
|
* Log multiple messages at once.
|
|
@@ -26,8 +23,8 @@ class Logger extends logger_1.ToolsLogger {
|
|
|
26
23
|
*/
|
|
27
24
|
getMessages() {
|
|
28
25
|
let messages = [];
|
|
29
|
-
const transport = this.transports().find((t) => t instanceof
|
|
30
|
-
if (transport instanceof
|
|
26
|
+
const transport = this.transports().find((t) => t instanceof ArrayTransport);
|
|
27
|
+
if (transport instanceof ArrayTransport) {
|
|
31
28
|
messages = transport.logs.map((message) => ({
|
|
32
29
|
severity: message.level,
|
|
33
30
|
text: message.message
|
|
@@ -42,7 +39,7 @@ class Logger extends logger_1.ToolsLogger {
|
|
|
42
39
|
*
|
|
43
40
|
* @returns logger to log messages
|
|
44
41
|
*/
|
|
45
|
-
function getLogger() {
|
|
42
|
+
export function getLogger() {
|
|
46
43
|
return new Logger();
|
|
47
44
|
}
|
|
48
45
|
//# sourceMappingURL=logger.js.map
|
package/dist/logger.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"logger.js","sourceRoot":"","sources":["../src/logger.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"logger.js","sourceRoot":"","sources":["../src/logger.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAI7D;;GAEG;AACH,MAAM,MAAO,SAAQ,WAAW;IAC5B;QACI,KAAK,CAAC,EAAE,UAAU,EAAE,CAAC,IAAI,cAAc,EAAE,CAAC,EAAE,CAAC,CAAC;IAClD,CAAC;IAED;;;;OAIG;IACH,IAAI,CAAC,GAAG,WAA4B;QAChC,KAAK,MAAM,OAAO,IAAI,WAAW,EAAE,CAAC;YAChC,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;QACzC,CAAC;IACL,CAAC;IAED;;;;OAIG;IACH,WAAW;QACP,IAAI,QAAQ,GAAoB,EAAE,CAAC;QACnC,MAAM,SAAS,GAAG,IAAI,CAAC,UAAU,EAAE,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,YAAY,cAAc,CAAC,CAAC;QAC7E,IAAI,SAAS,YAAY,cAAc,EAAE,CAAC;YACtC,QAAQ,GAAG,SAAS,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,OAA+B,EAAE,EAAE,CAAC,CAAC;gBAChE,QAAQ,EAAE,OAAO,CAAC,KAAiB;gBACnC,IAAI,EAAE,OAAO,CAAC,OAAO;aACxB,CAAC,CAAC,CAAC;QACR,CAAC;QACD,OAAO,QAAQ,CAAC;IACpB,CAAC;CACJ;AAED;;;;;GAKG;AACH,MAAM,UAAU,SAAS;IACrB,OAAO,IAAI,MAAM,EAAE,CAAC;AACxB,CAAC"}
|
package/dist/output/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * from './markdown';
|
|
2
|
-
export * from './zip';
|
|
3
|
-
export * from './string';
|
|
1
|
+
export * from './markdown.js';
|
|
2
|
+
export * from './zip.js';
|
|
3
|
+
export * from './string.js';
|
|
4
4
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/output/index.ts"],"names":[],"mappings":"AAAA,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/output/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,UAAU,CAAC;AACzB,cAAc,aAAa,CAAC"}
|
package/dist/output/index.js
CHANGED
|
@@ -1,20 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
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("./markdown"), exports);
|
|
18
|
-
__exportStar(require("./zip"), exports);
|
|
19
|
-
__exportStar(require("./string"), exports);
|
|
1
|
+
export * from './markdown.js';
|
|
2
|
+
export * from './zip.js';
|
|
3
|
+
export * from './string.js';
|
|
20
4
|
//# sourceMappingURL=index.js.map
|
package/dist/output/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/output/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/output/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,UAAU,CAAC;AACzB,cAAc,aAAa,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"markdown.d.ts","sourceRoot":"","sources":["../../src/output/markdown.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAGR,sBAAsB,EAMzB,MAAM,
|
|
1
|
+
{"version":3,"file":"markdown.d.ts","sourceRoot":"","sources":["../../src/output/markdown.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAGR,sBAAsB,EAMzB,MAAM,aAAa,CAAC;AAwVrB;;;;;GAKG;AACH,wBAAgB,wBAAwB,CAAC,OAAO,EAAE,sBAAsB,GAAG,MAAM,CAkChF"}
|