@sidgaikwad/orm-setup 1.0.0 → 2.1.0

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/prompts.d.ts CHANGED
@@ -1,13 +1,14 @@
1
1
  import type { ProjectInfo } from "./detector";
2
+ type OrmType = "drizzle" | "prisma" | "kysely";
3
+ type DatabaseType = "postgresql" | "mysql" | "sqlite";
4
+ type TemplateType = "empty" | "starter" | "blog" | "ecommerce" | "saas";
2
5
  export interface SetupConfig {
3
6
  orm: OrmType;
4
7
  database: DatabaseType;
5
- includeSchema: boolean;
8
+ template: TemplateType;
6
9
  includeStudio: boolean;
7
10
  clientPath?: string;
8
11
  }
9
- type OrmType = "drizzle" | "prisma" | "kysely";
10
- type DatabaseType = "postgresql" | "mysql" | "sqlite";
11
12
  export declare function promptOrmSetup(project: ProjectInfo): Promise<SetupConfig>;
12
13
  export {};
13
14
  //# sourceMappingURL=prompts.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"prompts.d.ts","sourceRoot":"","sources":["../src/prompts.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAE9C,MAAM,WAAW,WAAW;IAC1B,GAAG,EAAE,OAAO,CAAC;IACb,QAAQ,EAAE,YAAY,CAAC;IACvB,aAAa,EAAE,OAAO,CAAC;IACvB,aAAa,EAAE,OAAO,CAAC;IACvB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,KAAK,OAAO,GAAG,SAAS,GAAG,QAAQ,GAAG,QAAQ,CAAC;AAC/C,KAAK,YAAY,GAAG,YAAY,GAAG,OAAO,GAAG,QAAQ,CAAC;AAEtD,wBAAsB,cAAc,CAClC,OAAO,EAAE,WAAW,GACnB,OAAO,CAAC,WAAW,CAAC,CAsEtB"}
1
+ {"version":3,"file":"prompts.d.ts","sourceRoot":"","sources":["../src/prompts.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAE9C,KAAK,OAAO,GAAG,SAAS,GAAG,QAAQ,GAAG,QAAQ,CAAC;AAC/C,KAAK,YAAY,GAAG,YAAY,GAAG,OAAO,GAAG,QAAQ,CAAC;AACtD,KAAK,YAAY,GAAG,OAAO,GAAG,SAAS,GAAG,MAAM,GAAG,WAAW,GAAG,MAAM,CAAC;AAExE,MAAM,WAAW,WAAW;IAC1B,GAAG,EAAE,OAAO,CAAC;IACb,QAAQ,EAAE,YAAY,CAAC;IACvB,QAAQ,EAAE,YAAY,CAAC;IACvB,aAAa,EAAE,OAAO,CAAC;IACvB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,wBAAsB,cAAc,CAClC,OAAO,EAAE,WAAW,GACnB,OAAO,CAAC,WAAW,CAAC,CAyGtB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sidgaikwad/orm-setup",
3
- "version": "1.0.0",
3
+ "version": "2.1.0",
4
4
  "description": "Framework-agnostic CLI for setting up Drizzle, Prisma, or Kysely ORM with best practices",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",