@vixt/core 0.11.1 → 0.12.0

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,5 +1,3 @@
1
- import * as _$nitro_types0 from "nitro/types";
2
-
3
1
  //#region src/client/types/app.d.ts
4
2
  interface VixtApp {
5
3
  app: any;
@@ -48,7 +46,7 @@ declare function createVixtApp(options: CreateOptions): VixtApp;
48
46
  declare function useVixtApp(): VixtApp;
49
47
  //#endregion
50
48
  //#region src/client/fetch.d.ts
51
- declare const $fetch: _$nitro_types0.$Fetch;
49
+ declare const $fetch: import("nitro/types").$Fetch;
52
50
  //#endregion
53
51
  //#region src/client/plugin.d.ts
54
52
  /**
@@ -131,7 +131,7 @@ function isJSONSerializable(value) {
131
131
  if (value instanceof FormData || value instanceof URLSearchParams) return false;
132
132
  return value.constructor && value.constructor.name === "Object" || typeof value.toJSON === "function";
133
133
  }
134
- const textTypes = new Set([
134
+ const textTypes = /* @__PURE__ */ new Set([
135
135
  "image/svg",
136
136
  "application/xml",
137
137
  "application/xhtml",
@@ -173,7 +173,7 @@ async function callHooks(context, hooks) {
173
173
  if (hooks) if (Array.isArray(hooks)) for (const hook of hooks) await hook(context);
174
174
  else await hooks(context);
175
175
  }
176
- const retryStatusCodes = new Set([
176
+ const retryStatusCodes = /* @__PURE__ */ new Set([
177
177
  408,
178
178
  409,
179
179
  425,
@@ -183,7 +183,7 @@ const retryStatusCodes = new Set([
183
183
  503,
184
184
  504
185
185
  ]);
186
- const nullBodyResponses = new Set([
186
+ const nullBodyResponses = /* @__PURE__ */ new Set([
187
187
  101,
188
188
  204,
189
189
  205,
@@ -1,5 +1,4 @@
1
1
  import { ConfigLayer, ConfigLayerMeta, LoadConfigOptions, ResolvedConfig } from "c12";
2
- import * as _$vite from "vite";
3
2
  import { HtmlTagDescriptor, InlineConfig, LogLevel, PluginOption, ServerOptions, UserConfig } from "vite";
4
3
  import Legacy from "@vitejs/plugin-legacy";
5
4
  import Analyzer from "vite-bundle-analyzer";
@@ -7,7 +6,6 @@ import Ssl from "@vitejs/plugin-basic-ssl";
7
6
  import AutoImport from "unplugin-auto-import/vite";
8
7
  import { NitroPluginConfig } from "nitro/vite";
9
8
  import Checker from "vite-plugin-checker";
10
- import { RawVueCompilerOptions } from "@vue/language-core";
11
9
  import { TSConfig } from "pkg-types";
12
10
 
13
11
  //#region src/node/types/layer.d.ts
@@ -223,7 +221,7 @@ interface TypescriptOptions {
223
221
  * @default '@vue/tsconfig/tsconfig.dom.json'
224
222
  */
225
223
  extends?: string | string[];
226
- vueCompilerOptions?: RawVueCompilerOptions;
224
+ vueCompilerOptions?: import('@vue/language-core').RawVueCompilerOptions;
227
225
  };
228
226
  /**
229
227
  * Enable build-time or dev-server type checking.
@@ -515,6 +513,6 @@ declare const builtinModules: (VixtModule<ModuleOptions> | VixtModule<AliasOptio
515
513
  //#endregion
516
514
  //#region src/node/vixt.d.ts
517
515
  declare function loadVixt(opts?: LoadConfigOptions<VixtOptions>): Promise<Vixt>;
518
- declare function createVixtPlugin(loadOptions: LoadConfigOptions<VixtOptions>): (options?: VixtOptions | undefined) => _$vite.PluginOption;
516
+ declare function createVixtPlugin(loadOptions: LoadConfigOptions<VixtOptions>): (options?: VixtOptions | undefined) => import("vite").PluginOption;
519
517
  //#endregion
520
518
  export { AliasOptions, AppHead, AppHeadAttrs, AppOptions, BuildOptions, DevServerOptions, ExtractPluginOptions, GlobalCLIOptions, ImportsOptions, LoadVixtConfigOptions, ModuleDefinition, ModuleMeta, ModuleOptions, NitroOptions, ResolvedVixtConfig, TypescriptOptions, Vixt, VixtConfig, VixtConfigLayer, VixtConfigLayerMeta, VixtModule, VixtOptions, applyLayerModules, applyLayers, builtinModules, createVixtPlugin, defineVitePlugin, defineVixtConfig, defineVixtModule, findUpWorkspaceDir, installModule, isSamePath, loadCLIOptions, loadEnv, loadMode, loadVixt, loadVixtConfig, loadWorkspaceEnv, resolveLayersDirs, virtualModuleIds };
package/package.json CHANGED
@@ -1,11 +1,14 @@
1
1
  {
2
2
  "name": "@vixt/core",
3
3
  "type": "module",
4
- "version": "0.11.1",
4
+ "version": "0.12.0",
5
5
  "author": "SoulLyoko<https://github.com/SoulLyoko>",
6
6
  "license": "MIT",
7
7
  "homepage": "https://soullyoko.github.io/vixt/",
8
- "repository": "https://github.com/SoulLyoko/vixt.git",
8
+ "repository": {
9
+ "type": "git",
10
+ "url": "https://github.com/SoulLyoko/vixt.git"
11
+ },
9
12
  "keywords": [
10
13
  "vixt",
11
14
  "vite",
@@ -28,25 +31,24 @@
28
31
  "dist"
29
32
  ],
30
33
  "dependencies": {
31
- "@types/fs-extra": "^11.0.4",
32
34
  "@vitejs/plugin-basic-ssl": "^2.3.0",
33
- "@vitejs/plugin-legacy": "^8.0.2",
35
+ "@vitejs/plugin-legacy": "^8.1.0",
34
36
  "@vue/tsconfig": "^0.9.1",
35
37
  "c12": "^3.3.4",
36
38
  "cac": "^7.0.0",
37
39
  "citty": "^0.2.2",
38
40
  "defu": "^6.1.7",
39
41
  "find-up": "^8.0.0",
40
- "fs-extra": "^11.3.5",
42
+ "fs-extra": "^11.3.6",
41
43
  "jiti": "^2.7.0",
42
44
  "magicast": "^0.5.3",
43
45
  "mlly": "^1.8.2",
44
- "nitro": "^3.0.260522-beta",
46
+ "nitro": "^3.0.260610-beta",
45
47
  "pathe": "^2.0.3",
46
48
  "pkg-types": "^2.3.1",
47
49
  "unplugin-auto-import": "^21.0.0",
48
- "vite": "^8.0.14",
50
+ "vite": "^8.1.2",
49
51
  "vite-bundle-analyzer": "^1.3.8",
50
- "vite-plugin-checker": "^0.13.0"
52
+ "vite-plugin-checker": "^0.14.4"
51
53
  }
52
54
  }