Add to an existing repository
Axle reads the files your repository already has, so there is nothing to write first. axle init adds it to the root package.json and .gitignore and writes a starting axle.toml.
What your repository needs
Section titled “What your repository needs”For a monorepo, a root folder with a pnpm-workspace.yaml or a package.json with a workspaces list, and a name in each package’s package.json. Otherwise, any folder with a package.json.
Structuring a repository has the details.
See what Axle found
Section titled “See what Axle found”Install Axle, then run this anywhere inside the repository:
pnpm exec axle listnpx axle listyarn axle listbunx axle listnubx axle listaube exec axle listIt lists every package with its scripts and the packages it depends on. Then run a script in all of them:
pnpm exec axle run buildnpx axle run buildyarn axle run buildbunx axle run buildnubx axle run buildaube exec axle run buildIf Axle reports a problem, look it up under messages.