@nuxt/bridge-edge 3.0.0-27333287.f668d74 → 3.0.0-27333371.c288907
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/chunks/module.mjs +5 -1
- package/dist/chunks/module2.mjs +1 -1
- package/package.json +10 -10
package/dist/chunks/module.mjs
CHANGED
|
@@ -4,7 +4,7 @@ import fs, { existsSync, promises } from 'fs';
|
|
|
4
4
|
import fetch from 'node-fetch';
|
|
5
5
|
import { stringifyQuery, parseURL, parseQuery } from 'ufo';
|
|
6
6
|
import { dirname, resolve, relative, join as join$1, parse as parse$1, normalize, isAbsolute } from 'pathe';
|
|
7
|
-
import { getNitroContext, resolveMiddleware, build, prepare, generate, wpfs, createDevServer } from '@nuxt/nitro';
|
|
7
|
+
import { getNitroContext, resolveMiddleware, scanMiddleware, writeTypes, build, prepare, generate, wpfs, createDevServer } from '@nuxt/nitro';
|
|
8
8
|
import { fileURLToPath } from 'url';
|
|
9
9
|
import { join } from 'path';
|
|
10
10
|
import crypto from 'crypto';
|
|
@@ -208,6 +208,10 @@ function setupNitroBridge() {
|
|
|
208
208
|
nuxt.hook("prepare:types", (opts) => {
|
|
209
209
|
opts.references.push({ path: resolve(nuxt.options.buildDir, "nitro.d.ts") });
|
|
210
210
|
});
|
|
211
|
+
nuxt.hook("builder:generateApp", async () => {
|
|
212
|
+
nitroDevContext.scannedMiddleware = await scanMiddleware(nitroDevContext._nuxt.serverDir);
|
|
213
|
+
await writeTypes(nitroDevContext);
|
|
214
|
+
});
|
|
211
215
|
nuxt.options.build._minifyServer = false;
|
|
212
216
|
nuxt.options.build.standalone = false;
|
|
213
217
|
nuxt.hook("build:done", async () => {
|
package/dist/chunks/module2.mjs
CHANGED
|
@@ -3,7 +3,7 @@ import { defineNuxtModule, addPluginTemplate } from '@nuxt/kit';
|
|
|
3
3
|
import hash from 'hash-sum';
|
|
4
4
|
import { resolve } from 'pathe';
|
|
5
5
|
|
|
6
|
-
const version = "3.0.0-
|
|
6
|
+
const version = "3.0.0-27333371.c288907";
|
|
7
7
|
|
|
8
8
|
const middlewareTemplate = {
|
|
9
9
|
filename: "middleware.js",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nuxt/bridge-edge",
|
|
3
|
-
"version": "3.0.0-
|
|
3
|
+
"version": "3.0.0-27333371.c288907",
|
|
4
4
|
"repository": "nuxt/framework",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -19,12 +19,12 @@
|
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@babel/plugin-transform-typescript": "^7.16.1",
|
|
22
|
-
"@nuxt/kit": "npm:@nuxt/kit-edge@3.0.0-
|
|
23
|
-
"@nuxt/nitro": "npm:@nuxt/nitro-edge@3.0.0-
|
|
22
|
+
"@nuxt/kit": "npm:@nuxt/kit-edge@3.0.0-27333371.c288907",
|
|
23
|
+
"@nuxt/nitro": "npm:@nuxt/nitro-edge@3.0.0-27333371.c288907",
|
|
24
24
|
"@nuxt/postcss8": "^1.1.3",
|
|
25
|
-
"@nuxt/schema": "npm:@nuxt/schema-edge@3.0.0-
|
|
25
|
+
"@nuxt/schema": "npm:@nuxt/schema-edge@3.0.0-27333371.c288907",
|
|
26
26
|
"@vitejs/plugin-legacy": "^1.6.4",
|
|
27
|
-
"@vue/composition-api": "^1.4.
|
|
27
|
+
"@vue/composition-api": "^1.4.2",
|
|
28
28
|
"@vueuse/head": "^0.7.4",
|
|
29
29
|
"acorn": "^8.6.0",
|
|
30
30
|
"consola": "^2.15.3",
|
|
@@ -39,23 +39,23 @@
|
|
|
39
39
|
"h3": "^0.3.8",
|
|
40
40
|
"hash-sum": "^2.0.0",
|
|
41
41
|
"magic-string": "^0.25.7",
|
|
42
|
-
"mlly": "^0.3.
|
|
42
|
+
"mlly": "^0.3.16",
|
|
43
43
|
"murmurhash-es": "^0.1.1",
|
|
44
44
|
"node-fetch": "^3.1.0",
|
|
45
|
-
"nuxi": "npm:nuxi-edge@3.0.0-
|
|
45
|
+
"nuxi": "npm:nuxi-edge@3.0.0-27333371.c288907",
|
|
46
46
|
"p-debounce": "^4.0.0",
|
|
47
47
|
"pathe": "^0.2.0",
|
|
48
48
|
"postcss": "^8",
|
|
49
49
|
"postcss-import": "^14.0.2",
|
|
50
50
|
"postcss-import-resolver": "^2.0.0",
|
|
51
|
-
"postcss-preset-env": "^7.0.
|
|
51
|
+
"postcss-preset-env": "^7.0.2",
|
|
52
52
|
"postcss-url": "^10.1.3",
|
|
53
53
|
"scule": "^0.2.1",
|
|
54
54
|
"semver": "^7.3.5",
|
|
55
55
|
"ufo": "^0.7.9",
|
|
56
56
|
"unplugin": "^0.2.21",
|
|
57
|
-
"unplugin-vue2-script-setup": "0.8.
|
|
58
|
-
"vite": "^2.7.
|
|
57
|
+
"unplugin-vue2-script-setup": "0.8.3",
|
|
58
|
+
"vite": "^2.7.4",
|
|
59
59
|
"vite-plugin-vue2": "^1.9.0",
|
|
60
60
|
"vue-template-compiler": "^2.6.14"
|
|
61
61
|
},
|