Skip to content

Commands

Run Nx through pnpm so the workspace wrapper and pinned CLI are used.

CommandPurpose
pnpm startServe the web application
pnpm buildBuild the production renderer to www/
pnpm testRun all Nx test targets
pnpm lintRun all Nx lint targets
pnpm stylelintCheck CSS and SCSS
pnpm format:checkCheck formatting
pnpm architecture:checkCheck architecture, host, UI, and E2E contracts
pnpm storybookServe the public-component Storybook
Terminal window
pnpm nx show project <project-name> --json
pnpm nx show projects
pnpm nx test <project-name> -- <file-or-pattern>
pnpm nx run-many -t typecheck
pnpm nx affected -t lint test

Inspect targets before forwarding runner-specific arguments.

CommandPurpose
pnpm electron:startBuild and launch Electron
pnpm electron:verifyCheck the Electron host contract
pnpm android:runBuild, sync, and launch Android
pnpm ios:runBuild, sync, and launch iOS
pnpm nx run trinity-android:verify-nativeSync Android and run its JVM unit tests, the push plugin’s included
pnpm nx run trinity-ios:test-pushRun the push plugin’s TrinityPush XCTests (macOS)
pnpm e2e:browserRun canonical browser journeys with the disposable homeserver
pnpm e2e:componentsRun component browser suites
pnpm e2e:allRun every available registered E2E suite

Homeserver-backed commands share fixed ports and run sequentially. See the relevant testing strategy or platform guide before interpreting a result.