* fix: website/package.json to reduce vulnerabilities
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-TRIM-1017038
- https://snyk.io/vuln/SNYK-JS-AXIOS-6032459
- https://snyk.io/vuln/SNYK-JS-WEBPACKDEVSERVER-10300775
- https://snyk.io/vuln/SNYK-JS-AXIOS-12613773
- https://snyk.io/vuln/SNYK-JS-AXIOS-9292519
- https://snyk.io/vuln/SNYK-JS-INFLIGHT-6095116
- https://snyk.io/vuln/SNYK-JS-WEBPACKDEVSERVER-10300777
- https://snyk.io/vuln/SNYK-JS-AXIOS-6124857
- https://snyk.io/vuln/SNYK-JS-AXIOS-9403194
- https://snyk.io/vuln/SNYK-JS-GOT-2932019
- https://snyk.io/vuln/SNYK-JS-SIRV-12558119
* Upgrade Docusaurus to v3.9.0 and fix compatibility issues
This commit upgrades Docusaurus from v2.4.3 to v3.9.0 to resolve the
security vulnerabilities identified by Snyk while ensuring the website
builds and runs correctly.
Changes:
- Upgraded React to v18 (required by Docusaurus v3)
- Updated @mdx-js/react to v3 (required by Docusaurus v3)
- Updated prism-react-renderer to v2 and modernized theme imports
- Removed custom webpack config (incompatible with v3)
- Converted Carousel import to ES6 syntax
- Fixed MDX syntax errors in French translations (removed Pandoc footnote syntax)
Result: Build succeeds for all 7 locales with 0 vulnerabilities.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
* Fix Cloudflare build: upgrade Node version requirement
Cloudflare was using Node 18.14.0 which lacks URL.canParse (added in 18.17.0).
Docusaurus v3 and its dependencies require Node 20+.
Changes:
- Added .node-version file to specify Node 20.18.0
- Updated package.json engines to require Node >=20.0.0
- Added packageManager field hinting Bun usage
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
* Remove incompatible packageManager field
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
* Remove .node-version to allow Bun-only builds
Cloudflare will use Bun directly without Node.js installation.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
* Remove engines field to prevent Node auto-detection
Cloudflare was auto-installing Node 18.14.0 based on engines field.
Remove it to allow Bun-only builds via dashboard configuration.
Configure in Cloudflare dashboard:
- Build command: bun run build
- Install command: bun install
- Environment variable: NODE_VERSION=20.18.0 (if needed)
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
* Fix Docusaurus v4 deprecation warning
Migrated onBrokenMarkdownLinks from root config to markdown.hooks
as required by Docusaurus v3.9+ (deprecated in v4).
Old: siteConfig.onBrokenMarkdownLinks
New: siteConfig.markdown.hooks.onBrokenMarkdownLinks
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
* Fix MDX syntax errors in remaining French translation files
Fixed v2.11.0 and v2.8.1 French translations that had invalid
Pandoc footnote syntax {.footnote-backref} incompatible with MDX v3.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
---------
Co-authored-by: snyk-bot <snyk-bot@snyk.io>
Co-authored-by: Claude <noreply@anthropic.com>
* feat(website): update dependencies and optimize some terms
* docs: optimize english documents
* docs: sync documents
* chore(website): the website project adds the recommended configuration of the vscode plugin
* ensure data doesn't get garbage collected too soon (#1113)
* ensure data doesn't get garbage collected too soon
* Update v2/internal/frontend/desktop/linux/frontend.go
Co-authored-by: stffabi <stffabi@users.noreply.github.com>
Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
Co-authored-by: stffabi <stffabi@users.noreply.github.com>
* revert: undo lock-file changes
* Feature/v2 linux menus (#1114)
* Render menubar + text menu items
* Support disabled menuitems + callbacks
* Support checkboxes
* Support reusing checkboxes
* Support submenus
* Support Radio menuitems
* Support Menu Accelerators
* Support MenuUpdateApplicationMenu
* Fixes#1108 (#1115)
* chore(action): add auto sync script (#1109)
* Support RGBA, fix compilation error
* Fix fullscreen drag
* Ignore setenv error
* ensure data doesn't get garbage collected too soon (#1113)
* ensure data doesn't get garbage collected too soon
* Update v2/internal/frontend/desktop/linux/frontend.go
Co-authored-by: stffabi <stffabi@users.noreply.github.com>
Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
Co-authored-by: stffabi <stffabi@users.noreply.github.com>
* Feature/v2 linux menus (#1114)
* Render menubar + text menu items
* Support disabled menuitems + callbacks
* Support checkboxes
* Support reusing checkboxes
* Support submenus
* Support Radio menuitems
* Support Menu Accelerators
* Support MenuUpdateApplicationMenu
* Fixes#1108 (#1115)
* chore(action): add auto sync script (#1109)
* Support RGBA, fix compilation error
* Fix fullscreen drag
* Ignore setenv error
* feat(website): update dependencies and optimize some terms
* docs: optimize english documents
* docs: sync documents
* chore(website): the website project adds the recommended configuration of the vscode plugin
* revert: undo lock-file changes
* [linux] better error handling
* [linux] Better Go 1.16 support
* [linux] Remove Go based dispatcher
* feat(website): update dependencies and optimize some terms
Co-authored-by: Travis McLane <tmclane@gmail.com>
Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
Co-authored-by: stffabi <stffabi@users.noreply.github.com>