mjolnir-qa 2.0.0 → 2.1.0

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,13 +1,14 @@
1
1
  {
2
2
  "name": "mjolnir-qa",
3
- "version": "2.0.0",
3
+ "version": "2.1.0",
4
4
  "description": "Mjölnir — the Verification Trust Engine for QA. Audits test suites and CI pipelines, reports a worthiness score and prioritized findings.",
5
5
  "type": "module",
6
6
  "engines": {
7
7
  "node": ">=22.18"
8
8
  },
9
9
  "bin": {
10
- "mjolnir": "dist/cli.mjs"
10
+ "mjolnir": "dist/cli.mjs",
11
+ "mjolnir-qa": "dist/cli.mjs"
11
12
  },
12
13
  "workspaces": [
13
14
  "packages/*"
@@ -24,12 +25,18 @@
24
25
  "mcp": "node dist/mcp/stdio.mjs",
25
26
  "test": "vitest run",
26
27
  "bench:scan": "tsx scripts/bench-scan.ts .mjolnir --files 300",
27
- "test:stress": "vitest run --config vitest.stress.config.ts",
28
+ "test:stress": "vitest run --config vitest.stress.config.ts && node tests/stress/soak.mjs && node tests/stress/concurrent.mjs",
28
29
  "test:coverage": "vitest run --coverage",
30
+ "test:coverage:ci": "vitest run --coverage --no-file-parallelism --testTimeout=120000 --hookTimeout=120000",
31
+ "coverage:ratchet": "node scripts/check-coverage-ratchet.mjs",
32
+ "audit:ci": "npm audit --audit-level=moderate",
29
33
  "test:watch": "vitest",
30
34
  "lint": "eslint . --max-warnings=0 && prettier --check .",
31
35
  "format": "prettier --write .",
32
36
  "typecheck": "tsc --noEmit && tsc --noEmit -p tsconfig.test.json && tsx scripts/typecheck-fixtures.ts",
37
+ "certify": "npm run build && npm run lint && npm run typecheck && npm run test && npx vitest run tests/contract/",
38
+ "certify:ci": "npm run build && npm run lint && npm run typecheck && npm run test:coverage:ci && npx vitest run tests/contract/",
39
+ "ci-local": "npm run certify:ci && npm run test:property && npm run test:fuzz && npm run coverage:ratchet && npm run audit:ci && npm run brand:doctor && npm run brand:doctor:selftest && npm run brand:fonts:check && npm run site:doctor && npm run ci-local:parity",
33
40
  "golden:update": "tsx tests/golden/gen.ts",
34
41
  "detector-hashes:update": "tsx scripts/generate-detector-hashes.ts",
35
42
  "corpus:regression": "tsx tests/corpus/audit.ts",
@@ -62,6 +69,9 @@
62
69
  "changelog:check": "tsx scripts/check-changelog.ts --expect-version $(node -p \"require('./package.json').version\")",
63
70
  "reporter:version-check": "tsx scripts/check-reporter-version.ts",
64
71
  "self-scan": "node dist/cli.mjs .",
72
+ "ci-local:parity": "node scripts/check-ci-local-parity.mjs",
73
+ "test:property": "node scripts/check-property-runs.mjs && vitest run --config vitest.property.config.ts",
74
+ "test:fuzz": "vitest run --config vitest.fuzz.config.ts",
65
75
  "prepare": "husky",
66
76
  "prepublishOnly": "npm run build",
67
77
  "docs:architecture": "tsx scripts/generate-readme-architecture.ts",
@@ -103,10 +113,12 @@
103
113
  "yaml": "^2.5.0"
104
114
  },
105
115
  "devDependencies": {
116
+ "@commitlint/cli": "^19.8.1",
117
+ "@commitlint/config-conventional": "^19.8.1",
106
118
  "@eslint/js": "^10.0.1",
107
119
  "@playwright/test": "^1.50.0",
108
120
  "@types/node": "^26.4.0",
109
- "@vitest/coverage-istanbul": "^4.1.11",
121
+ "@vitest/coverage-istanbul": "^5.0.1",
110
122
  "axe-core": "^4.13.0",
111
123
  "eslint": "^10.9.1",
112
124
  "eslint-plugin-regexp": "^3.3.0",
@@ -121,7 +133,7 @@
121
133
  "tsx": "^4.16.0",
122
134
  "typescript": "^6.0.3",
123
135
  "typescript-eslint": "^8.68.0",
124
- "vitest": "^4.1.11"
136
+ "vitest": "^5.0.1"
125
137
  },
126
138
  "lint-staged": {
127
139
  "*.{ts,js,mjs}": [
@@ -133,6 +145,6 @@
133
145
  ]
134
146
  },
135
147
  "allowScripts": {
136
- "@vitest/coverage-istanbul@4.1.11": true
148
+ "@vitest/coverage-istanbul@5.0.1": true
137
149
  }
138
150
  }