@monkeyplus/flow 6.0.63 → 6.0.65

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.
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@monkeyplus/flow",
3
- "version": "6.0.63",
3
+ "version": "6.0.65",
4
4
  "description": "@monkeyplus/flow package-first runtime with Vite, Nitro, Vue and a workspace playground.",
5
5
  "license": "MIT",
6
6
  "publishConfig": {
@@ -82,6 +82,10 @@
82
82
  "./styles.css": "./src/styles.css",
83
83
  "./package.json": "./package.json"
84
84
  },
85
+ "imports": {
86
+ "#strapi": "./modules/strapi/runtime/client.mjs",
87
+ "#cms-utils/*": "./cms/server/utils/*.mjs"
88
+ },
85
89
  "main": "./src/public/index.mjs",
86
90
  "types": "./src/public/index.d.ts",
87
91
  "dependencies": {
@@ -23,7 +23,7 @@ export function createFlowNitroConfig(options = {}) {
23
23
  ...flowModules.nitro.hooks
24
24
  };
25
25
  const configuredNoExternals = Array.isArray(flowNitroConfig.noExternals) ? flowNitroConfig.noExternals : [];
26
- const flowPackagePattern = /^@monkeyplus\/flow(?:\/.*)?$/;
26
+ const flowPackagePattern = "@monkeyplus/flow";
27
27
  const flowRuntimeConfig = typeof flowModules.nitro.runtimeConfig.flow === "object" && flowModules.nitro.runtimeConfig.flow ? flowModules.nitro.runtimeConfig.flow : {};
28
28
  const moduleRuntimeConfig = { ...flowModules.nitro.runtimeConfig };
29
29
  delete moduleRuntimeConfig.flow;
@@ -304,7 +304,7 @@ export function createFlowViteConfig(options = {}) {
304
304
  typescript: { generateTsConfig: true, ...baseNitroConfig.typescript || {} }
305
305
  };
306
306
  const flowNitroHooks = flowNitroConfig.hooks || {};
307
- const flowPackagePattern = /^@monkeyplus\/flow(?:\/.*)?$/;
307
+ const flowPackagePattern = "@monkeyplus/flow";
308
308
  const userPrerenderRoutesHook = typeof flowNitroHooks["prerender:routes"] === "function" ? flowNitroHooks["prerender:routes"] : void 0;
309
309
  const configuredServer = flowConfig.server || {};
310
310
  const moduleServer = flowModules.vite.server || { watch: { additionalPaths: [] } };