@vixt/uni 0.13.4 → 0.13.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.
@@ -1,7 +1,7 @@
1
1
  import { PageMetaDatum } from "@uni-helper/vite-plugin-uni-pages";
2
2
  import { App } from "vue";
3
3
  //#region src/client/client.d.ts
4
- interface UniVixtApp {
4
+ export interface UniVixtApp {
5
5
  /** Uni-app app instance */
6
6
  app: App;
7
7
  /** Uni-app pages */
@@ -10,5 +10,4 @@ interface UniVixtApp {
10
10
  declare module '@vixt/core/client' {
11
11
  interface VixtApp extends UniVixtApp {}
12
12
  }
13
- //#endregion
14
- export { UniVixtApp };
13
+ //#endregion
@@ -1,26 +1,26 @@
1
1
  import { ResolvedConfig } from "vite";
2
2
  //#region src/node/modules/uni-patch.d.ts
3
3
  /** 移除路径中的'../' */
4
- declare function overrideNormalizeNodeModules(): void;
4
+ export declare function overrideNormalizeNodeModules(): void;
5
5
  /**
6
6
  * fix `@uni-helper/vite-plugin-uni-pages` client types
7
7
  * @see https://github.com/uni-helper/vite-plugin-uni-pages/blob/v0.3.24/packages/core/client.d.ts#L4
8
8
  */
9
- declare function overrideUniPagesTypes(): void;
9
+ export declare function overrideUniPagesTypes(): void;
10
10
  /** 增加小程序中vueuse的运行所需 */
11
- declare function transformMpRuntime(code: string, id: string): string;
11
+ export declare function transformMpRuntime(code: string, id: string): string;
12
12
  /**
13
13
  * 修复h5报错`Cannot assign to read only property '_' of object '#<Object>'`
14
14
  * @see https://ask.dcloud.net.cn/question/194973
15
15
  */
16
- declare function transformH5Runtime(code: string, id: string): string;
16
+ export declare function transformH5Runtime(code: string, id: string): string;
17
17
  /** 修复app运行白屏,原因是pinia调用了@vue/devtools-kit的setupDevToolsPlugin */
18
- declare function transformPinia(code: string, id: string): string;
18
+ export declare function transformPinia(code: string, id: string): string;
19
19
  /**
20
20
  * fix `@uni-helper/vite-plugin-uni-components` load slowly
21
21
  * @see https://github.com/uni-helper/vite-plugin-uni-components/blob/v0.2.6/packages/core/src/index.ts#L27
22
22
  */
23
- declare function modifyUniComponentsConfig(config: ResolvedConfig): void;
23
+ export declare function modifyUniComponentsConfig(config: ResolvedConfig): void;
24
24
  /**
25
25
  * 兼容 unocss^66.1.0 小程序平台的css文件后缀名
26
26
  * @see https://github.com/dcloudio/uni-app/pull/5605/files
@@ -34,4 +34,4 @@ declare function modifyUniComponentsConfig(config: ResolvedConfig): void;
34
34
  */
35
35
  declare const _default: (options?: any) => import("vite").PluginOption;
36
36
  //#endregion
37
- export { _default as default, modifyUniComponentsConfig, overrideNormalizeNodeModules, overrideUniPagesTypes, transformH5Runtime, transformMpRuntime, transformPinia };
37
+ export { _default as default };
@@ -5,7 +5,7 @@ import Uni from "@dcloudio/vite-plugin-uni";
5
5
  import Components from "@uni-helper/vite-plugin-uni-components";
6
6
  import Pages from "@uni-helper/vite-plugin-uni-pages";
7
7
  //#region src/node/node.d.ts
8
- interface UniVixtOptions {
8
+ export interface UniVixtOptions {
9
9
  uni?: ExtractPluginOptions<typeof Uni>;
10
10
  /** https://github.com/uni-helper/vite-plugin-uni-pages */
11
11
  uniPages?: ExtractPluginOptions<typeof Pages>;
@@ -19,5 +19,4 @@ interface UniVixtOptions {
19
19
  declare module '@vixt/core' {
20
20
  interface VixtOptions extends UniVixtOptions {}
21
21
  }
22
- //#endregion
23
- export { UniVixtOptions };
22
+ //#endregion
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vixt/uni",
3
- "version": "0.13.4",
3
+ "version": "0.13.5",
4
4
  "keywords": [
5
5
  "uni",
6
6
  "uni-app",
@@ -29,21 +29,21 @@
29
29
  },
30
30
  "dependencies": {
31
31
  "@dcloudio/types": "^3.4.32",
32
- "@uni-helper/uni-types": "^1.1.0",
32
+ "@uni-helper/uni-types": "^1.4.1",
33
33
  "@uni-helper/vite-plugin-uni-components": "0.2.6",
34
34
  "@uni-helper/vite-plugin-uni-layouts": "^0.1.11",
35
35
  "@uni-helper/vite-plugin-uni-pages": "^0.3.24",
36
- "@vixt/core": "0.13.4",
36
+ "@vixt/core": "0.13.5",
37
37
  "defu": "^6.1.7",
38
38
  "fast-glob": "^3.3.3",
39
- "fs-extra": "^11.4.0",
39
+ "fs-extra": "^11.4.1",
40
40
  "mlly": "^1.8.2",
41
41
  "pathe": "^2.0.3",
42
42
  "vite": "^7.3.6",
43
- "vue": "^3.5.42"
43
+ "vue": "^3.5.43"
44
44
  },
45
45
  "devDependencies": {
46
- "@dcloudio/vite-plugin-uni": "3.0.0-5020420260813003",
46
+ "@dcloudio/vite-plugin-uni": "3.0.0-5020620260917001",
47
47
  "pinia": "^4.0.3"
48
48
  },
49
49
  "peerDependencies": {