mirror of
https://github.com/abap2UI5/abap2UI5.git
synced 2025-04-29 16:36:11 +08:00
update
This commit is contained in:
parent
a1dbf647fa
commit
71a7de0736
35
.github/abaplint/abap_702.jsonc
vendored
Normal file
35
.github/abaplint/abap_702.jsonc
vendored
Normal file
|
@ -0,0 +1,35 @@
|
||||||
|
{
|
||||||
|
"global": {
|
||||||
|
"files": "/../../src/**/*.*"
|
||||||
|
},
|
||||||
|
"dependencies": [
|
||||||
|
{
|
||||||
|
"url": "https://github.com/open-abap/open-abap-core",
|
||||||
|
"folder": "/deps",
|
||||||
|
"files": "/src/**/*.*"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"url": "https://github.com/abap2UI5/abap2UI5-downported",
|
||||||
|
"folder": "/abap2UI5",
|
||||||
|
"files": "/src/**/*.*"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"syntax": {
|
||||||
|
"version": "v702",
|
||||||
|
"errorNamespace": "."
|
||||||
|
},
|
||||||
|
"rules": {
|
||||||
|
"downport": true,
|
||||||
|
"begin_end_names": true,
|
||||||
|
"check_ddic": true,
|
||||||
|
"check_include": true,
|
||||||
|
"check_syntax": true,
|
||||||
|
"global_class": true,
|
||||||
|
"implement_methods": true,
|
||||||
|
"method_implemented_twice": true,
|
||||||
|
"parser_error": true,
|
||||||
|
"superclass_final": true,
|
||||||
|
"unknown_types": true,
|
||||||
|
"xml_consistency": true
|
||||||
|
}
|
||||||
|
}
|
38
.github/workflows/auto_downport.yaml
vendored
Normal file
38
.github/workflows/auto_downport.yaml
vendored
Normal file
|
@ -0,0 +1,38 @@
|
||||||
|
name: auto_downport
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [standard]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
auto_downport:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
timeout-minutes: 10
|
||||||
|
steps:
|
||||||
|
- name: Checkout Repository
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
|
- name: Set up Node.js
|
||||||
|
uses: actions/setup-node@v3
|
||||||
|
with:
|
||||||
|
node-version: '16'
|
||||||
|
|
||||||
|
- run: npm ci
|
||||||
|
- run: npm run downport
|
||||||
|
|
||||||
|
- name: Commit Changes
|
||||||
|
run: |
|
||||||
|
git config --global user.name 'github-actions[bot]'
|
||||||
|
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
|
||||||
|
git add src
|
||||||
|
git commit -m "Downport changes"
|
||||||
|
|
||||||
|
- name: Switch to Branch 702
|
||||||
|
run: git checkout -b 702
|
||||||
|
|
||||||
|
- name: Push Changes
|
||||||
|
uses: ad-m/github-push-action@v0.6.0
|
||||||
|
with:
|
||||||
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
branch: 702
|
||||||
|
force: true
|
38
.github/workflows/build_downport_branch.yml
vendored
38
.github/workflows/build_downport_branch.yml
vendored
|
@ -1,38 +0,0 @@
|
||||||
name: build_downport_branch
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches: [main]
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
build_downpor_branch:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
timeout-minutes: 10
|
|
||||||
steps:
|
|
||||||
- name: Checkout Repository
|
|
||||||
uses: actions/checkout@v3
|
|
||||||
with:
|
|
||||||
ref: 702
|
|
||||||
|
|
||||||
- name: Set up Node.js
|
|
||||||
uses: actions/setup-node@v3
|
|
||||||
with:
|
|
||||||
node-version: '16'
|
|
||||||
|
|
||||||
- run: npm ci
|
|
||||||
- run: npm run downport
|
|
||||||
- name: Create Pull Request
|
|
||||||
id: cpr
|
|
||||||
uses: peter-evans/create-pull-request@v5
|
|
||||||
with:
|
|
||||||
branch: auto-update-downport
|
|
||||||
title: "Auto Update Downport"
|
|
||||||
commit-message: "Auto Update Downport"
|
|
||||||
body: "This PR contains automated changes."
|
|
||||||
labels: "auto-merge"
|
|
||||||
- name: Enable Pull Request Automerge
|
|
||||||
if: steps.changes.outputs.changes == 'true'
|
|
||||||
uses: peter-evans/enable-pull-request-automerge@v3
|
|
||||||
with:
|
|
||||||
pull-request-number: ${{ steps.cpr.outputs.pull-request-number }}
|
|
||||||
merge-method: squash
|
|
3
.gitignore
vendored
Normal file
3
.gitignore
vendored
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
downport
|
||||||
|
node_modules
|
||||||
|
output
|
4985
package-lock.json
generated
Normal file
4985
package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load Diff
38
package.json
Normal file
38
package.json
Normal file
|
@ -0,0 +1,38 @@
|
||||||
|
{
|
||||||
|
"name": "abap2ui5-layout-variant-management",
|
||||||
|
"private": true,
|
||||||
|
"version": "1.0.0",
|
||||||
|
"description": "Layout Management for abap2UI5.",
|
||||||
|
"scripts": {
|
||||||
|
"syfixes": "find . -type f -name '*.abap' -exec sed -i -e 's/ RAISE EXCEPTION TYPE cx_sy_itab_line_not_found/ ASSERT 1 = 0/g' {} + ",
|
||||||
|
"downport": "abaplint --fix .github/abaplint/abap_702.jsonc && npm run syfixes"
|
||||||
|
},
|
||||||
|
"repository": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "git+https://github.com/abap2UI5-addons/layout-management.git"
|
||||||
|
},
|
||||||
|
"license": "MIT",
|
||||||
|
"bugs": {
|
||||||
|
"url": "https://github.com/abap2UI5-addons/layout-management.git"
|
||||||
|
},
|
||||||
|
"homepage": "https://github.com/abap2UI5-addons/layout-management#readme",
|
||||||
|
"devDependencies": {
|
||||||
|
"@abaplint/cli": "^2.113.86",
|
||||||
|
"@abaplint/database-sqlite": "^2.10.20",
|
||||||
|
"@abaplint/runtime": "^2.10.23",
|
||||||
|
"@abaplint/transpiler-cli": "^2.10.23",
|
||||||
|
"@types/node": "^22.10.5",
|
||||||
|
"buffer": "^6.0.3",
|
||||||
|
"copy-webpack-plugin": "^12.0.2",
|
||||||
|
"express": "^4.21.2",
|
||||||
|
"html-webpack-plugin": "^5.6.3",
|
||||||
|
"path-browserify": "^1.0.1",
|
||||||
|
"web-encoding": "^1.1.5",
|
||||||
|
"webpack-cli": "^6.0.1",
|
||||||
|
"webpack-dev-server": "^5.2.0",
|
||||||
|
"@playwright/test": "^1.49.1"
|
||||||
|
},
|
||||||
|
"dependencies": {
|
||||||
|
"npm-check-updates": "^17.1.13"
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user