@alevnyacow/nzmt 0.0.23 → 0.0.24

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.
Files changed (2) hide show
  1. package/bin/cli.js +1 -1
  2. package/package.json +1 -1
package/bin/cli.js CHANGED
@@ -101,7 +101,7 @@ function generateStores(lowerCase, upperCase) {
101
101
  fs.writeFileSync(path.resolve(folder, `${entityName}.store.ts`), [
102
102
  "import z from 'zod'",
103
103
  "import { Store } from '@alevnyacow/nzmt'",
104
- config?.paths?.entities ? `import ${upperCase} from ${config?.paths?.entities.replace('./src', '@')}/${entityName}` : undefined,
104
+ config?.paths?.entities ? `import { ${upperCase} } from '${config?.paths?.entities.replace('./src', '@')}/${entityName}'` : undefined,
105
105
  "",
106
106
  `export const ${lowerCase}StoreMetadata = {`,
107
107
  "\tmodels: {",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alevnyacow/nzmt",
3
- "version": "0.0.23",
3
+ "version": "0.0.24",
4
4
  "description": "Next Zod Modules Toolkit",
5
5
  "type": "module",
6
6
  "exports": {