1- import type { RuntimePreviewSpec , RuntimeWordPressInstallMode , WorkspaceRecipe , WorkspaceRecipeExtraPlugin , WorkspaceRecipeMount , WorkspaceRecipePHPWasmExtensionManifest , WorkspaceRecipeRuntimeBackendPackage , WorkspaceRecipeRuntimeService , WorkspaceRecipeStep } from "./runtime-contracts.js"
1+ import type { RuntimePreviewSpec , RuntimeWordPressInstallMode , WorkspaceRecipe , WorkspaceRecipeExtraPlugin , WorkspaceRecipeMount , WorkspaceRecipePHPWasmExtensionManifest , WorkspaceRecipePluginRuntime , WorkspaceRecipeRuntimeBackendPackage , WorkspaceRecipeRuntimeService , WorkspaceRecipeStep } from "./runtime-contracts.js"
22import { commandArg , commandJsonArg , commandStringListArg } from "./command-codecs.js"
33export { buildRuntimePackageRunRecipe , CODEBOX_RUN_RUNTIME_PACKAGE_ABILITY , RUNTIME_PACKAGE_ARTIFACT_DECLARATION_SCHEMA , RUNTIME_PACKAGE_EXECUTION_INPUT_SCHEMA , RUNTIME_PACKAGE_EXECUTION_RESULT_SCHEMA , RUNTIME_PACKAGE_OUTPUT_PROJECTION_SCHEMA , runtimePackageExecutionInput , type RuntimePackageArtifactDeclaration , type RuntimePackageExecutionInput , type RuntimePackageOutputProjection , type RuntimePackageRunRecipeOptions } from "./runtime-package-execution.js"
44export { RUNTIME_PACKAGE_DIAGNOSTIC_SCHEMA , RUNTIME_PACKAGE_RESULT_SCHEMA , RUNTIME_PACKAGE_TASK_SCHEMA , normalizeRuntimePackageResult , normalizeRuntimePackageTask , validateRuntimePackageTask , type RuntimePackageDiagnostic , type RuntimePackageResult , type RuntimePackageTask } from "./runtime-package-contracts.js"
@@ -21,6 +21,7 @@ export interface WordPressPhpunitRecipeOptions {
2121 preview ?: RuntimePreviewSpec
2222 mounts ?: WorkspaceRecipeMount [ ]
2323 services ?: WorkspaceRecipeRuntimeService [ ]
24+ pluginRuntime ?: WorkspaceRecipePluginRuntime
2425 extra_plugins ?: WorkspaceRecipeExtraPlugin [ ]
2526 pluginSource ?: string
2627 pluginSlug : string
@@ -88,6 +89,7 @@ export function buildWordPressPhpunitRecipe(options: WordPressPhpunitRecipeOptio
8889 inputs : {
8990 extra_plugins : normalizeExtraPlugins ( options . extra_plugins ) ,
9091 ...( options . services && options . services . length > 0 ? { services : options . services } : { } ) ,
92+ ...( options . pluginRuntime ? { pluginRuntime : options . pluginRuntime } : { } ) ,
9193 mounts : normalizeRecipeMounts ( [
9294 ...( options . pluginSource ? [ { source : options . pluginSource , target : pluginTarget } satisfies WorkspaceRecipeMount ] : [ ] ) ,
9395 ...( options . mounts ?? [ ] ) ,
0 commit comments