barrelize 1.5.2 → 1.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md
CHANGED
|
@@ -74,8 +74,13 @@ Generates barrel (index) files based on your configuration. The tool will:
|
|
|
74
74
|
```bash
|
|
75
75
|
npx barrelize # Uses default .barrelize config
|
|
76
76
|
npx barrelize custom.json # Uses specified config file
|
|
77
|
+
npx barrelize --watch # Generate and watch for changes
|
|
77
78
|
```
|
|
78
79
|
|
|
80
|
+
Options:
|
|
81
|
+
|
|
82
|
+
- `-w, --watch`: Watch for changes and regenerate barrel files automatically
|
|
83
|
+
|
|
79
84
|
## Configuration
|
|
80
85
|
|
|
81
86
|
Create a `.barrelize` file in your project root. The configuration file uses JSON5 format, which supports comments and is more flexible than standard JSON:
|