@ui5/cli 3.1.3 → 3.2.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/CHANGELOG.md +14 -1
- package/lib/cli/base.js +1 -1
- package/lib/cli/commands/build.js +12 -1
- package/lib/cli/commands/serve.js +14 -3
- package/lib/cli/commands/tree.js +69 -14
- package/npm-shrinkwrap.json +71 -71
- package/package.json +9 -9
package/CHANGELOG.md
CHANGED
|
@@ -2,7 +2,19 @@
|
|
|
2
2
|
All notable changes to this project will be documented in this file.
|
|
3
3
|
This project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
|
|
4
4
|
|
|
5
|
-
A list of unreleased changes can be found [here](https://github.com/SAP/ui5-cli/compare/v3.
|
|
5
|
+
A list of unreleased changes can be found [here](https://github.com/SAP/ui5-cli/compare/v3.2.0...HEAD).
|
|
6
|
+
|
|
7
|
+
<a name="v3.2.0"></a>
|
|
8
|
+
## [v3.2.0] - 2023-06-06
|
|
9
|
+
### Dependency Updates
|
|
10
|
+
- Bump [@ui5](https://github.com/ui5)/project from 3.3.1 to 3.3.2 [`a508e96`](https://github.com/SAP/ui5-cli/commit/a508e966fb15de82c64754171fbd2202af3128e3)
|
|
11
|
+
- Bump [@ui5](https://github.com/ui5)/server from 3.1.2 to 3.1.3 [`888fc0c`](https://github.com/SAP/ui5-cli/commit/888fc0cf918994cab1e3c84beac757e609a61566)
|
|
12
|
+
- Bump [@ui5](https://github.com/ui5)/builder from 3.0.4 to 3.0.5 [`1155cfc`](https://github.com/SAP/ui5-cli/commit/1155cfccb57f7d588063999719d1a0814fd7e939)
|
|
13
|
+
|
|
14
|
+
### Features
|
|
15
|
+
- **SNAPSHOT Consumption:** Add cache-mode parameter ([#633](https://github.com/SAP/ui5-cli/issues/633)) [`61d0865`](https://github.com/SAP/ui5-cli/commit/61d0865416eaee9bfc08195f636c60ad4f64e13f)
|
|
16
|
+
- **ui5 tree:** Add 'level' and 'flat' parameters ([#635](https://github.com/SAP/ui5-cli/issues/635)) [`284d9ea`](https://github.com/SAP/ui5-cli/commit/284d9ea9f75967257859b7763e7b9a09a3b219cf)
|
|
17
|
+
|
|
6
18
|
|
|
7
19
|
<a name="v3.1.3"></a>
|
|
8
20
|
## [v3.1.3] - 2023-05-23
|
|
@@ -1039,6 +1051,7 @@ Only Node.js v10 or higher is supported.
|
|
|
1039
1051
|
|
|
1040
1052
|
<a name="v0.0.1"></a>
|
|
1041
1053
|
## v0.0.1 - 2018-06-06
|
|
1054
|
+
[v3.2.0]: https://github.com/SAP/ui5-cli/compare/v3.1.3...v3.2.0
|
|
1042
1055
|
[v3.1.3]: https://github.com/SAP/ui5-cli/compare/v3.1.2...v3.1.3
|
|
1043
1056
|
[v3.1.2]: https://github.com/SAP/ui5-cli/compare/v3.1.1...v3.1.2
|
|
1044
1057
|
[v3.1.1]: https://github.com/SAP/ui5-cli/compare/v3.1.0...v3.1.1
|
package/lib/cli/base.js
CHANGED
|
@@ -101,6 +101,15 @@ build.builder = function(cli) {
|
|
|
101
101
|
describe: "Overrides the framework version defined by the project",
|
|
102
102
|
type: "string"
|
|
103
103
|
})
|
|
104
|
+
.option("cache-mode", {
|
|
105
|
+
describe:
|
|
106
|
+
"Cache mode to use when consuming SNAPSHOT versions of a framework: 'Default', 'Force', or 'Off'. " +
|
|
107
|
+
"The 'Default' behavior is to invalidate the cache after 9 hours. 'Force' uses the cache only and " +
|
|
108
|
+
"does not create any requests. 'Off' invalidates any existing cache and updates from the repository",
|
|
109
|
+
type: "string",
|
|
110
|
+
default: "Default",
|
|
111
|
+
choices: ["Default", "Force", "Off"]
|
|
112
|
+
})
|
|
104
113
|
.option("experimental-css-variables", {
|
|
105
114
|
describe:
|
|
106
115
|
"Generate CSS variables (css-variables.css, css-variables.source.less)" +
|
|
@@ -129,12 +138,14 @@ async function handleBuild(argv) {
|
|
|
129
138
|
graph = await graphFromStaticFile({
|
|
130
139
|
filePath: argv.dependencyDefinition,
|
|
131
140
|
rootConfigPath: argv.config,
|
|
132
|
-
versionOverride: argv.frameworkVersion
|
|
141
|
+
versionOverride: argv.frameworkVersion,
|
|
142
|
+
cacheMode: argv.cacheMode,
|
|
133
143
|
});
|
|
134
144
|
} else {
|
|
135
145
|
graph = await graphFromPackageDependencies({
|
|
136
146
|
rootConfigPath: argv.config,
|
|
137
147
|
versionOverride: argv.frameworkVersion,
|
|
148
|
+
cacheMode: argv.cacheMode,
|
|
138
149
|
workspaceConfigPath: argv.workspaceConfig,
|
|
139
150
|
workspaceName: argv.workspace === false ? null : argv.workspace,
|
|
140
151
|
});
|
|
@@ -65,11 +65,20 @@ serve.builder = function(cli) {
|
|
|
65
65
|
describe: "Overrides the framework version defined by the project",
|
|
66
66
|
type: "string"
|
|
67
67
|
})
|
|
68
|
+
.option("cache-mode", {
|
|
69
|
+
describe:
|
|
70
|
+
"Cache mode to use when consuming SNAPSHOT versions of a framework: 'Default', 'Force', or 'Off'. " +
|
|
71
|
+
"The 'Default' behavior is to invalidate the cache after 9 hours. 'Force' uses the cache only and " +
|
|
72
|
+
"does not create any requests. 'Off' invalidates any existing cache and updates from the repository",
|
|
73
|
+
type: "string",
|
|
74
|
+
default: "Default",
|
|
75
|
+
choices: ["Default", "Force", "Off"]
|
|
76
|
+
})
|
|
68
77
|
.example("ui5 serve", "Start a web server for the current project")
|
|
69
78
|
.example("ui5 serve --h2", "Enable the HTTP/2 protocol for the web server (requires SSL certificate)")
|
|
70
79
|
.example("ui5 serve --config /path/to/ui5.yaml", "Use the project configuration from a custom path")
|
|
71
|
-
.example("ui5 serve --
|
|
72
|
-
"Use a
|
|
80
|
+
.example("ui5 serve --dependency-definition /path/to/projectDependencies.yaml",
|
|
81
|
+
"Use a static dependency definition file")
|
|
73
82
|
.example("ui5 serve --port 1337 --open tests/QUnit.html",
|
|
74
83
|
"Listen to port 1337 and launch default browser with http://localhost:1337/test/QUnit.html");
|
|
75
84
|
};
|
|
@@ -83,12 +92,14 @@ serve.handler = async function(argv) {
|
|
|
83
92
|
if (argv.dependencyDefinition) {
|
|
84
93
|
graph = await graphFromStaticFile({
|
|
85
94
|
filePath: argv.dependencyDefinition,
|
|
86
|
-
versionOverride: argv.frameworkVersion
|
|
95
|
+
versionOverride: argv.frameworkVersion,
|
|
96
|
+
cacheMode: argv.cacheMode,
|
|
87
97
|
});
|
|
88
98
|
} else {
|
|
89
99
|
graph = await graphFromPackageDependencies({
|
|
90
100
|
rootConfigPath: argv.config,
|
|
91
101
|
versionOverride: argv.frameworkVersion,
|
|
102
|
+
cacheMode: argv.cacheMode,
|
|
92
103
|
workspaceConfigPath: argv.workspaceConfig,
|
|
93
104
|
workspaceName: argv.workspace === false ? null : argv.workspace,
|
|
94
105
|
});
|
package/lib/cli/commands/tree.js
CHANGED
|
@@ -4,6 +4,7 @@ import chalk from "chalk";
|
|
|
4
4
|
|
|
5
5
|
const tree = {
|
|
6
6
|
command: "tree",
|
|
7
|
+
aliases: ["ls", "list"],
|
|
7
8
|
describe:
|
|
8
9
|
"Outputs the dependency tree of the current project to stdout. " +
|
|
9
10
|
"It takes all relevant parameters of ui5 build into account.",
|
|
@@ -12,10 +13,28 @@ const tree = {
|
|
|
12
13
|
|
|
13
14
|
tree.builder = function(cli) {
|
|
14
15
|
return cli
|
|
16
|
+
.option("flat", {
|
|
17
|
+
describe: "Output a flat list of all dependencies instead of a tree hierarchy",
|
|
18
|
+
type: "boolean",
|
|
19
|
+
default: false
|
|
20
|
+
})
|
|
21
|
+
.option("level", {
|
|
22
|
+
describe: "Limit the number of levels shown in the tree hierarchy",
|
|
23
|
+
type: "number"
|
|
24
|
+
})
|
|
15
25
|
.option("framework-version", {
|
|
16
26
|
describe:
|
|
17
27
|
"Overrides the framework version defined by the project",
|
|
18
28
|
type: "string"
|
|
29
|
+
})
|
|
30
|
+
.option("cache-mode", {
|
|
31
|
+
describe:
|
|
32
|
+
"Cache mode to use when consuming SNAPSHOT versions of a framework: 'Default', 'Force', or 'Off'. " +
|
|
33
|
+
"The 'Default' behavior is to invalidate the cache after 9 hours. 'Force' uses the cache only and " +
|
|
34
|
+
"does not create any requests. 'Off' invalidates any existing cache and updates from the repository",
|
|
35
|
+
type: "string",
|
|
36
|
+
default: "Default",
|
|
37
|
+
choices: ["Default", "Force", "Off"]
|
|
19
38
|
});
|
|
20
39
|
};
|
|
21
40
|
|
|
@@ -30,12 +49,14 @@ tree.handler = async function(argv) {
|
|
|
30
49
|
if (argv.dependencyDefinition) {
|
|
31
50
|
graph = await graphFromStaticFile({
|
|
32
51
|
filePath: argv.dependencyDefinition,
|
|
33
|
-
versionOverride: argv.frameworkVersion
|
|
52
|
+
versionOverride: argv.frameworkVersion,
|
|
53
|
+
cacheMode: argv.cacheMode,
|
|
34
54
|
});
|
|
35
55
|
} else {
|
|
36
56
|
graph = await graphFromPackageDependencies({
|
|
37
57
|
rootConfigPath: argv.config,
|
|
38
58
|
versionOverride: argv.frameworkVersion,
|
|
59
|
+
cacheMode: argv.cacheMode,
|
|
39
60
|
workspaceConfigPath: argv.workspaceConfig,
|
|
40
61
|
workspaceName: argv.workspace === false ? null : argv.workspace,
|
|
41
62
|
});
|
|
@@ -45,18 +66,31 @@ tree.handler = async function(argv) {
|
|
|
45
66
|
elapsedTime = await getElapsedTime(startTime);
|
|
46
67
|
}
|
|
47
68
|
|
|
48
|
-
|
|
69
|
+
let requestedLevels;
|
|
70
|
+
if (argv.level !== undefined && isNaN(argv.level)) {
|
|
71
|
+
throw new Error(`The provided 'level' option is not a number`);
|
|
72
|
+
} else if (argv.level !== undefined) {
|
|
73
|
+
requestedLevels = argv.level;
|
|
74
|
+
} else {
|
|
75
|
+
requestedLevels = Infinity;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
const projects = new Map();
|
|
49
79
|
const indentWidth = 4;
|
|
50
80
|
await graph.traverseBreadthFirst(async ({project, dependencies}) => {
|
|
51
|
-
projects
|
|
52
|
-
render: function(
|
|
53
|
-
let baseString = " ".repeat(
|
|
81
|
+
projects.set(project.getName(), {
|
|
82
|
+
render: function(level, connectorIndices, lastChild, renderDeps = true) {
|
|
83
|
+
let baseString = " ".repeat(level * indentWidth);
|
|
54
84
|
connectorIndices.forEach((idx) => {
|
|
55
85
|
baseString = `${baseString.slice(0, idx)}│${baseString.slice(idx + 1)}`;
|
|
56
86
|
});
|
|
57
87
|
const connectorString = lastChild ? "╰─" : "├─";
|
|
88
|
+
let name = chalk.bold(project.getName());
|
|
89
|
+
if (project.isFrameworkProject()) {
|
|
90
|
+
name = chalk.blue(name);
|
|
91
|
+
}
|
|
58
92
|
console.log(
|
|
59
|
-
`${baseString}${connectorString} ${
|
|
93
|
+
`${baseString}${connectorString} ${name} ` +
|
|
60
94
|
`${project.getNamespace() ? chalk.inverse(project.getNamespace()) + " " : ""}` +
|
|
61
95
|
chalk.dim(`(${project.getVersion()}, ${project.getType()}) `) +
|
|
62
96
|
chalk.dim.italic(`${project.getRootPath()}`)
|
|
@@ -65,18 +99,39 @@ tree.handler = async function(argv) {
|
|
|
65
99
|
const lastIdx = dependencies.length - 1;
|
|
66
100
|
const newConnectorIndices = [...connectorIndices];
|
|
67
101
|
if (!lastChild) {
|
|
68
|
-
newConnectorIndices.push(
|
|
102
|
+
newConnectorIndices.push(level * indentWidth);
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
if (level >= requestedLevels) {
|
|
106
|
+
const msg = chalk.dim.italic(`Dependencies below Level ${level} are hidden`);
|
|
107
|
+
let nextBaseString = " ".repeat((level + 1) * indentWidth);
|
|
108
|
+
newConnectorIndices.forEach((idx) => {
|
|
109
|
+
nextBaseString = `${nextBaseString.slice(0, idx)}│${nextBaseString.slice(idx + 1)}`;
|
|
110
|
+
});
|
|
111
|
+
console.log(`${nextBaseString}╰─ ${msg}`);
|
|
112
|
+
return;
|
|
113
|
+
}
|
|
114
|
+
if (renderDeps) {
|
|
115
|
+
dependencies.forEach((dep, i) => {
|
|
116
|
+
projects.get(dep).render(level + 1, newConnectorIndices, i === lastIdx);
|
|
117
|
+
});
|
|
69
118
|
}
|
|
70
|
-
dependencies.forEach((dep, i) => {
|
|
71
|
-
projects[dep].render(indentation + 1, newConnectorIndices, i === lastIdx);
|
|
72
|
-
});
|
|
73
119
|
}
|
|
74
|
-
};
|
|
120
|
+
});
|
|
75
121
|
});
|
|
76
122
|
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
123
|
+
console.log(chalk.bold.underline(`Dependencies (${projects.size}):`));
|
|
124
|
+
if (argv.flat) {
|
|
125
|
+
// Iterate over list of projects, rendering each individually
|
|
126
|
+
// We need to transform the map into an array in order to know the index
|
|
127
|
+
// for determining whether we are rendering the last entry (lastChild param)
|
|
128
|
+
Array.from(projects.values()).forEach(({render: renderProject}, idx, arr) => {
|
|
129
|
+
renderProject(0, [], idx == arr.length -1, false);
|
|
130
|
+
});
|
|
131
|
+
} else {
|
|
132
|
+
// Recursively render the tree, starting with the first entry of the map
|
|
133
|
+
projects.values().next().value.render(0, [], true);
|
|
134
|
+
}
|
|
80
135
|
console.log("");
|
|
81
136
|
|
|
82
137
|
const extensionNames = graph.getExtensionNames();
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ui5/cli",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.2.0",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "@ui5/cli",
|
|
9
|
-
"version": "3.
|
|
9
|
+
"version": "3.2.0",
|
|
10
10
|
"license": "Apache-2.0",
|
|
11
11
|
"dependencies": {
|
|
12
|
-
"@ui5/builder": "^3.0.
|
|
12
|
+
"@ui5/builder": "^3.0.5",
|
|
13
13
|
"@ui5/fs": "^3.0.4",
|
|
14
14
|
"@ui5/logger": "^3.0.0",
|
|
15
|
-
"@ui5/project": "^3.3.
|
|
16
|
-
"@ui5/server": "^3.1.
|
|
15
|
+
"@ui5/project": "^3.3.2",
|
|
16
|
+
"@ui5/server": "^3.1.3",
|
|
17
17
|
"chalk": "^5.2.0",
|
|
18
18
|
"data-with-position": "^0.5.0",
|
|
19
19
|
"import-local": "^3.1.0",
|
|
@@ -122,9 +122,9 @@
|
|
|
122
122
|
}
|
|
123
123
|
},
|
|
124
124
|
"node_modules/@babel/parser": {
|
|
125
|
-
"version": "7.
|
|
126
|
-
"resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.
|
|
127
|
-
"integrity": "sha512-
|
|
125
|
+
"version": "7.22.4",
|
|
126
|
+
"resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.22.4.tgz",
|
|
127
|
+
"integrity": "sha512-VLLsx06XkEYqBtE5YGPwfSGwfrjnyPP5oiGty3S8pQLFDFLaS8VwWSIxkTXpcvr5zeYLE6+MBNl2npl/YnfofA==",
|
|
128
128
|
"bin": {
|
|
129
129
|
"parser": "bin/babel-parser.js"
|
|
130
130
|
},
|
|
@@ -495,9 +495,9 @@
|
|
|
495
495
|
}
|
|
496
496
|
},
|
|
497
497
|
"node_modules/@sindresorhus/is": {
|
|
498
|
-
"version": "5.
|
|
499
|
-
"resolved": "https://registry.npmjs.org/@sindresorhus/is/-/is-5.
|
|
500
|
-
"integrity": "sha512-
|
|
498
|
+
"version": "5.4.0",
|
|
499
|
+
"resolved": "https://registry.npmjs.org/@sindresorhus/is/-/is-5.4.0.tgz",
|
|
500
|
+
"integrity": "sha512-Ggh6E9AnMpiNXlbXfFUcWE9qm408rL8jDi7+PMBBx7TMbwEmiqAiSmZ+zydYwxcJLqPGNDoLc9mXDuMDBZg0sA==",
|
|
501
501
|
"engines": {
|
|
502
502
|
"node": ">=14.16"
|
|
503
503
|
},
|
|
@@ -574,9 +574,9 @@
|
|
|
574
574
|
"integrity": "sha512-Gj7cI7z+98M282Tqmp2K5EIsoouUEzbBJhQQzDE3jSIRk6r9gsz0oUokqIUR4u1R3dMHo0pDHM7sNOHyhulypw=="
|
|
575
575
|
},
|
|
576
576
|
"node_modules/@ui5/builder": {
|
|
577
|
-
"version": "3.0.
|
|
578
|
-
"resolved": "https://registry.npmjs.org/@ui5/builder/-/builder-3.0.
|
|
579
|
-
"integrity": "sha512-
|
|
577
|
+
"version": "3.0.5",
|
|
578
|
+
"resolved": "https://registry.npmjs.org/@ui5/builder/-/builder-3.0.5.tgz",
|
|
579
|
+
"integrity": "sha512-ud+KDRypKvwTQuwxeYs5sF48HrsHduJolE2Guo30PCxGmMHRi6hEib6NRX40EujyJUnvn+Kw74OjcA9ak2rrSw==",
|
|
580
580
|
"dependencies": {
|
|
581
581
|
"@jridgewell/sourcemap-codec": "^1.4.15",
|
|
582
582
|
"@ui5/fs": "^3.0.4",
|
|
@@ -591,9 +591,9 @@
|
|
|
591
591
|
"pretty-data": "^0.40.0",
|
|
592
592
|
"rimraf": "^5.0.1",
|
|
593
593
|
"semver": "^7.5.1",
|
|
594
|
-
"terser": "^5.17.
|
|
594
|
+
"terser": "^5.17.7",
|
|
595
595
|
"workerpool": "^6.4.0",
|
|
596
|
-
"xml2js": "^0.
|
|
596
|
+
"xml2js": "^0.6.0"
|
|
597
597
|
},
|
|
598
598
|
"engines": {
|
|
599
599
|
"node": "^16.18.0 || >=18.12.0",
|
|
@@ -635,11 +635,11 @@
|
|
|
635
635
|
}
|
|
636
636
|
},
|
|
637
637
|
"node_modules/@ui5/project": {
|
|
638
|
-
"version": "3.3.
|
|
639
|
-
"resolved": "https://registry.npmjs.org/@ui5/project/-/project-3.3.
|
|
640
|
-
"integrity": "sha512-
|
|
638
|
+
"version": "3.3.2",
|
|
639
|
+
"resolved": "https://registry.npmjs.org/@ui5/project/-/project-3.3.2.tgz",
|
|
640
|
+
"integrity": "sha512-NoU3T6D6ccCa2Tcn1ieYncXUn3qfO3HZLz6M5VN6DqH8QGdcmzniPqi+7pEQvOCzlrMMfuvIEciCmp5k0MSTJw==",
|
|
641
641
|
"dependencies": {
|
|
642
|
-
"@ui5/builder": "^3.0.
|
|
642
|
+
"@ui5/builder": "^3.0.5",
|
|
643
643
|
"@ui5/fs": "^3.0.4",
|
|
644
644
|
"@ui5/logger": "^3.0.0",
|
|
645
645
|
"ajv": "^6.12.6",
|
|
@@ -660,7 +660,7 @@
|
|
|
660
660
|
"resolve": "^1.22.3",
|
|
661
661
|
"rimraf": "^5.0.1",
|
|
662
662
|
"semver": "^7.5.1",
|
|
663
|
-
"xml2js": "^0.
|
|
663
|
+
"xml2js": "^0.6.0",
|
|
664
664
|
"yesno": "^0.4.0"
|
|
665
665
|
},
|
|
666
666
|
"engines": {
|
|
@@ -669,12 +669,12 @@
|
|
|
669
669
|
}
|
|
670
670
|
},
|
|
671
671
|
"node_modules/@ui5/server": {
|
|
672
|
-
"version": "3.1.
|
|
673
|
-
"resolved": "https://registry.npmjs.org/@ui5/server/-/server-3.1.
|
|
674
|
-
"integrity": "sha512-
|
|
672
|
+
"version": "3.1.3",
|
|
673
|
+
"resolved": "https://registry.npmjs.org/@ui5/server/-/server-3.1.3.tgz",
|
|
674
|
+
"integrity": "sha512-LdGkdJqDBkIXBbg7LiTH9GYhU3hMNiAmm5j46+jxsGwSyi82IfZEQ3aTjh+Y3NyRrhPBmRMWlhAbztglbbvVKQ==",
|
|
675
675
|
"dependencies": {
|
|
676
|
-
"@ui5/builder": "^3.0.
|
|
677
|
-
"@ui5/fs": "^3.0.
|
|
676
|
+
"@ui5/builder": "^3.0.5",
|
|
677
|
+
"@ui5/fs": "^3.0.4",
|
|
678
678
|
"@ui5/logger": "^3.0.0",
|
|
679
679
|
"body-parser": "^1.20.2",
|
|
680
680
|
"compression": "^1.7.4",
|
|
@@ -2521,21 +2521,10 @@
|
|
|
2521
2521
|
"url": "https://github.com/sponsors/sindresorhus"
|
|
2522
2522
|
}
|
|
2523
2523
|
},
|
|
2524
|
-
"node_modules/globby/node_modules/slash": {
|
|
2525
|
-
"version": "4.0.0",
|
|
2526
|
-
"resolved": "https://registry.npmjs.org/slash/-/slash-4.0.0.tgz",
|
|
2527
|
-
"integrity": "sha512-3dOsAHXXUkQTpOYcoAxLIorMTp4gIQr5IW3iVb7A7lFIp0VHhnynm9izx6TssdrIcVIESAlVjtnO2K8bg+Coew==",
|
|
2528
|
-
"engines": {
|
|
2529
|
-
"node": ">=12"
|
|
2530
|
-
},
|
|
2531
|
-
"funding": {
|
|
2532
|
-
"url": "https://github.com/sponsors/sindresorhus"
|
|
2533
|
-
}
|
|
2534
|
-
},
|
|
2535
2524
|
"node_modules/got": {
|
|
2536
|
-
"version": "12.6.
|
|
2537
|
-
"resolved": "https://registry.npmjs.org/got/-/got-12.6.
|
|
2538
|
-
"integrity": "sha512-
|
|
2525
|
+
"version": "12.6.1",
|
|
2526
|
+
"resolved": "https://registry.npmjs.org/got/-/got-12.6.1.tgz",
|
|
2527
|
+
"integrity": "sha512-mThBblvlAF1d4O5oqyvN+ZxLAYwIJK7bpMxgYqPD9okW0C3qm5FFn7k811QrcuEBwaogR3ngOFoCfs6mRv7teQ==",
|
|
2539
2528
|
"dependencies": {
|
|
2540
2529
|
"@sindresorhus/is": "^5.2.0",
|
|
2541
2530
|
"@szmarczak/http-timer": "^5.0.1",
|
|
@@ -2959,14 +2948,6 @@
|
|
|
2959
2948
|
"url": "https://github.com/sponsors/sindresorhus"
|
|
2960
2949
|
}
|
|
2961
2950
|
},
|
|
2962
|
-
"node_modules/is-installed-globally/node_modules/is-path-inside": {
|
|
2963
|
-
"version": "3.0.3",
|
|
2964
|
-
"resolved": "https://registry.npmjs.org/is-path-inside/-/is-path-inside-3.0.3.tgz",
|
|
2965
|
-
"integrity": "sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ==",
|
|
2966
|
-
"engines": {
|
|
2967
|
-
"node": ">=8"
|
|
2968
|
-
}
|
|
2969
|
-
},
|
|
2970
2951
|
"node_modules/is-lambda": {
|
|
2971
2952
|
"version": "1.0.1",
|
|
2972
2953
|
"resolved": "https://registry.npmjs.org/is-lambda/-/is-lambda-1.0.1.tgz",
|
|
@@ -3007,6 +2988,14 @@
|
|
|
3007
2988
|
"node": ">=8"
|
|
3008
2989
|
}
|
|
3009
2990
|
},
|
|
2991
|
+
"node_modules/is-path-inside": {
|
|
2992
|
+
"version": "3.0.3",
|
|
2993
|
+
"resolved": "https://registry.npmjs.org/is-path-inside/-/is-path-inside-3.0.3.tgz",
|
|
2994
|
+
"integrity": "sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ==",
|
|
2995
|
+
"engines": {
|
|
2996
|
+
"node": ">=8"
|
|
2997
|
+
}
|
|
2998
|
+
},
|
|
3010
2999
|
"node_modules/is-stream": {
|
|
3011
3000
|
"version": "3.0.0",
|
|
3012
3001
|
"resolved": "https://registry.npmjs.org/is-stream/-/is-stream-3.0.0.tgz",
|
|
@@ -3078,9 +3067,9 @@
|
|
|
3078
3067
|
"integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw=="
|
|
3079
3068
|
},
|
|
3080
3069
|
"node_modules/jackspeak": {
|
|
3081
|
-
"version": "2.2.
|
|
3082
|
-
"resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-2.2.
|
|
3083
|
-
"integrity": "sha512-
|
|
3070
|
+
"version": "2.2.1",
|
|
3071
|
+
"resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-2.2.1.tgz",
|
|
3072
|
+
"integrity": "sha512-MXbxovZ/Pm42f6cDIDkl3xpwv1AGwObKwfmjs2nQePiy85tP3fatofl3FC1aBsOtP/6fq5SbtgHwWcMsLP+bDw==",
|
|
3084
3073
|
"dependencies": {
|
|
3085
3074
|
"@isaacs/cliui": "^8.0.2"
|
|
3086
3075
|
},
|
|
@@ -4475,9 +4464,9 @@
|
|
|
4475
4464
|
}
|
|
4476
4465
|
},
|
|
4477
4466
|
"node_modules/path-scurry/node_modules/lru-cache": {
|
|
4478
|
-
"version": "9.1.
|
|
4479
|
-
"resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-9.1.
|
|
4480
|
-
"integrity": "sha512-
|
|
4467
|
+
"version": "9.1.2",
|
|
4468
|
+
"resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-9.1.2.tgz",
|
|
4469
|
+
"integrity": "sha512-ERJq3FOzJTxBbFjZ7iDs+NiK4VI9Wz+RdrrAB8dio1oV+YvdPzUEE4QNiT2VD51DkIbCYRUUzCRkssXCHqSnKQ==",
|
|
4481
4470
|
"engines": {
|
|
4482
4471
|
"node": "14 || >=16.14"
|
|
4483
4472
|
}
|
|
@@ -4693,9 +4682,9 @@
|
|
|
4693
4682
|
}
|
|
4694
4683
|
},
|
|
4695
4684
|
"node_modules/read-package-json": {
|
|
4696
|
-
"version": "6.0.
|
|
4697
|
-
"resolved": "https://registry.npmjs.org/read-package-json/-/read-package-json-6.0.
|
|
4698
|
-
"integrity": "sha512-
|
|
4685
|
+
"version": "6.0.4",
|
|
4686
|
+
"resolved": "https://registry.npmjs.org/read-package-json/-/read-package-json-6.0.4.tgz",
|
|
4687
|
+
"integrity": "sha512-AEtWXYfopBj2z5N5PbkAOeNHRPUg5q+Nen7QLxV8M2zJq1ym6/lCz3fYNTCXe19puu2d06jfHhrP7v/S2PtMMw==",
|
|
4699
4688
|
"dependencies": {
|
|
4700
4689
|
"glob": "^10.2.2",
|
|
4701
4690
|
"json-parse-even-better-errors": "^3.0.0",
|
|
@@ -5060,9 +5049,9 @@
|
|
|
5060
5049
|
}
|
|
5061
5050
|
},
|
|
5062
5051
|
"node_modules/read-pkg/node_modules/type-fest": {
|
|
5063
|
-
"version": "3.11.
|
|
5064
|
-
"resolved": "https://registry.npmjs.org/type-fest/-/type-fest-3.11.
|
|
5065
|
-
"integrity": "sha512-
|
|
5052
|
+
"version": "3.11.1",
|
|
5053
|
+
"resolved": "https://registry.npmjs.org/type-fest/-/type-fest-3.11.1.tgz",
|
|
5054
|
+
"integrity": "sha512-aCuRNRERRVh33lgQaJRlUxZqzfhzwTrsE98Mc3o3VXqmiaQdHacgUtJ0esp+7MvZ92qhtzKPeusaX6vIEcoreA==",
|
|
5066
5055
|
"engines": {
|
|
5067
5056
|
"node": ">=14.16"
|
|
5068
5057
|
},
|
|
@@ -5629,6 +5618,17 @@
|
|
|
5629
5618
|
"node": "^14.17.0 || ^16.13.0 || >=18.0.0"
|
|
5630
5619
|
}
|
|
5631
5620
|
},
|
|
5621
|
+
"node_modules/slash": {
|
|
5622
|
+
"version": "4.0.0",
|
|
5623
|
+
"resolved": "https://registry.npmjs.org/slash/-/slash-4.0.0.tgz",
|
|
5624
|
+
"integrity": "sha512-3dOsAHXXUkQTpOYcoAxLIorMTp4gIQr5IW3iVb7A7lFIp0VHhnynm9izx6TssdrIcVIESAlVjtnO2K8bg+Coew==",
|
|
5625
|
+
"engines": {
|
|
5626
|
+
"node": ">=12"
|
|
5627
|
+
},
|
|
5628
|
+
"funding": {
|
|
5629
|
+
"url": "https://github.com/sponsors/sindresorhus"
|
|
5630
|
+
}
|
|
5631
|
+
},
|
|
5632
5632
|
"node_modules/smart-buffer": {
|
|
5633
5633
|
"version": "4.2.0",
|
|
5634
5634
|
"resolved": "https://registry.npmjs.org/smart-buffer/-/smart-buffer-4.2.0.tgz",
|
|
@@ -5865,9 +5865,9 @@
|
|
|
5865
5865
|
}
|
|
5866
5866
|
},
|
|
5867
5867
|
"node_modules/strip-ansi": {
|
|
5868
|
-
"version": "7.0
|
|
5869
|
-
"resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.0.
|
|
5870
|
-
"integrity": "sha512-
|
|
5868
|
+
"version": "7.1.0",
|
|
5869
|
+
"resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz",
|
|
5870
|
+
"integrity": "sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==",
|
|
5871
5871
|
"dependencies": {
|
|
5872
5872
|
"ansi-regex": "^6.0.1"
|
|
5873
5873
|
},
|
|
@@ -5986,12 +5986,12 @@
|
|
|
5986
5986
|
"integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A=="
|
|
5987
5987
|
},
|
|
5988
5988
|
"node_modules/terser": {
|
|
5989
|
-
"version": "5.17.
|
|
5990
|
-
"resolved": "https://registry.npmjs.org/terser/-/terser-5.17.
|
|
5991
|
-
"integrity": "sha512
|
|
5989
|
+
"version": "5.17.7",
|
|
5990
|
+
"resolved": "https://registry.npmjs.org/terser/-/terser-5.17.7.tgz",
|
|
5991
|
+
"integrity": "sha512-/bi0Zm2C6VAexlGgLlVxA0P2lru/sdLyfCVaRMfKVo9nWxbmz7f/sD8VPybPeSUJaJcwmCJis9pBIhcVcG1QcQ==",
|
|
5992
5992
|
"dependencies": {
|
|
5993
|
-
"@jridgewell/source-map": "^0.3.
|
|
5994
|
-
"acorn": "^8.
|
|
5993
|
+
"@jridgewell/source-map": "^0.3.3",
|
|
5994
|
+
"acorn": "^8.8.2",
|
|
5995
5995
|
"commander": "^2.20.0",
|
|
5996
5996
|
"source-map-support": "~0.5.20"
|
|
5997
5997
|
},
|
|
@@ -6393,9 +6393,9 @@
|
|
|
6393
6393
|
}
|
|
6394
6394
|
},
|
|
6395
6395
|
"node_modules/xml2js": {
|
|
6396
|
-
"version": "0.
|
|
6397
|
-
"resolved": "https://registry.npmjs.org/xml2js/-/xml2js-0.
|
|
6398
|
-
"integrity": "sha512-
|
|
6396
|
+
"version": "0.6.0",
|
|
6397
|
+
"resolved": "https://registry.npmjs.org/xml2js/-/xml2js-0.6.0.tgz",
|
|
6398
|
+
"integrity": "sha512-eLTh0kA8uHceqesPqSE+VvO1CDDJWMwlQfB6LuN6T8w6MaDJ8Txm8P7s5cHD0miF0V+GGTZrDQfxPZQVsur33w==",
|
|
6399
6399
|
"dependencies": {
|
|
6400
6400
|
"sax": ">=0.6.0",
|
|
6401
6401
|
"xmlbuilder": "~11.0.0"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ui5/cli",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.2.0",
|
|
4
4
|
"description": "UI5 Tooling - CLI",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "SAP SE",
|
|
@@ -115,11 +115,11 @@
|
|
|
115
115
|
"url": "git@github.com:SAP/ui5-cli.git"
|
|
116
116
|
},
|
|
117
117
|
"dependencies": {
|
|
118
|
-
"@ui5/builder": "^3.0.
|
|
118
|
+
"@ui5/builder": "^3.0.5",
|
|
119
119
|
"@ui5/fs": "^3.0.4",
|
|
120
120
|
"@ui5/logger": "^3.0.0",
|
|
121
|
-
"@ui5/project": "^3.3.
|
|
122
|
-
"@ui5/server": "^3.1.
|
|
121
|
+
"@ui5/project": "^3.3.2",
|
|
122
|
+
"@ui5/server": "^3.1.3",
|
|
123
123
|
"chalk": "^5.2.0",
|
|
124
124
|
"data-with-position": "^0.5.0",
|
|
125
125
|
"import-local": "^3.1.0",
|
|
@@ -132,23 +132,23 @@
|
|
|
132
132
|
},
|
|
133
133
|
"devDependencies": {
|
|
134
134
|
"@istanbuljs/esm-loader-hook": "^0.2.0",
|
|
135
|
-
"ava": "^5.
|
|
135
|
+
"ava": "^5.3.0",
|
|
136
136
|
"chokidar-cli": "^3.0.0",
|
|
137
137
|
"cross-env": "^7.0.3",
|
|
138
138
|
"depcheck": "^1.4.3",
|
|
139
139
|
"docdash": "^2.0.1",
|
|
140
|
-
"eslint": "^8.
|
|
140
|
+
"eslint": "^8.42.0",
|
|
141
141
|
"eslint-config-google": "^0.14.0",
|
|
142
142
|
"eslint-plugin-ava": "^14.0.0",
|
|
143
|
-
"eslint-plugin-jsdoc": "^
|
|
144
|
-
"esmock": "^2.
|
|
143
|
+
"eslint-plugin-jsdoc": "^46.2.2",
|
|
144
|
+
"esmock": "^2.3.1",
|
|
145
145
|
"execa": "^7.1.1",
|
|
146
146
|
"jsdoc": "^4.0.2",
|
|
147
147
|
"nyc": "^15.1.0",
|
|
148
148
|
"open-cli": "^7.2.0",
|
|
149
149
|
"rimraf": "^5.0.1",
|
|
150
150
|
"sinon": "^15.1.0",
|
|
151
|
-
"strip-ansi": "^7.0
|
|
151
|
+
"strip-ansi": "^7.1.0",
|
|
152
152
|
"tap-xunit": "^2.4.1"
|
|
153
153
|
}
|
|
154
154
|
}
|