Skip to content

Commit e3676a3

Browse files
committed
[DEMO] ui5.yaml: Use new 'component' type
Based on SAP/ui5-project#623
1 parent e3c601b commit e3676a3

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

63 files changed

+10
-41
lines changed

demo/BaseComponent/src/my/lib/sample/base/manifest.json renamed to demo/BaseComponent/src/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"_version": "1.21.0",
33
"sap.app": {
44
"id": "my.lib.sample.base",
5-
"type": "library",
5+
"type": "application",
66
"embeds": [],
77
"applicationVersion": {
88
"version": "${version}"

demo/BaseComponent/src/my/lib/sample/base/library.js

Lines changed: 0 additions & 15 deletions
This file was deleted.

demo/BaseComponent/ui5.yaml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,9 @@
1-
specVersion: "2.6"
1+
specVersion: "3.1"
22
metadata:
33
name: my.lib.sample.base
4-
type: library
4+
type: component
55
framework:
66
name: OpenUI5
77
version: 1.110.0
88
libraries:
99
- name: sap.ui.core
10-
builder:
11-
componentPreload:
12-
namespaces:
13-
- "my/lib/sample/base"

demo/CategoriesComponent/ui5.yaml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,11 @@
1-
specVersion: "2.6"
1+
specVersion: "3.1"
22
metadata:
33
name: my.lib.sample.categories
4-
type: library
4+
type: component
55
framework:
66
name: OpenUI5
77
version: 1.110.0
88
libraries:
99
- name: sap.ui.core
1010
- name: sap.m
11-
- name: themelib_sap_horizon
12-
builder:
13-
componentPreload:
14-
namespaces:
15-
- "my/lib/sample/categories"
11+
- name: themelib_sap_horizon

demo/ProductsComponent/ui5.yaml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,11 @@
1-
specVersion: "2.6"
1+
specVersion: "3.1"
22
metadata:
33
name: my.lib.sample.products
4-
type: library
4+
type: component
55
framework:
66
name: OpenUI5
77
version: 1.110.0
88
libraries:
99
- name: sap.ui.core
1010
- name: sap.m
1111
- name: themelib_sap_horizon
12-
builder:
13-
componentPreload:
14-
namespaces:
15-
- "my/lib/sample/products"

demo/SuppliersComponent/ui5.yaml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,11 @@
1-
specVersion: "2.6"
1+
specVersion: "3.1"
22
metadata:
33
name: my.lib.sample.suppliers
4-
type: library
4+
type: component
55
framework:
66
name: OpenUI5
77
version: 1.110.0
88
libraries:
99
- name: sap.ui.core
1010
- name: sap.m
1111
- name: themelib_sap_horizon
12-
builder:
13-
componentPreload:
14-
namespaces:
15-
- "my/lib/sample/suppliers"

0 commit comments

Comments
 (0)