- The
zapier/zapier-platform
repository is structured as a monorepo, where separate but related code lives together.
- The root folder mostly holds tooling scripts, tooling configuration, examples, and documentation for the platform as a whole.
- The
schema-to-ts
folder contains a custom package that generates TypeScript declarations forzapier-platform-core
based on thezapier-platform-schema
's generatedexported-schema.json
file. These generated type declarations are bundled intozapier-platform-core
and shipped to end-users as part of that NPM package. Type declarations are configured to be generated via thegenerate-types
NPM script, which runs automatically as part of ahusky
precommit hook.
- The
- The individual packages are found in the
packages
directory. Each has its ownARCHITECTURE.md
file outlining the code for that specific package. - The
boilerplate
directory holds a "bare minimum" app that we include with eachzapier-platform-core
version (AKA Platform Version). We use this in combination with the Visual Builder to ship apps that that skip the build step.