@r5n/sisyphus 0.3.41 → 0.4.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 +66 -0
- package/dist/cli.js +575 -119
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -147,6 +147,72 @@ Check current stones and package states.
|
|
|
147
147
|
- Dependency updates
|
|
148
148
|
- Last release information
|
|
149
149
|
|
|
150
|
+
### `sisyphus preview`
|
|
151
|
+
Preview what versions will be after rolling stones.
|
|
152
|
+
|
|
153
|
+
**Options:**
|
|
154
|
+
- `-j, --json` - Output in JSON format
|
|
155
|
+
- `-v, --verbose` - Show additional information
|
|
156
|
+
|
|
157
|
+
### `sisyphus prerelease`
|
|
158
|
+
Manage prerelease versions (alpha, beta, rc).
|
|
159
|
+
|
|
160
|
+
**Options:**
|
|
161
|
+
- `-t, --type <type>` - Prerelease type (alpha/beta/rc/canary/dev/next)
|
|
162
|
+
- `-b, --bump <type>` - Bump type (major/minor/patch)
|
|
163
|
+
- `-p, --promote` - Promote existing prereleases (interactive UI)
|
|
164
|
+
- `-f, --filter <string>` - Filter packages
|
|
165
|
+
- `-d, --dryRun` - Preview changes
|
|
166
|
+
- `-y, --yes` - Skip confirmation
|
|
167
|
+
|
|
168
|
+
**Promotion Flow:**
|
|
169
|
+
- **Alpha** → Beta, RC, or Stable
|
|
170
|
+
- **Beta** → RC or Stable
|
|
171
|
+
- **RC/Next** → Stable only
|
|
172
|
+
|
|
173
|
+
**Examples:**
|
|
174
|
+
```bash
|
|
175
|
+
# Create beta prerelease
|
|
176
|
+
sisyphus prerelease --type beta --bump minor
|
|
177
|
+
|
|
178
|
+
# Promote prereleases (shows smart options)
|
|
179
|
+
sisyphus prerelease --promote
|
|
180
|
+
|
|
181
|
+
# Non-interactive prerelease
|
|
182
|
+
sisyphus prerelease --type alpha --bump patch --filter @org/core --yes
|
|
183
|
+
```
|
|
184
|
+
|
|
185
|
+
### `sisyphus stone`
|
|
186
|
+
Manage pending stones.
|
|
187
|
+
|
|
188
|
+
**Subcommands:**
|
|
189
|
+
- `list` - View all pending stones
|
|
190
|
+
- `show <id>` - Display stone content
|
|
191
|
+
- `delete <id>` - Remove a stone
|
|
192
|
+
- `edit <id>` - Modify stone message
|
|
193
|
+
- `merge` - Combine multiple stones
|
|
194
|
+
|
|
195
|
+
### `sisyphus graph`
|
|
196
|
+
Visualize monorepo package dependencies.
|
|
197
|
+
|
|
198
|
+
**Options:**
|
|
199
|
+
- `-j, --json` - Output in JSON format
|
|
200
|
+
- `-f, --filter <string>` - Filter to specific package
|
|
201
|
+
- `-d, --depth <number>` - Limit depth of dependency tree
|
|
202
|
+
- `-v, --show-versions` - Display package versions
|
|
203
|
+
|
|
204
|
+
**Examples:**
|
|
205
|
+
```bash
|
|
206
|
+
# Show full dependency graph
|
|
207
|
+
sisyphus graph
|
|
208
|
+
|
|
209
|
+
# Focus on specific package
|
|
210
|
+
sisyphus graph --filter @org/core
|
|
211
|
+
|
|
212
|
+
# Export as JSON
|
|
213
|
+
sisyphus graph --json > dependencies.json
|
|
214
|
+
```
|
|
215
|
+
|
|
150
216
|
### `sisyphus help`
|
|
151
217
|
Show help information for commands.
|
|
152
218
|
|