mjolnir-qa 2.1.0 → 3.0.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.
@@ -0,0 +1,2 @@
1
+ import { m as runScan } from "./scan-pipeline-CAH9_Qgh.mjs";
2
+ export { runScan };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mjolnir-qa",
3
- "version": "2.1.0",
3
+ "version": "3.0.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": {
@@ -29,14 +29,19 @@
29
29
  "test:coverage": "vitest run --coverage",
30
30
  "test:coverage:ci": "vitest run --coverage --no-file-parallelism --testTimeout=120000 --hookTimeout=120000",
31
31
  "coverage:ratchet": "node scripts/check-coverage-ratchet.mjs",
32
- "audit:ci": "npm audit --audit-level=moderate",
32
+ "audit:ci": "npm audit --audit-level=moderate && npm audit --workspaces --audit-level=moderate",
33
+ "enterprise:threat-model": "node scripts/enterprise/validate-threat-model.mjs --model enterprise/threat-model.json --data-flow enterprise/data-flows.json --strict",
34
+ "claims:check": "node scripts/check-claim-registry.mjs",
35
+ "candidate:manifest:check": "node scripts/check-candidate-manifest.mjs",
36
+ "candidate:readiness": "node scripts/check-candidate-readiness.mjs",
33
37
  "test:watch": "vitest",
34
38
  "lint": "eslint . --max-warnings=0 && prettier --check .",
35
39
  "format": "prettier --write .",
36
40
  "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/",
41
+ "certify": "npm run build && npm run lint && npm run typecheck && npm run enterprise:threat-model && npm run claims:check && npm run candidate:manifest:check && npm run test && npx vitest run tests/contract/",
42
+ "certify:ci": "npm run build && npm run lint && npm run typecheck && npm run enterprise:threat-model && npm run claims:check && npm run candidate:manifest:check && npm run test:coverage:ci && npx vitest run tests/contract/",
39
43
  "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",
44
+ "verify:isolation": "node scripts/verify-remediation-isolation.mjs",
40
45
  "golden:update": "tsx tests/golden/gen.ts",
41
46
  "detector-hashes:update": "tsx scripts/generate-detector-hashes.ts",
42
47
  "corpus:regression": "tsx tests/corpus/audit.ts",
@@ -66,8 +71,10 @@
66
71
  "docs:video:render": "tsx scripts/video/render.ts",
67
72
  "docs:video": "npm run docs:video:capture && npm run docs:video:render",
68
73
  "docs:translations": "node scripts/check-readme-translations.mjs",
69
- "changelog:check": "tsx scripts/check-changelog.ts --expect-version $(node -p \"require('./package.json').version\")",
74
+ "changelog:check": "tsx scripts/check-changelog.ts",
70
75
  "reporter:version-check": "tsx scripts/check-reporter-version.ts",
76
+ "version:check": "npm run reporter:version-check && npm run changelog:check",
77
+ "release:verify": "npm run version:check && npm run claims:check && npm run candidate:manifest:check && npm run enterprise:threat-model",
71
78
  "self-scan": "node dist/cli.mjs .",
72
79
  "ci-local:parity": "node scripts/check-ci-local-parity.mjs",
73
80
  "test:property": "node scripts/check-property-runs.mjs && vitest run --config vitest.property.config.ts",
@@ -1,2 +0,0 @@
1
- import { m as runScan } from "./scan-pipeline-MQGUSey3.mjs";
2
- export { runScan };