@ui5/task-adaptation 1.5.3 → 1.6.0-rc.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/.hyperspace/pull_request_bot.json +19 -0
- package/CHANGELOG.md +14 -9
- package/dist/appVariantManager.js +1 -1
- package/dist/baseAppManager.js +3 -3
- package/dist/buildStrategy.d.ts +0 -3
- package/dist/buildStrategy.js +0 -7
- package/dist/bundle.d.ts +4 -3
- package/dist/bundle.js +3663 -3606
- package/dist/cache/cacheHolder.d.ts +1 -1
- package/dist/cache/cacheHolder.js +8 -6
- package/dist/index.js +5 -1
- package/dist/model/authenticationError.d.ts +3 -0
- package/dist/model/authenticationError.js +8 -0
- package/dist/model/types.d.ts +12 -0
- package/dist/previewManager.d.ts +13 -0
- package/dist/previewManager.js +142 -0
- package/dist/processors/abapProcessor.d.ts +1 -0
- package/dist/processors/abapProcessor.js +3 -0
- package/dist/processors/cfProcessor.d.ts +2 -1
- package/dist/processors/cfProcessor.js +11 -1
- package/dist/processors/processor.d.ts +2 -1
- package/dist/repositories/html5RepoManager.d.ts +3 -2
- package/dist/repositories/html5RepoManager.js +18 -5
- package/dist/util/cfUtil.d.ts +8 -1
- package/dist/util/cfUtil.js +16 -8
- package/dist/util/movingHandler/changeFileMoveHandler.d.ts +8 -0
- package/dist/util/movingHandler/changeFileMoveHandler.js +77 -0
- package/dist/util/resourceUtil.d.ts +11 -3
- package/dist/util/resourceUtil.js +83 -18
- package/eslint.config.js +4 -3
- package/package.json +15 -16
- package/rollup/amdToEsm.ts +22 -0
- package/rollup/bundle.d.ts +25 -0
- package/rollup/bundleDefinition.js +19 -0
- package/rollup/bundler.ts +35 -0
- package/rollup/overrides/sap/base/config.js +59 -0
- package/rollup/overrides/sap/ui/fl/apply/_internal/flexObjects/AppDescriptorChange.js +68 -0
- package/rollup/overrides/sap/ui/performance/Measurement.js +4 -0
- package/rollup/project/package.json +4 -0
- package/rollup/project/ui5.yaml +13 -0
- package/rollup/project/webapp/manifest.json +5 -0
- package/rollup/rollup.ts +133 -0
- package/rollup/ui5Resolve.ts +145 -0
- package/scripts/publish.ts +256 -0
- package/scripts/test-integration-prep.sh +4 -0
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://devops-insights-pr-bot.cfapps.eu10-004.hana.ondemand.com/schema/pull_request_bot.json",
|
|
3
|
+
"features": {
|
|
4
|
+
"control_panel": false,
|
|
5
|
+
"summarize": {
|
|
6
|
+
"auto_generate_summary": true,
|
|
7
|
+
"auto_insert_summary": true,
|
|
8
|
+
"auto_run_on_draft_pr": true,
|
|
9
|
+
"use_custom_summarize_prompt": false,
|
|
10
|
+
"use_custom_summarize_output_template": false,
|
|
11
|
+
"use_tabular_summarize_output_template": false
|
|
12
|
+
},
|
|
13
|
+
"review": {
|
|
14
|
+
"auto_generate_review": true,
|
|
15
|
+
"auto_run_on_draft_pr": true,
|
|
16
|
+
"use_custom_review_focus": false
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
}
|
package/CHANGELOG.md
CHANGED
|
@@ -2,16 +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-task-adaptation/compare/v1.
|
|
5
|
+
A list of unreleased changes can be found [here](https://github.com/SAP/ui5-task-adaptation/compare/v1.6.0-rc.0...HEAD).
|
|
6
6
|
|
|
7
|
-
<a name="v1.
|
|
8
|
-
## [v1.
|
|
7
|
+
<a name="v1.6.0-rc.0"></a>
|
|
8
|
+
## [v1.6.0-rc.0] - 2026-02-02
|
|
9
9
|
|
|
10
|
-
<a name="v1.
|
|
11
|
-
## [v1.
|
|
12
|
-
|
|
13
|
-
|
|
10
|
+
<a name="v1.6.0"></a>
|
|
11
|
+
## [v1.6.0] - 2026-02-02
|
|
12
|
+
|
|
13
|
+
<a name="v1.5.2-rc.1"></a>
|
|
14
|
+
## [v1.5.2-rc.1] - 2025-08-22
|
|
14
15
|
|
|
16
|
+
<a name="v1.5.2-rc.0"></a>
|
|
17
|
+
## [v1.5.2-rc.0] - 2025-08-19
|
|
15
18
|
|
|
16
19
|
<a name="v1.5.1"></a>
|
|
17
20
|
## [v1.5.1] - 2025-08-06
|
|
@@ -128,8 +131,10 @@ A list of unreleased changes can be found [here](https://github.com/SAP/ui5-task
|
|
|
128
131
|
<a name="v1.0.0"></a>
|
|
129
132
|
## v1.0.0 - 2020-12-09
|
|
130
133
|
|
|
131
|
-
[v1.
|
|
132
|
-
[v1.
|
|
134
|
+
[v1.6.0-rc.0]: https://github.com/SAP/ui5-task-adaptation/compare/v1.6.0...v1.6.0-rc.0
|
|
135
|
+
[v1.6.0]: https://github.com/SAP/ui5-task-adaptation/compare/v1.5.2-rc.1...v1.6.0
|
|
136
|
+
[v1.5.2-rc.1]: https://github.com/SAP/ui5-task-adaptation/compare/v1.5.2-rc.0...v1.5.2-rc.1
|
|
137
|
+
[v1.5.2-rc.0]: https://github.com/SAP/ui5-task-adaptation/compare/v1.5.1...v1.5.2-rc.0
|
|
133
138
|
[v1.5.1]: https://github.com/SAP/ui5-task-adaptation/compare/v1.4.3...v1.5.1
|
|
134
139
|
[v1.4.3]: https://github.com/SAP/ui5-task-adaptation/compare/v1.4.2...v1.4.3
|
|
135
140
|
[v1.4.2]: https://github.com/SAP/ui5-task-adaptation/compare/v1.4.0...v1.4.2
|
|
@@ -2,7 +2,7 @@ import { dotToUnderscore, isManifestChange } from "./util/commonUtil.js";
|
|
|
2
2
|
import FilesUtil from "./util/filesUtil.js";
|
|
3
3
|
import ResourceUtil from "./util/resourceUtil.js";
|
|
4
4
|
import { posix as path } from "path";
|
|
5
|
-
import { moveFile, moveFiles } from "./util/movingHandler/
|
|
5
|
+
import { moveFile, moveFiles } from "./util/movingHandler/changeFileMoveHandler.js";
|
|
6
6
|
const CHANGES_EXT = ".change";
|
|
7
7
|
export default class AppVariant {
|
|
8
8
|
files;
|
package/dist/baseAppManager.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AppDescriptorChange,
|
|
1
|
+
import { AppDescriptorChange, RawApplier, RegistrationBuild } from "../dist/bundle.js";
|
|
2
2
|
import { trimExtension } from "./util/commonUtil.js";
|
|
3
3
|
import BuildStrategy from "./buildStrategy.js";
|
|
4
4
|
import { getLogger } from "@ui5/logger";
|
|
@@ -128,8 +128,8 @@ export default class BaseApp {
|
|
|
128
128
|
this.adjustAddNewModelEnhanceWith(change, i18nBundleName);
|
|
129
129
|
}
|
|
130
130
|
if (changesContent.length > 0) {
|
|
131
|
-
const
|
|
132
|
-
await
|
|
131
|
+
const changeHandlers = await Promise.all(changesContent.map(change => RegistrationBuild[change.getChangeType()]()));
|
|
132
|
+
await RawApplier.applyChanges(changeHandlers, baseAppManifest, changesContent, new BuildStrategy());
|
|
133
133
|
}
|
|
134
134
|
}
|
|
135
135
|
fillAppVariantIdHierarchy(processor, id, version, baseAppManifest) {
|
package/dist/buildStrategy.d.ts
CHANGED
package/dist/buildStrategy.js
CHANGED
package/dist/bundle.d.ts
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
export declare const RegistrationBuild:
|
|
1
|
+
export declare const RegistrationBuild: any;
|
|
2
2
|
|
|
3
|
-
export declare class
|
|
4
|
-
static applyChanges(manifest: any, changes: AppDescriptorChange[], strategy: any): Promise<void>;
|
|
3
|
+
export declare class RawApplier {
|
|
4
|
+
static applyChanges(changeHandlers: any[], manifest: any, changes: AppDescriptorChange[], strategy: any): Promise<void>;
|
|
5
5
|
}
|
|
6
6
|
|
|
7
7
|
export declare class AppDescriptorChange {
|
|
8
8
|
constructor(change: any);
|
|
9
9
|
getLayer(): string;
|
|
10
|
+
getChangeType(): string;
|
|
10
11
|
}
|
|
11
12
|
|
|
12
13
|
export declare class V2MetadataConverter {
|