All the packages that make up Aztec 3. Typescript projects exist in yarn-project.
Package development:
- Run
yarn build:dev
in the root to interactively build the package. - Run
yarn prepare
in the root to update tsconfig.json and build_manifest.json files based on package.json contents. Note this only analyzes package.json imports to @aztec/* packages.
Repo architecture:
- yarn-project/tsconfig.json: Base tsconfig file, extended by all packages. Used directly by vscode and eslint, where it functions to include the whole project without listing project references.
- yarn-project/tsconfig.json: Used by
yarn build:dev
in root. - package/tsconfig.json: Each package has its own file that specifies its project reference dependencies. This allows them to be built independently.