@h-rig/standard-plugin 0.0.6-alpha.155 → 0.0.6-alpha.157
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 +25 -3
- package/dist/src/bundle.js +51 -1824
- package/dist/src/default-lifecycle.d.ts +0 -1
- package/dist/src/index.d.ts +3 -5
- package/dist/src/index.js +56 -1843
- package/dist/src/plugin.d.ts +4 -22
- package/dist/src/plugin.js +20 -1792
- package/package.json +25 -27
- package/dist/src/drift/__fixtures__/temp-repo.d.ts +0 -9
- package/dist/src/drift/__fixtures__/temp-repo.js +0 -41
- package/dist/src/drift/detect.d.ts +0 -11
- package/dist/src/drift/detect.js +0 -299
- package/dist/src/drift/extract-refs.d.ts +0 -7
- package/dist/src/drift/extract-refs.js +0 -60
- package/dist/src/drift/git-adapter.d.ts +0 -7
- package/dist/src/drift/git-adapter.js +0 -63
- package/dist/src/drift/judge.d.ts +0 -19
- package/dist/src/drift/judge.js +0 -16
- package/dist/src/drift/metadata.d.ts +0 -13
- package/dist/src/drift/metadata.js +0 -35
- package/dist/src/drift/plugin.d.ts +0 -53
- package/dist/src/drift/plugin.js +0 -509
- package/dist/src/files-source.d.ts +0 -18
- package/dist/src/files-source.js +0 -107
- package/dist/src/github-issues-source.d.ts +0 -80
- package/dist/src/github-issues-source.js +0 -927
- package/dist/src/lifecycle-closeout.d.ts +0 -2
- package/dist/src/lifecycle-closeout.js +0 -6
- package/dist/src/run-worker-panels.d.ts +0 -15
- package/dist/src/run-worker-panels.js +0 -51
package/dist/src/bundle.d.ts
CHANGED
|
@@ -1,7 +1,29 @@
|
|
|
1
|
-
import type
|
|
2
|
-
import
|
|
1
|
+
import { type DocsDriftPluginOptions } from "@rig/docs-drift-plugin/plugin";
|
|
2
|
+
import type { RigPlugin } from "@rig/core/config";
|
|
3
|
+
import { type StandardTaskSourcesPluginOptions } from "./plugin";
|
|
3
4
|
export type StandardPluginsOptions = {
|
|
4
5
|
readonly taskSources?: StandardTaskSourcesPluginOptions | undefined;
|
|
5
6
|
readonly drift?: DocsDriftPluginOptions | undefined;
|
|
6
7
|
};
|
|
7
|
-
|
|
8
|
+
/**
|
|
9
|
+
* Author-facing options for the default `standard()` collection. The GitHub
|
|
10
|
+
* task-source knobs live at the top level (where rig.config authors expect
|
|
11
|
+
* them); `drift` configures the docs-drift plugin. Everything maps down into
|
|
12
|
+
* the discrete-plugin `standardPlugins()` collection below.
|
|
13
|
+
*/
|
|
14
|
+
export interface StandardOptions extends StandardTaskSourcesPluginOptions {
|
|
15
|
+
readonly drift?: DocsDriftPluginOptions | undefined;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* The default export consumed by generated rig.config files:
|
|
19
|
+
*
|
|
20
|
+
* import standard from "@rig/standard-plugin";
|
|
21
|
+
* export default defineConfig({ plugins: [standard({ githubUserId, ... })] });
|
|
22
|
+
*
|
|
23
|
+
* It returns the discrete-plugin COLLECTION (not a fat aggregate plugin) — the
|
|
24
|
+
* config author drops it into `plugins`, and defineConfig flattens the bundle
|
|
25
|
+
* into the explicit plugin list. This is the single seam that keeps
|
|
26
|
+
* `@rig/standard-plugin` an inert collection rather than a behavioural unit.
|
|
27
|
+
*/
|
|
28
|
+
export default function standard(options?: StandardOptions): readonly RigPlugin[];
|
|
29
|
+
export declare function standardPlugins(options?: StandardPluginsOptions): readonly RigPlugin[];
|