Skip to content
Merged
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
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ versions [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

- The peer range moves to `@cap2ui5/cds-plugin` ^0.5.0, the plugin that
hosts `@abap2ui5/node-runtime` 1.147.0 (abap2UI5 1.147.0, the transpiler
2.14 output layout).
2.14 output layout). `@abaplint/transpiler-cli` moves to 2.14.3 with it,
the transpiler that runtime was built with: the differential test refuses
any other, and the v0.3.0 tag's first run died on 2.13.93.
- The pin moves to abap2UI5/samples `2e998ef` (2026-09-30). `Z2UI5_CL_SMP_APP_173`
is translated again from its reworked original - a metadata-driven table
and form with `template:with`, nested `template:repeat` and
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
},
"devDependencies": {
"@abaplint/core": "^2.120.60",
"@abaplint/transpiler-cli": "2.13.93",
"@abaplint/transpiler-cli": "2.14.3",
"@cap-js/cds-test": "^1.0.2",
"@cap-js/sqlite": "^3",
"@cap2ui5/cds-plugin": "^0.5.0",
Expand Down
9 changes: 7 additions & 2 deletions scripts/originals.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -99,9 +99,14 @@ try {
fs.rmSync(out, { recursive: true, force: true });
fs.mkdirSync(out, { recursive: true });
let n = 0;
// where the transpiler put the project's own classes: a folder per origin
// from @abaplint/transpiler 2.14 on (output/project/, the libs beside it as
// output/downport/ and output/open-abap-core/ - the layout the 1.147.0
// runtime records), the flat output/ before
const written = ["project", ""].map((d) => path.join(work, "output", d)).find((d) => fs.existsSync(d));
for (const name of names) {
const file = path.join(work, "output", `${rename(name)}.clas.mjs`);
if (!fs.existsSync(file)) throw new Error(`the transpiler wrote no ${rename(name)}.clas.mjs`);
const file = path.join(written, `${rename(name)}.clas.mjs`);
if (!fs.existsSync(file)) throw new Error(`the transpiler wrote no ${rename(name)}.clas.mjs under ${path.relative(work, written) || "output"}/`);
fs.copyFileSync(file, path.join(out, path.basename(file)));
n++;
}
Expand Down
Loading