Files
bridge/pkg/ui/package.json
T
zeekay 778ff148c3 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
@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.
2026-05-21 14:02:03 -07:00

45 lines
1.2 KiB
JSON

{
"name": "@luxbridge/ui-automation",
"version": "1.0.0",
"private": true,
"description": "UI automation tests for Lux Bridge",
"scripts": {
"test": "jest",
"test:smoke": "jest --testPathPattern=smoke",
"test:mpc": "jest --testPathPattern=mpc",
"test:networks": "jest --testPathPattern=networks",
"test:tokens": "jest --testPathPattern=tokens",
"test:watch": "jest --watch",
"setup:wallets": "ts-node scripts/setup-wallets.ts",
"lint": "eslint . --ext .ts",
"format": "prettier --write \"**/*.{ts,json,md}\""
},
"devDependencies": {
"@types/jest": "^29.5.12",
"@types/node": "^20.11.24",
"@types/selenium-webdriver": "^4.1.21",
"@typescript-eslint/eslint-plugin": "^7.1.0",
"@typescript-eslint/parser": "^7.1.0",
"dotenv": "^16.4.5",
"eslint": "^8.57.0",
"jest": "^29.7.0",
"prettier": "^3.2.5",
"selenium-webdriver": "^4.18.1",
"ts-jest": "^29.1.2",
"ts-node": "^10.9.2",
"typescript": "^5.3.3"
},
"dependencies": {
"ethers": "^6.11.1",
"viem": "^2.9.9"
},
"jest": {
"preset": "ts-jest",
"testEnvironment": "node",
"testTimeout": 120000,
"roots": ["<rootDir>/tests"],
"moduleNameMapper": {
"^@/(.*)$": "<rootDir>/src/$1"
}
}
}