@netlify/nuxt 0.0.1 → 0.1.1

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
@@ -1,14 +1,14 @@
1
1
  # Netlify 🤝 Nuxt
2
2
 
3
- [![npm version][npm-version-src]][npm-version-href] [![npm downloads][npm-downloads-src]][npm-downloads-href]
4
- [![License][license-src]][license-href] [![Nuxt][nuxt-src]][nuxt-href]
3
+ [![npm version][npm-version-src]][npm-version-href] [![License][license-src]][license-href]
4
+ [![Nuxt][nuxt-src]][nuxt-href]
5
5
 
6
6
  `@netlify/nuxt` provides local emulation of the Netlify platform directly in `nuxt dev`
7
7
 
8
8
  ## Features
9
9
 
10
10
  This repackages all the same features as `@netlify/vite-plugin`.
11
- [Check out its docs for details](../packages/vite-plugin/README.md).
11
+ [Check out its docs for details](/packages/vite-plugin/README.md).
12
12
 
13
13
  ## Quick Setup
14
14
 
package/dist/module.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@netlify/nuxt",
3
3
  "configKey": "netlify",
4
- "version": "0.0.1",
4
+ "version": "0.1.1",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "1.0.1",
7
7
  "unbuild": "3.5.0"
package/dist/module.mjs CHANGED
@@ -68,7 +68,7 @@ const module = defineNuxtModule({
68
68
  headersCollector: (key, value) => {
69
69
  headers[key] = value;
70
70
  },
71
- serverAddress: `http://localhost:${nodeReq.socket.localPort}`
71
+ serverAddress: nuxt.options.devServer.url
72
72
  });
73
73
  const isStaticFile = result?.type === "static";
74
74
  if (result && !isStaticFile) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@netlify/nuxt",
3
- "version": "0.0.1",
3
+ "version": "0.1.1",
4
4
  "description": "Nuxt module providing local emulation of the Netlify environment",
5
5
  "type": "module",
6
6
  "engines": {
@@ -50,9 +50,9 @@
50
50
  },
51
51
  "author": "Netlify Inc.",
52
52
  "dependencies": {
53
- "@netlify/dev": "^4.3.8",
54
- "@netlify/dev-utils": "^3.2.2",
55
- "@nuxt/kit": "^3.17.6",
53
+ "@netlify/dev": "^4.4.1",
54
+ "@netlify/dev-utils": "^3.3.0",
55
+ "@nuxt/kit": "^4.0.0",
56
56
  "h3": "^1.15.3"
57
57
  },
58
58
  "devDependencies": {
@@ -61,10 +61,9 @@
61
61
  "@nuxt/module-builder": "^1.0.1",
62
62
  "@nuxt/schema": "^3.17.6",
63
63
  "@nuxt/test-utils": "^3.19.2",
64
- "@types/node": "latest",
65
- "changelogen": "^0.6.2",
64
+ "@types/node": "^22.16.3",
66
65
  "eslint": "^9.30.1",
67
- "nuxt": "^3.17.6",
66
+ "nuxt": "^4.0.0",
68
67
  "typescript": "~5.8.3",
69
68
  "vitest": "^3.2.4",
70
69
  "vue-tsc": "^3.0.1"