Skip to main content

Folder index

Quick-reference table for every top-level directory.

DirectoryCategoryPurposeNotes
apps/Nx coreElectron app entry pointContains apps/black
views/Nx coreURL-addressable pages~12 packages
ui-features/Nx coreAsync feature modules~45 packages — most new work goes here
data/Nx coreMobX stores & API services~40 packages — zero UI
platform-libs/Nx coreHorizontal infrastructurei18n, analytics, gateway, sockets
platform-ui/Nx coreAether design system5 packages
libs/Nx corePure reusable utilities~20 packages — no app deps
libs-ui/Nx corePure reusable UI componentsGeneric, no app deps
src/main/SourceElectron main processNode.js, own yarn.lock
src/renderer/Source ⚠️Legacy monolithNever add code here
src/postman-agent/SourcePostman CLI agent processOwn yarn.lock
src/service-worker/SourceBrowser service workerWeb version
src/visualizer-sandbox/SourceSandboxed visualizer iframeSecurity isolation
config/ConfigBuild & project configurationWebpack, Rspack, ESLint, teams.json
starship/Config ⚠️Electron build targetsOpaque name — should be electron-targets/
tools/ConfigNx generators & toolingCustom generators, ESLint rules
scripts/ConfigCI & automation scriptsCircular dep checker, code checks, CSP
npm/Config ⚠️Legacy build scriptsOverlaps with scripts/ — should be merged
resources/ConfigElectron app icons & assetsAll platforms & environments
tests/Testing ⚠️Legacy E2E infrastructureBeing replaced by tests-v2/
tests-v2/TestingPlaywright E2E infrastructureCurrent standard
locales/i18nTranslation filesen-US/, ja/
global-types/TypesGlobal TS declarationswebpack module types
types/TypesAdditional global types
docs/DocsCross-cutting process docsPackage docs co-located with code
packages/Legacy ⚠️Squad-organized packagesParallel to Nx type structure — confusing
module-framework/Legacy ⚠️Internal module loaderShould be in platform-libs/
postman/Legacy ⚠️Postman data model globalsShould be in platform-libs/ or src/
postman-module-cli/Legacy ⚠️Module management CLIShould be in tools/
plugins/Legacy ⚠️Pre-bundled plugin registrySingle JSON — should be in config/
checksums/GeneratedBuild cache validationDo not commit new files here
build/GeneratedWebpack/Rspack outputGitignored
dist/GeneratedNx package buildsGitignored
coverage/GeneratedTest coverage reportsGitignored

Known issues

These structural problems are known and tracked for improvement:

  1. packages/ vs Nx layers — Two organizational conventions exist simultaneously. Recommendation: merge packages/ contents into the Nx layer with squad namespacing.
  2. tests/ and tests-v2/ — Two test infrastructures. Recommendation: complete migration to tests-v2/ and delete tests/.
  3. starship/ — Opaque name. Recommendation: rename to electron-targets/.
  4. npm/ — Overlaps with scripts/. Recommendation: merge into scripts/.
  5. Misplaced root dirsmodule-framework/, postman/, postman-module-cli/, plugins/ should move to logical homes.