@open-rap/compiler 0.1.1 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/docs/DECISIONS.md +30 -0
- package/docs/FEATURES.md +1 -1
- package/docs/README.md +1 -2
- package/package.json +10 -2
package/docs/DECISIONS.md
CHANGED
|
@@ -1505,6 +1505,8 @@ correspond to points 1 to 13 of §11 of PLAN.md. The milestones M1 to M6 are tho
|
|
|
1505
1505
|
|
|
1506
1506
|
## D71 — Feedback: a public feedback repository and a form on the website
|
|
1507
1507
|
|
|
1508
|
+
_The issues moved to the repository itself once public: see D74._
|
|
1509
|
+
|
|
1508
1510
|
- **Context**: the repository is private, so its issues are not open to the users; bug reports
|
|
1509
1511
|
and feature requests had no place.
|
|
1510
1512
|
- **Decision**: a public repository, `ClementRingot/open-rap-runtime-feedback`, holds the issues,
|
|
@@ -1552,3 +1554,31 @@ correspond to points 1 to 13 of §11 of PLAN.md. The milestones M1 to M6 are tho
|
|
|
1552
1554
|
- **Tests**: `vscode/test/rapt.test.ts` (name of a project in the prompts, applications of the
|
|
1553
1555
|
workspace, URL of the feedback form); a launchpad of three projects (one already built, two without floorplan) under a folder
|
|
1554
1556
|
with an accent built by `rapt launchpad` in 2 s.
|
|
1557
|
+
|
|
1558
|
+
## D73 — The missing abapGit files are written before a build in VS Code
|
|
1559
|
+
|
|
1560
|
+
- **Context**: a project written by hand or by an AI agent can lack its abapGit files
|
|
1561
|
+
(`.abapgit.xml`, the XML of the objects): `rapt build` does not need them, but the sources then
|
|
1562
|
+
do not import into an SAP system with abapGit, which is the purpose of the project.
|
|
1563
|
+
- **Decision**: *Build the application* (standalone or launchpad) and *Build the launchpad* run
|
|
1564
|
+
`rapt abapgit` on each application before building it: the missing files are written, the
|
|
1565
|
+
existing ones are kept. The written files are listed in the log of the extension and announced
|
|
1566
|
+
in a message; the objects that cannot be completed (a table without source) are logged; a
|
|
1567
|
+
failure does not stop the build. The command line (`rapt build`, `rapt launchpad`) writes
|
|
1568
|
+
nothing into the sources: in a terminal or a CI, `rapt abapgit` is run explicitly.
|
|
1569
|
+
- **Why**: the build of the extension is the moment the user hands the application over; the
|
|
1570
|
+
sources that go with it must be importable as they are.
|
|
1571
|
+
- **Tests**: `vscode/test/rapt.test.ts` (missing files written, existing files kept, a second run
|
|
1572
|
+
writes nothing).
|
|
1573
|
+
|
|
1574
|
+
## D74 — The repository is public: feedback goes to its own issues
|
|
1575
|
+
|
|
1576
|
+
- **Context**: the repository `ClementRingot/Open-RAP-Runtime` becomes public, so its issues are
|
|
1577
|
+
open to the users; the separate feedback repository of D71 is no longer needed.
|
|
1578
|
+
- **Decision**: the feedback form of the website (and so the VS Code command *RAP: Report a bug
|
|
1579
|
+
or request a feature…*) opens a pre-filled issue in the repository itself, with the same issue
|
|
1580
|
+
forms, now in `.github/ISSUE_TEMPLATE` (bug report, feature request; blank issues disabled).
|
|
1581
|
+
The npm packages give the repository and its issues (`repository`, `bugs`). The repository
|
|
1582
|
+
`open-rap-runtime-feedback` points to the new place; its issues stay readable. The rest of D71
|
|
1583
|
+
holds (fields filled from the query string, version and environment from the extension).
|
|
1584
|
+
- **Tests**: `compiler/test/docs.test.ts` (no link to the former name of the repository).
|
package/docs/FEATURES.md
CHANGED
|
@@ -284,4 +284,4 @@ dependent ETag, remote APIs.
|
|
|
284
284
|
| MCP server of rapt for AI coding agents (`rapt agent`), registered in the agent mode of VS Code | ✅ | Check, objects, floorplans, abapGit, documentation (D64). |
|
|
285
285
|
| npm package `open-rap-runtime` (`rapt`, `npx open-rap-runtime`) | ✅ | D65; archives of `pnpm pack` checked on each tag before publication with `NPM_TOKEN`. |
|
|
286
286
|
| Website with the documentation | ✅ | D62, D63. |
|
|
287
|
-
| Feedback form (website, *RAP: Report a bug or request a feature…*) to the
|
|
287
|
+
| Feedback form (website, *RAP: Report a bug or request a feature…*) to the issues of the repository | ✅ | D71, D74. |
|
package/docs/README.md
CHANGED
|
@@ -118,8 +118,7 @@ Open RAP Runtime, contains this documentation and serves the `.vsix` of the late
|
|
|
118
118
|
|
|
119
119
|
Report a bug or request a feature with the
|
|
120
120
|
[feedback form](https://clementringot.github.io/Open-Rap-Runtime/feedback.html) (it opens a
|
|
121
|
-
pre-filled issue in the
|
|
122
|
-
[feedback repository](https://github.com/ClementRingot/open-rap-runtime-feedback)), or in VS Code
|
|
121
|
+
pre-filled issue in the [issues](https://github.com/ClementRingot/Open-RAP-Runtime/issues) of this repository), or in VS Code
|
|
123
122
|
with *RAP: Report a bug or request a feature…*.
|
|
124
123
|
|
|
125
124
|
## Contributing
|
package/package.json
CHANGED
|
@@ -1,10 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@open-rap/compiler",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"description": "Compiles SAP RAP sources (abapGit format) into a standalone Node.js OData V4 application.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"homepage": "https://clementringot.github.io/Open-Rap-Runtime/",
|
|
8
|
+
"repository": {
|
|
9
|
+
"type": "git",
|
|
10
|
+
"url": "git+https://github.com/ClementRingot/Open-RAP-Runtime.git",
|
|
11
|
+
"directory": "packages/compiler"
|
|
12
|
+
},
|
|
13
|
+
"bugs": {
|
|
14
|
+
"url": "https://github.com/ClementRingot/Open-RAP-Runtime/issues"
|
|
15
|
+
},
|
|
8
16
|
"keywords": [
|
|
9
17
|
"sap",
|
|
10
18
|
"rap",
|
|
@@ -44,7 +52,7 @@
|
|
|
44
52
|
"@abaplint/transpiler": "2.14.24",
|
|
45
53
|
"chevrotain": "13.2.0",
|
|
46
54
|
"fast-xml-parser": "5.12.0",
|
|
47
|
-
"@open-rap/model": "0.1.
|
|
55
|
+
"@open-rap/model": "0.1.2"
|
|
48
56
|
},
|
|
49
57
|
"scripts": {
|
|
50
58
|
"build": "tsc -p tsconfig.build.json && node scripts/copy-docs.mjs"
|