@vixt/core 0.12.1 → 0.12.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.
@@ -7,7 +7,6 @@ import AutoImport from "unplugin-auto-import/vite";
7
7
  import { NitroPluginConfig } from "nitro/vite";
8
8
  import Checker from "vite-plugin-checker";
9
9
  import { TSConfig } from "pkg-types";
10
-
11
10
  //#region src/node/types/layer.d.ts
12
11
  interface VixtConfigLayerMeta extends ConfigLayerMeta {
13
12
  /** layer name */
@@ -398,10 +397,7 @@ interface VixtOptions extends VixtConfig {
398
397
  */
399
398
  declare function defineVixtConfig(input: VixtOptions): VixtOptions;
400
399
  declare function loadVixtConfig(opts?: LoadVixtConfigOptions): Promise<ResolvedVixtConfig>;
401
- declare function applyLayers({
402
- config,
403
- layers
404
- }: ResolvedVixtConfig): VixtConfigLayer[];
400
+ declare function applyLayers({ config, layers }: ResolvedVixtConfig): VixtConfigLayer[];
405
401
  declare function isSamePath(a: string, b: string): boolean;
406
402
  declare function resolveLayersDirs(layers?: VixtConfigLayer[]): Record<string, string[] | undefined>;
407
403
  //#endregion
@@ -498,10 +494,7 @@ declare function defineVitePlugin<Options = any>(pluginFn: (options?: Options) =
498
494
  */
499
495
  declare function defineVixtModule<T extends ModuleOptions = ModuleOptions>(definition: ModuleDefinition<T> | VixtModule<T>): VixtModule<T>;
500
496
  declare function installModule<T extends ModuleOptions = ModuleOptions>(module: VixtModule<T>, inlineOptions: any, vixt: Vixt): PluginOption;
501
- declare function applyLayerModules({
502
- config,
503
- layers
504
- }: ResolvedVixtConfig): Promise<VixtModule[]>;
497
+ declare function applyLayerModules({ config, layers }: ResolvedVixtConfig): Promise<VixtModule[]>;
505
498
  //#endregion
506
499
  //#region src/node/modules/index.d.ts
507
500
  declare const virtualModuleIds: {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@vixt/core",
3
3
  "type": "module",
4
- "version": "0.12.1",
4
+ "version": "0.12.2",
5
5
  "author": "SoulLyoko<https://github.com/SoulLyoko>",
6
6
  "license": "MIT",
7
7
  "homepage": "https://soullyoko.github.io/vixt/",
@@ -32,7 +32,7 @@
32
32
  ],
33
33
  "dependencies": {
34
34
  "@vitejs/plugin-basic-ssl": "^2.3.0",
35
- "@vitejs/plugin-legacy": "^8.1.0",
35
+ "@vitejs/plugin-legacy": "^8.2.1",
36
36
  "@vue/tsconfig": "^0.9.1",
37
37
  "c12": "^3.3.4",
38
38
  "cac": "^7.0.0",
@@ -47,8 +47,8 @@
47
47
  "pathe": "^2.0.3",
48
48
  "pkg-types": "^2.3.1",
49
49
  "unplugin-auto-import": "^21.0.0",
50
- "vite": "^8.1.2",
51
- "vite-bundle-analyzer": "^1.3.8",
50
+ "vite": "^8.1.5",
51
+ "vite-bundle-analyzer": "^1.3.9",
52
52
  "vite-plugin-checker": "^0.14.4"
53
53
  }
54
54
  }