@moritakaaz/markflow 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/package.json
CHANGED
package/src/versions.js
CHANGED
|
@@ -2,5 +2,5 @@
|
|
|
2
2
|
// Bump methodology when the docs in docs change.
|
|
3
3
|
// Bump template when the files in templates change.
|
|
4
4
|
// The CLI version comes from package.json.
|
|
5
|
-
export const METHODOLOGY_VERSION = "0.4.
|
|
6
|
-
export const TEMPLATE_VERSION = "0.4.
|
|
5
|
+
export const METHODOLOGY_VERSION = "0.4.1";
|
|
6
|
+
export const TEMPLATE_VERSION = "0.4.1";
|
|
@@ -7,8 +7,8 @@ Do not read when. The PRD is already filled. Use the other workflows instead.
|
|
|
7
7
|
## Steps
|
|
8
8
|
|
|
9
9
|
1. Ask one question at a time. Wait for the answer before you ask the next one.
|
|
10
|
-
2.
|
|
11
|
-
3.
|
|
10
|
+
2. Ask which language to use in this conversation. Then ask which language to use for docs and code comments. Ask each one as its own question. Code names stay in English.
|
|
11
|
+
3. Start with the problem. What hurts today, and for whom.
|
|
12
12
|
4. Ask who uses the product. Ask what each user must be able to do.
|
|
13
13
|
5. Ask what the product must not do.
|
|
14
14
|
6. Read the code to learn the stack and the layout. Use only what the code shows.
|
package/test/cli.test.js
CHANGED
|
@@ -303,6 +303,10 @@ describe("init", () => {
|
|
|
303
303
|
assert.ok(workflow.includes("which language to use in this conversation"));
|
|
304
304
|
assert.ok(workflow.includes("which language to use for docs and code comments"));
|
|
305
305
|
assert.ok(workflow.includes("Code names stay in English"));
|
|
306
|
+
assert.ok(
|
|
307
|
+
workflow.indexOf("which language to use in this conversation") <
|
|
308
|
+
workflow.indexOf("Start with the problem")
|
|
309
|
+
);
|
|
306
310
|
const prd = await readFile(join(dir, "markflow/docs/PRD.md"), "utf8");
|
|
307
311
|
assert.ok(prd.includes("## Language"));
|
|
308
312
|
assert.ok(prd.includes("- Conversation. TBD"));
|
|
@@ -765,7 +769,7 @@ describe("parser", () => {
|
|
|
765
769
|
const dir = await tempDir(t);
|
|
766
770
|
const result = runCli(["--version"], dir);
|
|
767
771
|
assert.equal(result.status, 0);
|
|
768
|
-
assert.equal(result.stdout.trim(), "0.4.
|
|
772
|
+
assert.equal(result.stdout.trim(), "0.4.1");
|
|
769
773
|
});
|
|
770
774
|
});
|
|
771
775
|
|