# AGENTS.md

The 1.x line is frozen - features and bugfixes now happen on https://github.com/yarnpkg/berry

## Setup

```
yarn install
```

## Commands

```
yarn build                 # produce a build
yarn test                  # run the test suite, must pass before any commit
yarn lint                  # lint
yarn build-bundle
yarn build-chocolatey
yarn build-deb
yarn build-dist
yarn build-win-installer
```

## Layout

- `__tests__/`        302 source files
- `src/`              160 source files
- `packages/`         75 source files
- `scripts/`          17 source files
- `flow-typed/`       7 source files
- `end_to_end_tests/` 6 source files

## Conventions

- Tests live alongside the code they cover, following `__tests__/__mocks__/inquirer.js`.
- CI defines what passing means. See `.github/workflows/signing.yml`, and keep it green.
- TODO: add the two or three conventions a newcomer always gets wrong here.

---

Drafted by agentreadme.com from what is in this repository. Everything marked TODO
needs a human. Check it in as AGENTS.md at the root.
