vite-plugin-taro-plugin-framework-react 4.2.0-react19.3 → 4.2.0-react19.5

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 +4 -4
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -6,11 +6,11 @@
6
6
 
7
7
  This is a generated support package. It is published so `vite-plugin-taro` can depend on a React 19-compatible Taro React framework plugin through the `@tarojs/plugin-framework-react` package slot. Application code should not import this package directly.
8
8
 
9
- Most apps should install and import from `vite-plugin-taro` instead:
9
+ Most apps should install `vite-plugin-taro` and import app-facing APIs through its virtual modules instead:
10
10
 
11
11
  ```tsx
12
- import { View } from 'vite-plugin-taro/components'
13
- import Taro from 'vite-plugin-taro/taro'
12
+ import { View } from 'virtual:taro/components'
13
+ import Taro from 'virtual:taro/api'
14
14
  ```
15
15
 
16
16
  ## Why this package exists
@@ -36,7 +36,7 @@ When updating the upstream Taro version:
36
36
  1. Update `upstreamVersion` in `scripts/build-patched-taro-packages.mjs`.
37
37
  2. Refresh the matching patch file in `patches/`.
38
38
  3. Update this package version in `package.json`.
39
- 4. Update this README template.
39
+ 4. Update this package README.
40
40
  5. Run `pnpm prepare:taro`.
41
41
  6. Run `pnpm build:plugin`, `pnpm typecheck`, `pnpm build:sample:h5`, and `pnpm build:sample:wx`.
42
42
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vite-plugin-taro-plugin-framework-react",
3
- "version": "4.2.0-react19.3",
3
+ "version": "4.2.0-react19.5",
4
4
  "description": "React 19 compatible fork of @tarojs/plugin-framework-react for vite-plugin-taro.",
5
5
  "author": "O2Team, felix",
6
6
  "license": "MIT",
@@ -21,7 +21,7 @@
21
21
  },
22
22
  "homepage": "https://github.com/sep2/vite-plugin-taro/tree/main/packages/taro-plugin-framework-react#readme",
23
23
  "engines": {
24
- "node": ">=20.19.0"
24
+ "node": ">=22"
25
25
  },
26
26
  "dependencies": {
27
27
  "@tarojs/helper": "4.2.0",