nuxt-nightly 4.2.0-29331084.23aa59d6 → 4.2.0-29331207.25e91a2b

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.
@@ -96,6 +96,6 @@ type NuxtLinkDefaultSlotProps<CustomProp extends boolean = false> = CustomProp e
96
96
  type NuxtLinkSlots<CustomProp extends boolean = false> = {
97
97
  default?: (props: NuxtLinkDefaultSlotProps<CustomProp>) => VNode[];
98
98
  };
99
- export declare function defineNuxtLink(options: NuxtLinkOptions): (new <CustomProp extends boolean = false>(props: NuxtLinkProps<CustomProp> & VNodeProps & AllowedComponentProps & AnchorHTMLAttributes) => InstanceType<DefineSetupFnComponent<NuxtLinkProps<CustomProp> & VNodeProps & AllowedComponentProps & AnchorHTMLAttributes, [], SlotsType<NuxtLinkSlots<CustomProp>>>>) & Record<string, any>;
100
- declare const _default: (new <CustomProp extends boolean = false>(props: NuxtLinkProps<CustomProp> & VNodeProps & AllowedComponentProps & AnchorHTMLAttributes) => InstanceType<DefineSetupFnComponent<NuxtLinkProps<CustomProp> & VNodeProps & AllowedComponentProps & AnchorHTMLAttributes, [], SlotsType<NuxtLinkSlots<CustomProp>>>>) & Record<string, any>;
99
+ export declare function defineNuxtLink(options: NuxtLinkOptions): (new <CustomProp extends boolean = false>(props: NuxtLinkProps<CustomProp> & VNodeProps & AllowedComponentProps & AnchorHTMLAttributes) => InstanceType<DefineSetupFnComponent<NuxtLinkProps<CustomProp> & VNodeProps & AllowedComponentProps & Omit<AnchorHTMLAttributes, "href">, [], SlotsType<NuxtLinkSlots<CustomProp>>>>) & Record<string, any>;
100
+ declare const _default: (new <CustomProp extends boolean = false>(props: NuxtLinkProps<CustomProp> & VNodeProps & AllowedComponentProps & AnchorHTMLAttributes) => InstanceType<DefineSetupFnComponent<NuxtLinkProps<CustomProp> & VNodeProps & AllowedComponentProps & Omit<AnchorHTMLAttributes, "href">, [], SlotsType<NuxtLinkSlots<CustomProp>>>>) & Record<string, any>;
101
101
  export default _default;
package/dist/index.mjs CHANGED
@@ -2049,7 +2049,6 @@ const vuePreset = defineUnimportPreset({
2049
2049
  "hasInjectionContext",
2050
2050
  "nextTick",
2051
2051
  "provide",
2052
- "mergeModels",
2053
2052
  "toValue",
2054
2053
  "useModel",
2055
2054
  "useAttrs",
@@ -2282,7 +2281,7 @@ const ISLAND_RE = /\.island(?:\.global)?$/;
2282
2281
  const GLOBAL_RE = /\.global(?:\.island)?$/;
2283
2282
  const COMPONENT_MODE_RE = /(?<=\.)(client|server)(?:\.global|\.island)*$/;
2284
2283
  const MODE_REPLACEMENT_RE = /(?:\.(?:client|server))?(?:\.global|\.island)*$/;
2285
- async function scanComponents(dirs, srcDir) {
2284
+ async function scanComponents(dirs) {
2286
2285
  const components = [];
2287
2286
  const filePaths = /* @__PURE__ */ new Set();
2288
2287
  const scannedPaths = [];
@@ -2338,7 +2337,6 @@ async function scanComponents(dirs, srcDir) {
2338
2337
  }
2339
2338
  resolvedNames.set(pascalName + suffix, filePath);
2340
2339
  const kebabName = kebabCase(componentNameSegments);
2341
- const shortPath = relative(srcDir, filePath);
2342
2340
  const chunkName = "components/" + kebabName + suffix;
2343
2341
  let component = {
2344
2342
  // inheritable from directory configuration
@@ -2354,7 +2352,6 @@ async function scanComponents(dirs, srcDir) {
2354
2352
  pascalName,
2355
2353
  kebabName,
2356
2354
  chunkName,
2357
- shortPath,
2358
2355
  export: "default",
2359
2356
  // by default, give priority to scanned components
2360
2357
  priority: dir.priority ?? 1,
@@ -3486,7 +3483,7 @@ const componentsModule = defineNuxtModule({
3486
3483
  });
3487
3484
  const serverPlaceholderPath = await findPath(join(distDir, "app/components/server-placeholder")) ?? join(distDir, "app/components/server-placeholder");
3488
3485
  nuxt.hook("app:templates", async (app) => {
3489
- const newComponents = await scanComponents(componentDirs, nuxt.options.srcDir);
3486
+ const newComponents = await scanComponents(componentDirs);
3490
3487
  await nuxt.callHook("components:extend", newComponents);
3491
3488
  for (const component of newComponents) {
3492
3489
  if (!component._scanned && !(component.filePath in nuxt.vfs) && isAbsolute(component.filePath) && !existsSync(component.filePath)) {
@@ -3833,7 +3830,7 @@ function addDeclarationTemplates(ctx, options) {
3833
3830
  });
3834
3831
  }
3835
3832
 
3836
- const version = "4.2.0-29331084.23aa59d6";
3833
+ const version = "4.2.0-29331207.25e91a2b";
3837
3834
 
3838
3835
  const createImportProtectionPatterns = (nuxt, options) => {
3839
3836
  const patterns = [];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nuxt-nightly",
3
- "version": "4.2.0-29331084.23aa59d6",
3
+ "version": "4.2.0-29331207.25e91a2b",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/nuxt/nuxt.git",
@@ -67,10 +67,10 @@
67
67
  "@nuxt/cli": "npm:@nuxt/cli-nightly@latest",
68
68
  "@nuxt/devalue": "^2.0.2",
69
69
  "@nuxt/devtools": "^2.6.5",
70
- "@nuxt/kit": "npm:@nuxt/kit-nightly@4.2.0-29331084.23aa59d6",
71
- "@nuxt/schema": "npm:@nuxt/schema-nightly@4.2.0-29331084.23aa59d6",
70
+ "@nuxt/kit": "npm:@nuxt/kit-nightly@4.2.0-29331207.25e91a2b",
71
+ "@nuxt/schema": "npm:@nuxt/schema-nightly@4.2.0-29331207.25e91a2b",
72
72
  "@nuxt/telemetry": "^2.6.6",
73
- "@nuxt/vite-builder": "npm:@nuxt/vite-builder-nightly@4.2.0-29331084.23aa59d6",
73
+ "@nuxt/vite-builder": "npm:@nuxt/vite-builder-nightly@4.2.0-29331207.25e91a2b",
74
74
  "@unhead/vue": "^2.0.14",
75
75
  "@vue/shared": "^3.5.22",
76
76
  "c12": "^3.3.0",