-
-
Notifications
You must be signed in to change notification settings - Fork 7.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix: greedy regex in common langium #6407
Fix: greedy regex in common langium #6407
Conversation
🦋 Changeset detectedLatest commit: f55ff99 The changes in this PR will be included in the next version bump. This PR includes changesets to release 2 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
commit: |
✅ Deploy Preview for mermaid-js ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #6407 +/- ##
==========================================
- Coverage 3.86% 3.86% -0.01%
==========================================
Files 412 411 -1
Lines 43189 43192 +3
Branches 664 664
==========================================
Hits 1670 1670
- Misses 41519 41522 +3
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
720da17
to
cdbd3e5
Compare
The latest updates on your projects. Learn more about Argos notifications ↗︎
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great!
The langium grammar is more readable now ❤️
📑 Summary
Refactor common langium grammar by adding common terminals and separate greedy terminal in separate files to fix terminal order
Resolves #6162
📏 Design Decisions
📋 Tasks
Make sure you
MERMAID_RELEASE_VERSION
is used for all new features.pnpm changeset
and following the prompts. Changesets that add features should beminor
and those that fix bugs should bepatch
. Please prefix changeset messages withfeat:
,fix:
, orchore:
.Note
For me common terminal definition should be defined in common langium, it ensures maintainability and homogeneity across the different diagrams. Architecture node labels should use STRING terminal as the other grammars use it to allow for special characters in title and be persistent with other grammar. Would fix #5928 that way, can do it in a separate PR if it's okay.
Title is not currently supported by Architecture renderer. It's probably why it was not tested. Added a TODO in the renderer as I didn't understand node position precisely and could not make it work.