@wp-typia/rest 0.3.1 → 0.3.2

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 (2) hide show
  1. package/README.md +1 -1
  2. package/package.json +4 -2
package/README.md CHANGED
@@ -10,7 +10,7 @@ This package focuses on:
10
10
  - a React/data convenience layer at `@wp-typia/rest/react`
11
11
  - optional query/header decoder helpers that can wrap Typia-generated HTTP decoders
12
12
 
13
- It does not include any WordPress PHP bridge logic. Generated PHP route code stays in `@wp-typia/create` templates.
13
+ It does not include any WordPress PHP bridge logic. Generated PHP route code stays in `@wp-typia/project-tools` templates.
14
14
 
15
15
  If you need a backend-neutral consumer instead of WordPress-specific route
16
16
  resolution, use `@wp-typia/api-client`.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wp-typia/rest",
3
- "version": "0.3.1",
3
+ "version": "0.3.2",
4
4
  "description": "Typed WordPress REST helpers powered by Typia validation",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -36,6 +36,8 @@
36
36
  "scripts": {
37
37
  "build": "bun run --filter @wp-typia/api-client build && rm -rf dist && tsc -p tsconfig.build.json && bun ./scripts/fix-dist-imports.mjs",
38
38
  "clean": "rm -rf dist",
39
+ "prepack": "bun run build && node ./scripts/publish-manifest.mjs prepare",
40
+ "postpack": "node ./scripts/publish-manifest.mjs restore",
39
41
  "test": "bun run build && cd ../.. && bun test packages/wp-typia-rest/tests",
40
42
  "test:coverage": "bun run build && cd ../.. && bun test packages/wp-typia-rest/tests --coverage --coverage-reporter=text --coverage-reporter=lcov --coverage-dir=packages/wp-typia-rest/coverage",
41
43
  "typecheck": "bun run --filter @wp-typia/api-client build && tsc -p tsconfig.build.json --noEmit"
@@ -60,7 +62,7 @@
60
62
  "bun": ">=1.3.10"
61
63
  },
62
64
  "dependencies": {
63
- "@wp-typia/api-client": "workspace:*",
65
+ "@wp-typia/api-client": "^0.4.0",
64
66
  "@typia/interface": "^12.0.1",
65
67
  "@wordpress/api-fetch": "^7.42.0"
66
68
  },