@wp-playground/blueprints 3.1.44 → 3.1.46

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 (41) hide show
  1. package/blueprint-schema-validator.d.ts +4 -1
  2. package/blueprint-schema-validator.js +2322 -1831
  3. package/blueprint-schema.json +3067 -1
  4. package/blueprint-v2-schema-validator.d.ts +5 -0
  5. package/blueprint-v2-schema-validator.js +37821 -0
  6. package/index.cjs +974 -151
  7. package/index.cjs.map +1 -1
  8. package/index.d.ts +7 -4
  9. package/index.js +7203 -5120
  10. package/index.js.map +1 -1
  11. package/lib/compile.d.ts +5 -2
  12. package/lib/invalid-blueprint-error.d.ts +5 -0
  13. package/lib/reflection.d.ts +1 -1
  14. package/lib/resolve-runtime-configuration.d.ts +13 -1
  15. package/lib/steps/import-wxr.d.ts +20 -0
  16. package/lib/steps/reset-data.d.ts +9 -2
  17. package/lib/v1/compile.d.ts +2 -4
  18. package/lib/v2/blueprint-v2-declaration.d.ts +0 -10
  19. package/lib/v2/compile.d.ts +23 -2
  20. package/lib/v2/resolve-runtime-configuration.d.ts +20 -0
  21. package/lib/v2/validate-blueprint-v2.d.ts +17 -0
  22. package/lib/v2/wep-1-blueprint-v2-schema/appendix-A-blueprint-v2-schema.d.ts +91 -17
  23. package/lib/v2/wep-1-blueprint-v2-schema/appendix-B-data-sources.d.ts +54 -15
  24. package/lib/validate-blueprint-declaration.d.ts +6 -0
  25. package/package.json +11 -11
  26. package/schema-readme.md +6 -5
  27. package/tests/v2/schema-conformance-fixtures.d.ts +2033 -0
  28. package/validate-blueprint-v2-C3rgpKFU.js +17393 -0
  29. package/validate-blueprint-v2-C3rgpKFU.js.map +1 -0
  30. package/validate-blueprint-v2-CGFpDXlD.cjs +201 -0
  31. package/validate-blueprint-v2-CGFpDXlD.cjs.map +1 -0
  32. package/validate-blueprint-v2-CJ8Xbxyz.cjs +201 -0
  33. package/validate-blueprint-v2-CJ8Xbxyz.cjs.map +1 -0
  34. package/validate-blueprint-v2-IqJfvfcL.js +17393 -0
  35. package/validate-blueprint-v2-IqJfvfcL.js.map +1 -0
  36. package/blueprints-Gs5fAvvo.cjs +0 -2
  37. package/blueprints-Gs5fAvvo.cjs.map +0 -1
  38. package/blueprints-pMn3V9MZ.js +0 -5
  39. package/blueprints-pMn3V9MZ.js.map +0 -1
  40. package/lib/v2/get-v2-runner.d.ts +0 -1
  41. package/lib/v2/run-blueprint-v2.d.ts +0 -36
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wp-playground/blueprints",
3
- "version": "3.1.44",
3
+ "version": "3.1.46",
4
4
  "exports": {
5
5
  ".": {
6
6
  "import": "./index.js",
@@ -25,22 +25,22 @@
25
25
  "access": "public",
26
26
  "directory": "../../../dist/packages/playground/blueprints"
27
27
  },
28
- "gitHead": "0dbdfe5a210d28802052ef7023d385eb005ff7a4",
28
+ "gitHead": "581c7c172428159eb4e6c5309054a568cd39a97a",
29
29
  "engines": {
30
30
  "node": ">=20.10.0",
31
31
  "npm": ">=10.2.3"
32
32
  },
33
33
  "dependencies": {
34
34
  "ajv": "8.18.0",
35
- "@php-wasm/universal": "3.1.44",
36
- "@wp-playground/storage": "3.1.44",
37
- "@php-wasm/util": "3.1.44",
38
- "@wp-playground/common": "3.1.44",
39
- "@php-wasm/logger": "3.1.44",
40
- "@wp-playground/wordpress": "3.1.44",
41
- "@php-wasm/progress": "3.1.44",
42
- "@php-wasm/web-service-worker": "3.1.44",
43
- "@php-wasm/stream-compression": "3.1.44"
35
+ "@php-wasm/universal": "3.1.46",
36
+ "@wp-playground/storage": "3.1.46",
37
+ "@php-wasm/util": "3.1.46",
38
+ "@php-wasm/logger": "3.1.46",
39
+ "@wp-playground/wordpress": "3.1.46",
40
+ "@php-wasm/progress": "3.1.46",
41
+ "@wp-playground/common": "3.1.46",
42
+ "@php-wasm/web-service-worker": "3.1.46",
43
+ "@php-wasm/stream-compression": "3.1.46"
44
44
  },
45
45
  "packageManager": "npm@10.9.2",
46
46
  "overrides": {
package/schema-readme.md CHANGED
@@ -1,10 +1,11 @@
1
- The JSON schema stored in this directory describes how to validate
2
- the Blueprints and is autogenerated from the Blueprints TypeScript types.
1
+ The public JSON schema stored in this directory describes both Blueprint
2
+ declaration versions and is autogenerated from the Blueprint TypeScript types.
3
3
 
4
- The Blueprint schema validator stored in this directory is used to validate
5
- Blueprints and is autogenerated from the Blueprints JSON schema.
4
+ The existing `blueprint-schema-validator.js` remains the v1 runtime validator.
5
+ Blueprint v2 has its own validator, so adding one version cannot silently
6
+ change validation of the other.
6
7
 
7
- Whenever the types are modified, the schema and validator need to be
8
+ Whenever the types are modified, the schemas and validators need to be
8
9
  rebuilt using `nx build playground-blueprints` and then committed to
9
10
  the repository.
10
11