@wp-playground/blueprints 0.6.0 → 0.6.2
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/blueprint-schema.json +0 -47
- package/index.cjs +43 -387
- package/index.d.ts +3 -18
- package/index.js +1134 -1639
- package/lib/steps/enable-multisite.d.ts +1 -1
- package/lib/steps/handlers.d.ts +0 -1
- package/lib/steps/index.d.ts +2 -3
- package/package.json +2 -2
- package/lib/steps/apply-wordpress-patches/index.d.ts +0 -16
package/lib/steps/handlers.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
export { activatePlugin } from './activate-plugin';
|
|
2
2
|
export { activateTheme } from './activate-theme';
|
|
3
|
-
export { applyWordPressPatches } from './apply-wordpress-patches';
|
|
4
3
|
export { runPHP } from './run-php';
|
|
5
4
|
export { runPHPWithOptions } from './run-php-with-options';
|
|
6
5
|
export { runSql } from './run-sql';
|
package/lib/steps/index.d.ts
CHANGED
|
@@ -2,7 +2,6 @@ import { ProgressTracker } from '../../../../../php-wasm/progress/src/index.ts';
|
|
|
2
2
|
import { UniversalPHP } from '../../../../../php-wasm/universal/src/index.ts';
|
|
3
3
|
import { FileReference } from '../resources';
|
|
4
4
|
import { ActivatePluginStep } from './activate-plugin';
|
|
5
|
-
import { ApplyWordPressPatchesStep } from './apply-wordpress-patches';
|
|
6
5
|
import { DefineSiteUrlStep } from './define-site-url';
|
|
7
6
|
import { InstallPluginStep, InstallPluginOptions } from './install-plugin';
|
|
8
7
|
import { InstallThemeStep, InstallThemeOptions } from './install-theme';
|
|
@@ -38,8 +37,8 @@ export { wpContentFilesExcludedFromExport } from '../utils/wp-content-files-excl
|
|
|
38
37
|
* If you add a step here, make sure to also
|
|
39
38
|
* add it to the exports below.
|
|
40
39
|
*/
|
|
41
|
-
export type GenericStep<Resource> = ActivatePluginStep | ActivateThemeStep |
|
|
42
|
-
export type { ActivatePluginStep, ActivateThemeStep,
|
|
40
|
+
export type GenericStep<Resource> = ActivatePluginStep | ActivateThemeStep | CpStep | DefineWpConfigConstsStep | DefineSiteUrlStep | EnableMultisiteStep | ImportFileStep<Resource> | ImportWordPressFilesStep<Resource> | InstallPluginStep<Resource> | InstallThemeStep<Resource> | LoginStep | MkdirStep | MvStep | RequestStep | RmStep | RmdirStep | RunPHPStep | RunPHPWithOptionsStep | RunWpInstallationWizardStep | RunSqlStep<Resource> | SetPhpIniEntryStep | SetSiteOptionsStep | UnzipStep<Resource> | UpdateUserMetaStep | WriteFileStep<Resource>;
|
|
41
|
+
export type { ActivatePluginStep, ActivateThemeStep, CpStep, DefineWpConfigConstsStep, DefineSiteUrlStep, EnableMultisiteStep, ImportFileStep, ImportWordPressFilesStep, InstallPluginStep, InstallPluginOptions, InstallThemeStep, InstallThemeOptions, LoginStep, MkdirStep, MvStep, RequestStep, RmStep, RmdirStep, RunPHPStep, RunPHPWithOptionsStep, RunWpInstallationWizardStep, RunSqlStep, WordPressInstallationOptions, SetPhpIniEntryStep, SetSiteOptionsStep, UnzipStep, UpdateUserMetaStep, WriteFileStep, };
|
|
43
42
|
/**
|
|
44
43
|
* Progress reporting details.
|
|
45
44
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wp-playground/blueprints",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.2",
|
|
4
4
|
"exports": {
|
|
5
5
|
".": {
|
|
6
6
|
"import": "./index.js",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"access": "public",
|
|
22
22
|
"directory": "../../../dist/packages/playground/blueprints"
|
|
23
23
|
},
|
|
24
|
-
"gitHead": "
|
|
24
|
+
"gitHead": "3c0de0d0847c3550a75a026bef9724eac421afbf",
|
|
25
25
|
"engines": {
|
|
26
26
|
"node": ">=18.18.2",
|
|
27
27
|
"npm": ">=8.11.0"
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { StepHandler } from '..';
|
|
2
|
-
/**
|
|
3
|
-
* @private
|
|
4
|
-
*/
|
|
5
|
-
export interface ApplyWordPressPatchesStep {
|
|
6
|
-
step: 'applyWordPressPatches';
|
|
7
|
-
siteUrl?: string;
|
|
8
|
-
wordpressPath?: string;
|
|
9
|
-
addPhpInfo?: boolean;
|
|
10
|
-
patchSecrets?: boolean;
|
|
11
|
-
disableSiteHealth?: boolean;
|
|
12
|
-
disableWpNewBlogNotification?: boolean;
|
|
13
|
-
prepareForRunningInsideWebBrowser?: boolean;
|
|
14
|
-
addFetchNetworkTransport?: boolean;
|
|
15
|
-
}
|
|
16
|
-
export declare const applyWordPressPatches: StepHandler<ApplyWordPressPatchesStep>;
|