Skip to content

[babel-plugin-fbtee] export processJSON method - #84

Merged
cpojer merged 1 commit into
nkzw-tech:mainfrom
JCown:export-process-json-babel-plugin
Jul 24, 2026
Merged

[babel-plugin-fbtee] export processJSON method#84
cpojer merged 1 commit into
nkzw-tech:mainfrom
JCown:export-process-json-babel-plugin

Conversation

@JCown

@JCown JCown commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

Export processJSON, pure in memory JS method (e.g. no external binaries involved) used by fbtee translate CLI command.
fbtee translate under the hood uses processJSON to produce "final" localized JSON file.

My use case it: I'm building a panel for translations management and I would like to have a possibility to build "final JSON" (output that is normally produced by fbtee translate CLI command) in there and then serve it directly via API (since its JSON) to the app for example to achieve instant translations preview

@cpojer pinging u since this one seems quite simple and it would help me 😁

@pkg-pr-new

pkg-pr-new Bot commented Jul 23, 2026

Copy link
Copy Markdown

Open in StackBlitz

@nkzw/babel-plugin-fbtee

npm i https://pkg.pr.new/@nkzw/babel-plugin-fbtee@84

@nkzw/babel-plugin-fbtee-auto-import

npm i https://pkg.pr.new/@nkzw/babel-plugin-fbtee-auto-import@84

@nkzw/babel-preset-fbtee

npm i https://pkg.pr.new/@nkzw/babel-preset-fbtee@84

@nkzw/eslint-plugin-fbtee

npm i https://pkg.pr.new/@nkzw/eslint-plugin-fbtee@84

fbtee

npm i https://pkg.pr.new/fbtee@84

@nkzw/fbtee-cli

npm i https://pkg.pr.new/@nkzw/fbtee-cli@84

@nkzw/swc-plugin-fbtee

npm i https://pkg.pr.new/@nkzw/swc-plugin-fbtee@84

commit: c3c4bac

@cpojer cpojer left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense, yeah.

@cpojer
cpojer merged commit 52edbfe into nkzw-tech:main Jul 24, 2026
2 checks passed
@cpojer

cpojer commented Jul 24, 2026

Copy link
Copy Markdown
Member

Released fbtee 3.0.1 with the change.

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