@monkeyplus/flow 6.0.75 → 6.0.77

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.
@@ -35,7 +35,6 @@ export function defineCmsPosts(options) {
35
35
  return (ctx) => {
36
36
  const setupFn = options.setup(ctx);
37
37
  const group = "posts";
38
- console.log("preview...", options.preview);
39
38
  const collectionFn = setupFn(join(group, options.dir));
40
39
  return (baseDir, ctx2) => {
41
40
  const collection = collectionFn(baseDir, ctx2);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@monkeyplus/flow",
3
- "version": "6.0.75",
3
+ "version": "6.0.77",
4
4
  "description": "@monkeyplus/flow package-first runtime with Vite, Nitro, Vue and a workspace playground.",
5
5
  "license": "MIT",
6
6
  "publishConfig": {
@@ -12,9 +12,9 @@ import { loadFlowModules } from "../runtime/modules.mjs";
12
12
  import { getPrerenderRoutes } from "../runtime/page-discovery.mjs";
13
13
  import {
14
14
  createVirtualBaseTemplatesModule,
15
- createVirtualConfigModule,
16
15
  createVirtualClientPageAssetsModule,
17
16
  createVirtualClientPagesModule,
17
+ createVirtualConfigModule,
18
18
  createVirtualIslandsModule,
19
19
  createVirtualLayoutContextsModule,
20
20
  createVirtualLayoutsModule,
@@ -361,7 +361,7 @@ export function createFlowViteConfig(options = {}) {
361
361
  Vue(),
362
362
  ui({
363
363
  ...uiOptions,
364
- router: uiOptions.router || false,
364
+ router: uiOptions.router ?? false,
365
365
  components: {
366
366
  dts: resolve(projectRoot, ".flow/types/components.d.ts"),
367
367
  ...options.userFlowConfig?.components,
@@ -371,7 +371,7 @@ export function createFlowViteConfig(options = {}) {
371
371
  ...options.userFlowConfig?.components?.resolvers || []
372
372
  ]
373
373
  },
374
- prose: uiOptions.prose || true,
374
+ prose: uiOptions.prose ?? false,
375
375
  autoImport: {
376
376
  dts: resolve(projectRoot, ".flow/types/auto-imports.d.ts"),
377
377
  imports: [