@wp-playground/blueprints 1.0.13 → 1.0.14

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.
@@ -44,8 +44,8 @@ export interface InstallPluginStep<FileResource, DirectoryResource> extends Pick
44
44
  */
45
45
  step: 'installPlugin';
46
46
  /**
47
- * The plugin files to install. It can be either a plugin zip file, or a
48
- * directory containing all the plugin files at its root.
47
+ * The plugin files to install. It can be a plugin zip file, a single PHP
48
+ * file, or a directory containing all the plugin files at its root.
49
49
  */
50
50
  pluginData: FileResource | DirectoryResource;
51
51
  /**
@@ -17,12 +17,11 @@ export interface SetSiteLanguageStep {
17
17
  language: string;
18
18
  }
19
19
  /**
20
- * Returns the URL to download a WordPress translation package.
20
+ * Infers the translation package URL for a given WordPress version.
21
21
  *
22
- * If the WordPress version doesn't have a translation package,
23
- * the latest "RC" version will be used instead.
22
+ * If it cannot be inferred, the latest translation package will be used instead.
24
23
  */
25
- export declare const getWordPressTranslationUrl: (wpVersion: string, language: string, latestBetaVersion?: string, latestMinifiedVersion?: string) => string;
24
+ export declare const getWordPressTranslationUrl: (wpVersion: string, language: string, latestBetaWordPressVersion?: string, latestStableWordPressVersion?: string) => Promise<string>;
26
25
  /**
27
26
  * Sets the site language and download translations.
28
27
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wp-playground/blueprints",
3
- "version": "1.0.13",
3
+ "version": "1.0.14",
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": "22888c009b54e0b1e5a5c9961b9d97c08b39f672",
24
+ "gitHead": "4d191fdd33db1949e51d54e2b03decbb103db4ac",
25
25
  "engines": {
26
26
  "node": ">=18.18.0",
27
27
  "npm": ">=8.11.0"
@@ -44,14 +44,14 @@
44
44
  "sha.js": "2.4.11",
45
45
  "simple-get": "4.0.1",
46
46
  "wasm-feature-detect": "1.8.0",
47
- "@php-wasm/node-polyfills": "1.0.13",
48
- "@php-wasm/universal": "1.0.13",
49
- "@wp-playground/common": "1.0.13",
50
- "@php-wasm/node": "1.0.13",
51
- "@php-wasm/progress": "1.0.13",
52
- "@php-wasm/util": "1.0.13",
53
- "@php-wasm/logger": "1.0.13",
54
- "@wp-playground/storage": "1.0.13",
55
- "@wp-playground/wordpress": "1.0.13"
47
+ "@php-wasm/node-polyfills": "1.0.14",
48
+ "@php-wasm/universal": "1.0.14",
49
+ "@wp-playground/common": "1.0.14",
50
+ "@php-wasm/node": "1.0.14",
51
+ "@php-wasm/progress": "1.0.14",
52
+ "@php-wasm/util": "1.0.14",
53
+ "@php-wasm/logger": "1.0.14",
54
+ "@wp-playground/storage": "1.0.14",
55
+ "@wp-playground/wordpress": "1.0.14"
56
56
  }
57
57
  }