@nuxt/bridge-edge 3.0.0-27405808.7825e2a → 3.0.0-27408580.aece351

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.
@@ -633,7 +633,7 @@ function stripCommentsAndStrings(code) {
633
633
  }
634
634
  const TransformPlugin = createUnplugin((ctx) => {
635
635
  return {
636
- name: "nuxt-auto-imports-transform",
636
+ name: "nuxt:auto-imports-transform",
637
637
  enforce: "post",
638
638
  transformInclude(id) {
639
639
  const { pathname, search } = parseURL(id);
@@ -970,8 +970,13 @@ function setupTypescript() {
970
970
  });
971
971
  }
972
972
 
973
- const distDir = dirname(fileURLToPath(import.meta.url));
973
+ let _distDir = dirname(fileURLToPath(import.meta.url));
974
+ if (_distDir.endsWith("chunks")) {
975
+ _distDir = dirname(_distDir);
976
+ }
977
+ const distDir = _distDir;
974
978
  resolve(distDir, "..");
979
+ resolve(distDir, "runtime");
975
980
 
976
981
  const metaModule = defineNuxtModule({
977
982
  meta: {
@@ -4,7 +4,7 @@ import hash from 'hash-sum';
4
4
  import { resolve } from 'pathe';
5
5
  import { genImport, genObjectFromRawEntries } from 'knitwork';
6
6
 
7
- const version = "3.0.0-27405808.7825e2a";
7
+ const version = "3.0.0-27408580.aece351";
8
8
 
9
9
  const middlewareTemplate = {
10
10
  filename: "middleware.js",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nuxt/bridge-edge",
3
- "version": "3.0.0-27405808.7825e2a",
3
+ "version": "3.0.0-27408580.aece351",
4
4
  "repository": "nuxt/framework",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -21,10 +21,10 @@
21
21
  "@babel/plugin-proposal-nullish-coalescing-operator": "^7.16.7",
22
22
  "@babel/plugin-proposal-optional-chaining": "^7.16.7",
23
23
  "@babel/plugin-transform-typescript": "^7.16.8",
24
- "@nuxt/kit": "npm:@nuxt/kit-edge@3.0.0-27405808.7825e2a",
25
- "@nuxt/nitro": "npm:@nuxt/nitro-edge@3.0.0-27405808.7825e2a",
24
+ "@nuxt/kit": "npm:@nuxt/kit-edge@3.0.0-27408580.aece351",
25
+ "@nuxt/nitro": "npm:@nuxt/nitro-edge@3.0.0-27408580.aece351",
26
26
  "@nuxt/postcss8": "^1.1.3",
27
- "@nuxt/schema": "npm:@nuxt/schema-edge@3.0.0-27405808.7825e2a",
27
+ "@nuxt/schema": "npm:@nuxt/schema-edge@3.0.0-27408580.aece351",
28
28
  "@vitejs/plugin-legacy": "^1.6.4",
29
29
  "@vue/composition-api": "^1.4.6",
30
30
  "@vueuse/head": "^0.7.5",
@@ -46,7 +46,7 @@
46
46
  "mlly": "^0.4.2",
47
47
  "murmurhash-es": "^0.1.1",
48
48
  "node-fetch": "^3.2.0",
49
- "nuxi": "npm:nuxi-edge@3.0.0-27405808.7825e2a",
49
+ "nuxi": "npm:nuxi-edge@3.0.0-27408580.aece351",
50
50
  "p-debounce": "^4.0.0",
51
51
  "pathe": "^0.2.0",
52
52
  "postcss": "^8",