#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

#224 in Configuration

Download history 273/week @ 2024-10-01 164/week @ 2024-10-08 2/week @ 2024-10-15 128/week @ 2024-10-29 1/week @ 2024-11-05

132 downloads per month

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
~530K SLoC