#monorepo #configuration #space #jsonc #variables #root #file

bin+lib weaveconfig

A unified configuration tool for monorepos

5 unstable releases

0.3.0 Oct 30, 2024
0.2.0 Oct 7, 2024
0.1.2 Oct 7, 2024
0.1.1 Oct 7, 2024
0.1.0 Oct 7, 2024

#328 in Configuration

MIT/Apache

77KB
2K SLoC

Rust 1.5K SLoC // 0.0% comments TypeScript 252 SLoC // 0.0% comments

Weaveconfig

Weaveconfig is a configuration tool for monorepos. It allows you to manage all configuration in a single directory in the root of your project.

To use it just run weaveconfig in the root of your project, to create the initial configuration run weaveconfig init.

The weaveconfig contains 3 kinds of files:

  • _space.jsonc - This file contains the configuration for the space. A space typically is an app / package within your monorepo.
  • _env.jsonc - This file contains the configuration / variables for the space.
  • other files - These files will be copied into each space inlined with variables from the space.

Dependencies

~21–32MB
~529K SLoC