@wp-playground/cli 1.2.2 → 2.0.0

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.
Files changed (63) hide show
  1. package/README.md +3 -0
  2. package/blueprints-BQYAZ9gc.js +9 -0
  3. package/blueprints-BQYAZ9gc.js.map +1 -0
  4. package/blueprints-DLntJtVr.js +9 -0
  5. package/blueprints-DLntJtVr.js.map +1 -0
  6. package/blueprints-ZBrY1bvK.cjs +2 -0
  7. package/blueprints-ZBrY1bvK.cjs.map +1 -0
  8. package/blueprints-v1/blueprints-v1-handler.d.ts +31 -0
  9. package/{worker-thread.d.ts → blueprints-v1/worker-thread-v1.d.ts} +5 -3
  10. package/blueprints-v2/blueprint-v2-declaration.d.ts +10 -0
  11. package/blueprints-v2/blueprints-v2-handler.d.ts +31 -0
  12. package/blueprints-v2/get-v2-runner.d.ts +1 -0
  13. package/blueprints-v2/run-blueprint-v2.d.ts +35 -0
  14. package/blueprints-v2/worker-thread-v2.d.ts +49 -0
  15. package/blueprints.phar +0 -0
  16. package/cli.cjs +1 -1
  17. package/cli.cjs.map +1 -1
  18. package/cli.js +2 -4
  19. package/cli.js.map +1 -1
  20. package/index.cjs +1 -1
  21. package/index.js +1 -1
  22. package/load-balancer.d.ts +3 -1
  23. package/mounts-B-Qdcyyt.js +124 -0
  24. package/mounts-B-Qdcyyt.js.map +1 -0
  25. package/mounts-D7bhhGq3.cjs +15 -0
  26. package/mounts-D7bhhGq3.cjs.map +1 -0
  27. package/{mount.d.ts → mounts.d.ts} +10 -1
  28. package/package.json +11 -11
  29. package/run-cli-CY1lYIJH.js +674 -0
  30. package/run-cli-CY1lYIJH.js.map +1 -0
  31. package/run-cli-opqDVXKw.cjs +27 -0
  32. package/run-cli-opqDVXKw.cjs.map +1 -0
  33. package/run-cli.d.ts +30 -6
  34. package/worker-thread-v1-BTJIbQLy.js +133 -0
  35. package/worker-thread-v1-BTJIbQLy.js.map +1 -0
  36. package/worker-thread-v1.cjs +3 -0
  37. package/worker-thread-v1.cjs.map +1 -0
  38. package/worker-thread-v1.js +128 -0
  39. package/worker-thread-v1.js.map +1 -0
  40. package/worker-thread-v2-Pfv6UYF4.js +429 -0
  41. package/worker-thread-v2-Pfv6UYF4.js.map +1 -0
  42. package/worker-thread-v2.cjs +92 -0
  43. package/worker-thread-v2.cjs.map +1 -0
  44. package/worker-thread-v2.js +432 -0
  45. package/worker-thread-v2.js.map +1 -0
  46. package/cli-auto-mount.d.ts +0 -19
  47. package/index-CddYZc1x.js +0 -5
  48. package/index-CddYZc1x.js.map +0 -1
  49. package/index-CyPmrjJv.cjs +0 -2
  50. package/index-CyPmrjJv.cjs.map +0 -1
  51. package/reportable-error.d.ts +0 -5
  52. package/run-cli-Bon3Rz_F.cjs +0 -43
  53. package/run-cli-Bon3Rz_F.cjs.map +0 -1
  54. package/run-cli-DyJ6_Vj8.js +0 -8449
  55. package/run-cli-DyJ6_Vj8.js.map +0 -1
  56. package/worker-thread-CQBM_bGk.js +0 -171
  57. package/worker-thread-CQBM_bGk.js.map +0 -1
  58. package/worker-thread.cjs +0 -3
  59. package/worker-thread.cjs.map +0 -1
  60. package/worker-thread.js +0 -124
  61. package/worker-thread.js.map +0 -1
  62. /package/{download.d.ts → blueprints-v1/download.d.ts} +0 -0
  63. /package/{server.d.ts → start-server.d.ts} +0 -0
package/README.md CHANGED
@@ -95,6 +95,9 @@ The `server` command supports the following optional arguments:
95
95
  - `--skip-sqlite-setup`: Do not set up the SQLite database integration.
96
96
  - `--quiet`: Do not output logs and progress messages.
97
97
  - `--debug`: Print the PHP error log if an error occurs during boot.
98
+ - `--follow-symlinks`: Allow Playground to follow symlinks by automatically mounting symlinked directories and files encountered in mounted directories. ⚠️ Warning: Following symlinks will expose files outside mounted directories to Playground and could be a security risk.
99
+ - `--experimental-multi-worker`: Enables experimental multi-worker support. It needs JSPI and a /wordpress directory on a real filesystem. You can pass a positive number to use a specific number of workers, otherwise, it defaults to the number of CPUs minus one.
100
+ - `--internal-cookie-store`: Enables Playground's internal cookie handling. When active, Playground uses an HttpCookieStore to manage and persist cookies across requests. If disabled, cookies are handled externally, like by a browser in Node.js.
98
101
 
99
102
  ## Need some help with the CLI?
100
103
 
@@ -0,0 +1,9 @@
1
+ import "url";
2
+ import { join as r } from "path";
3
+ let e;
4
+ typeof __dirname < "u" ? e = r(__dirname, "./blueprints.phar") : e = r(import.meta.dirname, "./blueprints.phar");
5
+ const i = e;
6
+ export {
7
+ i as default
8
+ };
9
+ //# sourceMappingURL=blueprints-BQYAZ9gc.js.map