@vizejs/nuxt 0.347.7 → 0.350.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.
@@ -70,6 +70,8 @@ interface VizeNuxtCompilerOptions {
70
70
  jsxCompat?: "native" | "babel";
71
71
  /** Treat lowercase non-HTML tags as custom renderer elements. */
72
72
  customRenderer?: boolean;
73
+ /** Tag patterns that compile as custom elements instead of Vue components. */
74
+ customElements?: string[];
73
75
  /** Template syntax compatibility mode. */
74
76
  templateSyntax?: "standard" | "strict" | "quirks";
75
77
  /** Root directory to scan for .vue files. */
package/dist/index.d.mts CHANGED
@@ -1,4 +1,4 @@
1
- import { _ as VizeNuxtLintCheckerOptions, b as VizeNuxtCompilerOptions, c as NuxtMuseaOptions, d as VizeNuxtDevOptions, f as VizeNuxtMajorVersion, h as VizeNuxtLintOptions, l as VizeNuxtBridgeOptions, m as VizeNuxtUnoCssOptions, n as NuxtLintConfigAddon, p as VizeNuxtOptions, u as VizeNuxtCompatibilityOptions, x as VizeNuxtVueVersion, y as VizeNuxtCompilerCompatibilityOptions } from "./addons-RJOwQHyO.mjs";
1
+ import { _ as VizeNuxtLintCheckerOptions, b as VizeNuxtCompilerOptions, c as NuxtMuseaOptions, d as VizeNuxtDevOptions, f as VizeNuxtMajorVersion, h as VizeNuxtLintOptions, l as VizeNuxtBridgeOptions, m as VizeNuxtUnoCssOptions, n as NuxtLintConfigAddon, p as VizeNuxtOptions, u as VizeNuxtCompatibilityOptions, x as VizeNuxtVueVersion, y as VizeNuxtCompilerCompatibilityOptions } from "./addons-Cjn6l6QH.mjs";
2
2
  import { MuseaOptions } from "@vizejs/vite-plugin-musea";
3
3
 
4
4
  //#region src/schema.d.ts
@@ -41,6 +41,9 @@ type NuxtWithBuilderOptions = {
41
41
  };
42
42
  buildDir: string;
43
43
  dev?: boolean;
44
+ experimental?: {
45
+ viteEnvironmentApi?: boolean;
46
+ };
44
47
  modules: unknown[];
45
48
  rootDir: string;
46
49
  router?: {
package/dist/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { i as setupLintInspector, l as setupNuxtLintChecker, n as setupNuxtLintConfigGeneration } from "./generation-bpnsF4y-.mjs";
1
+ import { i as setupLintInspector, l as setupNuxtLintChecker, n as setupNuxtLintConfigGeneration } from "./generation-fzwWpYPh.mjs";
2
2
  import { createRequire } from "node:module";
3
3
  import fs from "node:fs";
4
4
  import path, { dirname, resolve } from "node:path";
@@ -535,30 +535,205 @@ function normalizeMuseaBasePath(basePath) {
535
535
  return normalized ? `/${normalized}` : "/";
536
536
  }
537
537
  //#endregion
538
- //#region src/bridge-fast-path.ts
539
- const VUE_CLIENT_RUNTIME_IMPORT = "vue/dist/vue.runtime.esm-bundler.js";
540
- const COMPONENT_BRIDGE_RE = /(?:_?resolveComponent\s*\(|from\s+(["'])#components\1)/;
541
- const I18N_BRIDGE_RE = /(?:\$t|\$rt|\$d|\$n|\$tm|\$te)\s*\(/;
542
- const STABLE_KEY_BRIDGE_RE = /\b(?:useFetch|useLazyFetch)\s*\(|\/\*\s*nuxt-injected\s*\*\//;
543
- function hasComponentBridgeInput(code) {
544
- return COMPONENT_BRIDGE_RE.test(code);
538
+ //#region src/client-manifest-bridge.ts
539
+ const VIZE_NUXT_CLIENT_MANIFEST_PATCHED = "__vizeNuxtClientManifestPatched";
540
+ const closeBundleByScope = /* @__PURE__ */ new WeakMap();
541
+ /**
542
+ * Nuxt's Environment API client-manifest plugin consumes and then removes the
543
+ * Vite client manifest. Rolldown/Vite can invoke the SSR closeBundle path more
544
+ * than once for a single build, so make that teardown idempotent per build.
545
+ */
546
+ function patchNuxtClientManifestCloseBundlePlugin(plugin, buildScope) {
547
+ if (!plugin || plugin.name !== "nuxt:client-manifest") return;
548
+ if (plugin[VIZE_NUXT_CLIENT_MANIFEST_PATCHED]) return;
549
+ if (typeof plugin.closeBundle === "function") {
550
+ const original = plugin.closeBundle;
551
+ plugin.closeBundle = function(...args) {
552
+ return runOnceForScope(buildScope, () => original.call(this, ...args));
553
+ };
554
+ plugin[VIZE_NUXT_CLIENT_MANIFEST_PATCHED] = true;
555
+ return;
556
+ }
557
+ const closeBundle = plugin.closeBundle;
558
+ if (!closeBundle || typeof closeBundle.handler !== "function") return;
559
+ const original = closeBundle.handler;
560
+ closeBundle.handler = function(...args) {
561
+ return runOnceForScope(buildScope, () => original.call(this, ...args));
562
+ };
563
+ plugin[VIZE_NUXT_CLIENT_MANIFEST_PATCHED] = true;
545
564
  }
546
- function hasI18nBridgeInput(code) {
547
- return I18N_BRIDGE_RE.test(code);
565
+ function runOnceForScope(buildScope, run) {
566
+ const pending = closeBundleByScope.get(buildScope);
567
+ if (pending) return pending;
568
+ let next;
569
+ try {
570
+ next = Promise.resolve(run());
571
+ } catch (error) {
572
+ next = Promise.reject(error);
573
+ }
574
+ const tracked = next.catch((error) => {
575
+ if (closeBundleByScope.get(buildScope) === tracked) closeBundleByScope.delete(buildScope);
576
+ throw error;
577
+ });
578
+ closeBundleByScope.set(buildScope, tracked);
579
+ return tracked;
548
580
  }
549
- function hasStableKeyBridgeInput(code) {
550
- return STABLE_KEY_BRIDGE_RE.test(code);
581
+ //#endregion
582
+ //#region src/host-vue-bridge.ts
583
+ const VIZE_NUXT_HOST_VUE_EXCLUDE_PATCHED = "__vizeNuxtHostVueExcludePatched";
584
+ /**
585
+ * Keep Nuxt's host Vue compiler active only for SFCs that Vize has explicitly
586
+ * excluded. This preserves custom renderer pipelines such as `.takumi.vue`
587
+ * while preventing @vitejs/plugin-vue from touching Vize virtual module IDs.
588
+ */
589
+ function patchNuxtHostVuePluginForCompilerExcludes(plugin, compilerOptions) {
590
+ if (!plugin || plugin.name !== "vite:vue") return false;
591
+ if (plugin[VIZE_NUXT_HOST_VUE_EXCLUDE_PATCHED]) return true;
592
+ if (!compilerOptions.exclude || !hasHostVueCompilerHooks(plugin)) return false;
593
+ const shouldHandleRequest = createCompilerExcludeRequestMatcher(compilerOptions.exclude);
594
+ const delegatedVuePaths = /* @__PURE__ */ new Set();
595
+ const shouldHandleId = (id) => {
596
+ if (typeof id !== "string") return false;
597
+ if (isPluginVueInternalRequest(id)) return delegatedVuePaths.size > 0;
598
+ if (shouldHandleRequest(id)) {
599
+ const pathOnly = normalizeVueRequestPath(id);
600
+ if (pathOnly) delegatedVuePaths.add(pathOnly);
601
+ return true;
602
+ }
603
+ const pathOnly = normalizeVueRequestPath(id);
604
+ return !!pathOnly && isPluginVueSubrequest(id) && delegatedVuePaths.has(pathOnly);
605
+ };
606
+ const shouldHandleIdOrImporter = (id, importer) => shouldHandleId(id) || shouldHandleId(importer);
607
+ let patched = false;
608
+ patched = patchGuardedHook(plugin, "resolveId", (args) => shouldHandleIdOrImporter(args[0], args[1]), null) || patched;
609
+ patched = patchGuardedHook(plugin, "load", (args) => shouldHandleId(args[0]), null) || patched;
610
+ patched = patchGuardedHook(plugin, "transform", (args) => shouldHandleId(args[1]), null) || patched;
611
+ patched = patchGuardedHook(plugin, "handleHotUpdate", (args) => {
612
+ const context = args[0];
613
+ return shouldHandleId(context?.file);
614
+ }, void 0) || patched;
615
+ if (!patched) return false;
616
+ plugin[VIZE_NUXT_HOST_VUE_EXCLUDE_PATCHED] = true;
617
+ return true;
618
+ }
619
+ function hasHostVueCompilerHooks(plugin) {
620
+ return hasHookHandler(plugin.resolveId) || hasHookHandler(plugin.load) || hasHookHandler(plugin.transform) || hasHookHandler(plugin.handleHotUpdate);
621
+ }
622
+ function hasHookHandler(hook) {
623
+ return typeof hook === "function" || !!(hook && typeof hook.handler === "function");
624
+ }
625
+ function patchGuardedHook(plugin, hookName, shouldRun, skippedResult) {
626
+ const hook = plugin[hookName];
627
+ if (typeof hook === "function") {
628
+ const original = hook;
629
+ plugin[hookName] = function(...args) {
630
+ return shouldRun(args) ? original.call(this, ...args) : skippedResult;
631
+ };
632
+ return true;
633
+ }
634
+ const hookObject = hook;
635
+ if (!hookObject || typeof hookObject.handler !== "function") return false;
636
+ const original = hookObject.handler;
637
+ hookObject.handler = function(...args) {
638
+ return shouldRun(args) ? original.call(this, ...args) : skippedResult;
639
+ };
640
+ return true;
641
+ }
642
+ function createCompilerExcludeRequestMatcher(exclude) {
643
+ const patterns = Array.isArray(exclude) ? exclude : [exclude];
644
+ return (id) => {
645
+ const normalized = normalizeViteRequestId(id);
646
+ if (!/\.vue(?:\?|$)/.test(normalized)) return false;
647
+ const pathOnly = normalized.replace(/[?#].*$/, "");
648
+ return patterns.some((pattern) => matchesCompilerPattern(pattern, normalized)) || patterns.some((pattern) => matchesCompilerPattern(pattern, pathOnly));
649
+ };
551
650
  }
552
- function rewriteBareVueImportsToClientRuntime(code) {
553
- return code.replace(/(\bfrom\s*)(["'])vue\2/g, (_, prefix, quote) => {
554
- return `${prefix}${quote}${VUE_CLIENT_RUNTIME_IMPORT}${quote}`;
555
- }).replace(/(\bimport\s*)(["'])vue\2/g, (_, prefix, quote) => {
556
- return `${prefix}${quote}${VUE_CLIENT_RUNTIME_IMPORT}${quote}`;
557
- });
651
+ function normalizeVueRequestPath(id) {
652
+ const pathOnly = normalizeViteRequestId(id).replace(/[?#].*$/, "");
653
+ return pathOnly.endsWith(".vue") ? pathOnly : null;
654
+ }
655
+ function isPluginVueSubrequest(id) {
656
+ const normalized = normalizeViteRequestId(id);
657
+ const query = normalized.slice(normalized.indexOf("?") + 1);
658
+ return normalized.includes("?") && new URLSearchParams(query).has("vue");
659
+ }
660
+ function isPluginVueInternalRequest(id) {
661
+ return normalizeViteRequestId(id).startsWith("\0plugin-vue:");
662
+ }
663
+ function normalizeViteRequestId(id) {
664
+ let normalized = id;
665
+ if (normalized.startsWith("/@id/__x00__")) normalized = `\0${normalized.slice(12)}`;
666
+ else if (normalized.startsWith("__x00__")) normalized = `\0${normalized.slice(7)}`;
667
+ if (normalized.startsWith("/@fs/")) normalized = normalized.slice(4);
668
+ try {
669
+ normalized = decodeURIComponent(normalized);
670
+ } catch {}
671
+ return normalized.replace(/\\/g, "/");
672
+ }
673
+ const GLOB_META = /[*?]/;
674
+ function matchesCompilerPattern(pattern, id) {
675
+ if (typeof pattern !== "string") {
676
+ pattern.lastIndex = 0;
677
+ const matched = pattern.test(id);
678
+ pattern.lastIndex = 0;
679
+ return matched;
680
+ }
681
+ const normalizedPattern = pattern.replace(/\\/g, "/");
682
+ if (!GLOB_META.test(normalizedPattern)) return id.includes(normalizedPattern);
683
+ return stringGlobToRegExp(normalizedPattern).test(id);
684
+ }
685
+ function stringGlobToRegExp(pattern) {
686
+ const absolute = pattern.startsWith("/");
687
+ let body = absolute ? pattern : stripRelativePrefix(pattern);
688
+ let descendantSuffix = false;
689
+ if (body.endsWith("/**")) {
690
+ body = body.slice(0, -3);
691
+ descendantSuffix = true;
692
+ }
693
+ const prefix = absolute ? "^" : "(?:^|/)";
694
+ const suffix = descendantSuffix ? "(?:/.*)?$" : "$";
695
+ return new RegExp(`${prefix}${globBodyToRegExp(body)}${suffix}`);
696
+ }
697
+ function stripRelativePrefix(pattern) {
698
+ let rest = pattern;
699
+ while (rest.startsWith("../")) rest = rest.slice(3);
700
+ while (rest.startsWith("./")) rest = rest.slice(2);
701
+ return rest;
702
+ }
703
+ function globBodyToRegExp(pattern) {
704
+ let source = "";
705
+ for (let i = 0; i < pattern.length;) {
706
+ const char = pattern[i];
707
+ if (char === "*") {
708
+ if (pattern[i + 1] === "*") if (pattern[i + 2] === "/") {
709
+ source += "(?:.*\\/)?";
710
+ i += 3;
711
+ } else {
712
+ source += ".*";
713
+ i += 2;
714
+ }
715
+ else {
716
+ source += "[^/]*";
717
+ i += 1;
718
+ }
719
+ continue;
720
+ }
721
+ if (char === "?") {
722
+ source += "[^/]";
723
+ i += 1;
724
+ continue;
725
+ }
726
+ source += escapeRegExp(char);
727
+ i += 1;
728
+ }
729
+ return source;
730
+ }
731
+ function escapeRegExp(char) {
732
+ return "\\^$+?.()|[]{}".includes(char) ? `\\${char}` : char;
558
733
  }
559
734
  //#endregion
560
735
  //#region src/utils.ts
561
- const NUXT_OG_IMAGE_RENDERER_SFC_EXCLUDE = /\.takumi\.vue(?:\?|$)/;
736
+ const NUXT_OG_IMAGE_RENDERER_SFC_EXCLUDE = /\.takumi\.vue(?:\?|$)|[?&]og-image-depth=/;
562
737
  function normalizeUrlPrefix(value) {
563
738
  const withLeadingSlash = value.startsWith("/") ? value : `/${value}`;
564
739
  return withLeadingSlash.endsWith("/") ? withLeadingSlash : `${withLeadingSlash}/`;
@@ -631,7 +806,7 @@ const NUXT_FETCH_COMPOSABLE_RE = /\b(?:useFetch|useLazyFetch)\s*\(/g;
631
806
  function buildStableNuxtKey(id, index) {
632
807
  return createHash("sha256").update(id).update(":").update(String(index)).digest("base64url").slice(0, 10);
633
808
  }
634
- function normalizeNuxtInjectedKeysForVizeVirtualModule$1(code, id) {
809
+ function normalizeNuxtInjectedKeysForVizeVirtualModule(code, id) {
635
810
  const normalizedId = normalizeVizeGeneratedVueModuleId(id).replace(/\?.*$/, "");
636
811
  let index = 0;
637
812
  return code.replace(NUXT_INJECTED_KEY_RE, () => {
@@ -640,7 +815,7 @@ function normalizeNuxtInjectedKeysForVizeVirtualModule$1(code, id) {
640
815
  });
641
816
  }
642
817
  function stabilizeNuxtInjectedKeysForVizeVirtualModule(code, id) {
643
- return normalizeNuxtInjectedKeysForVizeVirtualModule$1(injectMissingNuxtFetchKeys(code), id);
818
+ return normalizeNuxtInjectedKeysForVizeVirtualModule(injectMissingNuxtFetchKeys(code), id);
644
819
  }
645
820
  function injectMissingNuxtFetchKeys(code) {
646
821
  let output = "";
@@ -784,6 +959,60 @@ function preserveExplicitVueImportsFromVizeModuleSource(id, code) {
784
959
  return preserveExplicitVueImportsFromNuxtAutoImports(fs.readFileSync(sourcePath, "utf-8"), code);
785
960
  }
786
961
  //#endregion
962
+ //#region src/keyed-functions-bridge.ts
963
+ function normalizeNuxtKeyedTransformResult(id, result) {
964
+ if (!isVizeVirtualVueModuleId(id) || result == null) return result;
965
+ if (typeof result === "string") return normalizeNuxtInjectedKeysForVizeVirtualModule(result, id);
966
+ if (typeof result.code !== "string") return result;
967
+ const code = normalizeNuxtInjectedKeysForVizeVirtualModule(result.code, id);
968
+ return code === result.code ? result : {
969
+ ...result,
970
+ code
971
+ };
972
+ }
973
+ /**
974
+ * Nuxt's `nuxt:compiler:keyed-functions` plugin rewrites injected keys, but it
975
+ * skips Vize's \0-prefixed virtual modules. Re-run the normalization on the
976
+ * plugin result so keys stay stable for Vize-compiled SFCs.
977
+ */
978
+ function patchNuxtKeyedFunctionsPlugin(plugin) {
979
+ if (typeof plugin.transform === "function") {
980
+ const original = plugin.transform;
981
+ plugin.transform = async function(code, id, ...args) {
982
+ return normalizeNuxtKeyedTransformResult(id, await original.call(this, code, id, ...args));
983
+ };
984
+ return;
985
+ }
986
+ const transform = plugin.transform;
987
+ if (!transform || typeof transform.handler !== "function") return;
988
+ const original = transform.handler;
989
+ transform.handler = async function(code, id, ...args) {
990
+ return normalizeNuxtKeyedTransformResult(id, await original.call(this, code, id, ...args));
991
+ };
992
+ }
993
+ //#endregion
994
+ //#region src/bridge-fast-path.ts
995
+ const VUE_CLIENT_RUNTIME_IMPORT = "vue/dist/vue.runtime.esm-bundler.js";
996
+ const COMPONENT_BRIDGE_RE = /(?:_?resolveComponent\s*\(|from\s+(["'])#components\1)/;
997
+ const I18N_BRIDGE_RE = /(?:\$t|\$rt|\$d|\$n|\$tm|\$te)\s*\(/;
998
+ const STABLE_KEY_BRIDGE_RE = /\b(?:useFetch|useLazyFetch)\s*\(|\/\*\s*nuxt-injected\s*\*\//;
999
+ function hasComponentBridgeInput(code) {
1000
+ return COMPONENT_BRIDGE_RE.test(code);
1001
+ }
1002
+ function hasI18nBridgeInput(code) {
1003
+ return I18N_BRIDGE_RE.test(code);
1004
+ }
1005
+ function hasStableKeyBridgeInput(code) {
1006
+ return STABLE_KEY_BRIDGE_RE.test(code);
1007
+ }
1008
+ function rewriteBareVueImportsToClientRuntime(code) {
1009
+ return code.replace(/(\bfrom\s*)(["'])vue\2/g, (_, prefix, quote) => {
1010
+ return `${prefix}${quote}${VUE_CLIENT_RUNTIME_IMPORT}${quote}`;
1011
+ }).replace(/(\bimport\s*)(["'])vue\2/g, (_, prefix, quote) => {
1012
+ return `${prefix}${quote}${VUE_CLIENT_RUNTIME_IMPORT}${quote}`;
1013
+ });
1014
+ }
1015
+ //#endregion
787
1016
  //#region src/options.ts
788
1017
  const DEFAULT_NUXT_BRIDGE_OPTIONS = {
789
1018
  autoImports: true,
@@ -974,31 +1203,6 @@ function isViteSsrTransform(args) {
974
1203
  const options = args[0];
975
1204
  return typeof options === "object" && options !== null && "ssr" in options && options.ssr === true;
976
1205
  }
977
- function normalizeNuxtKeyedTransformResult(id, result) {
978
- if (!isVizeVirtualVueModuleId(id) || result == null) return result;
979
- if (typeof result === "string") return normalizeNuxtInjectedKeysForVizeVirtualModule(result, id);
980
- if (typeof result.code !== "string") return result;
981
- const code = normalizeNuxtInjectedKeysForVizeVirtualModule(result.code, id);
982
- return code === result.code ? result : {
983
- ...result,
984
- code
985
- };
986
- }
987
- function patchNuxtKeyedFunctionsPlugin(plugin) {
988
- if (typeof plugin.transform === "function") {
989
- const original = plugin.transform;
990
- plugin.transform = async function(code, id, ...args) {
991
- return normalizeNuxtKeyedTransformResult(id, await original.call(this, code, id, ...args));
992
- };
993
- return;
994
- }
995
- const transform = plugin.transform;
996
- if (!transform || typeof transform.handler !== "function") return;
997
- const original = transform.handler;
998
- transform.handler = async function(code, id, ...args) {
999
- return normalizeNuxtKeyedTransformResult(id, await original.call(this, code, id, ...args));
1000
- };
1001
- }
1002
1206
  function normalizeNuxtAutoImportTransformResult(code, id, result, rewriteVueRuntimeImports) {
1003
1207
  if (!isVizeGeneratedVueModuleId(id) || result == null) return result;
1004
1208
  if (typeof result === "string") {
@@ -1082,8 +1286,10 @@ async function setupVizeNuxtModule(options, nuxt) {
1082
1286
  for (let i = config.plugins.length - 1; i >= 0; i--) {
1083
1287
  const p = config.plugins[i];
1084
1288
  const name = p && typeof p === "object" && "name" in p ? p.name : "";
1085
- if (name === "vite:vue") config.plugins.splice(i, 1);
1086
- else if (bridgeOptions.stableInjectedKeys && name === "nuxt:compiler:keyed-functions") patchNuxtKeyedFunctionsPlugin(p);
1289
+ if (name === "vite:vue") {
1290
+ if (!patchNuxtHostVuePluginForCompilerExcludes(p, compilerOptions)) config.plugins.splice(i, 1);
1291
+ } else if (bridgeOptions.stableInjectedKeys && name === "nuxt:compiler:keyed-functions") patchNuxtKeyedFunctionsPlugin(p);
1292
+ if (isViteBuild && nuxt.options.experimental?.viteEnvironmentApi === true) patchNuxtClientManifestCloseBundlePlugin(p, nuxt);
1087
1293
  if (bridgeOptions.autoImports) patchNuxtAutoImportTransformPlugin(p, isViteBuild);
1088
1294
  }
1089
1295
  });
@@ -1,4 +1,4 @@
1
- import { _ as VizeNuxtLintCheckerOptions, a as ResolveNuxtLintConfigAddons, g as ResolvedVizeNuxtLintCheckerOptions, h as VizeNuxtLintOptions, i as NuxtLintImport, n as NuxtLintConfigAddon, o as VIZE_NUXT_LINT_CONFIG_ADDONS_HOOK, r as NuxtLintConfigAddonNuxt, s as setupNuxtLintConfigAddons, t as NuxtLintAwaitable, v as resolveNuxtLintCheckerOptions } from "../addons-RJOwQHyO.mjs";
1
+ import { _ as VizeNuxtLintCheckerOptions, a as ResolveNuxtLintConfigAddons, g as ResolvedVizeNuxtLintCheckerOptions, h as VizeNuxtLintOptions, i as NuxtLintImport, n as NuxtLintConfigAddon, o as VIZE_NUXT_LINT_CONFIG_ADDONS_HOOK, r as NuxtLintConfigAddonNuxt, s as setupNuxtLintConfigAddons, t as NuxtLintAwaitable, v as resolveNuxtLintCheckerOptions } from "../addons-Cjn6l6QH.mjs";
2
2
  import { NuxtLintConfigItem, NuxtLintDirNames, NuxtLintLayer, NuxtLintProjectState } from "@vizejs/nuxt-lint-config";
3
3
  export * from "@vizejs/nuxt-lint-config";
4
4
 
@@ -1,3 +1,3 @@
1
- import { a as toNuxtLintProjectState, c as setupNuxtLintConfigAddons, d as createNuxtLintCheckerVitePlugin, f as resolveNuxtLintCheckerOptions, l as setupNuxtLintChecker, n as setupNuxtLintConfigGeneration, o as renderNuxtOxlintConfig, r as writeFileIfChanged, s as VIZE_NUXT_LINT_CONFIG_ADDONS_HOOK, t as ROOT_OXLINT_CONFIG_NAMES, u as createNuxtLintCheckerWebpackPlugin } from "../generation-bpnsF4y-.mjs";
1
+ import { a as toNuxtLintProjectState, c as setupNuxtLintConfigAddons, d as createNuxtLintCheckerVitePlugin, f as resolveNuxtLintCheckerOptions, l as setupNuxtLintChecker, n as setupNuxtLintConfigGeneration, o as renderNuxtOxlintConfig, r as writeFileIfChanged, s as VIZE_NUXT_LINT_CONFIG_ADDONS_HOOK, t as ROOT_OXLINT_CONFIG_NAMES, u as createNuxtLintCheckerWebpackPlugin } from "../generation-fzwWpYPh.mjs";
2
2
  export * from "@vizejs/nuxt-lint-config";
3
3
  export { ROOT_OXLINT_CONFIG_NAMES, VIZE_NUXT_LINT_CONFIG_ADDONS_HOOK, createNuxtLintCheckerVitePlugin, createNuxtLintCheckerWebpackPlugin, renderNuxtOxlintConfig, resolveNuxtLintCheckerOptions, setupNuxtLintChecker, setupNuxtLintConfigAddons, setupNuxtLintConfigGeneration, toNuxtLintProjectState, writeFileIfChanged };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vizejs/nuxt",
3
- "version": "0.347.7",
3
+ "version": "0.350.2",
4
4
  "description": "Nuxt module for Vize - compiler, musea gallery, linter, and type checker",
5
5
  "keywords": [
6
6
  "compiler",
@@ -49,18 +49,18 @@
49
49
  },
50
50
  "dependencies": {
51
51
  "@nuxt/kit": "3.11.2",
52
- "@vizejs/native": "0.347.7",
53
- "@vizejs/nuxt-lint-config": "0.347.7",
54
- "@vizejs/vite-plugin": "0.347.7",
55
- "@vizejs/vite-plugin-musea": "0.347.7",
56
- "oxlint-plugin-vize": "0.347.7",
57
- "vize": "0.347.7"
52
+ "@vizejs/native": "0.350.2",
53
+ "@vizejs/nuxt-lint-config": "0.350.2",
54
+ "@vizejs/vite-plugin": "0.350.2",
55
+ "@vizejs/vite-plugin-musea": "0.350.2",
56
+ "oxlint-plugin-vize": "0.350.2",
57
+ "vize": "0.350.2"
58
58
  },
59
59
  "devDependencies": {
60
60
  "jiti-nuxt2": "npm:jiti@1.21.7",
61
61
  "typescript": "6.0.3",
62
- "vite": "npm:@voidzero-dev/vite-plus-core@0.1.21",
63
- "vite-plus": "0.1.21",
62
+ "vite": "npm:@voidzero-dev/vite-plus-core@0.1.24",
63
+ "vite-plus": "0.1.24",
64
64
  "vue": "3.5.35",
65
65
  "vue-router": "4.5.1"
66
66
  },