Files
zeekay a4facf7845 feat(pkg/bridge): add @luxfi/bridge SDK + publish workflow
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.
2026-05-21 14:02:03 -07:00

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:"
}
}