@wcag-audit/cli 1.0.0-alpha.3 → 1.0.0-alpha.4

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,6 +1,6 @@
1
1
  {
2
2
  "name": "@wcag-audit/cli",
3
- "version": "1.0.0-alpha.3",
3
+ "version": "1.0.0-alpha.4",
4
4
  "description": "Project-aware WCAG 2.1/2.2 auditor with AI-ready fix prompts for vibe-coding tools (Cursor, Claude Code, Windsurf).",
5
5
  "type": "module",
6
6
  "bin": {
package/src/cli.js CHANGED
@@ -18,7 +18,7 @@ const program = new Command();
18
18
  program
19
19
  .name("wcag-audit")
20
20
  .description("WCAG 2.1/2.2 auditor for web projects — with AI-ready fixes for Cursor / Claude Code / Windsurf.")
21
- .version("1.0.0-alpha.3");
21
+ .version("1.0.0-alpha.4");
22
22
 
23
23
  // ── init ─────────────────────────────────────────────────────────
24
24
  program
@@ -5,7 +5,7 @@ import { readGlobalConfig } from "../config/global.js";
5
5
  import { validateLicense } from "../license/validate.js";
6
6
  import { detectFramework } from "../discovery/registry.js";
7
7
 
8
- const CLI_VERSION = "1.0.0-alpha.3";
8
+ const CLI_VERSION = "1.0.0-alpha.4";
9
9
 
10
10
  export async function runDoctor({ cwd = process.cwd(), log = console.log } = {}) {
11
11
  const checks = [];
@@ -3,7 +3,7 @@ import { randomUUID } from "crypto";
3
3
  import { validateLicense } from "../license/validate.js";
4
4
  import { writeGlobalConfig } from "../config/global.js";
5
5
 
6
- const CLI_VERSION = "1.0.0-alpha.3";
6
+ const CLI_VERSION = "1.0.0-alpha.4";
7
7
 
8
8
  // runInit can be called two ways:
9
9
  // 1. Interactive (no answers) — uses enquirer to prompt
@@ -17,7 +17,7 @@ import { renderCursorRules } from "../output/cursor-rules.js";
17
17
  import { upsertAgentsMd } from "../output/agents-md.js";
18
18
  import { hashContent, readCacheEntry, writeCacheEntry } from "../cache/route-cache.js";
19
19
 
20
- const CLI_VERSION = "1.0.0-alpha.3";
20
+ const CLI_VERSION = "1.0.0-alpha.4";
21
21
 
22
22
  export async function runScan({
23
23
  cwd = process.cwd(),
@@ -1,4 +1,4 @@
1
- const DEFAULT_API_URL = "https://api.wcagaudit.io/v1/audit/log";
1
+ const DEFAULT_API_URL = "https://wcagaudit.io/api/v1/audit/log";
2
2
 
3
3
  // Fire-and-forget usage logging. Never throws — billing failures
4
4
  // should not break the user's scan.
@@ -1,6 +1,6 @@
1
1
  const LICENSE_KEY_RE = /^WCAG-[A-Z0-9]{4}-[A-Z0-9]{4}-[A-Z0-9]{4}-[A-Z0-9]{4}$/;
2
2
 
3
- const DEFAULT_API_URL = "https://api.wcagaudit.io/v1/license/validate";
3
+ const DEFAULT_API_URL = "https://wcagaudit.io/api/v1/license/validate";
4
4
 
5
5
  export function isValidLicenseFormat(key) {
6
6
  return typeof key === "string" && LICENSE_KEY_RE.test(key);