Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 0 additions & 13 deletions packages/playground/client/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,14 +56,6 @@ export interface StartPlaygroundOptions {
* @private
*/
sapiName?: string;
/**
* Called before the blueprint steps are run,
* allows the caller to delay the Blueprint execution
* once the Playground is booted.
*
* @returns
*/
onBeforeBlueprint?: () => Promise<void>;
mounts?: Array<MountDescriptor>;
shouldInstallWordPress?: boolean;
/**
Expand Down Expand Up @@ -108,7 +100,6 @@ export async function startPlaygroundWeb({
onBlueprintStepCompleted,
onClientConnected = () => {},
sapiName,
onBeforeBlueprint,
mounts,
scope,
corsProxy,
Expand Down Expand Up @@ -167,10 +158,6 @@ export async function startPlaygroundWeb({
collectPhpLogs(logger, playground);
onClientConnected(playground);

if (onBeforeBlueprint) {
await onBeforeBlueprint();
}

await runBlueprintSteps(compiled, playground);
/**
* Pre-fetch WordPress update checks to speed up the initial wp-admin load.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@

import metadataWorkerUrl from './opfs-site-storage-worker-for-safari?worker&url';
import type { SiteMetadata } from '../../site-metadata';
import { createSiteMetadata } from '../../site-metadata';
import type { SiteInfo } from '../redux/slice-sites';
import { joinPaths } from '@php-wasm/util';
import { logger } from '@php-wasm/logger';
Expand Down