Skip to main content

Repository & packages

Neutron is a monorepo. npm owns dependency installation and the single lockfile; Bun runs the TypeScript scripts and unit tests, and Motoko dependencies are resolved through Mops.

Package construction, whole-actor compilation, and canister provisioning have separate entrypoints. The provisioner consumes finished archives and calls the compiler; it does not discover or build app workspaces.

PackageOne-line responsibility
neutron-toolsThe shared browser/app SDK: message bus, manifest schema, repository protocol
neutron-scriptsPackaging: manifest generation, Motoko packing, validation, archive creation
neutron-compilerActor assembly, compilation, and the shared install/deploy helpers
neutron-cliA compile-only filesystem adapter over the compiler
neutron-securityThe static Motoko policy — text and AST checks plus fixtures
neutron-provisionWhole-canister provisioning for IC and supervised PocketIC targets
neutron-design-systemScoped dark SCSS and tokens for app frontends
Motoko packagesThe vendored compiler and the versioned capability leaf types

Start with Build topology for how they fit together, including the current app and support workspaces, or jump to a package page.