@we-scrum/cli 6.11.20 → 6.11.21

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@we-scrum/cli",
3
- "version": "6.11.20",
3
+ "version": "6.11.21",
4
4
  "description": "Cli tool for we-scrum application",
5
5
  "main": "dist/cli.js",
6
6
  "bin": {
@@ -39,11 +39,11 @@
39
39
  "tsup": "^8.5.1",
40
40
  "typescript": "^6.0.3",
41
41
  "@my-devkit/cli": "2.1.0",
42
- "@we-scrum/commands": "1.0.0",
43
42
  "@my-devkit/core": "1.0.0",
44
- "@we-scrum/utils": "1.0.0",
43
+ "@we-scrum/enums": "1.0.0",
44
+ "@we-scrum/commands": "1.0.0",
45
45
  "@we-scrum/models": "1.0.0",
46
- "@we-scrum/enums": "1.0.0"
46
+ "@we-scrum/utils": "1.0.0"
47
47
  },
48
48
  "scripts": {
49
49
  "start": "node dist/cli.js",
@@ -224,6 +224,7 @@ export class WeScrumHelper {
224
224
  endDate: options.endDate ?? iteration.endDate,
225
225
  capacity: options.capacity ?? iteration.capacity,
226
226
  comment: options.comment ?? iteration.comment,
227
+ iterationType: iteration.iterationType,
227
228
  }),
228
229
  );
229
230
  }
@@ -153,7 +153,7 @@ we-scrum create-change-thread --changeId <changeId> --comment "<markdown questio
153
153
 
154
154
  ---
155
155
 
156
- ## Step 10 — Remove the obsolete changes and reorganize
156
+ ## Step 10 — Remove the obsolete changes
157
157
 
158
158
  Run `get-story-analysis` again, then delete the obsolete changes one by one, in the order given by the reference:
159
159
 
@@ -163,15 +163,6 @@ we-scrum delete-change --changeId <obsoleteChangeId>
163
163
 
164
164
  When many changes are to be deleted, list them and ask for confirmation first.
165
165
 
166
- Then sort the sections and changes in a logical order, listing every remaining change:
167
-
168
- ```bash
169
- we-scrum reorganize-story-analysis --identificationNumber <identificationNumber> <<'EOF'
170
- # <Section>
171
- > id: <changeId>
172
- EOF
173
- ```
174
-
175
166
  ---
176
167
 
177
168
  ## Step 11 — Self-review
@@ -184,7 +175,22 @@ Fix what does not pass.
184
175
 
185
176
  ---
186
177
 
187
- ## Step 12 — Guidelines feedback
178
+ ## Step 12 — Reorganize
179
+
180
+ Always run this step, even when there is a single change or the order is already right: it also removes the empty sections.
181
+
182
+ Sort the sections and changes in a logical order, listing every change of the analysis, and only the sections holding at least one change:
183
+
184
+ ```bash
185
+ we-scrum reorganize-story-analysis --identificationNumber <identificationNumber> <<'EOF'
186
+ # <Section>
187
+ > id: <changeId>
188
+ EOF
189
+ ```
190
+
191
+ ---
192
+
193
+ ## Step 13 — Guidelines feedback
188
194
 
189
195
  Before concluding, ask for each change written: was the matching analysis guideline missing, ambiguous or insufficient for what had to be decided?
190
196
 
@@ -192,6 +198,6 @@ If yes, check the existing threads of the change first: reply to its guidelines
192
198
 
193
199
  ---
194
200
 
195
- ## Step 13 — Summarize
201
+ ## Step 14 — Summarize
196
202
 
197
203
  Summarize what was created, updated and removed, then list the threads still waiting for the user.