@h-rig/standard-plugin 0.0.6-alpha.156 → 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 +21 -0
- package/dist/src/bundle.js +6 -1
- package/dist/src/index.d.ts +2 -2
- package/dist/src/index.js +5 -0
- package/package.json +25 -25
package/dist/src/bundle.d.ts
CHANGED
|
@@ -5,4 +5,25 @@ export type StandardPluginsOptions = {
|
|
|
5
5
|
readonly taskSources?: StandardTaskSourcesPluginOptions | undefined;
|
|
6
6
|
readonly drift?: DocsDriftPluginOptions | undefined;
|
|
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[];
|
|
8
29
|
export declare function standardPlugins(options?: StandardPluginsOptions): readonly RigPlugin[];
|
package/dist/src/bundle.js
CHANGED
|
@@ -50,6 +50,10 @@ import { createStandardProductEntrypointPlugin, standardProductEntrypointPlugin
|
|
|
50
50
|
import { createStandardTaskCliPlugin, standardTaskCliPlugin } from "@rig/task-cli-plugin/plugin";
|
|
51
51
|
|
|
52
52
|
// packages/standard-plugin/src/bundle.ts
|
|
53
|
+
function standard(options = {}) {
|
|
54
|
+
const { drift, ...taskSources } = options;
|
|
55
|
+
return standardPlugins({ taskSources, drift });
|
|
56
|
+
}
|
|
53
57
|
function standardPlugins(options = {}) {
|
|
54
58
|
return [
|
|
55
59
|
createDefaultLifecyclePlugin(),
|
|
@@ -77,5 +81,6 @@ function standardPlugins(options = {}) {
|
|
|
77
81
|
];
|
|
78
82
|
}
|
|
79
83
|
export {
|
|
80
|
-
standardPlugins
|
|
84
|
+
standardPlugins,
|
|
85
|
+
standard as default
|
|
81
86
|
};
|
package/dist/src/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { standardPlugins } from "./bundle";
|
|
2
|
-
export type { StandardPluginsOptions } from "./bundle";
|
|
1
|
+
export { default, standardPlugins } from "./bundle";
|
|
2
|
+
export type { StandardOptions, StandardPluginsOptions } from "./bundle";
|
|
3
3
|
export { DOCS_DRIFT_CAPABILITY_ID, DOCS_DRIFT_CLI_COMMAND, DOCS_DRIFT_CLI_ID, DOCS_DRIFT_STAGE_ID, DOCS_DRIFT_STAGE_MUTATION, DOCS_DRIFT_VALIDATOR, DOCS_DRIFT_VALIDATOR_ID, DOCS_HEALTH_PANEL_ID, createEnvGitHubCredentialProvider, createFilesTaskSource, createGitHubIssuesTaskSource, createStandardDocsDriftPlugin, createStandardProductEntrypointPlugin, createStandardTaskCliPlugin, createStandardTaskSourcesPlugin, createStateGitHubCredentialProvider, standardProductEntrypointPlugin, standardTaskCliPlugin, } from "./plugin";
|
|
4
4
|
export type { DocsDriftPluginOptions, DriftGit, DriftJudgeInput, DriftJudgeMismatch, DriftJudgeProvider, DriftReference, DriftReferenceKind, FilesTaskSourceOptions, GitHubIssuesOptions, StandardTaskSourcesPluginOptions, } from "./plugin";
|
|
5
5
|
export { createRunWorkerPlugin, runWorkerPlugin } from "@rig/run-worker";
|
package/dist/src/index.js
CHANGED
|
@@ -50,6 +50,10 @@ import { createStandardProductEntrypointPlugin, standardProductEntrypointPlugin
|
|
|
50
50
|
import { createStandardTaskCliPlugin, standardTaskCliPlugin } from "@rig/task-cli-plugin/plugin";
|
|
51
51
|
|
|
52
52
|
// packages/standard-plugin/src/bundle.ts
|
|
53
|
+
function standard(options = {}) {
|
|
54
|
+
const { drift, ...taskSources } = options;
|
|
55
|
+
return standardPlugins({ taskSources, drift });
|
|
56
|
+
}
|
|
53
57
|
function standardPlugins(options = {}) {
|
|
54
58
|
return [
|
|
55
59
|
createDefaultLifecyclePlugin(),
|
|
@@ -129,6 +133,7 @@ export {
|
|
|
129
133
|
planningPlugin,
|
|
130
134
|
dependencyGraphPlugin,
|
|
131
135
|
defaultLifecyclePlugin,
|
|
136
|
+
standard as default,
|
|
132
137
|
createSupervisorPlugin2 as createSupervisorPlugin,
|
|
133
138
|
createStateGitHubCredentialProvider,
|
|
134
139
|
createStandardTaskSourcesPlugin,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@h-rig/standard-plugin",
|
|
3
|
-
"version": "0.0.6-alpha.
|
|
3
|
+
"version": "0.0.6-alpha.157",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "First-party contribution bundle for Rig's OMP extension plugin graph; not a standalone plugin runtime.",
|
|
6
6
|
"license": "UNLICENSED",
|
|
@@ -57,30 +57,30 @@
|
|
|
57
57
|
"module": "./dist/src/index.js",
|
|
58
58
|
"types": "./dist/src/index.d.ts",
|
|
59
59
|
"dependencies": {
|
|
60
|
-
"@rig/blocker-classifier-plugin": "npm:@h-rig/blocker-classifier-plugin@0.0.6-alpha.
|
|
61
|
-
"@rig/browser-plugin": "npm:@h-rig/browser-plugin@0.0.6-alpha.
|
|
62
|
-
"@rig/bundle-default-lifecycle": "npm:@h-rig/bundle-default-lifecycle@0.0.6-alpha.
|
|
63
|
-
"@rig/contracts": "npm:@h-rig/contracts@0.0.6-alpha.
|
|
64
|
-
"@rig/cli-surface-plugin": "npm:@h-rig/cli-surface-plugin@0.0.6-alpha.
|
|
65
|
-
"@rig/core": "npm:@h-rig/core@0.0.6-alpha.
|
|
66
|
-
"@rig/dependency-graph-plugin": "npm:@h-rig/dependency-graph-plugin@0.0.6-alpha.
|
|
67
|
-
"@rig/doctor-plugin": "npm:@h-rig/doctor-plugin@0.0.6-alpha.
|
|
68
|
-
"@rig/docs-drift-plugin": "npm:@h-rig/docs-drift-plugin@0.0.6-alpha.
|
|
69
|
-
"@rig/github-provider-plugin": "npm:@h-rig/github-provider-plugin@0.0.6-alpha.
|
|
70
|
-
"@rig/guard-plugin": "npm:@h-rig/guard-plugin@0.0.6-alpha.
|
|
71
|
-
"@rig/init-plugin": "npm:@h-rig/init-plugin@0.0.6-alpha.
|
|
72
|
-
"@rig/isolation-plugin": "npm:@h-rig/isolation-plugin@0.0.6-alpha.
|
|
73
|
-
"@rig/memory-plugin": "npm:@h-rig/memory-plugin@0.0.6-alpha.
|
|
74
|
-
"@rig/planning-plugin": "npm:@h-rig/planning-plugin@0.0.6-alpha.
|
|
75
|
-
"@rig/pr-review-plugin": "npm:@h-rig/pr-review-plugin@0.0.6-alpha.
|
|
76
|
-
"@rig/product-entrypoint-plugin": "npm:@h-rig/product-entrypoint-plugin@0.0.6-alpha.
|
|
77
|
-
"@rig/prompt-plugin": "npm:@h-rig/prompt-plugin@0.0.6-alpha.
|
|
78
|
-
"@rig/provider-plugin": "npm:@h-rig/provider-plugin@0.0.6-alpha.
|
|
79
|
-
"@rig/repos-plugin": "npm:@h-rig/repos-plugin@0.0.6-alpha.
|
|
80
|
-
"@rig/run-worker": "npm:@h-rig/run-worker@0.0.6-alpha.
|
|
81
|
-
"@rig/task-cli-plugin": "npm:@h-rig/task-cli-plugin@0.0.6-alpha.
|
|
82
|
-
"@rig/task-sources-plugin": "npm:@h-rig/task-sources-plugin@0.0.6-alpha.
|
|
83
|
-
"@rig/supervisor-plugin": "npm:@h-rig/supervisor-plugin@0.0.6-alpha.
|
|
60
|
+
"@rig/blocker-classifier-plugin": "npm:@h-rig/blocker-classifier-plugin@0.0.6-alpha.157",
|
|
61
|
+
"@rig/browser-plugin": "npm:@h-rig/browser-plugin@0.0.6-alpha.157",
|
|
62
|
+
"@rig/bundle-default-lifecycle": "npm:@h-rig/bundle-default-lifecycle@0.0.6-alpha.157",
|
|
63
|
+
"@rig/contracts": "npm:@h-rig/contracts@0.0.6-alpha.157",
|
|
64
|
+
"@rig/cli-surface-plugin": "npm:@h-rig/cli-surface-plugin@0.0.6-alpha.157",
|
|
65
|
+
"@rig/core": "npm:@h-rig/core@0.0.6-alpha.157",
|
|
66
|
+
"@rig/dependency-graph-plugin": "npm:@h-rig/dependency-graph-plugin@0.0.6-alpha.157",
|
|
67
|
+
"@rig/doctor-plugin": "npm:@h-rig/doctor-plugin@0.0.6-alpha.157",
|
|
68
|
+
"@rig/docs-drift-plugin": "npm:@h-rig/docs-drift-plugin@0.0.6-alpha.157",
|
|
69
|
+
"@rig/github-provider-plugin": "npm:@h-rig/github-provider-plugin@0.0.6-alpha.157",
|
|
70
|
+
"@rig/guard-plugin": "npm:@h-rig/guard-plugin@0.0.6-alpha.157",
|
|
71
|
+
"@rig/init-plugin": "npm:@h-rig/init-plugin@0.0.6-alpha.157",
|
|
72
|
+
"@rig/isolation-plugin": "npm:@h-rig/isolation-plugin@0.0.6-alpha.157",
|
|
73
|
+
"@rig/memory-plugin": "npm:@h-rig/memory-plugin@0.0.6-alpha.157",
|
|
74
|
+
"@rig/planning-plugin": "npm:@h-rig/planning-plugin@0.0.6-alpha.157",
|
|
75
|
+
"@rig/pr-review-plugin": "npm:@h-rig/pr-review-plugin@0.0.6-alpha.157",
|
|
76
|
+
"@rig/product-entrypoint-plugin": "npm:@h-rig/product-entrypoint-plugin@0.0.6-alpha.157",
|
|
77
|
+
"@rig/prompt-plugin": "npm:@h-rig/prompt-plugin@0.0.6-alpha.157",
|
|
78
|
+
"@rig/provider-plugin": "npm:@h-rig/provider-plugin@0.0.6-alpha.157",
|
|
79
|
+
"@rig/repos-plugin": "npm:@h-rig/repos-plugin@0.0.6-alpha.157",
|
|
80
|
+
"@rig/run-worker": "npm:@h-rig/run-worker@0.0.6-alpha.157",
|
|
81
|
+
"@rig/task-cli-plugin": "npm:@h-rig/task-cli-plugin@0.0.6-alpha.157",
|
|
82
|
+
"@rig/task-sources-plugin": "npm:@h-rig/task-sources-plugin@0.0.6-alpha.157",
|
|
83
|
+
"@rig/supervisor-plugin": "npm:@h-rig/supervisor-plugin@0.0.6-alpha.157",
|
|
84
84
|
"effect": "4.0.0-beta.90"
|
|
85
85
|
}
|
|
86
86
|
}
|