@ggdna/dna-gg 1.5.1 → 1.6.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.
@@ -39,7 +39,7 @@
39
39
  "ecosystem": null,
40
40
  "resolvedVersion": null,
41
41
  "via": null,
42
- "hash": "0x47e288578bf3e862"
42
+ "hash": "0x1be177dde62ec3b7"
43
43
  }
44
44
  ],
45
45
  "claude": {
@@ -67,7 +67,7 @@
67
67
  },
68
68
  {
69
69
  "path": ".claude/skills/gg-cleanup/SKILL.md",
70
- "hash": "0x4a6903a51168486a"
70
+ "hash": "0x634921912309c933"
71
71
  },
72
72
  {
73
73
  "path": ".claude/skills/gg-commit/SKILL.md",
@@ -75,11 +75,11 @@
75
75
  },
76
76
  {
77
77
  "path": ".claude/skills/gg-publish/SKILL.md",
78
- "hash": "0x806b4c1fd5f6f654"
78
+ "hash": "0x7ea44a57ed7d2ae8"
79
79
  },
80
80
  {
81
81
  "path": ".claude/skills/gg-push/SKILL.md",
82
- "hash": "0x140e1b8d6cbe222e"
82
+ "hash": "0xe9bf8d2d00371cf3"
83
83
  },
84
84
  {
85
85
  "path": ".claude/skills/gg-review/SKILL.md",
@@ -111,11 +111,11 @@
111
111
  },
112
112
  {
113
113
  "path": "doc/guides/develop-without-ai-guide.md",
114
- "hash": "0xc0d6546a678cb8cc"
114
+ "hash": "0x88551202636c10c0"
115
115
  },
116
116
  {
117
117
  "path": "doc/guides/for-ai/ai-dev-guide.md",
118
- "hash": "0x3f2e79da5752c5fe"
118
+ "hash": "0xb3354db9fff082e9"
119
119
  },
120
120
  {
121
121
  "path": "doc/guides/index-guide.md",
@@ -61,6 +61,12 @@ gg do review
61
61
 
62
62
  ## Publish
63
63
 
64
+ Publish from the workspace root and name the ticket with `-i`:
65
+
64
66
  ```bash
65
- gg do publish
67
+ cd ~/dev/
68
+ gg do publish -i <ticket>
66
69
  ```
70
+
71
+ At the end gg moves the ticket folder to the trash. On Windows this fails
72
+ while a terminal sits in the ticket folder ("used by another process").
@@ -320,6 +320,12 @@ gg one do commit
320
320
  gg do push
321
321
  ```
322
322
 
323
+ `gg do push` merges the main branches into the feature branches, checks
324
+ and pushes. It upgrades no dependency: new versions, major versions
325
+ included, arrive through the nightly build (`gg do maintain --nightly`).
326
+ Does the ticket need a newer version of a dependency right away? Raise
327
+ its constraint as part of the change, or run `gg do push --upgrade`.
328
+
323
329
  ## Review
324
330
 
325
331
  Check the diff of every repo of the ticket against its scope first (see
@@ -355,11 +361,22 @@ Afterwards load the review-light skill and execute it.
355
361
  of each repo — `gg do publish` offers them as defaults
356
362
  - If the ticket was only planned, publish the project management repo only
357
363
 
358
- Ask the user to run the following command **manually**:
364
+ Ask the user to run the following command **manually** from the workspace
365
+ root, not from the ticket folder:
359
366
 
360
367
  ```bash
361
- gg do publish
368
+ cd ~/dev/ # workspace root
369
+ gg do publish -i fix_login_crash
362
370
  ```
363
371
 
372
+ At the end gg moves the ticket folder to the trash. Windows refuses to move
373
+ a folder a terminal sits in ("used by another process", errno 32), so the
374
+ terminal must stay outside the ticket — `-i` names the ticket instead.
375
+
364
376
  gg triggers the pull request merge and publishes the changes to the
365
377
  registry. Finally the version tag is created and pushed.
378
+
379
+ A publish resolves the dependencies (`dart pub get`, `<pm> install`) and
380
+ analyzes; it upgrades nothing and does not run the tests again — they
381
+ passed at the commit. Only the constraints on repos the same ticket
382
+ publishes change.
@@ -52,10 +52,13 @@ git merge --abort
52
52
  ## 3. Remove the ticket folder
53
53
 
54
54
  ```bash
55
- cd ~/dev/ # workspace
56
- rm -rf tickets/DnaJiraPrefix-145
55
+ cd ~/dev/ # workspace root
56
+ rm -rf fix_login_crash
57
57
  ```
58
58
 
59
+ On Windows, no terminal and no VS Code window may sit in the ticket folder —
60
+ otherwise the deletion fails with "used by another process".
61
+
59
62
  ## 4. Update the workspace
60
63
 
61
64
  Pull `main` in the repos the ticket touched, so the workspace matches the
@@ -7,6 +7,8 @@ description: Prepares the release of a reviewed ticket and hands `gg do publish`
7
7
 
8
8
  `gg do publish` merges the pull requests, publishes to the registry and
9
9
  creates and pushes the version tags. It is interactive — the user runs it.
10
+ It resolves and analyzes every repo, but upgrades nothing and does not run
11
+ the tests again.
10
12
 
11
13
  ## 1. Check the preconditions
12
14
 
@@ -30,12 +32,18 @@ it is interactive. Check that `CHANGELOG.md` reads well.
30
32
 
31
33
  ## 3. Let the user publish
32
34
 
33
- Ask the user to run this **manually** from the ticket folder:
35
+ Ask the user to run this **manually** from the workspace root, not from the
36
+ ticket folder. Fill in the real workspace root and ticket folder:
34
37
 
35
38
  ```bash
36
- gg do publish
39
+ cd ~/dev/ # workspace root
40
+ gg do publish -i fix_login_crash
37
41
  ```
38
42
 
43
+ At the end gg moves the ticket folder to the trash. Windows refuses to move
44
+ a folder a terminal sits in ("used by another process", errno 32), so the
45
+ terminal must stay outside the ticket — `-i` names the ticket instead.
46
+
39
47
  It asks whether the ticket and the remote feature branches may be deleted.
40
48
  If the user declines, run `/gg-cleanup` afterwards.
41
49
 
@@ -15,6 +15,10 @@ gg do push
15
15
  repos that still carry uncommitted work. If it reports such a repo, run
16
16
  `/gg-commit` first and push again.
17
17
 
18
+ It upgrades no dependency — the nightly build (`gg do maintain --nightly`)
19
+ does. Only when the ticket needs a newer version right away, push with
20
+ `gg do push --upgrade`.
21
+
18
22
  ## Important
19
23
 
20
24
  - Push only when the user asked for it.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ggdna/dna-gg",
3
- "version": "1.5.1",
3
+ "version": "1.6.1",
4
4
  "description": "DNA layer: gg CLI workflow guides, repo setup scripts and CI check",
5
5
  "keywords": [
6
6
  "dna",