theaccessible-audit-ci 0.2.0 → 0.2.1

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.
@@ -1,4 +1,4 @@
1
- import type { ApiClient } from './api-client';
1
+ import type { ApiClient } from './api-client.js';
2
2
  /** Hard cap on pages per multipage audit; matches server schema. */
3
3
  export declare const MAX_ARTIFACT_PAGES = 25;
4
4
  export interface MultipageArtifact {
package/dist/cli.js CHANGED
@@ -2,13 +2,13 @@
2
2
  import { Command } from 'commander';
3
3
  import { readFileSync } from 'node:fs';
4
4
  import { resolve } from 'node:path';
5
- import { prepareBuildArtifact } from './artifact';
6
- import { ApiClient, ApiError } from './api-client';
7
- import { loadConfig, ConfigError } from './config';
8
- import { decideExitCode, ExitCode } from './exit-codes';
9
- import { humanSummary, writeOutputs } from './output';
10
- import { pollUntilComplete } from './poll';
11
- import { detectGitContext } from './git';
5
+ import { prepareBuildArtifact } from './artifact.js';
6
+ import { ApiClient, ApiError } from './api-client.js';
7
+ import { loadConfig, ConfigError } from './config.js';
8
+ import { decideExitCode, ExitCode } from './exit-codes.js';
9
+ import { humanSummary, writeOutputs } from './output.js';
10
+ import { pollUntilComplete } from './poll.js';
11
+ import { detectGitContext } from './git.js';
12
12
  const program = new Command();
13
13
  function getApiKey() {
14
14
  const key = process.env.THEACCESSIBLE_API_KEY;
@@ -29,7 +29,7 @@ function maskKey(k) {
29
29
  program
30
30
  .name('theaccessible')
31
31
  .description('TheAccessible CI/CD audit CLI')
32
- .version('0.1.0');
32
+ .version('0.2.1');
33
33
  program
34
34
  .command('audit')
35
35
  .argument('[target]', 'Target name from .theaccessible.yml (default: first target)')
@@ -4,7 +4,7 @@ export declare const ExitCode: {
4
4
  readonly TOOL_ERROR: 2;
5
5
  };
6
6
  export type ExitCodeValue = (typeof ExitCode)[keyof typeof ExitCode];
7
- import type { Config } from './config';
7
+ import type { Config } from './config.js';
8
8
  export interface GateInputs {
9
9
  grade: 'A' | 'B' | 'C' | 'D' | 'F';
10
10
  newCriticalIssues: number;
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- export { ApiClient, type AuditJobResponse, type AuditRequest } from './api-client';
2
- export { loadConfig, ConfigSchema, type Config } from './config';
3
- export { ExitCode, decideExitCode } from './exit-codes';
4
- export { humanSummary, writeOutputs } from './output';
5
- export { pollUntilComplete } from './poll';
1
+ export { ApiClient, type AuditJobResponse, type AuditRequest } from './api-client.js';
2
+ export { loadConfig, ConfigSchema, type Config } from './config.js';
3
+ export { ExitCode, decideExitCode } from './exit-codes.js';
4
+ export { humanSummary, writeOutputs } from './output.js';
5
+ export { pollUntilComplete } from './poll.js';
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
- export { ApiClient } from './api-client';
2
- export { loadConfig, ConfigSchema } from './config';
3
- export { ExitCode, decideExitCode } from './exit-codes';
4
- export { humanSummary, writeOutputs } from './output';
5
- export { pollUntilComplete } from './poll';
1
+ export { ApiClient } from './api-client.js';
2
+ export { loadConfig, ConfigSchema } from './config.js';
3
+ export { ExitCode, decideExitCode } from './exit-codes.js';
4
+ export { humanSummary, writeOutputs } from './output.js';
5
+ export { pollUntilComplete } from './poll.js';
package/dist/output.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import type { AuditJobResponse } from './api-client';
1
+ import type { AuditJobResponse } from './api-client.js';
2
2
  export interface OutputResult {
3
3
  jsonPath: string;
4
4
  sarifPath: string;
package/dist/poll.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import type { ApiClient, AuditJobResponse } from './api-client';
1
+ import type { ApiClient, AuditJobResponse } from './api-client.js';
2
2
  export interface PollOptions {
3
3
  timeoutSeconds: number;
4
4
  initialIntervalMs?: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "theaccessible-audit-ci",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "TheAccessible CI/CD audit CLI — grade accessibility compliance on every PR and deploy.",
5
5
  "type": "module",
6
6
  "repository": {