From 3406f18746f0655281f4304b2bb938273ef0d742 Mon Sep 17 00:00:00 2001 From: James Murdza Date: Mon, 20 Apr 2026 10:41:38 -0700 Subject: [PATCH] fix(plugin): add env parameter to WorkspaceAdaptor.create type (#23235) --- packages/plugin/src/index.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/packages/plugin/src/index.ts b/packages/plugin/src/index.ts index d53c23a891..9061ce367e 100644 --- a/packages/plugin/src/index.ts +++ b/packages/plugin/src/index.ts @@ -49,7 +49,11 @@ export type WorkspaceAdaptor = { name: string description: string configure(config: WorkspaceInfo): WorkspaceInfo | Promise - create(config: WorkspaceInfo, from?: WorkspaceInfo): Promise + create( + config: WorkspaceInfo, + env: Record, + from?: WorkspaceInfo, + ): Promise remove(config: WorkspaceInfo): Promise target(config: WorkspaceInfo): WorkspaceTarget | Promise }