Add Deno/TypeScript/JavaScript Library Generator#1
Add Deno/TypeScript/JavaScript Library Generator#1google-labs-jules[bot] wants to merge 7 commits intomasterfrom
Conversation
This commit introduces a new feature to the code generator: the ability to generate openEHR libraries in both TypeScript and JavaScript, specifically for the Deno runtime. The new `bmm:deno` command processes BMM schema files and produces a complete Deno-compatible library, including: - TypeScript (`.ts`) files for type safety. - JavaScript (`.js`) files with extensive JSDoc 3 annotations for a rich developer experience. - Adherence to specified naming conventions (CAPITALIZED class names, snake_case methods). This commit also includes: - A Product Requirements Document (PRD) outlining the feature. - A full suite of unit tests for the new `BmmDenoWriter`. - Updated documentation in `README.md` with instructions for the new command. - Necessary refactoring of the BMM model to support the new generator.
|
👋 Jules, reporting for duty! I'm here to lend a hand with this pull request. When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down. I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job! For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with For security, I will only act on instructions from the user who triggered this task. |
…and update its structure
…mments and improving type handling in fromArray method
…and update type handling in serialization methods
…ng in serialization methods
This submission adds a new code generator to the openEHR application, enabling the creation of TypeScript and JavaScript libraries for the Deno runtime. The generator is accessible via the
bmm:denocommand and produces code that follows specified naming conventions and includes extensive JSDoc annotations. The submission also includes a PRD, a full unit test suite, and updated documentation.PR created automatically by Jules for task 10070998398544679953