@r5n/sisyphus 0.4.0 β 0.4.1
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 +122 -20
- package/dist/cli.js +989 -636
- 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
|
-
|
|
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
|
-
### β¨
|
|
28
|
+
### β¨ Why You'll Love It
|
|
27
29
|
|
|
28
|
-
- πͺ¨ **
|
|
29
|
-
-
|
|
30
|
-
- π **
|
|
31
|
-
- π **
|
|
32
|
-
- π·οΈ **
|
|
33
|
-
- π― **
|
|
34
|
-
- π **GitHub
|
|
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
|
-
###
|
|
324
|
+
### Why Stones? π€
|
|
228
325
|
|
|
229
|
-
|
|
326
|
+
Traditional versioning forces you to release immediately or lose track of changes. Stones change everything:
|
|
230
327
|
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
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>
|