-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FIX] Add 'sap.ui.fl' dependency to manifest.json (#318)
If changes are present during runtime, the 'sap.ui.fl' dependency should be added to the manifest.json so the changes contained in the changes bundled can be applied to the application An already declared lazy dependency will be converted to an eager (non-lazy) dependency.
- Loading branch information
1 parent
6528053
commit a8edff4
Showing
21 changed files
with
277 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1 @@ | ||
{ | ||
"_version": "1.1.0", | ||
"sap.app": { | ||
"_version": "1.1.0", | ||
"id": "application.i", | ||
"type": "application", | ||
"applicationVersion": { | ||
"version": "1.2.2" | ||
}, | ||
"embeds": ["embedded"], | ||
"title": "{{title}}" | ||
} | ||
} | ||
{"_version":"1.1.0","sap.app":{"_version":"1.1.0","id":"application.i","type":"application","applicationVersion":{"version":"1.2.2"},"embeds":["embedded"],"title":"{{title}}"},"sap.ui5":{"dependencies":{"libs":{"sap.ui.layout":{},"sap.ui.core":{},"sap.m":{},"sap.ui.fl":{}}}}} |
11 changes: 11 additions & 0 deletions
11
test/expected/build/application.j/dest/Component-preload.js
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
1 change: 1 addition & 0 deletions
1
test/expected/build/application.j/dest/changes/changes-bundle.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
[{"fileName":"id_456_addField","fileType":"change","changeType":"hideControl","component":"application.j.Component","content":{},"selector":{"id":"control1"},"layer":"VENDOR","texts":{},"namespace":"apps/application.j.Component/changes","creation":"2023-10-30T13:52:40.4754350Z","originalLanguage":"","conditions":{},"support":{"generator":"did it","user":"Max Mustermann"}},{"fileName":"id_123_addField","fileType":"change","changeType":"hideControl","component":"application.j.Component","content":{},"selector":{"id":"control1"},"layer":"VENDOR","texts":{},"namespace":"apps/application.j.Component/changes","creation":"2025-10-30T13:52:40.4754350Z","originalLanguage":"","conditions":{},"support":{"generator":"did it","user":"Max Mustermann"}}] |
1 change: 1 addition & 0 deletions
1
test/expected/build/application.j/dest/changes/coding/MyExtension.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
sap.ui.define([],function(){return{}}); |
3 changes: 3 additions & 0 deletions
3
test/expected/build/application.j/dest/changes/fragments/MyFragment.fragment.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<xml> | ||
|
||
</xml> |
20 changes: 20 additions & 0 deletions
20
test/expected/build/application.j/dest/changes/id_123_addField.change
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{ | ||
"fileName": "id_123_addField", | ||
"fileType": "change", | ||
"changeType": "hideControl", | ||
"component": "application.j.Component", | ||
"content": {}, | ||
"selector": { | ||
"id": "control1" | ||
}, | ||
"layer": "VENDOR", | ||
"texts": {}, | ||
"namespace": "apps/application.j.Component/changes", | ||
"creation": "2025-10-30T13:52:40.4754350Z", | ||
"originalLanguage": "", | ||
"conditions": {}, | ||
"support": { | ||
"generator": "did it", | ||
"user": "Max Mustermann" | ||
} | ||
} |
20 changes: 20 additions & 0 deletions
20
test/expected/build/application.j/dest/changes/id_456_addField.change
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{ | ||
"fileName": "id_456_addField", | ||
"fileType": "change", | ||
"changeType": "hideControl", | ||
"component": "application.j.Component", | ||
"content": {}, | ||
"selector": { | ||
"id": "control1" | ||
}, | ||
"layer": "VENDOR", | ||
"texts": {}, | ||
"namespace": "apps/application.j.Component/changes", | ||
"creation": "2023-10-30T13:52:40.4754350Z", | ||
"originalLanguage": "", | ||
"conditions": {}, | ||
"support": { | ||
"generator": "did it", | ||
"user": "Max Mustermann" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"_version":"1.1.0","sap.app":{"_version":"1.1.0","id":"application.j","type":"application","applicationVersion":{"version":"1.2.2"},"embeds":["embedded"],"title":"{{title}}"},"sap.ui5":{"dependencies":{"libs":{"sap.ui.layout":{},"sap.ui.core":{},"sap.m":{},"sap.ui.fl":{"lazy":false}}}}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"name": "application.j", | ||
"version": "1.0.0", | ||
"description": "Simple SAPUI5 based application", | ||
"main": "index.html", | ||
"dependencies": {}, | ||
"scripts": { | ||
"test": "echo \"Error: no test specified\" && exit 1" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
--- | ||
specVersion: "0.1" | ||
type: application | ||
metadata: | ||
name: application.j | ||
builder: | ||
bundles: | ||
- name: sap/ushell/bootstrap/cdm.js | ||
defaultFileTypes: | ||
- ".js" | ||
sections: | ||
- mode: raw | ||
filters: | ||
- ui5loader.js | ||
- ui5loader-autoconfig.js | ||
declareModules: false | ||
resolve: true | ||
- mode: preload | ||
name: sap/ushell/bootstrap/common | ||
filters: | ||
- sap/ushell/bootstrap/cdm/cdm-def.js | ||
resolve: true | ||
- mode: require | ||
filters: | ||
- sap/ushell/bootstrap/cdm/cdm-def.js |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
sap.ui.define(["sap/ui/core/UIComponent"], function(UIComponent){ | ||
"use strict"; | ||
return UIComponent.extend('application.j.Component', { | ||
metadata: { | ||
manifest: "json" | ||
} | ||
}); | ||
}); |
3 changes: 3 additions & 0 deletions
3
test/fixtures/application.j/webapp/changes/coding/MyExtension.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
sap.ui.define([],function () { | ||
return {}; | ||
}); |
3 changes: 3 additions & 0 deletions
3
test/fixtures/application.j/webapp/changes/fragments/MyFragment.fragment.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<xml> | ||
|
||
</xml> |
20 changes: 20 additions & 0 deletions
20
test/fixtures/application.j/webapp/changes/id_123_addField.change
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{ | ||
"fileName": "id_123_addField", | ||
"fileType": "change", | ||
"changeType": "hideControl", | ||
"component": "application.j.Component", | ||
"content": {}, | ||
"selector": { | ||
"id": "control1" | ||
}, | ||
"layer": "VENDOR", | ||
"texts": {}, | ||
"namespace": "apps/application.j.Component/changes", | ||
"creation": "2025-10-30T13:52:40.4754350Z", | ||
"originalLanguage": "", | ||
"conditions": {}, | ||
"support": { | ||
"generator": "did it", | ||
"user": "Max Mustermann" | ||
} | ||
} |
20 changes: 20 additions & 0 deletions
20
test/fixtures/application.j/webapp/changes/id_456_addField.change
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{ | ||
"fileName": "id_456_addField", | ||
"fileType": "change", | ||
"changeType": "hideControl", | ||
"component": "application.j.Component", | ||
"content": {}, | ||
"selector": { | ||
"id": "control1" | ||
}, | ||
"layer": "VENDOR", | ||
"texts": {}, | ||
"namespace": "apps/application.j.Component/changes", | ||
"creation": "2023-10-30T13:52:40.4754350Z", | ||
"originalLanguage": "", | ||
"conditions": {}, | ||
"support": { | ||
"generator": "did it", | ||
"user": "Max Mustermann" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
{ | ||
"_version": "1.1.0", | ||
"sap.app": { | ||
"_version": "1.1.0", | ||
"id": "application.j", | ||
"type": "application", | ||
"applicationVersion": { | ||
"version": "1.2.2" | ||
}, | ||
"embeds": ["embedded"], | ||
"title": "{{title}}" | ||
}, | ||
"sap.ui5": { | ||
"dependencies": { | ||
"libs": { | ||
"sap.ui.layout": {}, | ||
"sap.ui.core": {}, | ||
"sap.m": {}, | ||
"sap.ui.fl": { | ||
"lazy": true | ||
} | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters