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.
- package/dist/base/index.d.ts +1 -1
- package/dist/cli/cli.js +2 -2
- package/dist/react/index.js +1 -1
- package/package.json +1 -1
package/dist/base/index.d.ts
CHANGED
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("
|
|
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" : "
|
|
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';
|
package/dist/react/index.js
CHANGED
|
@@ -2909,7 +2909,7 @@ var initMonoriseStore = () => {
|
|
|
2909
2909
|
};
|
|
2910
2910
|
|
|
2911
2911
|
// index.ts
|
|
2912
|
-
import { transactional } from "
|
|
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);
|