monorise 1.1.0-dev.3 → 1.1.0-dev.4

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,5 +1,5 @@
1
1
  import { z } from 'zod';
2
- import { Entity as Entity$1, EntitySchemaMap as EntitySchemaMap$1 } from '@monorise/base';
2
+ import { Entity as Entity$1, EntitySchemaMap as EntitySchemaMap$1 } from './index';
3
3
 
4
4
  type WhereOperator = {
5
5
  $eq: string | number | boolean;
package/dist/cli/cli.js CHANGED
@@ -97,7 +97,7 @@ declare module '${moduleName}' {
97
97
  ${schemaMapEntries.join("\n ")}
98
98
  }
99
99
  }`;
100
- const moduleAugmentations = usesCombinedPackage ? augmentationBlock("monorise/base") : augmentationBlock("@monorise/base");
100
+ const moduleAugmentations = usesCombinedPackage ? augmentationBlock("monorise/base") : augmentationBlock("../base/index.js");
101
101
  const configOutputContent = `
102
102
  import type { z } from 'zod';
103
103
  ${imports.join("\n")}
@@ -188,7 +188,7 @@ async function generateHandleFile(monoriseConfig, projectRoot, monoriseOutputDir
188
188
  appHandlerPayload = "{ routes }";
189
189
  }
190
190
  const usesCombinedPackage = detectCombinedPackage(projectRoot);
191
- const coreImportPath = usesCombinedPackage ? "monorise/core" : "@monorise/core";
191
+ const coreImportPath = usesCombinedPackage ? "monorise/core" : "../core/index.js";
192
192
  const combinedContent = `
193
193
  import CoreFactory from '${coreImportPath}';
194
194
  import config from './config';
@@ -2909,7 +2909,7 @@ var initMonoriseStore = () => {
2909
2909
  };
2910
2910
 
2911
2911
  // index.ts
2912
- import { transactional } from "@monorise/base";
2912
+ import { transactional } from "../base/index.js";
2913
2913
  var initMonorise = () => {
2914
2914
  const { monoriseStore: store2, setOptions: setMonoriseOptions } = initMonoriseStore();
2915
2915
  const appActions = initAppActions(store2);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "monorise",
3
- "version": "1.1.0-dev.3",
3
+ "version": "1.1.0-dev.4",
4
4
  "description": "Monorise - A unified package for all Monorise functionality",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",