@wp-playground/blueprints 0.9.38 → 0.9.40

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.
@@ -1,4 +1,4 @@
1
- import { SupportedPHPExtensionBundle, SupportedPHPVersion } from '../../../../php-wasm/universal/src/index.ts';
1
+ import { SupportedPHPExtensionBundle, SupportedPHPVersion } from '@php-wasm/universal';
2
2
  import { StepDefinition } from './steps';
3
3
  import { FileReference } from './resources';
4
4
  export type ExtraLibrary = 'wp-cli';
package/lib/compile.d.ts CHANGED
@@ -1,6 +1,6 @@
1
- import { ProgressTracker } from '../../../../php-wasm/progress/src/index.ts';
2
- import { Semaphore } from '../../../../php-wasm/util/src/index.ts';
3
- import { SupportedPHPExtension, SupportedPHPVersion, UniversalPHP } from '../../../../php-wasm/universal/src/index.ts';
1
+ import { ProgressTracker } from '@php-wasm/progress';
2
+ import { Semaphore } from '@php-wasm/util';
3
+ import { SupportedPHPExtension, SupportedPHPVersion, UniversalPHP } from '@php-wasm/universal';
4
4
  import { StepDefinition } from './steps';
5
5
  import { Blueprint, ExtraLibrary } from './blueprint';
6
6
  export type CompiledStep = (php: UniversalPHP) => Promise<void> | void;
@@ -1,6 +1,6 @@
1
- import { ProgressTracker } from '../../../../php-wasm/progress/src/index.ts';
2
- import { UniversalPHP } from '../../../../php-wasm/universal/src/index.ts';
3
- import { Semaphore } from '../../../../php-wasm/util/src/index.ts';
1
+ import { ProgressTracker } from '@php-wasm/progress';
2
+ import { UniversalPHP } from '@php-wasm/universal';
3
+ import { Semaphore } from '@php-wasm/util';
4
4
  export declare const ResourceTypes: readonly ["vfs", "literal", "wordpress.org/themes", "wordpress.org/plugins", "url"];
5
5
  export type VFSReference = {
6
6
  /** Identifies the file resource as Virtual File System (VFS) */
@@ -1,5 +1,5 @@
1
1
  import { StepHandler } from '.';
2
- import { UniversalPHP } from '../../../../../php-wasm/universal/src/index.ts';
2
+ import { UniversalPHP } from '@php-wasm/universal';
3
3
  /**
4
4
  * @inheritDoc defineWpConfigConsts
5
5
  * @hasRunnableExample
@@ -1,4 +1,4 @@
1
- import { UniversalPHP } from '../../../../../php-wasm/universal/src/index.ts';
1
+ import { UniversalPHP } from '@php-wasm/universal';
2
2
  /**
3
3
  * Exports the WordPress database as a WXR file using
4
4
  * the core WordPress export tool.
@@ -1,5 +1,5 @@
1
- import { ProgressTracker } from '../../../../../php-wasm/progress/src/index.ts';
2
- import { UniversalPHP } from '../../../../../php-wasm/universal/src/index.ts';
1
+ import { ProgressTracker } from '@php-wasm/progress';
2
+ import { UniversalPHP } from '@php-wasm/universal';
3
3
  import { FileReference } from '../resources';
4
4
  import { ActivatePluginStep } from './activate-plugin';
5
5
  import { DefineSiteUrlStep } from './define-site-url';
@@ -1,4 +1,4 @@
1
- import type { UniversalPHP } from '../../../../../php-wasm/universal/src/index.ts';
1
+ import type { UniversalPHP } from '@php-wasm/universal';
2
2
  export interface InstallAssetOptions {
3
3
  /**
4
4
  * The zip file to install.
@@ -1,4 +1,4 @@
1
- import { PHPRequest, PHPResponse } from '../../../../../php-wasm/universal/src/index.ts';
1
+ import { PHPRequest, PHPResponse } from '@php-wasm/universal';
2
2
  import { StepHandler } from '.';
3
3
  /**
4
4
  * @private
@@ -1,5 +1,5 @@
1
1
  import { StepHandler } from '.';
2
- import { PHPRunOptions } from '../../../../../php-wasm/universal/src/index.ts';
2
+ import { PHPRunOptions } from '@php-wasm/universal';
3
3
  /**
4
4
  * @inheritDoc runPHP
5
5
  * @hasRunnableExample
@@ -1,4 +1,4 @@
1
- import { PHPResponse } from '../../../../../php-wasm/universal/src/index.ts';
1
+ import { PHPResponse } from '@php-wasm/universal';
2
2
  import { StepHandler } from '.';
3
3
  /**
4
4
  * @inheritDoc runPHP
@@ -1,4 +1,4 @@
1
- import { PHPResponse } from '../../../../../php-wasm/universal/src/index.ts';
1
+ import { PHPResponse } from '@php-wasm/universal';
2
2
  import { StepHandler } from '.';
3
3
  /**
4
4
  * @inheritDoc wpCLI
@@ -1,4 +1,4 @@
1
- import { UniversalPHP } from '../../../../../php-wasm/universal/src/index.ts';
1
+ import { UniversalPHP } from '@php-wasm/universal';
2
2
  interface ZipWpContentOptions {
3
3
  /**
4
4
  * @private
@@ -1,4 +1,4 @@
1
- import type { UniversalPHP } from '../../../../../php-wasm/universal/src/index.ts';
1
+ import type { UniversalPHP } from '@php-wasm/universal';
2
2
  /**
3
3
  * Flattens a directory.
4
4
  * If the directory contains only one file, it will be moved to the parent
@@ -1,4 +1,4 @@
1
- import type { UniversalPHP } from '../../../../../php-wasm/universal/src/index.ts';
1
+ import type { UniversalPHP } from '@php-wasm/universal';
2
2
  type PatchFileCallback = (contents: string) => string | Uint8Array;
3
3
  /**
4
4
  * Updates a file in the PHP filesystem.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wp-playground/blueprints",
3
- "version": "0.9.38",
3
+ "version": "0.9.40",
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": "f07ef4e59813c2d43d71d639237457b029dea995",
24
+ "gitHead": "f2cae683a18c3fe90148b712eeab8f2f714c6ec2",
25
25
  "engines": {
26
26
  "node": ">=18.18.0",
27
27
  "npm": ">=8.11.0"
@@ -30,14 +30,14 @@
30
30
  "ajv": "8.12.0",
31
31
  "comlink": "^4.4.1",
32
32
  "ini": "4.1.2",
33
- "@php-wasm/node-polyfills": "0.9.38",
34
- "@php-wasm/universal": "0.9.38",
35
- "@wp-playground/common": "0.9.38",
36
- "@php-wasm/node": "0.9.38",
37
- "@php-wasm/progress": "0.9.38",
38
- "@php-wasm/util": "0.9.38",
39
- "@php-wasm/logger": "0.9.38",
40
- "@wp-playground/wordpress": "0.9.38",
41
- "@php-wasm/scopes": "0.9.38"
33
+ "@php-wasm/node-polyfills": "0.9.40",
34
+ "@php-wasm/universal": "0.9.40",
35
+ "@wp-playground/common": "0.9.40",
36
+ "@php-wasm/node": "0.9.40",
37
+ "@php-wasm/progress": "0.9.40",
38
+ "@php-wasm/util": "0.9.40",
39
+ "@php-wasm/logger": "0.9.40",
40
+ "@wp-playground/wordpress": "0.9.40",
41
+ "@php-wasm/scopes": "0.9.40"
42
42
  }
43
43
  }