@wp-playground/blueprints 0.9.15 → 0.9.17

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 (3) hide show
  1. package/index.cjs +1 -1
  2. package/index.js +1 -1
  3. package/package.json +2 -2
package/index.cjs CHANGED
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("@php-wasm/node-polyfills");const o=require("@php-wasm/util"),g=require("@php-wasm/logger"),N=require("@php-wasm/scopes"),he=require("@wp-playground/common"),z=require("@php-wasm/progress"),P=require("@php-wasm/universal"),fe=require("/home/runner/work/wordpress-playground/wordpress-playground/node_modules/ajv/dist/ajv.js"),j=["db.php","plugins/akismet","plugins/hello.php","plugins/wordpress-importer","mu-plugins/sqlite-database-integration","mu-plugins/playground-includes","mu-plugins/0-playground.php","mu-plugins/0-sqlite.php","themes/twentytwenty","themes/twentytwentyone","themes/twentytwentytwo","themes/twentytwentythree","themes/twentytwentyfour","themes/twentytwentyfive","themes/twentytwentysix"],R=async(e,{pluginPath:t,pluginName:n},i)=>{i==null||i.tracker.setCaption(`Activating ${n||t}`);const r=await e.documentRoot,s=await e.run({code:`<?php
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("@php-wasm/node-polyfills");const o=require("@php-wasm/util"),g=require("@php-wasm/logger"),N=require("@php-wasm/scopes"),he=require("@wp-playground/common"),z=require("@php-wasm/progress"),P=require("@php-wasm/universal"),fe=require("ajv"),j=["db.php","plugins/akismet","plugins/hello.php","plugins/wordpress-importer","mu-plugins/sqlite-database-integration","mu-plugins/playground-includes","mu-plugins/0-playground.php","mu-plugins/0-sqlite.php","themes/twentytwenty","themes/twentytwentyone","themes/twentytwentytwo","themes/twentytwentythree","themes/twentytwentyfour","themes/twentytwentyfive","themes/twentytwentysix"],R=async(e,{pluginPath:t,pluginName:n},i)=>{i==null||i.tracker.setCaption(`Activating ${n||t}`);const r=await e.documentRoot,s=await e.run({code:`<?php
2
2
  define( 'WP_ADMIN', true );
3
3
  require_once( ${o.phpVar(r)}. "/wp-load.php" );
4
4
  require_once( ${o.phpVar(r)}. "/wp-admin/includes/plugin.php" );
package/index.js CHANGED
@@ -5,7 +5,7 @@ import { isURLScoped as K, getURLScope as ee } from "@php-wasm/scopes";
5
5
  import { unzipFile as te } from "@wp-playground/common";
6
6
  import { cloneResponseMonitorProgress as ne, ProgressTracker as ie } from "@php-wasm/progress";
7
7
  import { SupportedPHPExtensionsList as re, SupportedPHPExtensionBundles as I, LatestSupportedPHPVersion as se, SupportedPHPVersions as oe } from "@php-wasm/universal";
8
- import ae from "/home/runner/work/wordpress-playground/wordpress-playground/node_modules/ajv/dist/ajv.js";
8
+ import ae from "ajv";
9
9
  const B = [
10
10
  "db.php",
11
11
  "plugins/akismet",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wp-playground/blueprints",
3
- "version": "0.9.15",
3
+ "version": "0.9.17",
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": "62c0b6769e8922ec6ec1fdb985a69c4e86d070a2",
24
+ "gitHead": "1e35a9e145580de64bbe3c11391d31513f5bdfa8",
25
25
  "engines": {
26
26
  "node": ">=18.18.0",
27
27
  "npm": ">=8.11.0"