wp-typia 0.22.10 → 0.23.1

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 (33) hide show
  1. package/README.md +6 -0
  2. package/bin/routing-metadata.generated.js +20 -0
  3. package/dist-bunli/.bunli/commands.gen.js +6979 -2630
  4. package/dist-bunli/{cli-hhp1d348.js → cli-1170yyve.js} +8 -7
  5. package/dist-bunli/{cli-fys8vm2t.js → cli-43mx1vfb.js} +4 -1
  6. package/dist-bunli/{cli-qse6myha.js → cli-8hxf9qw6.js} +11 -3
  7. package/dist-bunli/{cli-8reep89s.js → cli-9fx0qgb7.js} +2 -2
  8. package/dist-bunli/{cli-add-8rvmezy0.js → cli-add-xjaaa01x.js} +4039 -1732
  9. package/dist-bunli/{cli-52ke0ptp.js → cli-am5x7tb4.js} +8 -2
  10. package/dist-bunli/cli-ccax7s0s.js +34 -0
  11. package/dist-bunli/{cli-diagnostics-5dvztm7q.js → cli-diagnostics-10drxh34.js} +1 -1
  12. package/dist-bunli/{cli-doctor-5m6xyx9q.js → cli-doctor-19e8313m.js} +710 -468
  13. package/dist-bunli/{cli-2rqf6t0b.js → cli-e4bwd81c.js} +8 -11
  14. package/dist-bunli/{cli-tjf0070f.js → cli-epsczb1c.js} +12 -10
  15. package/dist-bunli/{cli-2mswafd6.js → cli-fp16mntv.js} +8 -4
  16. package/dist-bunli/{cli-init-qv3zxmvc.js → cli-init-2b4yn2cc.js} +26 -12
  17. package/dist-bunli/{cli-rwjkqjhs.js → cli-j8et6jvr.js} +37 -2
  18. package/dist-bunli/{cli-3fzqhpx9.js → cli-k5q5v8g6.js} +700 -151
  19. package/dist-bunli/{cli-1k61xyn2.js → cli-nvs5atj1.js} +2 -2
  20. package/dist-bunli/{cli-prompt-614tq57c.js → cli-prompt-ncyg68rn.js} +1 -1
  21. package/dist-bunli/{cli-bq2v559b.js → cli-rdcga1bd.js} +31 -13
  22. package/dist-bunli/{cli-scaffold-b1ex2y80.js → cli-scaffold-4tjw4jk5.js} +28 -16
  23. package/dist-bunli/{cli-templates-hc71dfc2.js → cli-templates-g8t4fm11.js} +3 -2
  24. package/dist-bunli/{cli-p95wr1q8.js → cli-tq730sqt.js} +6 -3
  25. package/dist-bunli/{cli-2x49egkd.js → cli-y7w3pybs.js} +974 -346
  26. package/dist-bunli/{cli-spdrcg8k.js → cli-ymecd15q.js} +111 -5
  27. package/dist-bunli/cli.js +5 -5
  28. package/dist-bunli/{command-list-h96cft88.js → command-list-vme7dr5v.js} +382 -77
  29. package/dist-bunli/{create-template-validation-rtec5sng.js → create-template-validation-4fr851vg.js} +5 -4
  30. package/dist-bunli/{migrations-7g9rag5d.js → migrations-pb5vvtdp.js} +10 -9
  31. package/dist-bunli/node-cli.js +736 -314
  32. package/dist-bunli/{workspace-project-csnnggz6.js → workspace-project-gmv2a71z.js} +4 -3
  33. package/package.json +2 -2
package/README.md CHANGED
@@ -8,16 +8,22 @@ 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`
17
+ - `wp-typia add integration-env local-smoke --wp-env --release-zip --service docker-compose`
16
18
  - `wp-typia add style callout-emphasis --block counter-card`
17
19
  - `wp-typia add transform quote-to-counter --from core/quote --to counter-card`
18
20
  - `wp-typia add binding-source hero-data`
19
21
  - `wp-typia add binding-source hero-data --block counter-card --attribute headline`
20
22
  - `wp-typia add rest-resource snapshots --namespace my-plugin/v1 --methods list,read,create`
23
+ - `wp-typia add rest-resource snapshots --namespace my-plugin/v1 --methods read,update --route-pattern '/snapshots/(?P<id>[\d]+)' --permission-callback my_plugin_can_manage_snapshots`
24
+ - `wp-typia add rest-resource external-record --manual --namespace legacy/v1 --method GET --auth authenticated --path '/records/(?P<id>[\d]+)'`
25
+ - `wp-typia add rest-resource integration-settings --manual --namespace my-plugin/v1 --method POST --secret-field apiKey`
26
+ - `wp-typia add post-meta integration-state --post-type post --type IntegrationStateMeta`
21
27
  - `wp-typia add ability review-workflow`
22
28
  - `wp-typia add ai-feature brief-suggestions --namespace my-plugin/v1`
23
29
  - `wp-typia add editor-plugin review-workflow --slot sidebar`
@@ -16,8 +16,12 @@ export const longValueOptions = Object.freeze([
16
16
  '--alternate-render-targets',
17
17
  '--anchor',
18
18
  '--attribute',
19
+ '--auth',
19
20
  '--block',
21
+ '--body-type',
20
22
  '--config',
23
+ '--controller-class',
24
+ '--controller-extends',
21
25
  '--current-migration-version',
22
26
  '--data-storage',
23
27
  '--external-layer-id',
@@ -28,22 +32,38 @@ export const longValueOptions = Object.freeze([
28
32
  '--id',
29
33
  '--inner-blocks-preset',
30
34
  '--iterations',
35
+ '--meta-key',
36
+ '--method',
31
37
  '--methods',
32
38
  '--migration-version',
33
39
  '--namespace',
34
40
  '--output-dir',
35
41
  '--package-manager',
42
+ '--path',
43
+ '--permission-callback',
36
44
  '--persistence-policy',
37
45
  '--php-prefix',
38
46
  '--position',
47
+ '--post-type',
48
+ '--profile',
39
49
  '--query-post-type',
50
+ '--query-type',
51
+ '--response-type',
52
+ '--route-pattern',
53
+ '--secret-field',
54
+ '--secret-has-value-field',
55
+ '--secret-masked-response-field',
56
+ '--secret-preserve-on-empty',
57
+ '--secret-state-field',
40
58
  '--seed',
59
+ '--service',
41
60
  '--slot',
42
61
  '--source',
43
62
  '--template',
44
63
  '--text-domain',
45
64
  '--to',
46
65
  '--to-migration-version',
66
+ '--type',
47
67
  '--variant',
48
68
  ]);
49
69
  export const reservedCommands = Object.freeze([