@vixt/uni 0.11.0 → 0.11.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.
- package/dist/client/entry.d.ts +1 -2
- package/dist/client/index.d.ts +1 -1
- package/dist/client/index.js +0 -2
- package/dist/client/plugins/router.d.ts +1 -3
- package/dist/node/index.d.mts +2 -4
- package/dist/node/index.mjs +1 -2
- package/dist/node/modules/preset-uni.d.mts +1 -2
- package/dist/node/modules/uni-layouts.d.mts +1 -1
- package/dist/node/modules/uni-modules.d.mts +1 -3
- package/dist/node/modules/uni-patch.d.mts +1 -2
- package/dist/node/node.d.mts +1 -1
- package/dist/node/{uni-layouts-B1hWgSc_.d.mts → uni-layouts-DiqR237-.d.mts} +1 -3
- package/package.json +8 -5
package/dist/client/entry.d.ts
CHANGED
package/dist/client/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { UniVixtApp } from "./client.js";
|
|
2
|
-
export { UniVixtApp };
|
|
2
|
+
export type { UniVixtApp };
|
package/dist/client/index.js
CHANGED
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
import * as _$_vixt_core_client0 from "@vixt/core/client";
|
|
2
|
-
|
|
3
1
|
//#region src/client/plugins/router.d.ts
|
|
4
|
-
declare const _default:
|
|
2
|
+
declare const _default: import("@vixt/core/client").VixtPlugin;
|
|
5
3
|
//#endregion
|
|
6
4
|
export { _default as default };
|
package/dist/node/index.d.mts
CHANGED
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
import { UniVixtOptions } from "./node.mjs";
|
|
2
|
-
import * as _$_vixt_core0 from "@vixt/core";
|
|
3
|
-
import * as _$vite from "vite";
|
|
4
2
|
|
|
5
3
|
//#region src/node/index.d.ts
|
|
6
4
|
/** @hidden */
|
|
7
|
-
declare const _default: (options?:
|
|
5
|
+
declare const _default: (options?: import("@vixt/core").VixtOptions | undefined) => import("vite").PluginOption;
|
|
8
6
|
//#endregion
|
|
9
|
-
export { UniVixtOptions, _default as default };
|
|
7
|
+
export { type UniVixtOptions, _default as default };
|
package/dist/node/index.mjs
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import preset_uni_default from "./modules/preset-uni.mjs";
|
|
2
2
|
import uni_modules_default from "./modules/uni-modules.mjs";
|
|
3
|
-
import { UniVixtOptions } from "./node.d.mts";
|
|
4
3
|
import { createVixtPlugin } from "@vixt/core";
|
|
5
4
|
import fs from "fs-extra";
|
|
6
5
|
import { resolvePathSync } from "mlly";
|
|
@@ -34,4 +33,4 @@ var node_default = createVixtPlugin({ defaults: {
|
|
|
34
33
|
vite: { optimizeDeps: { exclude: plugins } }
|
|
35
34
|
} });
|
|
36
35
|
//#endregion
|
|
37
|
-
export {
|
|
36
|
+
export { node_default as default };
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import * as _$_vixt_core0 from "@vixt/core";
|
|
2
1
|
import { VixtOptions } from "@vixt/core";
|
|
3
2
|
|
|
4
3
|
//#region src/node/modules/preset-uni.d.ts
|
|
5
|
-
declare const _default:
|
|
4
|
+
declare const _default: import("@vixt/core").VixtModule<VixtOptions>;
|
|
6
5
|
//#endregion
|
|
7
6
|
export { _default as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as _default, t as UniLayoutsOptions } from "../uni-layouts-
|
|
1
|
+
import { n as _default, t as UniLayoutsOptions } from "../uni-layouts-DiqR237-.mjs";
|
|
2
2
|
export { UniLayoutsOptions, _default as default };
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import * as _$_vixt_core0 from "@vixt/core";
|
|
2
|
-
|
|
3
1
|
//#region src/node/modules/uni-modules.d.ts
|
|
4
2
|
declare module '@vixt/core' {
|
|
5
3
|
interface VixtOptions {
|
|
@@ -10,6 +8,6 @@ interface ModuleOptions {
|
|
|
10
8
|
include?: string[];
|
|
11
9
|
exclude?: string[];
|
|
12
10
|
}
|
|
13
|
-
declare const _default:
|
|
11
|
+
declare const _default: import("@vixt/core").VixtModule<import("@vixt/core").ModuleOptions>;
|
|
14
12
|
//#endregion
|
|
15
13
|
export { ModuleOptions, _default as default };
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import * as _$vite from "vite";
|
|
2
1
|
import { ResolvedConfig } from "vite";
|
|
3
2
|
|
|
4
3
|
//#region src/node/modules/uni-patch.d.ts
|
|
@@ -34,6 +33,6 @@ declare function patchUniComponents(config: ResolvedConfig): void;
|
|
|
34
33
|
* @see https://github.com/uni-helper/vite-plugin-uni-pages/blob/main/packages/core/client.d.ts#L4
|
|
35
34
|
*/
|
|
36
35
|
declare function patchUniPagesTypes(): void;
|
|
37
|
-
declare const _default: (options?: any) =>
|
|
36
|
+
declare const _default: (options?: any) => import("vite").PluginOption;
|
|
38
37
|
//#endregion
|
|
39
38
|
export { _default as default, patchAdjustCssExtname, patchNormalizeNodeModules, patchUniComponents, patchUniPagesTypes, patchUnocssGlobalBuildScan, transformH5Runtime, transformMpRuntime, transformPinia };
|
package/dist/node/node.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as UniLayoutsOptions } from "./uni-layouts-
|
|
1
|
+
import { t as UniLayoutsOptions } from "./uni-layouts-DiqR237-.mjs";
|
|
2
2
|
import { ExtractPluginOptions } from "@vixt/core";
|
|
3
3
|
import Uni from "@dcloudio/vite-plugin-uni";
|
|
4
4
|
import Components from "@uni-helper/vite-plugin-uni-components";
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import * as _$vite from "vite";
|
|
2
|
-
|
|
3
1
|
//#region src/node/modules/uni-layouts.d.ts
|
|
4
2
|
interface UniLayoutsOptions {
|
|
5
3
|
/**
|
|
@@ -17,6 +15,6 @@ interface UniLayoutsOptions {
|
|
|
17
15
|
*/
|
|
18
16
|
defaultLayout?: string;
|
|
19
17
|
}
|
|
20
|
-
declare const _default: (options?: UniLayoutsOptions | undefined) =>
|
|
18
|
+
declare const _default: (options?: UniLayoutsOptions | undefined) => import("vite").PluginOption;
|
|
21
19
|
//#endregion
|
|
22
20
|
export { _default as n, UniLayoutsOptions as t };
|
package/package.json
CHANGED
|
@@ -1,11 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vixt/uni",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.11.
|
|
4
|
+
"version": "0.11.2",
|
|
5
5
|
"author": "SoulLyoko<https://github.com/SoulLyoko>",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"homepage": "https://soullyoko.github.io/vixt/",
|
|
8
|
-
"repository":
|
|
8
|
+
"repository": {
|
|
9
|
+
"type": "git",
|
|
10
|
+
"url": "https://github.com/SoulLyoko/vixt.git"
|
|
11
|
+
},
|
|
9
12
|
"keywords": [
|
|
10
13
|
"vixt",
|
|
11
14
|
"vite",
|
|
@@ -26,14 +29,14 @@
|
|
|
26
29
|
],
|
|
27
30
|
"dependencies": {
|
|
28
31
|
"@dcloudio/types": "^3.4.28",
|
|
29
|
-
"@uni-helper/uni-app-types": "^1.0.
|
|
32
|
+
"@uni-helper/uni-app-types": "^1.0.1",
|
|
30
33
|
"@uni-helper/uni-use": "^0.19.17",
|
|
31
34
|
"@uni-helper/unocss-preset-uni": "^0.2.11",
|
|
32
35
|
"@uni-helper/vite-plugin-uni-components": "0.2.6",
|
|
33
36
|
"@uni-helper/vite-plugin-uni-layouts": "^0.1.11",
|
|
34
37
|
"@uni-helper/vite-plugin-uni-pages": "^0.3.24",
|
|
35
38
|
"unocss-applet": "^0.12.2",
|
|
36
|
-
"@vixt/core": "0.11.
|
|
37
|
-
"@vixt/vue": "0.11.
|
|
39
|
+
"@vixt/core": "0.11.2",
|
|
40
|
+
"@vixt/vue": "0.11.2"
|
|
38
41
|
}
|
|
39
42
|
}
|