vue-ssr-lite 0.1.1 → 0.1.2

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.
@@ -1 +1 @@
1
- {"version":3,"file":"SsrVitePlugin.d.ts","sourceRoot":"","sources":["../../src/vite/SsrVitePlugin.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,MAAM,CAAA;AAIlC,MAAM,WAAW,uBAAuB;IACtC,EAAE,EAAE,MAAM,CAAA;IACV,UAAU,EAAE,MAAM,CAAA;IAClB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,QAAQ,EAAE,MAAM,CAAA;IAChB,aAAa,CAAC,EAAE,MAAM,CAAA;CACvB;AAED,MAAM,WAAW,oBAAoB;IACnC,YAAY,EAAE,uBAAuB,EAAE,CAAA;IACvC,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;IACnC,IAAI,CAAC,EAAE,MAAM,CAAA;CACd;AAKD,eAAO,MAAM,UAAU,GAAI,SAAS,oBAAoB,KAAG,MAmH1D,CAAA"}
1
+ {"version":3,"file":"SsrVitePlugin.d.ts","sourceRoot":"","sources":["../../src/vite/SsrVitePlugin.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,MAAM,CAAA;AAIlC,MAAM,WAAW,uBAAuB;IACtC,EAAE,EAAE,MAAM,CAAA;IACV,UAAU,EAAE,MAAM,CAAA;IAClB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,QAAQ,EAAE,MAAM,CAAA;IAChB,aAAa,CAAC,EAAE,MAAM,CAAA;CACvB;AAED,MAAM,WAAW,oBAAoB;IACnC,YAAY,EAAE,uBAAuB,EAAE,CAAA;IACvC,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;IACnC,IAAI,CAAC,EAAE,MAAM,CAAA;CACd;AAKD,eAAO,MAAM,UAAU,GAAI,SAAS,oBAAoB,KAAG,MAsH1D,CAAA"}
package/dist/vite.mjs CHANGED
@@ -37,10 +37,14 @@ const p = "virtual:vue-ssr-lite/client/", m = `\0${p}`, g = (i) => {
37
37
  "graphql",
38
38
  "vue",
39
39
  "vue-apollo-client",
40
+ "vue-ssr-lite",
40
41
  "vue-router"
41
42
  ]
42
43
  },
43
44
  ssr: {
45
+ // The managed server imports vue-ssr-lite through Node. Keep the
46
+ // consumer SSR module on that same package instance so InjectionKey
47
+ // symbols and other runtime identity-sensitive values stay shared.
44
48
  noExternal: [
45
49
  "@apollo/client",
46
50
  "@vue/apollo-composable",
@@ -50,7 +54,6 @@ const p = "virtual:vue-ssr-lite/client/", m = `\0${p}`, g = (i) => {
50
54
  "optimism",
51
55
  "ts-invariant",
52
56
  "vue-apollo-client",
53
- "vue-ssr-lite",
54
57
  /^@wry\//
55
58
  ]
56
59
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vue-ssr-lite",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "Fully managed Vue 3 SSR runtime with routing, Apollo hydration, Vite, and Node server lifecycle.",
5
5
  "license": "MIT",
6
6
  "type": "module",