quality-intelligence-engine 2.2.17 → 2.2.18

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.
Files changed (2) hide show
  1. package/dist/bin/qi.js +9 -4
  2. package/package.json +1 -1
package/dist/bin/qi.js CHANGED
@@ -13,11 +13,16 @@ async function main() {
13
13
  const args = process.argv.slice(2);
14
14
  const playwrightResultsDir = args.find(a => !a.startsWith("--")) ?? "playwright-results";
15
15
  const showIssues = args.includes("--issue") || args.includes("--issues");
16
- // Resolve project root (works after npm install)
16
+ /**
17
+ * __dirname → dist/bin
18
+ * projectRoot → dist
19
+ */
17
20
  const projectRoot = path_1.default.resolve(__dirname, "..");
18
- // IMPORTANT: call compiled JS, never TS
19
- // dist/final-run.js EXISTS in published package
20
- const finalRunPath = path_1.default.join(projectRoot, "final-run.js");
21
+ /**
22
+ * IMPORTANT:
23
+ * final-run.ts compiled to dist/src/final-run.js
24
+ */
25
+ const finalRunPath = path_1.default.join(projectRoot, "src", "final-run.js");
21
26
  // eslint-disable-next-line @typescript-eslint/no-var-requires
22
27
  const { runFinal } = require(finalRunPath);
23
28
  runFinal(playwrightResultsDir, showIssues);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "quality-intelligence-engine",
3
- "version": "2.2.17",
3
+ "version": "2.2.18",
4
4
  "private": false,
5
5
  "bin": {
6
6
  "qi": "dist/bin/qi.js"