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
@/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.
46 lines
877 B
JSON
46 lines
877 B
JSON
{
|
|
"name": "bridge",
|
|
"version": "1.1.0",
|
|
"description": "Lux Bridge - Decentralized cross-chain bridge using MPC",
|
|
"packageManager": "[email protected]",
|
|
"main": "index.js",
|
|
"scripts": {
|
|
"start": "node index.js",
|
|
"install:all": "pnpm install",
|
|
"test": "echo 'Run tests in individual packages'",
|
|
"ci:test": "pnpm -r test"
|
|
},
|
|
"keywords": [
|
|
"bridge",
|
|
"mpc",
|
|
"cross-chain",
|
|
"lux"
|
|
],
|
|
"author": "Lux Network",
|
|
"license": "MIT",
|
|
"dependencies": {
|
|
"@noble/ed25519": "^2.3.0"
|
|
},
|
|
"workspaces": [
|
|
"app/*",
|
|
"pkg/*",
|
|
"contracts"
|
|
],
|
|
"pnpm": {
|
|
"peerDependencyRules": {
|
|
"ignoreMissing": [
|
|
"@hanzo/auth",
|
|
"@hanzo/commerce",
|
|
"firebase",
|
|
"firebase-admin"
|
|
]
|
|
},
|
|
"overrides": {
|
|
"keccak": "3.0.4"
|
|
}
|
|
},
|
|
"devDependencies": {
|
|
"playwright": "^1.58.2"
|
|
}
|
|
}
|