Skip to content

Commit

Permalink
feat: updated QUnit and OPA tests for @sapUiRequire usage
Browse files Browse the repository at this point in the history
  • Loading branch information
petermuessig committed Aug 2, 2024
1 parent 1812aa7 commit 9cdadd4
Show file tree
Hide file tree
Showing 205 changed files with 2,616 additions and 3,084 deletions.
3 changes: 3 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ updates:
prefix: "ci(github-actions)"
- package-ecosystem: npm
directory: "/"
ignore:
- dependency-name: "@types/openui5"
schedule:
interval: weekly
day: sunday
Expand All @@ -16,6 +18,7 @@ updates:
reviewers:
- petermuessig
- flovogt
- margopolo
versioning-strategy: increase
commit-message:
prefix: "deps"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:

strategy:
matrix:
node-version: [18.x]
node-version: [20.x]

steps:
- uses: actions/checkout@v4
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@ jobs:

strategy:
matrix:
node-version: [18.x]
node-version: [20.x]

steps:
- uses: actions/checkout@v4

- uses: actions/setup-node@v4
with:
node-version: 18.x
node-version: ${{ matrix.node-version }}

- name: Install dependencies
run: npm install
Expand Down
1 change: 1 addition & 0 deletions .ncurc.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"reject": [
"@types/openui5",
"@types/sinon"
]
}
4,613 changes: 2,052 additions & 2,561 deletions package-lock.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion steps/01/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
"start": "ui5 serve -o index.html"
},
"devDependencies": {
"@ui5/cli": "^3.11.0"
"@ui5/cli": "^4.0.2"
}
}
4 changes: 2 additions & 2 deletions steps/02/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@
"start": "ui5 serve -o index.html"
},
"devDependencies": {
"@ui5/cli": "^3.11.0",
"@ui5/cli": "^4.0.2",
"typescript": "^5.5.4",
"ui5-middleware-livereload": "^3.0.3",
"ui5-middleware-serveframework": "^3.1.1",
"ui5-middleware-serveframework": "^3.1.2",
"ui5-tooling-transpile": "^3.4.7"
}
}
2 changes: 1 addition & 1 deletion steps/02/ui5.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
type: application
framework:
name: OpenUI5
version: "1.120.15"
version: "1.120.18"
libraries:
- name: sap.ui.core
- name: themelib_sap_horizon
Expand Down
2 changes: 1 addition & 1 deletion steps/02/webapp/index-cdn.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<title>UI5 TypeScript Walkthrough</title>
<script
id="sap-ui-bootstrap"
src="https://sdk.openui5.org/1.120.1/resources/sap-ui-core.js"
src="https://sdk.openui5.org/1.120.18/resources/sap-ui-core.js"
data-sap-ui-theme="sap_horizon"
data-sap-ui-compatVersion="edge"
data-sap-ui-async="true"
Expand Down
6 changes: 3 additions & 3 deletions steps/03/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
"start": "ui5 serve -o index.html"
},
"devDependencies": {
"@types/openui5": "^1.126.0",
"@ui5/cli": "^3.11.0",
"@types/openui5": "^1.120.0",
"@ui5/cli": "^4.0.2",
"typescript": "^5.5.4",
"ui5-middleware-livereload": "^3.0.3",
"ui5-middleware-serveframework": "^3.1.1",
"ui5-middleware-serveframework": "^3.1.2",
"ui5-tooling-transpile": "^3.4.7"
}
}
2 changes: 1 addition & 1 deletion steps/03/ui5.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
type: application
framework:
name: OpenUI5
version: "1.120.15"
version: "1.120.18"
libraries:
- name: sap.m
- name: sap.ui.core
Expand Down
2 changes: 1 addition & 1 deletion steps/03/webapp/index-cdn.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<title>UI5 TypeScript Walkthrough</title>
<script
id="sap-ui-bootstrap"
src="https://sdk.openui5.org/1.120.1/resources/sap-ui-core.js"
src="https://sdk.openui5.org/1.120.18/resources/sap-ui-core.js"
data-sap-ui-theme="sap_horizon"
data-sap-ui-compatVersion="edge"
data-sap-ui-async="true"
Expand Down
6 changes: 3 additions & 3 deletions steps/04/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
"start": "ui5 serve -o index.html"
},
"devDependencies": {
"@types/openui5": "^1.126.0",
"@ui5/cli": "^3.11.0",
"@types/openui5": "^1.120.0",
"@ui5/cli": "^4.0.2",
"typescript": "^5.5.4",
"ui5-middleware-livereload": "^3.0.3",
"ui5-middleware-serveframework": "^3.1.1",
"ui5-middleware-serveframework": "^3.1.2",
"ui5-tooling-transpile": "^3.4.7"
}
}
2 changes: 1 addition & 1 deletion steps/04/ui5.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
type: application
framework:
name: OpenUI5
version: "1.120.15"
version: "1.120.18"
libraries:
- name: sap.m
- name: sap.ui.core
Expand Down
2 changes: 1 addition & 1 deletion steps/04/webapp/index-cdn.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<title>UI5 TypeScript Walkthrough</title>
<script
id="sap-ui-bootstrap"
src="https://sdk.openui5.org/1.120.1/resources/sap-ui-core.js"
src="https://sdk.openui5.org/1.120.18/resources/sap-ui-core.js"
data-sap-ui-theme="sap_horizon"
data-sap-ui-compatVersion="edge"
data-sap-ui-async="true"
Expand Down
6 changes: 3 additions & 3 deletions steps/05/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
"start": "ui5 serve -o index.html"
},
"devDependencies": {
"@types/openui5": "^1.126.0",
"@ui5/cli": "^3.11.0",
"@types/openui5": "^1.120.0",
"@ui5/cli": "^4.0.2",
"typescript": "^5.5.4",
"ui5-middleware-livereload": "^3.0.3",
"ui5-middleware-serveframework": "^3.1.1",
"ui5-middleware-serveframework": "^3.1.2",
"ui5-tooling-transpile": "^3.4.7"
}
}
2 changes: 1 addition & 1 deletion steps/05/ui5.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
type: application
framework:
name: OpenUI5
version: "1.120.15"
version: "1.120.18"
libraries:
- name: sap.m
- name: sap.ui.core
Expand Down
2 changes: 1 addition & 1 deletion steps/05/webapp/index-cdn.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<title>UI5 TypeScript Walkthrough</title>
<script
id="sap-ui-bootstrap"
src="https://sdk.openui5.org/1.120.1/resources/sap-ui-core.js"
src="https://sdk.openui5.org/1.120.18/resources/sap-ui-core.js"
data-sap-ui-theme="sap_horizon"
data-sap-ui-compatVersion="edge"
data-sap-ui-async="true"
Expand Down
6 changes: 3 additions & 3 deletions steps/06/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
"start": "ui5 serve -o index.html"
},
"devDependencies": {
"@types/openui5": "^1.126.0",
"@ui5/cli": "^3.11.0",
"@types/openui5": "^1.120.0",
"@ui5/cli": "^4.0.2",
"typescript": "^5.5.4",
"ui5-middleware-livereload": "^3.0.3",
"ui5-middleware-serveframework": "^3.1.1",
"ui5-middleware-serveframework": "^3.1.2",
"ui5-tooling-transpile": "^3.4.7"
}
}
2 changes: 1 addition & 1 deletion steps/06/ui5.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
type: application
framework:
name: OpenUI5
version: "1.120.15"
version: "1.120.18"
libraries:
- name: sap.m
- name: sap.ui.core
Expand Down
2 changes: 1 addition & 1 deletion steps/06/webapp/index-cdn.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<title>UI5 TypeScript Walkthrough</title>
<script
id="sap-ui-bootstrap"
src="https://sdk.openui5.org/1.120.1/resources/sap-ui-core.js"
src="https://sdk.openui5.org/1.120.18/resources/sap-ui-core.js"
data-sap-ui-theme="sap_horizon"
data-sap-ui-compatVersion="edge"
data-sap-ui-async="true"
Expand Down
6 changes: 3 additions & 3 deletions steps/07/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
"start": "ui5 serve -o index.html"
},
"devDependencies": {
"@types/openui5": "^1.126.0",
"@ui5/cli": "^3.11.0",
"@types/openui5": "^1.120.0",
"@ui5/cli": "^4.0.2",
"typescript": "^5.5.4",
"ui5-middleware-livereload": "^3.0.3",
"ui5-middleware-serveframework": "^3.1.1",
"ui5-middleware-serveframework": "^3.1.2",
"ui5-tooling-transpile": "^3.4.7"
}
}
2 changes: 1 addition & 1 deletion steps/07/ui5.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
type: application
framework:
name: OpenUI5
version: "1.120.15"
version: "1.120.18"
libraries:
- name: sap.m
- name: sap.ui.core
Expand Down
2 changes: 1 addition & 1 deletion steps/07/webapp/index-cdn.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<title>UI5 TypeScript Walkthrough</title>
<script
id="sap-ui-bootstrap"
src="https://sdk.openui5.org/1.120.1/resources/sap-ui-core.js"
src="https://sdk.openui5.org/1.120.18/resources/sap-ui-core.js"
data-sap-ui-theme="sap_horizon"
data-sap-ui-compatVersion="edge"
data-sap-ui-async="true"
Expand Down
6 changes: 3 additions & 3 deletions steps/08/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
"start": "ui5 serve -o index.html"
},
"devDependencies": {
"@types/openui5": "^1.126.0",
"@ui5/cli": "^3.11.0",
"@types/openui5": "^1.120.0",
"@ui5/cli": "^4.0.2",
"typescript": "^5.5.4",
"ui5-middleware-livereload": "^3.0.3",
"ui5-middleware-serveframework": "^3.1.1",
"ui5-middleware-serveframework": "^3.1.2",
"ui5-tooling-transpile": "^3.4.7"
}
}
2 changes: 1 addition & 1 deletion steps/08/ui5.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
type: application
framework:
name: OpenUI5
version: "1.120.15"
version: "1.120.18"
libraries:
- name: sap.m
- name: sap.ui.core
Expand Down
2 changes: 1 addition & 1 deletion steps/08/webapp/index-cdn.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<title>UI5 TypeScript Walkthrough</title>
<script
id="sap-ui-bootstrap"
src="https://sdk.openui5.org/1.120.1/resources/sap-ui-core.js"
src="https://sdk.openui5.org/1.120.18/resources/sap-ui-core.js"
data-sap-ui-theme="sap_horizon"
data-sap-ui-compatVersion="edge"
data-sap-ui-async="true"
Expand Down
6 changes: 3 additions & 3 deletions steps/09/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
"start": "ui5 serve -o index.html"
},
"devDependencies": {
"@types/openui5": "^1.126.0",
"@ui5/cli": "^3.11.0",
"@types/openui5": "^1.120.0",
"@ui5/cli": "^4.0.2",
"typescript": "^5.5.4",
"ui5-middleware-livereload": "^3.0.3",
"ui5-middleware-serveframework": "^3.1.1",
"ui5-middleware-serveframework": "^3.1.2",
"ui5-tooling-transpile": "^3.4.7"
}
}
2 changes: 1 addition & 1 deletion steps/09/ui5.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
type: application
framework:
name: OpenUI5
version: "1.120.15"
version: "1.120.18"
libraries:
- name: sap.m
- name: sap.ui.core
Expand Down
2 changes: 1 addition & 1 deletion steps/09/webapp/index-cdn.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<title>UI5 TypeScript Walkthrough</title>
<script
id="sap-ui-bootstrap"
src="https://sdk.openui5.org/1.120.1/resources/sap-ui-core.js"
src="https://sdk.openui5.org/1.120.18/resources/sap-ui-core.js"
data-sap-ui-theme="sap_horizon"
data-sap-ui-compatVersion="edge"
data-sap-ui-async="true"
Expand Down
6 changes: 3 additions & 3 deletions steps/10/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
"start": "ui5 serve -o index.html"
},
"devDependencies": {
"@types/openui5": "^1.126.0",
"@ui5/cli": "^3.11.0",
"@types/openui5": "^1.120.0",
"@ui5/cli": "^4.0.2",
"typescript": "^5.5.4",
"ui5-middleware-livereload": "^3.0.3",
"ui5-middleware-serveframework": "^3.1.1",
"ui5-middleware-serveframework": "^3.1.2",
"ui5-tooling-transpile": "^3.4.7"
}
}
2 changes: 1 addition & 1 deletion steps/10/ui5.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
type: application
framework:
name: OpenUI5
version: "1.120.15"
version: "1.120.18"
libraries:
- name: sap.m
- name: sap.ui.core
Expand Down
4 changes: 2 additions & 2 deletions steps/10/webapp/index-cdn.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<title>UI5 TypeScript Walkthrough</title>
<script
id="sap-ui-bootstrap"
src="https://sdk.openui5.org/1.120.1/resources/sap-ui-core.js"
src="https://sdk.openui5.org/1.120.18/resources/sap-ui-core.js"
data-sap-ui-theme="sap_horizon"
data-sap-ui-compatVersion="edge"
data-sap-ui-async="true"
Expand All @@ -16,6 +16,6 @@
</script>
</head>
<body class="sapUiBody" id="content">
<div data-sap-ui-component data-name="ui5.walkthrough" data-id="container" data-settings='{"id" : "walkthrough"}'></div>
<div data-sap-ui-component data-name="ui5.walkthrough" data-id="container" data-settings='{"id" : "walkthrough"}'></div>
</body>
</html>
6 changes: 3 additions & 3 deletions steps/11/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
"start": "ui5 serve -o index.html"
},
"devDependencies": {
"@types/openui5": "^1.126.0",
"@ui5/cli": "^3.11.0",
"@types/openui5": "^1.120.0",
"@ui5/cli": "^4.0.2",
"typescript": "^5.5.4",
"ui5-middleware-livereload": "^3.0.3",
"ui5-middleware-serveframework": "^3.1.1",
"ui5-middleware-serveframework": "^3.1.2",
"ui5-tooling-transpile": "^3.4.7"
}
}
2 changes: 1 addition & 1 deletion steps/11/ui5.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
type: application
framework:
name: OpenUI5
version: "1.120.15"
version: "1.120.18"
libraries:
- name: sap.m
- name: sap.ui.core
Expand Down
Loading

0 comments on commit 9cdadd4

Please sign in to comment.