gib-runs 2.3.6 → 2.3.8
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/.gib-runs.json.example +21 -0
- package/CHANGELOG.md +30 -0
- package/README.md +207 -783
- package/gib-run.js +8 -0
- package/index.js +10 -5
- package/lib/process-runner.js +4 -44
- package/middleware/error-page.js +5 -18
- package/middleware/health.js +28 -34
- package/middleware/logger.js +5 -20
- package/middleware/upload.js +29 -38
- package/package.json +2 -2
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
{
|
|
2
|
+
"port": 8080,
|
|
3
|
+
"host": "0.0.0.0",
|
|
4
|
+
"open": true,
|
|
5
|
+
"logLevel": 2,
|
|
6
|
+
"compression": true,
|
|
7
|
+
"cors": false,
|
|
8
|
+
"spa": false,
|
|
9
|
+
"watch": ["src", "public", "dist"],
|
|
10
|
+
"ignore": ["*.test.js", "*.spec.js", "*.map"],
|
|
11
|
+
"middleware": [],
|
|
12
|
+
"wait": 100,
|
|
13
|
+
"noCssInject": false,
|
|
14
|
+
"qrCode": false,
|
|
15
|
+
"tunnel": false,
|
|
16
|
+
"autoRestart": false,
|
|
17
|
+
"enableUpload": false,
|
|
18
|
+
"enableHealth": true,
|
|
19
|
+
"logToFile": false,
|
|
20
|
+
"customErrorPage": true
|
|
21
|
+
}
|
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,36 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
|
|
5
|
+
## [2.3.8] - 2026-02-15
|
|
6
|
+
|
|
7
|
+
### Changed
|
|
8
|
+
- 🔧 **Code Refactoring** - Complete codebase cleanup and optimization
|
|
9
|
+
- Removed excessive comments for cleaner code
|
|
10
|
+
- Simplified middleware logic with early returns
|
|
11
|
+
- Improved code readability and maintainability
|
|
12
|
+
- Streamlined error handling across all modules
|
|
13
|
+
- More natural, human-like code structure
|
|
14
|
+
- 📝 **Documentation** - Updated README for better clarity
|
|
15
|
+
- More concise and easier to read
|
|
16
|
+
- Maintained unique branding and personality
|
|
17
|
+
- Better organized examples and usage guides
|
|
18
|
+
|
|
19
|
+
## [2.3.7] - 2026-02-13
|
|
20
|
+
|
|
21
|
+
### Added
|
|
22
|
+
- 📁 **Project-Level Config File** - Support for `.gib-runs.json` in project root
|
|
23
|
+
- Overrides global config (`~/.gib-runs.json`)
|
|
24
|
+
- Priority: Project config > Global config > CLI args > Defaults
|
|
25
|
+
- Perfect for team-shared project settings
|
|
26
|
+
- 🎯 **Improved Watch Ignore Patterns** - Better file watching performance
|
|
27
|
+
- Auto-ignore common directories: `node_modules`, `.git`, `dist`, `build`, `coverage`, `.next`, `.nuxt`, `.output`, `out`, `target`
|
|
28
|
+
- Prevents unnecessary reloads from build artifacts
|
|
29
|
+
- Reduces CPU usage during development
|
|
30
|
+
- ⚡ **Enhanced File Watching Stability** - More reliable change detection
|
|
31
|
+
- Added `awaitWriteFinish` option to prevent partial file reads
|
|
32
|
+
- Ignores permission errors automatically
|
|
33
|
+
- Debounced file changes for better performance
|
|
34
|
+
|
|
5
35
|
## [2.3.6] - 2026-02-12
|
|
6
36
|
|
|
7
37
|
### Added
|