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.
35 lines
705 B
JSON
35 lines
705 B
JSON
{
|
|
"name": "@luxbridge/settings",
|
|
"version": "1.0.0",
|
|
"private": true,
|
|
"description": "Library that contains shared bridge settings",
|
|
"publishConfig": {
|
|
"registry": "https://registry.npmjs.org/",
|
|
"access": "public",
|
|
"scope": "@luxfi"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/luxfi/bridge.git",
|
|
"directory": "pkg/settings"
|
|
},
|
|
"keywords": [
|
|
"luxdefi",
|
|
"luxfi",
|
|
"lux"
|
|
],
|
|
"scripts": {
|
|
"pub": "npm publish",
|
|
"build": "tsc",
|
|
"tc": "tsc",
|
|
"clean": "rm -rf node_modules"
|
|
},
|
|
"peerDependencies": {
|
|
"react": "catalog:",
|
|
"react-dom": "catalog:"
|
|
},
|
|
"devDependencies": {
|
|
"typescript": "catalog:"
|
|
}
|
|
}
|