Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion demo/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ dist/
.DS_Store
coverage/
.nyc_output/
report/
report/
.ui5-cache/
4 changes: 2 additions & 2 deletions demo/BaseComponent/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@
],
"devDependencies": {
"eslint": "^9.25.0",
"@ui5/cli": "^4.0.14",
"@ui5/cli": "^5.0.0-alpha.1",
"local-web-server": "^5.4.0",
"rimraf": "^6.0.1"
},
"engines": {
"node": "^16.18.0 || >=18.12.0",
"node": "^22.20.0 || >=24.0.0",
"npm": ">= 8"
},
"author": "Jiawei Cao, Florian Vogt",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"_version": "2.0.0",
"sap.app": {
"id": "my.lib.sample.base",
"type": "library",
"type": "component",
"embeds": [],
"applicationVersion": {
"version": "${version}"
Expand Down
17 changes: 0 additions & 17 deletions demo/BaseComponent/src/my/lib/sample/base/library.js

This file was deleted.

8 changes: 2 additions & 6 deletions demo/BaseComponent/ui5.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,9 @@
specVersion: "2.6"
specVersion: "5.0"
metadata:
name: my.lib.sample.base
type: library
type: component
framework:
name: OpenUI5
version: 1.136.9
libraries:
- name: sap.ui.core
builder:
componentPreload:
namespaces:
- "my/lib/sample/base"
4 changes: 2 additions & 2 deletions demo/CategoriesComponent/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,12 @@
},
"devDependencies": {
"eslint": "^9.25.0",
"@ui5/cli": "^4.0.14",
"@ui5/cli": "^5.0.0-alpha.1",
"local-web-server": "^5.4.0",
"rimraf": "^6.0.1"
},
"engines": {
"node": "^16.18.0 || >=18.12.0",
"node": "^22.20.0 || >=24.0.0",
"npm": ">= 8"
},
"author": "Jiawei Cao, Florian Vogt",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
sap.ui.define([
"../localService/mockserver",
"./localService/mockserver",
"sap/ui/core/Lib"
], (mockserver, Library) => {
"use strict";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ sap.ui.define([
"use strict";


// eslint-disable-next-line init-declarations
let oMockServer;

const sAppPath = "my/lib/sample/categories/",
Expand Down
8 changes: 2 additions & 6 deletions demo/CategoriesComponent/ui5.yaml
Original file line number Diff line number Diff line change
@@ -1,15 +1,11 @@
specVersion: "2.6"
specVersion: "5.0"
metadata:
name: my.lib.sample.categories
type: library
type: component
framework:
name: OpenUI5
version: 1.136.9
libraries:
- name: sap.ui.core
- name: sap.m
- name: themelib_sap_horizon
builder:
componentPreload:
namespaces:
- "my/lib/sample/categories"
4 changes: 2 additions & 2 deletions demo/ProductsComponent/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@
},
"devDependencies": {
"eslint": "^9.25.0",
"@ui5/cli": "^4.0.14",
"@ui5/cli": "^5.0.0-alpha.1",
"local-web-server": "^5.4.0",
"rimraf": "^6.0.1"
},
"engines": {
"node": "^16.18.0 || >=18.12.0",
"node": "^22.20.0 || >=24.0.0",
"npm": ">= 8"
},
"author": "Jiawei Cao, Florian Vogt",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
sap.ui.define([
"../localService/mockserver",
"./localService/mockserver",
"sap/ui/core/Lib"
], (mockserver, Library) => {
"use strict";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ sap.ui.define([
"use strict";


// eslint-disable-next-line init-declarations
let oMockServer;

const sAppPath = "my/lib/sample/products/",
Expand Down
8 changes: 2 additions & 6 deletions demo/ProductsComponent/ui5.yaml
Original file line number Diff line number Diff line change
@@ -1,15 +1,11 @@
specVersion: "2.6"
specVersion: "5.0"
metadata:
name: my.lib.sample.products
type: library
type: component
framework:
name: OpenUI5
version: 1.136.9
libraries:
- name: sap.ui.core
- name: sap.m
- name: themelib_sap_horizon
builder:
componentPreload:
namespaces:
- "my/lib/sample/products"
2 changes: 1 addition & 1 deletion demo/RootComponent/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"devDependencies": {
"@eslint/js": "^9.30.1",
"eslint": "^9.30.1",
"@ui5/cli": "^4.0.14",
"@ui5/cli": "^5.0.0-alpha.1",
"@ui5/linter": "^1.16.0",
"@ui5/middleware-code-coverage": "^2.0.1",
"globals": "^16.3.0",
Expand Down
4 changes: 2 additions & 2 deletions demo/RootComponent/ui5.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
specVersion: "2.6"
specVersion: "5.0"
metadata:
name: RootComponent
name: root.component
type: application
framework:
name: OpenUI5
Expand Down
4 changes: 2 additions & 2 deletions demo/SuppliersComponent/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,12 @@
},
"devDependencies": {
"eslint": "^9.25.0",
"@ui5/cli": "^4.0.14",
"@ui5/cli": "^5.0.0-alpha.1",
"local-web-server": "^5.4.0",
"rimraf": "^6.0.1"
},
"engines": {
"node": "^16.18.0 || >=18.12.0",
"node": "^22.20.0 || >=24.0.0",
"npm": ">= 8"
},
"author": "Jiawei Cao, Florian Vogt",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
sap.ui.define([
"../localService/mockserver",
"./localService/mockserver",
"sap/ui/core/Lib"
], (mockserver, Library) => {
"use strict";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ sap.ui.define([
"use strict";


// eslint-disable-next-line init-declarations
let oMockServer;

const sAppPath = "my/lib/sample/suppliers/",
Expand Down
8 changes: 2 additions & 6 deletions demo/SuppliersComponent/ui5.yaml
Original file line number Diff line number Diff line change
@@ -1,15 +1,11 @@
specVersion: "2.6"
specVersion: "5.0"
metadata:
name: my.lib.sample.suppliers
type: library
type: component
framework:
name: OpenUI5
version: 1.136.9
libraries:
- name: sap.ui.core
- name: sap.m
- name: themelib_sap_horizon
builder:
componentPreload:
namespaces:
- "my/lib/sample/suppliers"
Loading
Loading