@h-rig/standard-plugin 0.0.6-alpha.14 → 0.0.6-alpha.140
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/dist/src/bundle.d.ts +6 -0
- package/dist/src/bundle.js +1602 -0
- package/dist/src/drift/__fixtures__/temp-repo.d.ts +9 -0
- package/dist/src/drift/__fixtures__/temp-repo.js +41 -0
- package/dist/src/drift/detect.d.ts +11 -0
- package/dist/src/drift/detect.js +299 -0
- package/dist/src/drift/extract-refs.d.ts +7 -0
- package/dist/src/drift/extract-refs.js +60 -0
- package/dist/src/drift/git-adapter.d.ts +7 -0
- package/dist/src/drift/git-adapter.js +63 -0
- package/dist/src/drift/judge.d.ts +19 -0
- package/dist/src/drift/judge.js +16 -0
- package/dist/src/drift/plugin.d.ts +63 -0
- package/dist/src/drift/plugin.js +508 -0
- package/dist/src/files-source.d.ts +18 -0
- package/dist/src/files-source.js +4 -3
- package/dist/src/github-issues-source.d.ts +80 -0
- package/dist/src/github-issues-source.js +436 -50
- package/dist/src/index.d.ts +3 -0
- package/dist/src/index.js +1102 -62
- package/dist/src/plugin.d.ts +26 -0
- package/dist/src/plugin.js +1685 -0
- package/package.json +28 -5
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { type RigPluginWithRuntime } from "@rig/core";
|
|
2
|
+
import { createEnvGitHubCredentialProvider, createStateGitHubCredentialProvider, createGitHubIssuesTaskSource, type GitHubCredentialProvider, type GitHubIssuesOptions } from "./github-issues-source";
|
|
3
|
+
import { createFilesTaskSource } from "./files-source";
|
|
4
|
+
import { type DocsDriftPluginOptions } from "./drift/plugin";
|
|
5
|
+
export { createGitHubIssuesTaskSource, createEnvGitHubCredentialProvider, createStateGitHubCredentialProvider, createFilesTaskSource };
|
|
6
|
+
export { createDocsDriftRuntimeCliCommand, createDocsDriftValidator, DOCS_DRIFT_CAPABILITY_ID, DOCS_DRIFT_CLI_ID, DOCS_DRIFT_RUNTIME_CLI_COMMAND, DOCS_DRIFT_STAGE_ID, DOCS_DRIFT_VALIDATOR_ID, driftGateResult, executeDrift, runDocsDriftValidation, runDriftCli } from "./drift/plugin";
|
|
7
|
+
export { detectDrift, detectDeletedReferences, detectStaleAnchors } from "./drift/detect";
|
|
8
|
+
export { extractDriftReferences } from "./drift/extract-refs";
|
|
9
|
+
export { makeDriftGit } from "./drift/git-adapter";
|
|
10
|
+
export { judgeDocumentationDrift } from "./drift/judge";
|
|
11
|
+
export type { DriftReference, DriftReferenceKind } from "./drift/extract-refs";
|
|
12
|
+
export type { DriftGit } from "./drift/git-adapter";
|
|
13
|
+
export type { DriftJudgeInput, DriftJudgeMismatch, DriftJudgeProvider } from "./drift/judge";
|
|
14
|
+
export type { GitHubIssuesOptions } from "./github-issues-source";
|
|
15
|
+
export type { FilesTaskSourceOptions } from "./files-source";
|
|
16
|
+
export type { DocsDriftPluginOptions } from "./drift/plugin";
|
|
17
|
+
export declare const DOCS_HEALTH_PANEL_ID = "docs-health";
|
|
18
|
+
export interface StandardPluginOptions {
|
|
19
|
+
githubCredentialProvider?: GitHubCredentialProvider;
|
|
20
|
+
githubWorkspaceId?: string;
|
|
21
|
+
githubUserId?: string;
|
|
22
|
+
githubSpawn?: GitHubIssuesOptions["spawn"];
|
|
23
|
+
onGitHubTaskChanged?: GitHubIssuesOptions["onTaskChanged"];
|
|
24
|
+
drift?: DocsDriftPluginOptions;
|
|
25
|
+
}
|
|
26
|
+
export default function standardPlugin(opts?: StandardPluginOptions): RigPluginWithRuntime;
|