Skip to content

fix(js): jsx plugin integration#482

Merged
neSpecc merged 3 commits intomasterfrom
fix-jsx-plugin-integration
Nov 26, 2025
Merged

fix(js): jsx plugin integration#482
neSpecc merged 3 commits intomasterfrom
fix-jsx-plugin-integration

Conversation

@e11sy
Copy link
Copy Markdown
Member

@e11sy e11sy commented Nov 26, 2025

Problem

jsx plugin usage may break the parsing in band with typescript plugin

sometimes jsx treats ts type casts e.g.

const a = <number>stringifiedA;

as jsx tags instead of ts syntax — then plugin fails to parse the code as a valid jsx and throws

Solution

use jsx plugin in babel parser only for .jsx or .tsx files (also we can use it with plain js)

@neSpecc neSpecc merged commit 69a2463 into master Nov 26, 2025
4 checks passed
@neSpecc neSpecc deleted the fix-jsx-plugin-integration branch November 26, 2025 19:43
e11sy added a commit that referenced this pull request Nov 30, 2025
* feat(noti): added loop sender worker (#479)

* feat(noti): added loop sender worker

* fix tests

* added numbers declension

* fix lint

* added examples for decl

* Update workers/loop/src/provider.ts

Co-authored-by: e11sy <130844513+e11sy@users.noreply.github.com>

* Update workers/loop/src/provider.ts

Co-authored-by: e11sy <130844513+e11sy@users.noreply.github.com>

* fix tests

---------

Co-authored-by: e11sy <130844513+e11sy@users.noreply.github.com>

* fix(js): jsx plugin integration (#482)

* fix(js): use babel parser plugins based on type extension

* fix(): comments

* fix(): duplicated variable

* Update mail message for "blocked workspace" event (#478)

* Localize block workspace email templates to Russian

Translated block workspace email subject, text, and layout components from English to Russian to improve localization for Russian-speaking users. Updated button label and system name references accordingly.

* Update block workspace email wording

Rephrased notification messages in both HTML and text email templates for blocked workspaces to improve clarity and conciseness.

* Update workers/email/src/templates/emails/block-workspace/html.twig

Co-authored-by: Peter <specc.dev@gmail.com>

* Update block workspace email templates wording

Revised subject and body text in block workspace email templates for clarity and consistency. The new wording emphasizes that the workspace no longer receives events and that users are not tracking new errors due to plan limits or expiration.

* Update button label based on tariff plan

The button label in the block workspace email template now changes to 'Увеличить лимит от 99₽' if the workspace's tariffPlanId matches a specific value, otherwise it remains 'Открыть настройки'.

* Fix spacing in button label currency symbol

Added a space between the amount and the ₽ currency symbol in the button label for improved readability in the block workspace email template.

* Fix punctuation in block workspace email template

Added a missing period and line break to improve readability and clarity in the block workspace notification email template.

* Improve block workspace email template formatting

Replaces line breaks with paragraph tags for better readability and updates Twig syntax for tariff plan comparison in the button label.

---------

Co-authored-by: Peter <specc.dev@gmail.com>

---------

Co-authored-by: Vyacheslav Chernyshev <81693471+slaveeks@users.noreply.github.com>
Co-authored-by: e11sy <130844513+e11sy@users.noreply.github.com>
Co-authored-by: Taly <vitalik7tv@yandex.ru>
Co-authored-by: Peter <specc.dev@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants