@wp-playground/cli 3.0.44 → 3.0.46

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.
@@ -24,6 +24,8 @@ export type WorkerBootOptions = {
24
24
  */
25
25
  internalCookieStore?: boolean;
26
26
  withIntl?: boolean;
27
+ withRedis?: boolean;
28
+ withMemcached?: boolean;
27
29
  withXdebug?: boolean;
28
30
  nativeInternalDirPath: string;
29
31
  /**
@@ -50,6 +52,8 @@ interface WorkerBootRequestHandlerOptions {
50
52
  mountsBeforeWpInstall: Array<Mount>;
51
53
  mountsAfterWpInstall: Array<Mount>;
52
54
  withIntl?: boolean;
55
+ withRedis?: boolean;
56
+ withMemcached?: boolean;
53
57
  withXdebug?: boolean;
54
58
  }
55
59
  export declare class PlaygroundCliBlueprintV1Worker extends PHPWorker {
@@ -42,6 +42,8 @@ export type SecondaryWorkerBootArgs = {
42
42
  trace: boolean;
43
43
  nativeInternalDirPath: string;
44
44
  withIntl?: boolean;
45
+ withRedis?: boolean;
46
+ withMemcached?: boolean;
45
47
  withXdebug?: boolean;
46
48
  mountsBeforeWpInstall?: Array<Mount>;
47
49
  mountsAfterWpInstall?: Array<Mount>;
@@ -69,7 +71,7 @@ export declare class PlaygroundCliBlueprintV2Worker extends PHPWorker {
69
71
  bootAndSetUpInitialWorker(args: PrimaryWorkerBootArgs): Promise<void>;
70
72
  bootWorker(args: SecondaryWorkerBootArgs): Promise<void>;
71
73
  runBlueprintV2(args: WorkerRunBlueprintArgs): Promise<void>;
72
- bootRequestHandler({ siteUrl, allow, phpVersion, createFiles, constants, phpIniEntries, firstProcessId, processIdSpaceLength, trace, nativeInternalDirPath, withIntl, withXdebug, onPHPInstanceCreated, spawnHandler, }: WorkerBootRequestHandlerOptions): Promise<void>;
74
+ bootRequestHandler({ siteUrl, allow, phpVersion, createFiles, constants, phpIniEntries, firstProcessId, processIdSpaceLength, trace, nativeInternalDirPath, withIntl, withRedis, withMemcached, withXdebug, onPHPInstanceCreated, spawnHandler, }: WorkerBootRequestHandlerOptions): Promise<void>;
73
75
  dispose(): Promise<void>;
74
76
  }
75
77
  export {};
package/cli-output.d.ts CHANGED
@@ -26,6 +26,8 @@ export interface ConfigSummary {
26
26
  port: number;
27
27
  xdebug: boolean;
28
28
  intl: boolean;
29
+ redis: boolean;
30
+ memcached: boolean;
29
31
  /** All mounts (both manual and auto-detected). Auto-mounts have autoMounted: true */
30
32
  mounts: Mount[];
31
33
  blueprint?: string;
package/cli.cjs CHANGED
@@ -1,2 +1,2 @@
1
- "use strict";const s=require("./run-cli-le2xCSBZ.cjs"),r=process.argv.slice(2);s.parseOptionsAndRunCLI(r);
1
+ "use strict";const s=require("./run-cli-BUDz-Yr3.cjs"),r=process.argv.slice(2);s.parseOptionsAndRunCLI(r);
2
2
  //# sourceMappingURL=cli.cjs.map
package/cli.js CHANGED
@@ -1,4 +1,4 @@
1
- import { p as s } from "./run-cli-DOpShCrT.js";
1
+ import { p as s } from "./run-cli-BK0MGgcU.js";
2
2
  const r = process.argv.slice(2);
3
3
  s(r);
4
4
  //# sourceMappingURL=cli.js.map
package/index.cjs CHANGED
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./run-cli-le2xCSBZ.cjs");exports.LogVerbosity=e.LogVerbosity;exports.internalsKeyForTesting=e.internalsKeyForTesting;exports.mergeDefinedConstants=e.mergeDefinedConstants;exports.parseOptionsAndRunCLI=e.parseOptionsAndRunCLI;exports.runCLI=e.runCLI;exports.spawnWorkerThread=e.spawnWorkerThread;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./run-cli-BUDz-Yr3.cjs");exports.LogVerbosity=e.LogVerbosity;exports.internalsKeyForTesting=e.internalsKeyForTesting;exports.mergeDefinedConstants=e.mergeDefinedConstants;exports.parseOptionsAndRunCLI=e.parseOptionsAndRunCLI;exports.runCLI=e.runCLI;exports.spawnWorkerThread=e.spawnWorkerThread;
2
2
  //# sourceMappingURL=index.cjs.map
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { L as r, i as a, m as n, p as o, r as t, s as i } from "./run-cli-DOpShCrT.js";
1
+ import { L as r, i as a, m as n, p as o, r as t, s as i } from "./run-cli-BK0MGgcU.js";
2
2
  export {
3
3
  r as LogVerbosity,
4
4
  a as internalsKeyForTesting,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wp-playground/cli",
3
- "version": "3.0.44",
3
+ "version": "3.0.46",
4
4
  "description": "WordPress Playground CLI",
5
5
  "repository": {
6
6
  "type": "git",
@@ -34,7 +34,7 @@
34
34
  "bin": {
35
35
  "wp-playground-cli": "wp-playground.js"
36
36
  },
37
- "gitHead": "16881b9b024e961a5254be5b366fad096585c310",
37
+ "gitHead": "845cbc01dba047db8bf0b4ae2670b924e3517087",
38
38
  "dependencies": {
39
39
  "@zip.js/zip.js": "2.7.57",
40
40
  "ajv": "8.12.0",
@@ -54,7 +54,7 @@
54
54
  "pify": "2.3.0",
55
55
  "ps-man": "1.1.8",
56
56
  "readable-stream": "3.6.2",
57
- "selfsigned": "2.4.1",
57
+ "selfsigned": "5.5.0",
58
58
  "sha.js": "2.4.12",
59
59
  "simple-get": "4.0.1",
60
60
  "tmp-promise": "3.0.3",
@@ -62,17 +62,17 @@
62
62
  "ws": "8.18.3",
63
63
  "xml2js": "0.6.2",
64
64
  "yargs": "17.7.2",
65
- "@php-wasm/logger": "3.0.44",
66
- "@php-wasm/progress": "3.0.44",
67
- "@php-wasm/universal": "3.0.44",
68
- "@wp-playground/blueprints": "3.0.44",
69
- "@wp-playground/common": "3.0.44",
70
- "@wp-playground/wordpress": "3.0.44",
71
- "@php-wasm/node": "3.0.44",
72
- "@php-wasm/util": "3.0.44",
73
- "@php-wasm/cli-util": "3.0.44",
74
- "@wp-playground/storage": "3.0.44",
75
- "@php-wasm/xdebug-bridge": "3.0.44"
65
+ "@php-wasm/logger": "3.0.46",
66
+ "@php-wasm/progress": "3.0.46",
67
+ "@php-wasm/universal": "3.0.46",
68
+ "@wp-playground/blueprints": "3.0.46",
69
+ "@wp-playground/common": "3.0.46",
70
+ "@wp-playground/wordpress": "3.0.46",
71
+ "@php-wasm/node": "3.0.46",
72
+ "@php-wasm/util": "3.0.46",
73
+ "@php-wasm/cli-util": "3.0.46",
74
+ "@wp-playground/storage": "3.0.46",
75
+ "@php-wasm/xdebug-bridge": "3.0.46"
76
76
  },
77
77
  "packageManager": "npm@10.9.2",
78
78
  "overrides": {