vite-plugin-taro 0.7.10 → 0.7.11

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.
@@ -0,0 +1,8 @@
1
+ import { type Logger, type Plugin } from 'vite';
2
+ declare const dependencyNames: readonly ['vite', 'rolldown', 'vite-plugin-taro-runtime'];
3
+ type DependencyVersions = Readonly<Record<(typeof dependencyNames)[number], string>>;
4
+ /** Reports untested dependency versions through Vite's configured logger without blocking startup. */
5
+ export declare function createDepsPlugin(): Plugin;
6
+ /** Report every mismatch independently so one untested dependency cannot hide another. */
7
+ export declare function warnDependencyVersions(actualVersions: DependencyVersions, logger: Pick<Logger, 'warn'>): void;
8
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vite-plugin-taro",
3
- "version": "0.7.10",
3
+ "version": "0.7.11",
4
4
  "author": "sep2",
5
5
  "description": "Vite 8 plugin for building one React/Taro codebase for WeChat, Alipay, TikTok, and H5 targets.",
6
6
  "type": "module",
@@ -64,10 +64,10 @@
64
64
  "core-js": "^3.50.0",
65
65
  "lightningcss": "1.33.0",
66
66
  "react-reconciler": "0.34.0",
67
- "rolldown": "1.2.11",
67
+ "rolldown": "1.2.12",
68
68
  "sval": "0.6.12",
69
69
  "tailwindcss": "^4.3.3",
70
- "vite-plugin-taro-runtime": "0.7.10"
70
+ "vite-plugin-taro-runtime": "0.7.11"
71
71
  },
72
72
  "peerDependencies": {
73
73
  "react": "^19.3.0",
@@ -98,8 +98,8 @@
98
98
  },
99
99
  "scripts": {
100
100
  "build": "node ../../scripts/sync-plugin-readme.ts && node ./scripts/build.ts",
101
- "test": "node --test --test-concurrency=2 --test-reporter=dot",
102
- "test:coverage": "c8 node --test --test-concurrency=2",
101
+ "test": "node --test --test-concurrency=4 --test-reporter=dot",
102
+ "test:coverage": "c8 node --test --test-concurrency=4",
103
103
  "typecheck": "tsc --project tsconfig.json --noEmit"
104
104
  }
105
105
  }
@@ -1,3 +0,0 @@
1
- /** Verifies that Vite uses the versions pinned by VPT. */
2
- export declare function assertRuntimeVersions(): void;
3
- export declare function assertRuntimeVersionValues(actualViteVersion: string, actualRolldownVersion: string): void;