nuxt-nightly 4.2.2-29382831.243261ed → 4.2.2-29385843.5bf66d4f

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/README.md CHANGED
@@ -14,13 +14,13 @@
14
14
  Nuxt is a free and open-source framework with an intuitive and extendable way to create type-safe, performant and production-grade full-stack web applications and websites with Vue.js.
15
15
 
16
16
  It provides a number of features that make it easy to build fast, SEO-friendly, and scalable web applications, including:
17
- - Server-side rendering, Static Site Generation, Hybrid Rendering and Edge-Side Rendering
17
+ - Server-side rendering, static site generation, hybrid rendering and edge-side rendering
18
18
  - Automatic routing with code-splitting and pre-fetching
19
19
  - Data fetching and state management
20
- - SEO Optimization and Meta tags definition
20
+ - Search engine optimization and defining meta tags
21
21
  - Auto imports of components, composables and utils
22
22
  - TypeScript with zero configuration
23
- - Go fullstack with our server/ directory
23
+ - Go full-stack with our server/ directory
24
24
  - Extensible with [200+ modules](https://nuxt.com/modules)
25
25
  - Deployment to a variety of [hosting platforms](https://nuxt.com/deploy)
26
26
  - ...[and much more](https://nuxt.com) 🚀
@@ -31,7 +31,7 @@ It provides a number of features that make it easy to build fast, SEO-friendly,
31
31
  - 💻 [ Vue Development](#vue-development)
32
32
  - 📖 [Documentation](#documentation)
33
33
  - 🧩 [Modules](#modules)
34
- - ❤️ [Contribute](#contribute)
34
+ - ❤️ [Contribute](#contribute)
35
35
  - 🏠 [Local Development](#local-development)
36
36
  - 🛟 [Professional Support](#professional-support)
37
37
  - 🔗 [Follow Us](#follow-us)
package/dist/index.mjs CHANGED
@@ -19,7 +19,7 @@ import { ImpoundPlugin } from 'impound';
19
19
  import defu$1, { defu } from 'defu';
20
20
  import { satisfies, coerce } from 'semver';
21
21
  import { isCI, provider, hasTTY } from 'std-env';
22
- import { genArrayFromRaw, genSafeVariableName, genImport, genDynamicImport, genObjectFromRawEntries, genString, genExport } from 'knitwork';
22
+ import { genArrayFromRaw, genSafeVariableName, genImport, genDynamicImport, genObjectFromRawEntries, genString, genDynamicTypeImport, genExport } from 'knitwork';
23
23
  import { resolveModulePath } from 'exsolve';
24
24
  import { addDependency } from 'nypm';
25
25
  import { reverseResolveAlias, filename, resolveAlias } from 'pathe/utils';
@@ -2205,7 +2205,7 @@ function resolveComponentTypes(app, baseDir) {
2205
2205
  continue;
2206
2206
  }
2207
2207
  const filePath = c.declarationPath || c.filePath;
2208
- let type = `typeof ${genDynamicImport(isAbsolute(filePath) ? relative(baseDir, filePath).replace(NON_VUE_RE, "") : filePath.replace(NON_VUE_RE, ""), { wrapper: false })}['${c.export}']`;
2208
+ let type = genDynamicTypeImport(isAbsolute(filePath) ? relative(baseDir, filePath).replace(NON_VUE_RE, "") : filePath.replace(NON_VUE_RE, ""), c.export);
2209
2209
  if (c.mode === "server") {
2210
2210
  if (app.components.some((other) => other.pascalName === c.pascalName && other.mode === "client")) {
2211
2211
  if (c.filePath.startsWith(serverPlaceholderPath)) {
@@ -3835,7 +3835,7 @@ function addDeclarationTemplates(ctx, options) {
3835
3835
  });
3836
3836
  }
3837
3837
 
3838
- const version = "4.2.2-29382831.243261ed";
3838
+ const version = "4.2.2-29385843.5bf66d4f";
3839
3839
 
3840
3840
  function createImportProtectionPatterns(nuxt, options) {
3841
3841
  const patterns = [];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nuxt-nightly",
3
- "version": "4.2.2-29382831.243261ed",
3
+ "version": "4.2.2-29385843.5bf66d4f",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/nuxt/nuxt.git",
@@ -67,11 +67,11 @@
67
67
  "@dxup/nuxt": "^0.2.1",
68
68
  "@nuxt/cli": "npm:@nuxt/cli-nightly@latest",
69
69
  "@nuxt/devtools": "^3.1.0",
70
- "@nuxt/kit": "npm:@nuxt/kit-nightly@4.2.2-29382831.243261ed",
71
- "@nuxt/nitro-server": "npm:@nuxt/nitro-server-nightly@4.2.2-29382831.243261ed",
72
- "@nuxt/schema": "npm:@nuxt/schema-nightly@4.2.2-29382831.243261ed",
70
+ "@nuxt/kit": "npm:@nuxt/kit-nightly@4.2.2-29385843.5bf66d4f",
71
+ "@nuxt/nitro-server": "npm:@nuxt/nitro-server-nightly@4.2.2-29385843.5bf66d4f",
72
+ "@nuxt/schema": "npm:@nuxt/schema-nightly@4.2.2-29385843.5bf66d4f",
73
73
  "@nuxt/telemetry": "^2.6.6",
74
- "@nuxt/vite-builder": "npm:@nuxt/vite-builder-nightly@4.2.2-29382831.243261ed",
74
+ "@nuxt/vite-builder": "npm:@nuxt/vite-builder-nightly@4.2.2-29385843.5bf66d4f",
75
75
  "@unhead/vue": "^2.0.19",
76
76
  "@vue/shared": "^3.5.24",
77
77
  "c12": "^3.3.2",
@@ -91,7 +91,7 @@
91
91
  "impound": "^1.0.0",
92
92
  "jiti": "^2.6.1",
93
93
  "klona": "^2.0.6",
94
- "knitwork": "^1.2.0",
94
+ "knitwork": "^1.3.0",
95
95
  "magic-string": "^0.30.21",
96
96
  "mlly": "^1.8.0",
97
97
  "nanotar": "^0.2.0",