@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 +3 -3
- package/dist/module.json +1 -1
- package/dist/module.mjs +1 -1
- package/package.json +6 -7
package/README.md
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
# Netlify 🤝 Nuxt
|
|
2
2
|
|
|
3
|
-
[![npm version][npm-version-src]][npm-version-href] [![
|
|
4
|
-
[![
|
|
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](
|
|
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
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:
|
|
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.
|
|
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.
|
|
54
|
-
"@netlify/dev-utils": "^3.
|
|
55
|
-
"@nuxt/kit": "^
|
|
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": "
|
|
65
|
-
"changelogen": "^0.6.2",
|
|
64
|
+
"@types/node": "^22.16.3",
|
|
66
65
|
"eslint": "^9.30.1",
|
|
67
|
-
"nuxt": "^
|
|
66
|
+
"nuxt": "^4.0.0",
|
|
68
67
|
"typescript": "~5.8.3",
|
|
69
68
|
"vitest": "^3.2.4",
|
|
70
69
|
"vue-tsc": "^3.0.1"
|