@r5n/sisyphus 0.4.0 β†’ 0.4.2

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.
Files changed (3) hide show
  1. package/README.md +122 -20
  2. package/dist/cli.js +990 -637
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -3,8 +3,10 @@
3
3
  <img src="https://avatars.githubusercontent.com/u/99986752?s=400&v=4" alt="R5N Labs" width="100" height="100">
4
4
  </a>
5
5
 
6
+ <p><strong>Version Control That Actually Makes Sense πŸͺ¨</strong></p>
7
+ <p><em>πŸͺ¨ Because versioning shouldn't feel like pushing a boulder uphill</em></p>
8
+
6
9
  <h1>Sisyphus</h1>
7
- <p><strong>Stone-Based Versioning & Publishing Tool</strong></p>
8
10
 
9
11
  <p>
10
12
  <a href="https://www.npmjs.com/package/@r5n/sisyphus">
@@ -21,17 +23,112 @@
21
23
 
22
24
  ## Overview
23
25
 
24
- Sisyphus is an innovative CLI tool for versioning and publishing packages, built by [R5N Labs](https://github.com/r5n-labs). It uses a unique "stone" system that allows you to accumulate version changes and release them in controlled batchesβ€”perfect for monorepos and coordinated releases.
26
+ Ever wished you could stack up version changes like a todo list and release them all at once? That's Sisyphus. It revolutionizes how you handle versioning in monoreposβ€”no more juggling multiple PRs or manual version bumps.
25
27
 
26
- ### ✨ Key Features
28
+ ### ✨ Why You'll Love It
27
29
 
28
- - πŸͺ¨ **Stone-Based Versioning** - Accumulate version changes as "stones" until ready to release
29
- - πŸ“¦ **Intelligent Dependency Management** - Automatically bumps dependent packages
30
- - πŸ“ **Automated Changelog Generation** - Beautiful changelogs from commit history
31
- - πŸš€ **Batch Publishing** - Release multiple packages in one coordinated push
32
- - 🏷️ **Flexible Tagging** - Support for prerelease versions and custom tags
33
- - 🎯 **Zero Runtime Dependencies** - Fully bundled (~80KB) for optimal performance
34
- - πŸ”„ **GitHub Integration** - Automated releases with proper tags
30
+ - πŸͺ¨ **Stack Your Changes** - Create "stones" as you work, release when you're ready
31
+ - 🧞 **Dependency Magic** - Updates related packages automatically (it just knows!)
32
+ - πŸ“ **Changelogs That Write Themselves** - From commits to beautiful docs instantly
33
+ - πŸš€ **One Command to Rule Them All** - Version, build, publish, tag - done!
34
+ - 🏷️ **Alpha to Stable Pipeline** - Smart prerelease promotion workflow
35
+ - 🎯 **80KB of Excellence** - Faster than your npm install
36
+ - πŸ”„ **GitHub Native** - Creates releases and tags automatically
37
+
38
+ ## 🎬 See The Magic
39
+
40
+ <details>
41
+ <summary><strong>The stone system in action</strong></summary>
42
+
43
+ ```bash
44
+ $ sisyphus init
45
+ βœ” Initialize Sisyphus in single or multi package mode? Β· multi
46
+ βœ” Which packages should be ignored? Β· @internal/scripts
47
+ βœ” Select a tag for releases Β· latest
48
+ βœ” Enable commit configuration? Β· Yes
49
+ βœ” Commit message template Β· chore(release): $\{message}
50
+ βœ” Enable changelog generation? Β· Yes
51
+
52
+ ✨ Sisyphus v0.3.42 is setup to roll stones.
53
+
54
+ $ sisyphus version
55
+ βœ” Select packages for versioning:
56
+ β—‰ @myapp/auth
57
+ β—‰ @myapp/core
58
+ β—― @myapp/utils
59
+ βœ” Select bump type Β· minor
60
+ βœ” Provide a summary for these changes Β· Add OAuth2 authentication
61
+ βœ” Are you sure you want to create this stone? Β· Yes
62
+
63
+ βœ“ Stone created: proud-mountain
64
+ Location: .sisyphus/stones/proud-mountain.md
65
+ ```
66
+ </details>
67
+
68
+ <details>
69
+ <summary><strong>Smart dependency tracking</strong></summary>
70
+
71
+ ```bash
72
+ $ sisyphus check
73
+ πŸͺ¨ Pending stones (2):
74
+
75
+ 1. proud-mountain
76
+ Created: 2 days ago
77
+ Message: Add OAuth2 authentication
78
+
79
+ Package changes:
80
+ β€’ @myapp/auth: 1.2.0 β†’ 1.3.0 (minor)
81
+ β€’ @myapp/core: 2.1.0 β†’ 2.1.1 (dependency)
82
+
83
+ 2. gentle-river
84
+ Created: today
85
+ Message: Breaking API changes
86
+
87
+ Package changes:
88
+ β€’ @myapp/api: 3.2.0 β†’ 4.0.0 (major)
89
+ β€’ @myapp/cli: 1.0.0 β†’ 2.0.0 (dependency)
90
+ β€’ @myapp/sdk: 2.5.0 β†’ 3.0.0 (dependency)
91
+
92
+ Last release: v3.2.0 (1 week ago)
93
+ Ready to roll 5 packages with 2 stones
94
+ ```
95
+ </details>
96
+
97
+ <details>
98
+ <summary><strong>One command release</strong></summary>
99
+
100
+ ```bash
101
+ $ sisyphus roll --publish --github --changelog
102
+ πŸͺ¨ Rolling stones...
103
+
104
+ Processing 2 stones:
105
+ β€’ proud-mountain
106
+ β€’ gentle-river
107
+
108
+ πŸ“¦ Updating package versions:
109
+ βœ“ @myapp/auth: 1.2.0 β†’ 1.3.0
110
+ βœ“ @myapp/core: 2.1.0 β†’ 2.1.1
111
+ βœ“ @myapp/api: 3.2.0 β†’ 4.0.0
112
+ βœ“ @myapp/cli: 1.0.0 β†’ 2.0.0
113
+ βœ“ @myapp/sdk: 2.5.0 β†’ 3.0.0
114
+
115
+ πŸ“ Generating changelogs...
116
+ βœ“ Updated 5 CHANGELOG.md files
117
+ βœ“ Generated root CHANGELOG.md
118
+
119
+ πŸš€ Publishing to npm...
120
+ βœ“ Published 5 packages
121
+
122
+ 🏷️ Creating git tags...
123
+ βœ“ Tagged 5 packages
124
+ βœ“ Created release tag: v4.0.0
125
+
126
+ πŸŽ† GitHub release created: v4.0.0
127
+
128
+ βœ“ Cleaned up 2 stones
129
+ βœ… Successfully rolled all stones!
130
+ ```
131
+ </details>
35
132
 
36
133
  ## πŸ“¦ Installation
37
134
 
@@ -224,14 +321,23 @@ sisyphus version --help
224
321
 
225
322
  ## πŸ”§ Configuration
226
323
 
227
- ### Stone System Explained
324
+ ### Why Stones? πŸ€”
228
325
 
229
- Stones are version changesets that accumulate until you're ready to release:
326
+ Traditional versioning forces you to release immediately or lose track of changes. Stones change everything:
230
327
 
231
- 1. **Create stones** as you develop features
232
- 2. **Accumulate multiple stones** for different packages
233
- 3. **Roll stones** to release everything at once
234
- 4. **Automatic cleanup** after successful release
328
+ ```
329
+ Monday: "Fixed auth bug" β†’ πŸͺ¨ Create stone
330
+ Tuesday: "Added user profiles" β†’ πŸͺ¨ Create stone
331
+ Wednesday: "Optimized database" β†’ πŸͺ¨ Create stone
332
+ Thursday: "Ready to ship!" β†’ 🎯 Roll all stones!
333
+ ```
334
+
335
+ **Benefits:**
336
+ - βœ… Stack changes throughout the week
337
+ - βœ… Review everything before release
338
+ - βœ… Coordinate multi-package updates
339
+ - βœ… Never lose track of what needs releasing
340
+ - βœ… Git-friendly (stones are just markdown files)
235
341
 
236
342
  ### Configuration File
237
343
 
@@ -435,7 +541,3 @@ Contributions are welcome! Please see the [main repository](https://github.com/r
435
541
  Licensed under the Apache License, Version 2.0. See [LICENSE](LICENSE) for details.
436
542
 
437
543
  ---
438
-
439
- <div align="center">
440
- Built with ❀️ by <a href="https://github.com/r5n-labs">R5N Labs</a>
441
- </div>