qfai 1.0.1 → 1.0.2
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 +2 -2
- package/assets/init/.qfai/README.md +2 -2
- package/assets/init/.qfai/contracts/README.md +1 -1
- package/assets/init/.qfai/prompts/makeBusinessFlow.md +1 -1
- package/assets/init/.qfai/prompts/makeOverview.md +1 -1
- package/assets/init/.qfai/prompts/qfai-maintain-traceability.md +1 -1
- package/assets/init/.qfai/prompts/require-to-spec.md +2 -2
- package/assets/init/.qfai/samples/analyze/analysis.md +1 -1
- package/assets/init/.qfai/specs/README.md +2 -2
- package/assets/init/.qfai/specs/spec-0001/delta.md +1 -1
- package/dist/cli/index.cjs +6 -7
- package/dist/cli/index.cjs.map +1 -1
- package/dist/cli/index.mjs +6 -7
- package/dist/cli/index.mjs.map +1 -1
- package/dist/index.cjs +6 -7
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +6 -7
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- /package/assets/init/.qfai/specs/spec-0001/{scenario.md → scenario.feature} +0 -0
package/dist/index.mjs
CHANGED
|
@@ -573,7 +573,7 @@ async function collectSpecEntries(specsRoot) {
|
|
|
573
573
|
dir,
|
|
574
574
|
specPath: path3.join(dir, "spec.md"),
|
|
575
575
|
deltaPath: path3.join(dir, "delta.md"),
|
|
576
|
-
scenarioPath: path3.join(dir, "scenario.
|
|
576
|
+
scenarioPath: path3.join(dir, "scenario.feature")
|
|
577
577
|
}));
|
|
578
578
|
return entries.sort((a, b) => a.dir.localeCompare(b.dir));
|
|
579
579
|
}
|
|
@@ -1220,8 +1220,8 @@ import { readFile as readFile4 } from "fs/promises";
|
|
|
1220
1220
|
import path7 from "path";
|
|
1221
1221
|
import { fileURLToPath } from "url";
|
|
1222
1222
|
async function resolveToolVersion() {
|
|
1223
|
-
if ("1.0.
|
|
1224
|
-
return "1.0.
|
|
1223
|
+
if ("1.0.2".length > 0) {
|
|
1224
|
+
return "1.0.2";
|
|
1225
1225
|
}
|
|
1226
1226
|
try {
|
|
1227
1227
|
const packagePath = resolvePackageJsonPath();
|
|
@@ -1909,12 +1909,11 @@ async function validateScenarios(root, config) {
|
|
|
1909
1909
|
const specsRoot = resolvePath(root, config, "specsDir");
|
|
1910
1910
|
const entries = await collectSpecEntries(specsRoot);
|
|
1911
1911
|
if (entries.length === 0) {
|
|
1912
|
-
const expected = "spec-0001/scenario.
|
|
1913
|
-
const legacy = "spec-001/scenario.md";
|
|
1912
|
+
const expected = "spec-0001/scenario.feature";
|
|
1914
1913
|
return [
|
|
1915
1914
|
issue4(
|
|
1916
1915
|
"QFAI-SC-000",
|
|
1917
|
-
`Scenario \u30D5\u30A1\u30A4\u30EB\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093\u3002\u914D\u7F6E\u5834\u6240: ${config.paths.specsDir} / \u671F\u5F85\u30D1\u30BF\u30FC\u30F3: ${expected}
|
|
1916
|
+
`Scenario \u30D5\u30A1\u30A4\u30EB\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093\u3002\u914D\u7F6E\u5834\u6240: ${config.paths.specsDir} / \u671F\u5F85\u30D1\u30BF\u30FC\u30F3: ${expected}`,
|
|
1918
1917
|
"info",
|
|
1919
1918
|
specsRoot,
|
|
1920
1919
|
"scenario.files"
|
|
@@ -1931,7 +1930,7 @@ async function validateScenarios(root, config) {
|
|
|
1931
1930
|
issues.push(
|
|
1932
1931
|
issue4(
|
|
1933
1932
|
"QFAI-SC-001",
|
|
1934
|
-
"scenario.
|
|
1933
|
+
"scenario.feature \u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093\u3002",
|
|
1935
1934
|
"error",
|
|
1936
1935
|
entry.scenarioPath,
|
|
1937
1936
|
"scenario.exists"
|