LibreChat/scripts/readme/package.json
Marco Beretta d0fcdb7832
🌐 ci: Sync README Translations With AI (#16847)
* ci: Add README Translation Sync Workflow

* ci: Pin create-pull-request Action in README Sync

* ci: Check Translation Content and Attribute Text in README Sync

* ci: Harden README Translation Validation and Switcher

* ci: Validate Protected Tokens in README Translations

* ci: Keep Link Order and Fence Boundaries in README Translation

* ci: Validate README Translations Against the Markdown Tree

* ci: Check Short Prose and Link Metadata in README Translation

* ci: Handle Brand Suffixes, Titles and Table Alignment in README Validation

* ci: Preserve Emoji, Image Alt and Raw Code in README Validation

* ci: Stop Rejecting Faithful Translations That Keep Language Names

* ci: Refresh Switchers in Unselected README Translations

* ci: Compare Comment Contents and Deduplicate Pending README Sections

* ci: Revalidate Cached README Translations and Resolve Reference Links

* ci: Keep Code in Raw HTML Blocks and Accept Full-Form Reference Translations

* ci: Read Alt Text of Reference-Style README Images

* ci: Test the README Translation Helpers on Pull Requests

* ci: Keep Reference Image Alt Text and Translate Definition Titles

* ci: Resolve README Reference Definitions Before Classifying Prose

* ci: Resolve README Footnotes When Validating Chunks

* ci: Point README Fragment Links at Translated Heading Anchors

Same-document links kept the English heading slug, which no longer exists once GitHub derives anchors from the translated heading text. Assembly now rewrites #fragment links in Markdown links, definitions and raw HTML hrefs to the slug of the heading at the same position, using github-slugger.

Closes berry-13/LibreChat#384
2026-10-26 16:53:48 +01:00

12 lines
343 B
JSON

{
"name": "readme-translate",
"private": true,
"type": "module",
"description": "Dependencies for the README translation sync workflow; installed with npm ci in CI.",
"dependencies": {
"github-slugger": "2.0.0",
"mdast-util-from-markdown": "2.0.1",
"mdast-util-gfm": "3.0.0",
"micromark-extension-gfm": "3.0.0"
}
}