nuxt-nightly 4.1.3-29310384.c791676b → 4.1.3-29310473.a57f7fb7
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.mjs +7 -5
- package/package.json +4 -4
package/dist/index.mjs
CHANGED
|
@@ -2211,7 +2211,7 @@ function resolveComponentTypes(app, baseDir) {
|
|
|
2211
2211
|
}
|
|
2212
2212
|
return componentTypes;
|
|
2213
2213
|
}
|
|
2214
|
-
const islandType = "type IslandComponent<T
|
|
2214
|
+
const islandType = "type IslandComponent<T> = DefineComponent<{}, {refresh: () => Promise<void>}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, SlotsType<{ fallback: { error: unknown } }>> & T";
|
|
2215
2215
|
const hydrationTypes = `
|
|
2216
2216
|
type HydrationStrategies = {
|
|
2217
2217
|
hydrateOnVisible?: IntersectionObserverInit | true
|
|
@@ -2222,7 +2222,7 @@ type HydrationStrategies = {
|
|
|
2222
2222
|
hydrateWhen?: boolean
|
|
2223
2223
|
hydrateNever?: true
|
|
2224
2224
|
}
|
|
2225
|
-
type LazyComponent<T> =
|
|
2225
|
+
type LazyComponent<T> = DefineComponent<HydrationStrategies, {}, {}, {}, {}, {}, {}, { hydrated: () => void }> & T
|
|
2226
2226
|
`;
|
|
2227
2227
|
const componentsDeclarationTemplate = {
|
|
2228
2228
|
filename: "components.d.ts",
|
|
@@ -3821,7 +3821,7 @@ function addDeclarationTemplates(ctx, options) {
|
|
|
3821
3821
|
});
|
|
3822
3822
|
}
|
|
3823
3823
|
|
|
3824
|
-
const version = "4.1.3-
|
|
3824
|
+
const version = "4.1.3-29310473.a57f7fb7";
|
|
3825
3825
|
|
|
3826
3826
|
const createImportProtectionPatterns = (nuxt, options) => {
|
|
3827
3827
|
const patterns = [];
|
|
@@ -5615,6 +5615,10 @@ Using \`${fallbackCompatibilityDate}\` as fallback. More info at: ${colors.under
|
|
|
5615
5615
|
}
|
|
5616
5616
|
}
|
|
5617
5617
|
});
|
|
5618
|
+
nuxt.hook("nitro:prepare:types", (opts) => {
|
|
5619
|
+
opts.references.push({ path: resolve(nuxt.options.buildDir, "types/app.config.d.ts") });
|
|
5620
|
+
opts.references.push({ path: resolve(nuxt.options.buildDir, "types/runtime-config.d.ts") });
|
|
5621
|
+
});
|
|
5618
5622
|
if (nuxt.options.scripts) {
|
|
5619
5623
|
if (!nuxt.options._modules.some((m) => m === "@nuxt/scripts" || m === "@nuxt/scripts-nightly")) {
|
|
5620
5624
|
installNuxtModule("@nuxt/scripts");
|
|
@@ -6522,8 +6526,6 @@ const nitroSchemaTemplate = {
|
|
|
6522
6526
|
/* typescript */
|
|
6523
6527
|
`
|
|
6524
6528
|
${lines.join("\n")}
|
|
6525
|
-
/// <reference path="./app.config.d.ts" />
|
|
6526
|
-
/// <reference path="./runtime-config.d.ts" />
|
|
6527
6529
|
|
|
6528
6530
|
import type { RuntimeConfig } from 'nuxt/schema'
|
|
6529
6531
|
import type { H3Event } from 'h3'
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nuxt-nightly",
|
|
3
|
-
"version": "4.1.3-
|
|
3
|
+
"version": "4.1.3-29310473.a57f7fb7",
|
|
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.3",
|
|
70
|
-
"@nuxt/kit": "npm:@nuxt/kit-nightly@4.1.3-
|
|
71
|
-
"@nuxt/schema": "npm:@nuxt/schema-nightly@4.1.3-
|
|
70
|
+
"@nuxt/kit": "npm:@nuxt/kit-nightly@4.1.3-29310473.a57f7fb7",
|
|
71
|
+
"@nuxt/schema": "npm:@nuxt/schema-nightly@4.1.3-29310473.a57f7fb7",
|
|
72
72
|
"@nuxt/telemetry": "^2.6.6",
|
|
73
|
-
"@nuxt/vite-builder": "npm:@nuxt/vite-builder-nightly@4.1.3-
|
|
73
|
+
"@nuxt/vite-builder": "npm:@nuxt/vite-builder-nightly@4.1.3-29310473.a57f7fb7",
|
|
74
74
|
"@unhead/vue": "^2.0.14",
|
|
75
75
|
"@vue/shared": "^3.5.21",
|
|
76
76
|
"c12": "^3.3.0",
|