Skip to content

Commit ec7e90b

Browse files
authored
update
1 parent c2ccfbe commit ec7e90b

File tree

247 files changed

+13464
-6317
lines changed

Some content is hidden

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

247 files changed

+13464
-6317
lines changed

.abapgit.xml

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

.github/dependabot.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: npm
4+
directory: "/"
5+
schedule:
6+
interval: monthly
7+
time: "04:00"
8+
open-pull-requests-limit: 10
9+
versioning-strategy: increase

.github/workflows/nodejs.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: Node.js CI
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v4
10+
- name: Use Node.js
11+
uses: actions/setup-node@v4
12+
- run: npm install
13+
- run: npm test
14+
env:
15+
CI: true

.gitignore

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,6 @@
1-
node_modules
1+
build/
2+
node_modules/
3+
coverage
4+
.nyc_output
5+
.vscode/
6+
/*.abap

.npmignore

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
npm-debug.log
2+
*.js.map
3+
.github
4+
test
5+
sample
6+
tsconfig.json
7+
/src/*
8+
.eslintrc.js

.npmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
ignore-scripts=true

LICENSE

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
MIT License
1+
The MIT License (MIT)
22

3-
Copyright (c) 2025 abap2UI5
3+
Copyright (c) 2016 Lars Hvam
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 5 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,40 +1,9 @@
1-
# build-local
2-
All abap2UI5 artifacts are combined into a single HTTP handler implementation as local classes. This approach makes your app completely independent of the rest of the system or any other abap2UI5 installation.
1+
[![npm version](https://badge.fury.io/js/abapmerge.svg)](https://badge.fury.io/js/abapmerge)
32

4-
#### Installation
3+
# abap2UI5-local merge template
54

6-
1. Create a new HTTP handler in your system.
7-
2. Copy & paste the handler class from this repository.
8-
3. Add your abap2UI5 app as a local class and start it via your new HTTP endpoint.
9-
4. Alternatively, pull this repository using abapGit.
10-
11-
12-
#### Approach
13-
14-
<img width="500" alt="Screenshot 2025-02-13 at 13 24 18" src="https://github.com/user-attachments/assets/5fcc56a8-8e2c-41b2-84b3-e50242ff648c" />
15-
16-
17-
#### Persistence
18-
To avoid any side effects with other abap2UI5 installations, this version uses the table z2ui5_t_99 for persistence. You can either pull this repository or manually create the following table in your system:
19-
```cds
20-
@EndUserText.label : 'abap2ui5 local'
21-
@AbapCatalog.enhancement.category : #NOT_EXTENSIBLE
22-
@AbapCatalog.tableCategory : #TRANSPARENT
23-
@AbapCatalog.deliveryClass : #A
24-
@AbapCatalog.dataMaintenance : #RESTRICTED
25-
define table z2ui5_t_99 {
26-
key mandt : mandt not null;
27-
key id : abap.char(32) not null;
28-
id_prev : abap.char(32);
29-
id_prev_app : abap.char(32);
30-
id_prev_app_stack : abap.char(32);
31-
timestampl : timestampl;
32-
uname : abap.char(20);
33-
data : abap.string(0);
34-
35-
}
365
```
6+
git clone https://github.com/abap2UI5/abap2UI5
7+
npx abapmerge -f sample/ztest.prog.abap -c zabap2ui5_local -o zabap2ui5_local
378
38-
#### Info
39-
* HTTP API: `/sap/bc/z2ui5standalone?sap-client=001&app_start=z2ui5_cl_my_standalone_app`
40-
* Credits: Created with the fantastic tool [abapmerge](https://github.com/larshp/abapmerge)
9+
```

abaplint.jsonc

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

abapmerge

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#!/usr/bin/env node
2+
3+
require("./build/src/index");

0 commit comments

Comments
 (0)