mirror of
https://github.com/luxfi/bridge.git
synced 2026-09-24 00:26:46 +00:00
Rationalize the bridge workspace around one canonical SDK entry:
- @luxfi/bridge (NEW) public SDK consumers import
- @luxbridge/* private workspace internals
- @luxfi/{core,threshold,utila} generic Lux building-block libs
@luxfi/bridge re-exports mountBridge(), <Bridge />, BridgeConfig, and
BrandConfig. The runtime lazy-imports @luxbridge/app as the actual UI
implementation. Mirrors the mountExchange() pattern from
@partner/exchange — declarative config-in, brand metadata applied
to document, React tree rendered into #bridge-root.
Workspace housekeeping:
- pkg/settings: 0.1.0 -> 1.0.0, marked private
- pkg/ui (ui-automation), app/server, app/bridge3: marked private
- app/explorer: 0.1.0 -> 1.0.0
- root bridge package: 1.0.0 -> 1.1.0
- app/bridge: add main/types/exports so the SDK can dynamic-import the App component
Publish workflow at .github/workflows/publish.yml fires on v* tag push,
runs pnpm publish -r --access public --no-git-checks. pnpm skips
private packages automatically. Public packages: @luxfi/bridge, @luxfi/core,
@luxfi/threshold, @luxfi/utila.
50 lines
1.3 KiB
JSON
50 lines
1.3 KiB
JSON
{
|
|
"name": "@luxbridge/explorer",
|
|
"version": "1.0.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"dev": "next dev",
|
|
"build": "next build",
|
|
"start": "next start",
|
|
"lint": "next lint",
|
|
"tc": "tsc --noEmit",
|
|
"clean": "rm -rf ./.next && rm -rf ./node_modules",
|
|
"cn": "rm -rf ./.next"
|
|
},
|
|
"dependencies": {
|
|
"@headlessui/react": "^1.7.15",
|
|
"@heroicons/react": "^2.0.18",
|
|
"@luxdefi/ui": "0.2.3",
|
|
"@next/mdx": "14.1.0",
|
|
"@radix-ui/react-accordion": "^1.1.2",
|
|
"@radix-ui/react-dropdown-menu": "^2.0.5",
|
|
"@radix-ui/react-slot": "^1.0.2",
|
|
"@radix-ui/react-tooltip": "^1.0.6",
|
|
"axios": "^1.6.0",
|
|
"class-variance-authority": "^0.7.0",
|
|
"clsx": "^2.1.0",
|
|
"copy-to-clipboard": "^3.3.3",
|
|
"framer-motion": "^10.12.18",
|
|
"heroicons": "^2.0.18",
|
|
"lucide-react": "^0.307.0",
|
|
"next": "catalog:",
|
|
"react": "catalog:",
|
|
"react-dom": "catalog:",
|
|
"swr": "^2.2.0",
|
|
"tailwind-merge": "^2.2.0"
|
|
},
|
|
"devDependencies": {
|
|
"@mdx-js/react": "^3.0.0",
|
|
"@mdx-js/loader": "^3.0.0",
|
|
"@types/react": "catalog:",
|
|
"@types/react-dom": "catalog:",
|
|
"@types/mdx": "^2.0.9",
|
|
"autoprefixer": "10.4.16",
|
|
"postcss": "8.4.33",
|
|
"postcss-import": "^16.0.0",
|
|
"tailwindcss": "catalog:",
|
|
"tailwindcss-animate": "^1.0.7",
|
|
"typescript": "catalog:"
|
|
}
|
|
}
|