@wp-playground/blueprints 1.0.12 → 1.0.13
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.
- package/index.cjs +17 -17
- package/index.js +142 -141
- package/lib/steps/set-site-language.d.ts +7 -0
- package/package.json +11 -11
|
@@ -16,6 +16,13 @@ export interface SetSiteLanguageStep {
|
|
|
16
16
|
/** The language to set, e.g. 'en_US' */
|
|
17
17
|
language: string;
|
|
18
18
|
}
|
|
19
|
+
/**
|
|
20
|
+
* Returns the URL to download a WordPress translation package.
|
|
21
|
+
*
|
|
22
|
+
* If the WordPress version doesn't have a translation package,
|
|
23
|
+
* the latest "RC" version will be used instead.
|
|
24
|
+
*/
|
|
25
|
+
export declare const getWordPressTranslationUrl: (wpVersion: string, language: string, latestBetaVersion?: string, latestMinifiedVersion?: string) => string;
|
|
19
26
|
/**
|
|
20
27
|
* Sets the site language and download translations.
|
|
21
28
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wp-playground/blueprints",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.13",
|
|
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": "
|
|
24
|
+
"gitHead": "22888c009b54e0b1e5a5c9961b9d97c08b39f672",
|
|
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.
|
|
48
|
-
"@php-wasm/universal": "1.0.
|
|
49
|
-
"@wp-playground/common": "1.0.
|
|
50
|
-
"@php-wasm/node": "1.0.
|
|
51
|
-
"@php-wasm/progress": "1.0.
|
|
52
|
-
"@php-wasm/util": "1.0.
|
|
53
|
-
"@php-wasm/logger": "1.0.
|
|
54
|
-
"@wp-playground/storage": "1.0.
|
|
55
|
-
"@wp-playground/wordpress": "1.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"
|
|
56
56
|
}
|
|
57
57
|
}
|