You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Cigen includes production-ready package manager definitions that are compiled into the binary. These defaults are organized as separate YAML files for maintainability:
267
+
268
+
```
269
+
src/packages/config_templates/
270
+
├── package_managers/
271
+
│ ├── node.yml
272
+
│ ├── ruby.yml
273
+
│ ├── python.yml
274
+
│ ├── go.yml
275
+
│ ├── rust.yml
276
+
│ ├── java.yml
277
+
│ └── dotnet.yml
278
+
└── version_sources/
279
+
├── node.yml
280
+
├── ruby.yml
281
+
├── bundler.yml
282
+
├── python.yml
283
+
├── go.yml
284
+
├── rustc.yml
285
+
├── cargo.yml
286
+
├── java.yml
287
+
└── dotnet.yml
288
+
```
289
+
290
+
When you define `package_managers` or `version_sources` in your `.cigen/cigen.yml`, your configuration intelligently merges with these defaults:
291
+
292
+
-**Override**: Completely replace a built-in definition
293
+
-**Extend**: Add new package managers alongside built-ins
294
+
-**Inherit**: Use built-in defaults when no custom config is provided
295
+
264
296
## Customizing Package Managers
265
297
266
298
### Overriding Built-in Definitions
@@ -289,6 +321,30 @@ package_managers:
289
321
title="Custom package manager commands"
290
322
/>
291
323
324
+
### Customizing Version Sources
325
+
326
+
You can also customize how versions are detected for cache keys:
0 commit comments