Skip to content

Commit dd6af08

Browse files
authored
update (#16)
1 parent 63bbc9e commit dd6af08

11 files changed

+25
-17
lines changed

extra.mjs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
import * as fs from "node:fs";
2+
3+
// workaround for the class_constructor
4+
5+
const filename = "./output/zcl_excel_worksheet.clas.mjs";
6+
let contents = fs.readFileSync(filename).toString("utf8");
7+
contents = `await import("./cl_abap_elemdescr.clas.mjs");\n` + contents;
8+
fs.writeFileSync(filename, contents);

package-lock.json

Lines changed: 12 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@
1010
"clone": "npm run clone1 && npm run clone2 && npm run clone3",
1111
"dev": "webpack serve --mode development --env development",
1212
"webpack": "webpack",
13-
"transpile": "abap_transpile abap_transpile.json",
13+
"transpile": "abap_transpile abap_transpile.json && node extra.mjs",
1414
"test": "npm run clone && rm -rf input && mkdir input && node abap.mjs && npm run transpile && node examples.mjs && npm run webpack"
1515
},
1616
"author": "",
1717
"license": "MIT",
1818
"devDependencies": {
19-
"@abaplint/monaco": "^2.113.7",
19+
"@abaplint/monaco": "^2.113.8",
2020
"@abaplint/runtime": "^2.10.18",
2121
"@abaplint/transpiler": "^2.10.18",
2222
"@abaplint/transpiler-cli": "^2.10.18",
@@ -36,7 +36,7 @@
3636
"string_decoder": "^1.3.0",
3737
"style-loader": "^4.0.0",
3838
"ts-loader": "^9.5.1",
39-
"typescript": "^5.5.4",
39+
"typescript": "^5.6.2",
4040
"webpack": "^5.94.0",
4141
"webpack-cli": "^5.1.4",
4242
"webpack-dev-server": "^5.1.0"

public/zcl_excel_demo1.xlsx

0 Bytes
Binary file not shown.

public/zcl_excel_demo2.xlsx

0 Bytes
Binary file not shown.

public/zcl_excel_demo4.xlsx

0 Bytes
Binary file not shown.

public/zcl_excel_demo5.xlsx

-1 Bytes
Binary file not shown.

public/zcl_excel_demo6.xlsx

-1 Bytes
Binary file not shown.

public/zcl_excel_demo7.xlsx

-1 Bytes
Binary file not shown.

public/zcl_excel_demo8.xlsx

-1 Bytes
Binary file not shown.

src/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@ import * as abaplint from "@abaplint/core";
2424
import * as abapMonaco from "@abaplint/monaco";
2525
import Split from "split-grid";
2626
import { abapfiles } from "./abap.js";
27-
import * as initabap from "../output/init.mjs";
27+
import "../output/_init.mjs";
2828
import {Buffer} from "buffer";
29-
console.dir(initabap); // just to make sure its not shaked away
29+
// console.dir(initabap); // just to make sure its not shaked away
3030

3131
const reg = new abaplint.Registry(new abaplint.Config(JSON.stringify(config)));
3232
for (const filename in abapfiles) {

0 commit comments

Comments
 (0)