@monkeyplus/flow 5.0.0-rc.24 → 5.0.0-rc.26

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.
@@ -18,6 +18,7 @@ export default eventHandler(async (event) => {
18
18
  const templateContext = {};
19
19
  const dynamic = params?._;
20
20
  const contextPage = {
21
+ chunks,
21
22
  locale
22
23
  };
23
24
  const contextInject = {};
package/dist/index.mjs CHANGED
@@ -29,7 +29,7 @@ import { isExternal as isExternal$1, ExternalsDefaults } from 'externality';
29
29
  import { createHash } from 'node:crypto';
30
30
  import MagicString from 'magic-string';
31
31
 
32
- const version = "5.0.0-rc.24";
32
+ const version = "5.0.0-rc.26";
33
33
 
34
34
  let _distDir = dirname(fileURLToPath(import.meta.url));
35
35
  if (_distDir.endsWith("chunks"))
@@ -518,7 +518,8 @@ async function initNitro(flow) {
518
518
  externals: {
519
519
  inline: [
520
520
  ...flow.options.dev ? [] : ["eta", "@monkeyplus/", "@vue/", "@nuxt/", flow.options.buildDir],
521
- "@monkeyplus/flow/dist"
521
+ "@monkeyplus/flow/dist",
522
+ "C:/Users/gnu/Documents/GitHub/flow/packages/flow/dist/app"
522
523
  ]
523
524
  },
524
525
  alias: {
@@ -1122,6 +1123,8 @@ const buildServer = async (ctx) => {
1122
1123
  "/__vue-jsx",
1123
1124
  "#app",
1124
1125
  /(nuxt|nuxt3)\/(dist|src|app)/,
1126
+ /flow\/(dist|src|app)/,
1127
+ /flow\/modules\/(content|icons|images|netlify|netlify-cms|seo|sitemap|vue)/,
1125
1128
  /@monkeyplus\/flow\/(dist|src|app)/,
1126
1129
  /@nuxt\/nitro\/(dist|src)/
1127
1130
  ]
@@ -1323,6 +1326,7 @@ async function bundleVite(flow) {
1323
1326
  include: []
1324
1327
  },
1325
1328
  build: {
1329
+ ssr: true,
1326
1330
  rollupOptions: {
1327
1331
  output: { sanitizeFileName: sanitizeFilePath },
1328
1332
  input: resolve(flow.options.appDir, "entry")
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@monkeyplus/flow",
3
- "version": "5.0.0-rc.24",
3
+ "version": "5.0.0-rc.26",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "main": "./dist/index.mjs",
@@ -25,9 +25,9 @@
25
25
  "dist"
26
26
  ],
27
27
  "dependencies": {
28
- "@monkeyplus/flow-cli": "5.0.0-rc.24",
29
- "@monkeyplus/flow-kit": "5.0.0-rc.24",
30
- "@monkeyplus/flow-schema": "5.0.0-rc.24",
28
+ "@monkeyplus/flow-cli": "5.0.0-rc.26",
29
+ "@monkeyplus/flow-kit": "5.0.0-rc.26",
30
+ "@monkeyplus/flow-schema": "5.0.0-rc.26",
31
31
  "@rollup/plugin-replace": "^4.0.0",
32
32
  "@vueuse/head": "^0.7.6",
33
33
  "c12": "^0.2.7",
@@ -50,7 +50,7 @@
50
50
  "magic-string": "^0.26.2",
51
51
  "mlly": "^0.5.2",
52
52
  "mri": "^1.2.0",
53
- "nitropack": "^0.4.4",
53
+ "nitropack": "^0.4.8",
54
54
  "pathe": "^0.2.0",
55
55
  "perfect-debounce": "^0.1.3",
56
56
  "radix3": "^0.1.2",