@nuxt/kit-nightly 4.2.0-29333792.e060b969 → 4.2.0-29333853.4751a6ac

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.
package/dist/index.d.mts CHANGED
@@ -236,7 +236,7 @@ declare function addComponentsDir(dir: ComponentsDir, opts?: {
236
236
  type AddComponentOptions = {
237
237
  name: string;
238
238
  filePath: string;
239
- } & Partial<Exclude<Component, 'async' | 'level' | 'import' | 'asyncImport'>>;
239
+ } & Partial<Exclude<Component, 'shortPath' | 'async' | 'level' | 'import' | 'asyncImport'>>;
240
240
  /**
241
241
  * This utility takes a file path or npm package that is scanned for named exports, which are get added automatically
242
242
  */
package/dist/index.d.ts CHANGED
@@ -236,7 +236,7 @@ declare function addComponentsDir(dir: ComponentsDir, opts?: {
236
236
  type AddComponentOptions = {
237
237
  name: string;
238
238
  filePath: string;
239
- } & Partial<Exclude<Component, 'async' | 'level' | 'import' | 'asyncImport'>>;
239
+ } & Partial<Exclude<Component, 'shortPath' | 'async' | 'level' | 'import' | 'asyncImport'>>;
240
240
  /**
241
241
  * This utility takes a file path or npm package that is scanned for named exports, which are get added automatically
242
242
  */
package/dist/index.mjs CHANGED
@@ -1273,6 +1273,7 @@ function normalizeComponent(opts) {
1273
1273
  prefetch: false,
1274
1274
  preload: false,
1275
1275
  mode: "all",
1276
+ shortPath: opts.filePath,
1276
1277
  priority: 0,
1277
1278
  meta: {},
1278
1279
  ...opts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nuxt/kit-nightly",
3
- "version": "4.2.0-29333792.e060b969",
3
+ "version": "4.2.0-29333853.4751a6ac",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/nuxt/nuxt.git",
@@ -47,7 +47,7 @@
47
47
  "untyped": "^2.0.0"
48
48
  },
49
49
  "devDependencies": {
50
- "@nuxt/schema": "npm:@nuxt/schema-nightly@4.2.0-29333792.e060b969",
50
+ "@nuxt/schema": "npm:@nuxt/schema-nightly@4.2.0-29333853.4751a6ac",
51
51
  "@rspack/core": "1.5.8",
52
52
  "@types/semver": "7.7.1",
53
53
  "hookable": "5.5.3",