@nuxt/bridge-edge 3.0.0-27366343.1d741cb → 3.0.0-27367930.baa0853
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 +3 -4
- package/dist/chunks/module2.mjs +1 -1
- package/dist/chunks/vite.mjs +1 -1
- package/dist/module.mjs +1 -1
- package/package.json +6 -6
package/dist/chunks/module.mjs
CHANGED
|
@@ -19,7 +19,7 @@ import * as CompositionApi from '@vue/composition-api';
|
|
|
19
19
|
import globby from 'globby';
|
|
20
20
|
import { findExports } from 'mlly';
|
|
21
21
|
import { camelCase } from 'scule';
|
|
22
|
-
import scriptSetupPlugin from 'unplugin-vue2-script-setup';
|
|
22
|
+
import scriptSetupPlugin from 'unplugin-vue2-script-setup/nuxt';
|
|
23
23
|
|
|
24
24
|
class AsyncLoadingPlugin {
|
|
25
25
|
constructor(opts) {
|
|
@@ -1006,16 +1006,15 @@ const setupTranspile = () => {
|
|
|
1006
1006
|
});
|
|
1007
1007
|
};
|
|
1008
1008
|
|
|
1009
|
-
const setupScriptSetup = (options) => {
|
|
1009
|
+
const setupScriptSetup = async (options) => {
|
|
1010
1010
|
const nuxt = useNuxt();
|
|
1011
1011
|
const config = options === true ? {} : options;
|
|
1012
|
-
addVitePlugin(scriptSetupPlugin.vite(config));
|
|
1013
|
-
addWebpackPlugin(scriptSetupPlugin.webpack(config));
|
|
1014
1012
|
nuxt.hook("prepare:types", ({ references }) => {
|
|
1015
1013
|
references.push({
|
|
1016
1014
|
types: "unplugin-vue2-script-setup/types"
|
|
1017
1015
|
});
|
|
1018
1016
|
});
|
|
1017
|
+
await installModule(scriptSetupPlugin, config);
|
|
1019
1018
|
};
|
|
1020
1019
|
|
|
1021
1020
|
const module = defineNuxtModule({
|
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-27367930.baa0853";
|
|
7
7
|
|
|
8
8
|
const middlewareTemplate = {
|
|
9
9
|
filename: "middleware.js",
|
package/dist/chunks/vite.mjs
CHANGED
|
@@ -28,7 +28,7 @@ import 'enhanced-resolve';
|
|
|
28
28
|
import '@vue/composition-api';
|
|
29
29
|
import 'globby';
|
|
30
30
|
import 'scule';
|
|
31
|
-
import 'unplugin-vue2-script-setup';
|
|
31
|
+
import 'unplugin-vue2-script-setup/nuxt';
|
|
32
32
|
|
|
33
33
|
async function warmupViteServer(server, entries) {
|
|
34
34
|
const warmedUrls = /* @__PURE__ */ new Set();
|
package/dist/module.mjs
CHANGED
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-27367930.baa0853",
|
|
4
4
|
"repository": "nuxt/framework",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -19,10 +19,10 @@
|
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@babel/plugin-transform-typescript": "^7.16.8",
|
|
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-27367930.baa0853",
|
|
23
|
+
"@nuxt/nitro": "npm:@nuxt/nitro-edge@3.0.0-27367930.baa0853",
|
|
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-27367930.baa0853",
|
|
26
26
|
"@vitejs/plugin-legacy": "^1.6.4",
|
|
27
27
|
"@vue/composition-api": "^1.4.3",
|
|
28
28
|
"@vueuse/head": "^0.7.4",
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"mlly": "^0.3.17",
|
|
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-27367930.baa0853",
|
|
46
46
|
"p-debounce": "^4.0.0",
|
|
47
47
|
"pathe": "^0.2.0",
|
|
48
48
|
"postcss": "^8",
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"semver": "^7.3.5",
|
|
55
55
|
"ufo": "^0.7.9",
|
|
56
56
|
"unplugin": "^0.3.0",
|
|
57
|
-
"unplugin-vue2-script-setup": "0.
|
|
57
|
+
"unplugin-vue2-script-setup": "0.9.0",
|
|
58
58
|
"vite": "^2.7.10",
|
|
59
59
|
"vite-plugin-vue2": "^1.9.2",
|
|
60
60
|
"vue-template-compiler": "^2.6.14"
|