@kaushalparajuli/react-crud-ui 1.0.19 → 1.0.20

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 +3 -3
  2. package/package.json +1 -1
package/bin/cli.js CHANGED
@@ -141,7 +141,7 @@ export default function ${moduleNamePascal}ListPage() {
141
141
  `;
142
142
 
143
143
  const formPageTemplate = `import { Box } from 'lucide-react';
144
- import { CrudForm, QInput, QTextarea, QSwitch, rules } from '@kaushalparajuli/react-crud-ui';
144
+ import { CrudForm, QInput, QTextarea, QSwitch } from '@kaushalparajuli/react-crud-ui';
145
145
  import use${moduleNamePascal}Store from '@/stores/use${moduleNamePascal}Store';
146
146
 
147
147
  export default function ${moduleNamePascal}FormPage() {
@@ -281,8 +281,8 @@ export default use${moduleNamePascal}Store;
281
281
  { path: path.join(pagesDir, `${moduleNamePascal}ListPage.jsx`), content: listPageTemplate },
282
282
  { path: path.join(pagesDir, `${moduleNamePascal}FormPage.jsx`), content: formPageTemplate },
283
283
  { path: path.join(pagesDir, `${moduleNamePascal}DetailPage.jsx`), content: detailPageTemplate },
284
- { path: path.join(routesDir, `${moduleNameCamel}Routes.js`), content: routesTemplate },
285
- { path: path.join(storesDir, `use${moduleNamePascal}Store.js`), content: storeTemplate },
284
+ { path: path.join(routesDir, `${moduleNameCamel}Routes.jsx`), content: routesTemplate },
285
+ { path: path.join(storesDir, `use${moduleNamePascal}Store.jsx`), content: storeTemplate },
286
286
  ];
287
287
 
288
288
  console.log(`\nšŸš€ Generating ${moduleNamePascal} module...\n`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kaushalparajuli/react-crud-ui",
3
- "version": "1.0.19",
3
+ "version": "1.0.20",
4
4
  "description": "A comprehensive React CRUD and UI component library with Zustand store integration",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",