gflows 0.1.2 → 0.1.4
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 +7 -7
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -514,11 +514,11 @@ Publishing is done with the **internal script** `scripts/publish.ts`. It syncs t
|
|
|
514
514
|
### Commands
|
|
515
515
|
|
|
516
516
|
```bash
|
|
517
|
-
bun run publish
|
|
518
|
-
bun run publish -- --dry-run
|
|
519
|
-
bun run publish
|
|
520
|
-
bun run publish
|
|
521
|
-
bun run publish -- --force
|
|
517
|
+
bun run publish:all # publish to npm and JSR (same version)
|
|
518
|
+
bun run publish:all -- --dry-run # sync version only; print intended commands; no publish
|
|
519
|
+
bun run publish:npm # publish only to npm
|
|
520
|
+
bun run publish:jsr # publish only to JSR
|
|
521
|
+
bun run publish:all -- --force # skip pre-publish checks (clean tree, branch main)
|
|
522
522
|
```
|
|
523
523
|
|
|
524
524
|
### Typical release workflow
|
|
@@ -532,8 +532,8 @@ bun run publish -- --force # skip pre-publish checks (clean tree, branch m
|
|
|
532
532
|
```
|
|
533
533
|
3. Run the publish script:
|
|
534
534
|
```bash
|
|
535
|
-
bun run publish -- --dry-run
|
|
536
|
-
bun run publish
|
|
535
|
+
bun run publish:all -- --dry-run # verify
|
|
536
|
+
bun run publish:all
|
|
537
537
|
```
|
|
538
538
|
4. Optionally push main and tags:
|
|
539
539
|
```bash
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gflows",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.4",
|
|
4
4
|
"description": "A lightweight CLI for consistent Git branching workflows (main + dev, feature/bugfix/chore/release/hotfix).",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "src/index.ts",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"test": "bun test",
|
|
12
12
|
"lint": "tsc --noEmit",
|
|
13
13
|
"gflows": "bun run src/cli.ts",
|
|
14
|
-
"publish": "bun run scripts/publish.ts",
|
|
14
|
+
"publish:all": "bun run scripts/publish.ts",
|
|
15
15
|
"publish:npm": "bun run scripts/publish.ts -- --npm-only",
|
|
16
16
|
"publish:jsr": "bun run scripts/publish.ts -- --jsr-only"
|
|
17
17
|
},
|