@wp-playground/blueprints 3.1.28 → 3.1.29
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 +1 -1
- package/index.cjs.map +1 -1
- package/index.d.ts +1 -0
- package/index.js +20 -17
- package/index.js.map +1 -1
- package/lib/resolve-remote-blueprint.d.ts +5 -1
- package/package.json +11 -36
|
@@ -3,10 +3,14 @@ export declare class BlueprintFetchError extends Error {
|
|
|
3
3
|
readonly url: string;
|
|
4
4
|
constructor(message: string, url: string, options?: ErrorOptions);
|
|
5
5
|
}
|
|
6
|
+
export interface ResolveRemoteBlueprintOptions {
|
|
7
|
+
fetch?: typeof fetch;
|
|
8
|
+
corsProxy?: string;
|
|
9
|
+
}
|
|
6
10
|
/**
|
|
7
11
|
* Resolves a remote blueprint from a URL.
|
|
8
12
|
*
|
|
9
13
|
* @param url - The URL of the blueprint to resolve.
|
|
10
14
|
* @returns A promise that resolves to the resolved blueprint.
|
|
11
15
|
*/
|
|
12
|
-
export declare function resolveRemoteBlueprint(url: string): Promise<BlueprintBundle>;
|
|
16
|
+
export declare function resolveRemoteBlueprint(url: string, options?: ResolveRemoteBlueprintOptions): Promise<BlueprintBundle>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wp-playground/blueprints",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.29",
|
|
4
4
|
"exports": {
|
|
5
5
|
".": {
|
|
6
6
|
"import": "./index.js",
|
|
@@ -25,47 +25,22 @@
|
|
|
25
25
|
"access": "public",
|
|
26
26
|
"directory": "../../../dist/packages/playground/blueprints"
|
|
27
27
|
},
|
|
28
|
-
"gitHead": "
|
|
28
|
+
"gitHead": "39c1c459c1c4dd360ad0da011a15cd2f12514c8a",
|
|
29
29
|
"engines": {
|
|
30
30
|
"node": ">=20.10.0",
|
|
31
31
|
"npm": ">=10.2.3"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@zip.js/zip.js": "2.7.57",
|
|
35
34
|
"ajv": "8.12.0",
|
|
36
|
-
"
|
|
37
|
-
"
|
|
38
|
-
"
|
|
39
|
-
"
|
|
40
|
-
"
|
|
41
|
-
"
|
|
42
|
-
"
|
|
43
|
-
"
|
|
44
|
-
"
|
|
45
|
-
"isomorphic-git": "1.37.6",
|
|
46
|
-
"jsonc-parser": "3.3.1",
|
|
47
|
-
"minimisted": "2.0.1",
|
|
48
|
-
"octokit": "3.1.2",
|
|
49
|
-
"pako": "1.0.10",
|
|
50
|
-
"pify": "4.0.1",
|
|
51
|
-
"playwright": "1.55.1",
|
|
52
|
-
"readable-stream": "3.6.2",
|
|
53
|
-
"sha.js": "2.4.12",
|
|
54
|
-
"simple-get": "4.0.1",
|
|
55
|
-
"wasm-feature-detect": "1.8.0",
|
|
56
|
-
"ws": "8.18.0",
|
|
57
|
-
"yargs": "17.7.2",
|
|
58
|
-
"@wp-playground/storage": "3.1.28",
|
|
59
|
-
"@php-wasm/util": "3.1.28",
|
|
60
|
-
"@wp-playground/common": "3.1.28",
|
|
61
|
-
"@php-wasm/universal": "3.1.28",
|
|
62
|
-
"@php-wasm/node": "3.1.28",
|
|
63
|
-
"@wp-playground/wordpress": "3.1.28",
|
|
64
|
-
"@php-wasm/logger": "3.1.28",
|
|
65
|
-
"@php-wasm/scopes": "3.1.28",
|
|
66
|
-
"@php-wasm/progress": "3.1.28",
|
|
67
|
-
"@php-wasm/stream-compression": "3.1.28",
|
|
68
|
-
"@php-wasm/web-service-worker": "3.1.28"
|
|
35
|
+
"@wp-playground/storage": "3.1.29",
|
|
36
|
+
"@php-wasm/util": "3.1.29",
|
|
37
|
+
"@wp-playground/common": "3.1.29",
|
|
38
|
+
"@php-wasm/logger": "3.1.29",
|
|
39
|
+
"@php-wasm/universal": "3.1.29",
|
|
40
|
+
"@wp-playground/wordpress": "3.1.29",
|
|
41
|
+
"@php-wasm/progress": "3.1.29",
|
|
42
|
+
"@php-wasm/web-service-worker": "3.1.29",
|
|
43
|
+
"@php-wasm/stream-compression": "3.1.29"
|
|
69
44
|
},
|
|
70
45
|
"packageManager": "npm@10.9.2",
|
|
71
46
|
"overrides": {
|