@vizejs/nuxt 0.431.0 → 0.433.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.
@@ -187,13 +187,17 @@ interface VizeNuxtLintOptions extends NuxtLintFeatures {
187
187
  /**
188
188
  * File path for the generated oxlint config.
189
189
  *
190
- * Relative paths are resolved from the Nuxt project root.
191
- * @default ".nuxt/oxlint.config.json"
190
+ * Relative paths are resolved from the Nuxt project root. The config must
191
+ * live in the lint root or an ancestor so Oxlint can apply its ignores.
192
+ * Add the generated file to the project's .gitignore.
193
+ * @default ".oxlint.vize.json"
192
194
  */
193
195
  configFile?: string;
194
196
  /**
195
197
  * Create a root `oxlint.config.mts` loading the generated config when no
196
- * supported oxlint config exists in the project or an ancestor.
198
+ * supported oxlint or Vite config exists in the project or an ancestor.
199
+ * Existing Vite configs are preserved without evaluating their lint block;
200
+ * compose the generated Nuxt plan in that toolchain explicitly.
197
201
  * @default true
198
202
  */
199
203
  autoInit?: boolean;
@@ -11,9 +11,9 @@ import { createServer } from "node:http";
11
11
  //#region src/builder.ts
12
12
  function getDetectedNuxtMajor(nuxt) {
13
13
  const nuxtLike = nuxt;
14
- const version = nuxtLike?._version ?? nuxtLike?.version ?? nuxtLike?.options?._nuxtVersion;
14
+ const version = nuxtLike?._version ?? nuxtLike?.version ?? nuxtLike?.options?._nuxtVersion ?? nuxtLike?.constructor?.version;
15
15
  if (!version) return null;
16
- const major = Number.parseInt(version.split(".")[0] ?? "", 10);
16
+ const major = Number.parseInt(version.replace(/^v/, "").split(".")[0] ?? "", 10);
17
17
  return major === 2 || major === 3 || major === 4 ? major : null;
18
18
  }
19
19
  function isViteNuxtBuilder(builder) {
@@ -650,21 +650,25 @@ function mergeRules(target, source) {
650
650
  }
651
651
  /** Render the complete generated oxlint config, including its trailing newline. */
652
652
  function renderNuxtOxlintConfig(items, pluginSpecifier, globBase) {
653
- const rebase = (glob) => globBase ? rebaseGlob(glob, globBase.rootDir, globBase.configDir) : glob;
653
+ if (globBase) {
654
+ const root = path.relative(globBase.configDir, globBase.rootDir);
655
+ if (root === ".." || root.startsWith(`..${path.sep}`) || path.isAbsolute(root)) throw new Error("Generated oxlint config must be in the lint root or an ancestor directory");
656
+ }
657
+ const rebase = (glob, ignore = false) => globBase ? rebaseGlob(glob, globBase, ignore) : glob;
654
658
  const ignorePatterns = [];
655
659
  const globals = {};
656
660
  const rules = {};
657
661
  const overrides = [];
658
662
  for (const item of items) {
659
663
  if (item.files) {
660
- const override = { files: item.files.map(rebase) };
661
- if (item.ignores) override.excludeFiles = item.ignores.map(rebase);
664
+ const override = { files: item.files.map((glob) => rebase(glob)) };
665
+ if (item.ignores) override.excludeFiles = item.ignores.map((glob) => rebase(glob));
662
666
  if (item.globals) override.globals = { ...item.globals };
663
667
  if (item.rules) override.rules = prefixVizeRules(item.rules);
664
668
  overrides.push(override);
665
669
  continue;
666
670
  }
667
- if (item.ignores) ignorePatterns.push(...item.ignores.map(rebase));
671
+ if (item.ignores) ignorePatterns.push(...item.ignores.map((glob) => rebase(glob, true)));
668
672
  mergeGlobals(globals, item.globals);
669
673
  mergeRules(rules, item.rules);
670
674
  }
@@ -674,7 +678,10 @@ function renderNuxtOxlintConfig(items, pluginSpecifier, globBase) {
674
678
  name: "vize",
675
679
  specifier: pluginSpecifier
676
680
  }],
677
- settings: { vize: { preset: "incremental" } }
681
+ settings: { vize: {
682
+ preset: "incremental",
683
+ ...globBase?.owner ? { generatedBy: globBase.owner } : {}
684
+ } }
678
685
  };
679
686
  if (ignorePatterns.length > 0) config.ignorePatterns = ignorePatterns;
680
687
  if (Object.keys(globals).length > 0) config.globals = globals;
@@ -682,15 +689,17 @@ function renderNuxtOxlintConfig(items, pluginSpecifier, globBase) {
682
689
  if (overrides.length > 0) config.overrides = overrides;
683
690
  return `${JSON.stringify(config, null, 2)}\n`;
684
691
  }
685
- function rebaseGlob(glob, rootDir, configDir) {
692
+ function rebaseGlob(glob, base, ignore) {
686
693
  const negated = glob.startsWith("!");
687
694
  const body = negated ? glob.slice(1) : glob;
688
- if (path.isAbsolute(body)) return glob;
689
- let relative = path.relative(configDir, path.resolve(rootDir, body));
690
- relative = relative.split(path.sep).join("/");
691
- if (relative.length === 0) relative = ".";
692
- else if (!relative.startsWith(".")) relative = `./${relative}`;
693
- return negated ? `!${relative}` : relative;
695
+ const target = path.resolve(base.rootDir, body);
696
+ let relative = path.relative(base.configDir, target);
697
+ if (relative === ".." || relative.startsWith(`..${path.sep}`) || path.isAbsolute(relative)) {
698
+ if (ignore) throw new Error(`Oxlint cannot ignore a path outside its config directory: ${glob}`);
699
+ relative = target;
700
+ }
701
+ const pattern = relative.split(path.sep).join("/") || ".";
702
+ return negated ? `!${pattern}` : pattern;
694
703
  }
695
704
  //#endregion
696
705
  //#region src/lint/nuxt-state.ts
@@ -788,6 +797,30 @@ function isSeverity(value) {
788
797
  return value === "off" || value === "warn" || value === "error";
789
798
  }
790
799
  //#endregion
800
+ //#region src/lint/owned-config.ts
801
+ /** Keep the module's reserved root file from replacing an authored config. */
802
+ async function writeOwnedNuxtConfig(file, content, writeChanged) {
803
+ try {
804
+ const handle = await open(file, "wx");
805
+ try {
806
+ await handle.writeFile(content, "utf8");
807
+ } finally {
808
+ await handle.close();
809
+ }
810
+ return true;
811
+ } catch (error) {
812
+ if (error.code !== "EEXIST") throw error;
813
+ }
814
+ const metadata = await lstat(file);
815
+ if (!metadata.isFile() || metadata.isSymbolicLink()) throw new Error(`Generated oxlint config must be a regular file: ${file}`);
816
+ let owner;
817
+ try {
818
+ owner = JSON.parse(await readFile(file, "utf8"))?.settings?.vize?.generatedBy;
819
+ } catch {}
820
+ if (owner !== "@vizejs/nuxt") throw new Error(`Refusing to replace authored ${file}; choose a different lint.configFile`);
821
+ return writeChanged(file, content);
822
+ }
823
+ //#endregion
791
824
  //#region src/lint/inspector-view.ts
792
825
  /** Render the dependency-free UI served by the in-process lint-plan inspector. */
793
826
  function renderNuxtLintInspectorHtml(nonce) {
@@ -1170,7 +1203,7 @@ function isLintPlanPayload(value) {
1170
1203
  //#endregion
1171
1204
  //#region src/lint/generation.ts
1172
1205
  /** Nuxt module wiring for generated oxlint configuration. */
1173
- const GENERATED_CONFIG_NAME = "oxlint.config.json";
1206
+ const GENERATED_CONFIG_NAME = ".oxlint.vize.json";
1174
1207
  /** Root config names supported by oxlint's config discovery. */
1175
1208
  const ROOT_OXLINT_CONFIG_NAMES = [
1176
1209
  ".oxlintrc.json",
@@ -1178,6 +1211,15 @@ const ROOT_OXLINT_CONFIG_NAMES = [
1178
1211
  "oxlint.config.ts",
1179
1212
  "oxlint.config.mts"
1180
1213
  ];
1214
+ const ROOT_LINT_CONFIG_NAMES = [
1215
+ ...ROOT_OXLINT_CONFIG_NAMES,
1216
+ "vite.config.js",
1217
+ "vite.config.mjs",
1218
+ "vite.config.ts",
1219
+ "vite.config.cjs",
1220
+ "vite.config.mts",
1221
+ "vite.config.cts"
1222
+ ];
1181
1223
  function isNotFound(error) {
1182
1224
  return error.code === "ENOENT";
1183
1225
  }
@@ -1227,10 +1269,10 @@ function relativeSpecifier(from, target) {
1227
1269
  function resolveVizePluginSpecifier(configDir) {
1228
1270
  return relativeSpecifier(configDir, fileURLToPath(import.meta.resolve("oxlint-plugin-vize")));
1229
1271
  }
1230
- async function findRootOxlintConfig(rootDir) {
1272
+ async function findRootLintConfig(rootDir) {
1231
1273
  let directory = path.resolve(rootDir);
1232
1274
  while (true) {
1233
- for (const name of ROOT_OXLINT_CONFIG_NAMES) {
1275
+ for (const name of ROOT_LINT_CONFIG_NAMES) {
1234
1276
  const candidate = path.join(directory, name);
1235
1277
  try {
1236
1278
  const metadata = await lstat(candidate);
@@ -1264,8 +1306,13 @@ function renderRootOxlintConfig(rootDir, generatedConfig) {
1264
1306
  ""
1265
1307
  ].join("\n");
1266
1308
  }
1267
- async function initRootOxlintConfig(rootDir, generatedConfig) {
1268
- if (await findRootOxlintConfig(rootDir)) return;
1309
+ async function initRootOxlintConfig(rootDir, generatedConfig, previousDefault) {
1310
+ const existing = await findRootLintConfig(rootDir);
1311
+ if (existing) {
1312
+ if (existing === path.join(rootDir, "oxlint.config.mts") && previousDefault && (await lstat(existing)).isFile() && await readFile(existing, "utf8") === renderRootOxlintConfig(rootDir, previousDefault)) await writeFileIfChanged(existing, renderRootOxlintConfig(rootDir, generatedConfig));
1313
+ return;
1314
+ }
1315
+ if (path.dirname(generatedConfig) !== rootDir) throw new Error("Set lint.autoInit to false when lint.configFile is outside the Nuxt root");
1269
1316
  const handle = await open(path.join(rootDir, "oxlint.config.mts"), "wx").catch((error) => {
1270
1317
  if (error.code === "EEXIST") return void 0;
1271
1318
  throw error;
@@ -1288,14 +1335,15 @@ async function setupNuxtLintConfigGeneration(lint, nuxt, dependencies = {}) {
1288
1335
  const { autoInit = true, configFile: configuredFile, rootDir: configuredRoot, ...featureOptions } = typeof lint === "object" && lint !== null ? lint : {};
1289
1336
  const nuxtRoot = path.resolve(nuxt.options.rootDir);
1290
1337
  const planRoot = configuredRoot ? path.resolve(nuxtRoot, configuredRoot) : nuxtRoot;
1291
- const configFile = path.resolve(nuxtRoot, configuredFile ?? path.join(nuxt.options.buildDir, GENERATED_CONFIG_NAME));
1338
+ const configFile = path.resolve(nuxtRoot, configuredFile ?? GENERATED_CONFIG_NAME);
1339
+ const ownsReservedConfig = configFile === path.join(nuxtRoot, GENERATED_CONFIG_NAME);
1292
1340
  const hasTypeScriptProbe = dependencies.hasTypeScript ?? hasTypeScript;
1293
1341
  const resolvePluginSpecifier = dependencies.resolvePluginSpecifier ?? resolveVizePluginSpecifier;
1294
1342
  const resolveAddons = dependencies.resolveAddons ?? ("callHook" in nuxt ? setupNuxtLintConfigAddons(nuxt) : void 0);
1295
1343
  const resolveProjectRules = dependencies.resolveProjectLintRules ?? readProjectLintRules;
1296
1344
  let currentPlan = [];
1297
1345
  const regenerate = async () => {
1298
- const plan = buildNuxtLintPlan(resolveNuxtLintFeatures(featureOptions, () => hasTypeScriptProbe(planRoot)), collectNuxtLintDirs(toNuxtLintProjectState(nuxt.options, { rootDir: planRoot })));
1346
+ const plan = buildNuxtLintPlan(resolveNuxtLintFeatures(featureOptions, () => hasTypeScriptProbe(planRoot)), collectNuxtLintDirs(toNuxtLintProjectState(nuxt.options, { rootDir: planRoot })), getDetectedNuxtMajor(nuxt) ?? 3);
1299
1347
  const addons = await resolveAddons?.() ?? [];
1300
1348
  const projectRules = await resolveProjectRules(planRoot);
1301
1349
  const nextPlan = [
@@ -1306,10 +1354,12 @@ async function setupNuxtLintConfigGeneration(lint, nuxt, dependencies = {}) {
1306
1354
  ...plan,
1307
1355
  ...addons
1308
1356
  ];
1309
- const changed = await writeFileIfChanged(configFile, renderNuxtOxlintConfig(nextPlan, resolvePluginSpecifier(path.dirname(configFile)), {
1357
+ const artifact = renderNuxtOxlintConfig(nextPlan, resolvePluginSpecifier(path.dirname(configFile)), {
1310
1358
  rootDir: planRoot,
1311
- configDir: path.dirname(configFile)
1312
- }));
1359
+ configDir: path.dirname(configFile),
1360
+ owner: ownsReservedConfig ? "@vizejs/nuxt" : void 0
1361
+ });
1362
+ const changed = ownsReservedConfig ? await writeOwnedNuxtConfig(configFile, artifact, writeFileIfChanged) : await writeFileIfChanged(configFile, artifact);
1313
1363
  currentPlan = nextPlan;
1314
1364
  return changed;
1315
1365
  };
@@ -1320,7 +1370,7 @@ async function setupNuxtLintConfigGeneration(lint, nuxt, dependencies = {}) {
1320
1370
  await regenerate();
1321
1371
  nuxt.hook("builder:generateApp", regenerate);
1322
1372
  if (getDetectedNuxtMajor(nuxt) === 2) nuxt.hook("build:templates", regenerate);
1323
- if (autoInit) await initRootOxlintConfig(nuxtRoot, configFile);
1373
+ if (autoInit) await initRootOxlintConfig(nuxtRoot, configFile, ownsReservedConfig ? path.resolve(nuxtRoot, nuxt.options.buildDir, "oxlint.config.json") : void 0);
1324
1374
  return {
1325
1375
  configFile,
1326
1376
  root: planRoot,
package/dist/index.d.mts CHANGED
@@ -1,4 +1,4 @@
1
- import { C as VizeNuxtUiOptions, S as VizeNuxtComposablesOptions, _ 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-CrR0MCzZ.mjs";
1
+ import { C as VizeNuxtUiOptions, S as VizeNuxtComposablesOptions, _ 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-C6yVrK58.mjs";
2
2
  import { MuseaOptions } from "@vizejs/vite-plugin-musea";
3
3
 
4
4
  //#region src/schema.d.ts
package/dist/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { i as setupLintInspector, l as setupNuxtLintChecker, m as hasNuxtViteCompilerSupport, n as setupNuxtLintConfigGeneration, p as getDetectedNuxtMajor } from "./generation-CXADZreI.mjs";
1
+ import { i as setupLintInspector, l as setupNuxtLintChecker, m as hasNuxtViteCompilerSupport, n as setupNuxtLintConfigGeneration, p as getDetectedNuxtMajor } from "./generation-QrhC3X7H.mjs";
2
2
  import { createRequire } from "node:module";
3
3
  import fs from "node:fs";
4
4
  import path, { dirname, join, resolve } from "node:path";
@@ -580,6 +580,32 @@ function runOnceForScope(buildScope, run) {
580
580
  return tracked;
581
581
  }
582
582
  //#endregion
583
+ //#region src/client-manifest.ts
584
+ function restoreNuxtClientManifestSourceIds(manifest) {
585
+ const identities = /* @__PURE__ */ new Map();
586
+ for (const [key, entry] of Object.entries(manifest)) {
587
+ const query = key.indexOf("?");
588
+ if (query < 0 || key.slice(query) !== "?vue&vize" || entry.src !== key) continue;
589
+ const source = key.slice(0, query);
590
+ if (!source.endsWith(".vue")) continue;
591
+ if (Object.hasOwn(manifest, source)) throw new Error(`@vizejs/nuxt: conflicting client manifest source ${source}`);
592
+ identities.set(key, source);
593
+ }
594
+ if (identities.size === 0) return;
595
+ for (const [key, entry] of Object.entries(manifest)) {
596
+ const source = identities.get(key);
597
+ if (source) {
598
+ delete manifest[key];
599
+ manifest[source] = entry;
600
+ entry.src = source;
601
+ }
602
+ for (const field of ["imports", "dynamicImports"]) {
603
+ const references = entry[field];
604
+ if (references?.some((reference) => identities.has(reference))) entry[field] = references.map((reference) => identities.get(reference) ?? reference);
605
+ }
606
+ }
607
+ }
608
+ //#endregion
583
609
  //#region src/host-vue-bridge.ts
584
610
  const VIZE_NUXT_HOST_VUE_EXCLUDE_PATCHED = "__vizeNuxtHostVueExcludePatched";
585
611
  /**
@@ -1106,6 +1132,22 @@ function createNuxtModuleResolver() {
1106
1132
  return { resolve: (...segments) => resolve(moduleDir, ...segments) };
1107
1133
  }
1108
1134
  //#endregion
1135
+ //#region src/module-records.ts
1136
+ function isPlainRecord(value) {
1137
+ return value != null && typeof value === "object" && !Array.isArray(value);
1138
+ }
1139
+ function mergePlainRecords(...values) {
1140
+ const result = {};
1141
+ for (const value of values) {
1142
+ if (!value) continue;
1143
+ for (const [key, nextValue] of Object.entries(value)) {
1144
+ const currentValue = result[key];
1145
+ result[key] = isPlainRecord(currentValue) && isPlainRecord(nextValue) ? mergePlainRecords(currentValue, nextValue) : nextValue;
1146
+ }
1147
+ }
1148
+ return result;
1149
+ }
1150
+ //#endregion
1109
1151
  //#region src/libraries.ts
1110
1152
  function projectLoader(rootDir, specifier, option) {
1111
1153
  return async () => {
@@ -1264,20 +1306,6 @@ async function addNuxtServerPlugin(plugin) {
1264
1306
  async function addNuxtVitePlugin(plugin) {
1265
1307
  (await loadNuxtKit()).addVitePlugin(plugin);
1266
1308
  }
1267
- function isPlainRecord(value) {
1268
- return value != null && typeof value === "object" && !Array.isArray(value);
1269
- }
1270
- function mergePlainRecords(...values) {
1271
- const result = {};
1272
- for (const value of values) {
1273
- if (!value) continue;
1274
- for (const [key, nextValue] of Object.entries(value)) {
1275
- const currentValue = result[key];
1276
- result[key] = isPlainRecord(currentValue) && isPlainRecord(nextValue) ? mergePlainRecords(currentValue, nextValue) : nextValue;
1277
- }
1278
- }
1279
- return result;
1280
- }
1281
1309
  function resolveModuleOptions(inlineOptions, nuxt) {
1282
1310
  return mergePlainRecords(moduleDefaults, nuxt?.options.vize, inlineOptions);
1283
1311
  }
@@ -1372,12 +1400,16 @@ async function setupVizeNuxtModule(options, nuxt) {
1372
1400
  nuxt.options.vite.plugins = nuxt.options.vite.plugins || [];
1373
1401
  nuxt.options.vite.plugins.push(vize({
1374
1402
  ...compilerOptions,
1403
+ nuxtPageMeta: true,
1375
1404
  ssrModuleIdRoot: nuxt.options.srcDir
1376
1405
  }));
1377
1406
  }
1378
1407
  let isNuxtBuild = false;
1379
1408
  let isViteBuild = false;
1380
1409
  if (usesVizeCompiler) {
1410
+ nuxt.hook("build:manifest", (manifest) => {
1411
+ if (nuxt.options.dev === false) restoreNuxtClientManifestSourceIds(manifest);
1412
+ });
1381
1413
  nuxt.hook("build:before", () => {
1382
1414
  if (nuxt.options.dev !== false) return;
1383
1415
  isNuxtBuild = true;
@@ -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-CrR0MCzZ.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-C6yVrK58.mjs";
2
2
  import { NuxtLintConfigItem, NuxtLintDirNames, NuxtLintLayer, NuxtLintProjectState, NuxtLintSeverity } from "@vizejs/nuxt-lint-config";
3
3
  export * from "@vizejs/nuxt-lint-config";
4
4
 
@@ -213,12 +213,14 @@ declare function toNuxtLintProjectState(options: NuxtLintSourceOptions, override
213
213
  //#region src/lint/emitter.d.ts
214
214
  /**
215
215
  * Plan globs are relative to the Nuxt root. Oxlint resolves `overrides` and
216
- * `ignorePatterns` from the generated config's directory, so the emitter
217
- * rebases them when it knows both directories.
216
+ * `ignorePatterns` from the generated config's directory. That directory
217
+ * must contain the plan root: Oxlint cannot ignore files outside it.
218
218
  */
219
219
  interface NuxtOxlintGlobBase {
220
220
  rootDir: string;
221
221
  configDir: string;
222
+ /** Mark the module's reserved generated file; custom artifacts remain unmarked. */
223
+ owner?: "@vizejs/nuxt";
222
224
  }
223
225
  /** Render the complete generated oxlint config, including its trailing newline. */
224
226
  declare function renderNuxtOxlintConfig(items: readonly NuxtLintConfigItem[], pluginSpecifier: string, globBase?: NuxtOxlintGlobBase): string;
@@ -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-CXADZreI.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-QrhC3X7H.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.431.0",
3
+ "version": "0.433.0",
4
4
  "description": "Nuxt module for Vize - compiler, musea gallery, linter, and type checker",
5
5
  "keywords": [
6
6
  "compiler",
@@ -49,12 +49,12 @@
49
49
  },
50
50
  "dependencies": {
51
51
  "@nuxt/kit": "3.11.2",
52
- "@vizejs/native": "0.431.0",
53
- "@vizejs/nuxt-lint-config": "0.431.0",
54
- "@vizejs/vite-plugin": "0.431.0",
55
- "@vizejs/vite-plugin-musea": "0.431.0",
56
- "oxlint-plugin-vize": "0.431.0",
57
- "vize": "0.431.0"
52
+ "@vizejs/native": "0.433.0",
53
+ "@vizejs/nuxt-lint-config": "0.433.0",
54
+ "@vizejs/vite-plugin": "0.433.0",
55
+ "@vizejs/vite-plugin-musea": "0.433.0",
56
+ "oxlint-plugin-vize": "0.433.0",
57
+ "vize": "0.433.0"
58
58
  },
59
59
  "devDependencies": {
60
60
  "jiti-nuxt2": "npm:jiti@1.21.7",