wp-typia 0.23.0 → 0.24.0
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/README.md +3 -1
- package/bin/routing-metadata.generated.js +11 -0
- package/dist-bunli/.bunli/commands.gen.js +11884 -9017
- package/dist-bunli/{cli-9npd9was.js → cli-0v407aag.js} +12 -10
- package/dist-bunli/{cli-hhp1d348.js → cli-1170yyve.js} +8 -7
- package/dist-bunli/{cli-1meywwsy.js → cli-74y6z3yx.js} +1455 -819
- package/dist-bunli/{cli-qse6myha.js → cli-8hxf9qw6.js} +11 -3
- package/dist-bunli/{cli-8reep89s.js → cli-9fx0qgb7.js} +2 -2
- package/dist-bunli/{cli-add-21bvpfgw.js → cli-add-nmdraf20.js} +8542 -7667
- package/dist-bunli/{cli-52ke0ptp.js → cli-am5x7tb4.js} +8 -2
- package/dist-bunli/{cli-43mx1vfb.js → cli-bajwv85z.js} +2 -1
- package/dist-bunli/cli-ccax7s0s.js +34 -0
- package/dist-bunli/{cli-z5qkx2pn.js → cli-cwjdzq6n.js} +79 -13
- package/dist-bunli/{cli-diagnostics-5dvztm7q.js → cli-diagnostics-10drxh34.js} +1 -1
- package/dist-bunli/{cli-doctor-wy2yjsge.js → cli-doctor-pcss6ecx.js} +688 -459
- package/dist-bunli/{cli-2rqf6t0b.js → cli-e4bwd81c.js} +8 -11
- package/dist-bunli/{cli-init-xnsbxncv.js → cli-init-he7vm7kc.js} +15 -11
- package/dist-bunli/{cli-prompt-614tq57c.js → cli-prompt-ncyg68rn.js} +1 -1
- package/dist-bunli/{cli-bq2v559b.js → cli-rdcga1bd.js} +31 -13
- package/dist-bunli/{cli-scaffold-zhp2ym8z.js → cli-scaffold-an2k0fnm.js} +28 -16
- package/dist-bunli/{cli-c2acv5dv.js → cli-sw06c521.js} +2 -2
- package/dist-bunli/{cli-templates-hc71dfc2.js → cli-templates-g8t4fm11.js} +3 -2
- package/dist-bunli/{cli-p95wr1q8.js → cli-tq730sqt.js} +6 -3
- package/dist-bunli/{cli-ts9thts5.js → cli-v0nnagb3.js} +1513 -1053
- package/dist-bunli/{cli-agywa5n6.js → cli-y0a8nztv.js} +15 -6
- package/dist-bunli/cli-z48frc8t.js +229 -0
- package/dist-bunli/cli.js +5 -5
- package/dist-bunli/{command-list-aqrkx021.js → command-list-xaw5agks.js} +241 -64
- package/dist-bunli/{create-template-validation-rtec5sng.js → create-template-validation-4fr851vg.js} +5 -4
- package/dist-bunli/{migrations-bx0yvc2v.js → migrations-z7f4kxba.js} +10 -9
- package/dist-bunli/node-cli.js +661 -389
- package/dist-bunli/{workspace-project-csnnggz6.js → workspace-project-gmv2a71z.js} +4 -3
- package/package.json +2 -2
- package/dist-bunli/cli-j8et6jvr.js +0 -123
package/README.md
CHANGED
|
@@ -8,12 +8,13 @@ Use this package for new projects:
|
|
|
8
8
|
- `bunx wp-typia create my-block`
|
|
9
9
|
- `curl -fsSL https://github.com/imjlk/wp-typia/releases/latest/download/install-wp-typia.sh | sh`
|
|
10
10
|
- `npx wp-typia create my-plugin --template workspace`
|
|
11
|
+
- `npx wp-typia create my-plugin --template workspace --profile plugin-qa`
|
|
11
12
|
- `npx wp-typia create my-books --template query-loop --query-post-type book`
|
|
12
13
|
|
|
13
14
|
Extend an existing workspace with:
|
|
14
15
|
|
|
15
16
|
- `wp-typia add block counter-card --template basic`
|
|
16
|
-
- `wp-typia add integration-env local-smoke --wp-env --service docker-compose`
|
|
17
|
+
- `wp-typia add integration-env local-smoke --wp-env --release-zip --service docker-compose`
|
|
17
18
|
- `wp-typia add style callout-emphasis --block counter-card`
|
|
18
19
|
- `wp-typia add transform quote-to-counter --from core/quote --to counter-card`
|
|
19
20
|
- `wp-typia add binding-source hero-data`
|
|
@@ -39,6 +40,7 @@ Configuration files:
|
|
|
39
40
|
- `--config <path>` is an explicit override loaded after the default sources, relative to the current working directory unless absolute
|
|
40
41
|
- config files use a strict schema: unknown keys are errors rather than warnings or stripped values, so typos fail near the source config file
|
|
41
42
|
- object values are deep-merged, while arrays such as `mcp.schemaSources` replace earlier arrays instead of concatenating
|
|
43
|
+
- projects can declare block API compatibility intent with `wordpress.minVersion`, `wordpress.testedVersions`, `compatibility.strict`, and `compatibility.allowUnknownFutureKeys`; future Supports, Variations, and Bindings helpers use those values for version-aware diagnostics
|
|
42
44
|
|
|
43
45
|
Compatibility notes:
|
|
44
46
|
|
|
@@ -29,10 +29,12 @@ export const longValueOptions = Object.freeze([
|
|
|
29
29
|
'--format',
|
|
30
30
|
'--from',
|
|
31
31
|
'--from-migration-version',
|
|
32
|
+
'--from-post-meta',
|
|
32
33
|
'--id',
|
|
33
34
|
'--inner-blocks-preset',
|
|
34
35
|
'--iterations',
|
|
35
36
|
'--meta-key',
|
|
37
|
+
'--meta-path',
|
|
36
38
|
'--method',
|
|
37
39
|
'--methods',
|
|
38
40
|
'--migration-version',
|
|
@@ -44,19 +46,28 @@ export const longValueOptions = Object.freeze([
|
|
|
44
46
|
'--persistence-policy',
|
|
45
47
|
'--php-prefix',
|
|
46
48
|
'--position',
|
|
49
|
+
'--post-meta',
|
|
47
50
|
'--post-type',
|
|
51
|
+
'--profile',
|
|
48
52
|
'--query-post-type',
|
|
49
53
|
'--query-type',
|
|
50
54
|
'--response-type',
|
|
51
55
|
'--route-pattern',
|
|
56
|
+
'--scope',
|
|
52
57
|
'--secret-field',
|
|
58
|
+
'--secret-has-value-field',
|
|
59
|
+
'--secret-masked-response-field',
|
|
60
|
+
'--secret-preserve-on-empty',
|
|
53
61
|
'--secret-state-field',
|
|
62
|
+
'--section-role',
|
|
54
63
|
'--seed',
|
|
55
64
|
'--service',
|
|
56
65
|
'--slot',
|
|
57
66
|
'--source',
|
|
67
|
+
'--tags',
|
|
58
68
|
'--template',
|
|
59
69
|
'--text-domain',
|
|
70
|
+
'--thumbnail-url',
|
|
60
71
|
'--to',
|
|
61
72
|
'--to-migration-version',
|
|
62
73
|
'--type',
|