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/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.md")
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.1".length > 0) {
1224
- return "1.0.1";
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.md";
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} (${legacy} \u306F\u975E\u5BFE\u5FDC)`,
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.md \u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093\u3002",
1933
+ "scenario.feature \u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093\u3002",
1935
1934
  "error",
1936
1935
  entry.scenarioPath,
1937
1936
  "scenario.exists"