Files
longbridge__developers/package.json
Endless 89d39f2be1 feat: sync new SDK APIs from openapi to docs site (#962)
## Summary

Syncs new SDK interfaces introduced in openapi to the developers
documentation site, along with a range of docs, UI, and infrastructure
improvements.

## New API Documentation (EN / zh-CN / zh-HK)

### Quote APIs
- `option_volume` — option volume query
- `option_volume_daily` — daily option volume query
- `short_positions` — short position data
- `update_pinned` — update pinned securities

### Fundamental APIs
- **Calendar**: dividend, earnings, IPO, macro, split calendars
- **Fundamental**: company profile, corporate actions, dividends,
executives, financial reports, fund holdings, ratings, shareholders,
valuations
- **Market**: AH premium, broker positions, index components, market
status, trading stats, unusual items

### Account APIs
- **Alert**: create, delete, list, update alerts
- **DCA** (dollar-cost averaging): create, delete, list, update, history
- **Portfolio**: capital flow, exchange rates, profit analysis (by
market, detail, summary)
- **Sharelist**: create, delete, list, update share lists

## UI / Site Improvements

- **Pricing page**: new tri-locale pricing comparison page for market
data subscription tiers; fixes for responsive layout and static QR code
on mobile
- **FeaturesMenu**: mega-menu dropdown in main nav with 9 financial data
product categories; full i18n support
- **Nav**: moved API Reference from top nav to Docs sidebar (opens in
new tab)
- **Homepage visual polish**: neutral color vars on ArchCanvas, distinct
card accent hues, section border delineation, ProductSkill gradient,
flat GetStarted background
- **Quote permission**: added permission notices across CLI docs, API
docs, and API Reference; removed unreliable client-side permission
status detection
- **Mock login toggle**: dev-only panel to simulate login/logout state;
shared reactive `useLoginState` composable

## Docs Updates

- CLI v0.19.2 release notes + updated `finance-calendar` subcommand
examples
- Corrected quote permission names to match Quote Store (pluralization,
Nasdaq Basic rename)
- Updated skill guide to use CLI-first flow
- Fixed missing zh-HK translations

## Bug Fixes

- Fixed UnoCSS build error from arbitrary `font-feature-settings` class
- Added `result.root` null guard in `postcss.config.mjs` to prevent
PostCSS crash
- Fixed home page footer rendering
- Fixed pricing page build dist

🤖 Auto-generated by Endless.

---------

Co-authored-by: 老袁 Yuan Zhanghong <zhanghong.yuan@longbridge-inc.com>
Co-authored-by: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
Co-authored-by: Jason Lee <huacnlee@gmail.com>
2026-05-14 18:13:11 +08:00

77 lines
3.0 KiB
JSON

{
"name": "openapi-website",
"version": "0.0.1",
"author": "longbridge",
"module": "index.ts",
"description": "this is a website of longbridge developers",
"license": "MIT",
"private": true,
"scripts": {
"dev": "vitepress dev docs",
"dev:canary": "cross-env VITE_API_BASE_URL=https://openapi.longbridge.xyz npx vitepress dev docs",
"dev:cn": "cross-env VITE_REGION=cn VITE_API_BASE_URL=https://openapi.longbridge.cn VITE_SITE_HOSTNAME=https://open.longbridge.cn npx vitepress dev docs",
"build:canary": "cross-env \"NODE_OPTIONS=--max-old-space-size=10240 --expose-gc\" VITE_API_BASE_URL=https://openapi.longbridge.xyz npx vitepress build docs && bun run build:llms && bun run build:copy-routes",
"build:release": "cross-env \"NODE_OPTIONS=--max-old-space-size=10240 --expose-gc\" VITE_API_BASE_URL=https://openapi.longbridge.com npx vitepress build docs && bun run build:llms && bun run build:copy-routes",
"build:cn": "cross-env \"NODE_OPTIONS=--max-old-space-size=10240 --expose-gc\" VITE_REGION=cn VITE_API_BASE_URL=https://openapi.longbridge.cn VITE_PORTAL_GATEWAY_BASE_URL=https://m.lbkrs.com VITE_SITE_HOSTNAME=https://open.longbridge.cn npx vitepress build docs && bun run build:llms && bun run build:copy-routes",
"build:llms": "bun run scripts/normalize_md.ts && bun run scripts/generate-llms.ts",
"build:copy-routes": "bun run scripts/copy-routes.ts",
"preview": "vitepress preview docs",
"lint:docs": "prettier -c --parser typescript \"packages/**/*.{js,ts,vue}\"",
"format:docs": "prettier --write \"packages/**/*.{js,ts,vue}\""
},
"type": "module",
"dependencies": {
"@headlessui/vue": "^1.7.23",
"@inspira-ui/plugins": "^0.0.2",
"@jsonforms/core": "^3.5.1",
"@jsonforms/vue": "^3.5.1",
"@jsonforms/vue-vanilla": "^3.5.1",
"@tailwindcss/postcss": "^4.2.2",
"@vue-flow/background": "^1.3.2",
"@vue-flow/core": "^1.48.2",
"@vueuse/core": "^14.2.1",
"cheerio": "^1.1.0",
"floating-vue": "^5.2.2",
"fs-extra": "^11.3.0",
"glob": "^11.0.3",
"gray-matter": "^4.0.3",
"js-yaml": "^4.1.1",
"markdown-it": "^14.1.1",
"motion-v": "^2.2.0",
"qrcode": "^1.5.4",
"reka-ui": "^2.9.6",
"shiki": "^3.6.0",
"tailwindcss": "^4.2.2",
"tw-animate-css": "^1.4.0",
"ufo": "^1.6.1",
"vite": "^8.0.0",
"vue-i18n": "11"
},
"devDependencies": {
"@types/bun": "latest",
"@types/fs-extra": "^11.0.4",
"@types/js-yaml": "^4.0.9",
"@types/qrcode": "^1.5.6",
"@unocss/extractor-mdc": "^66.1.2",
"@unocss/transformer-variant-group": "^66.1.2",
"cross-env": "^7.0.3",
"markdown-it-container": "^4.0.0",
"markdown-it-mathjax3": "^4.3.2",
"mermaid": "^11.8.1",
"postcss-rtlcss": "^5.7.0",
"prettier": "^3.5.3",
"sass-embedded": "^1.89.2",
"unocss": "^66.1.2",
"vitepress": "2.0.0-alpha.16",
"vitepress-plugin-group-icons": "^1.5.2",
"vitepress-plugin-mermaid": "^2.0.17",
"vue": "^3.5.13"
},
"peerDependencies": {
"typescript": "^5"
},
"engines": {
"node": ">=24.0.0"
}
}