create-rotor 0.1.0 → 0.1.2

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/index.js CHANGED
@@ -1206,7 +1206,7 @@ var MODULES = {
1206
1206
  envMarker: "ai"
1207
1207
  }
1208
1208
  };
1209
- var VERSION = "0.1.0";
1209
+ var VERSION = "0.1.2";
1210
1210
 
1211
1211
  // src/helpers.ts
1212
1212
  import { existsSync, readFileSync, rmSync, writeFileSync } from "node:fs";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-rotor",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "description": "Scaffold Next.js projects with Bun, Tailwind, Biome, and more",
5
5
  "type": "module",
6
6
  "bin": "dist/index.js",
@@ -4,4 +4,4 @@ import postgres from 'postgres';
4
4
  const connectionString = process.env.DATABASE_URL!;
5
5
  const client = postgres(connectionString);
6
6
 
7
- export const db = drizzle(client);
7
+ export const db = drizzle({ client });
@@ -1,7 +1,7 @@
1
- import { pgTable, serial, text, timestamp } from 'drizzle-orm/pg-core';
1
+ import { integer, pgTable, text, timestamp } from 'drizzle-orm/pg-core';
2
2
 
3
3
  export const posts = pgTable('posts', {
4
- id: serial('id').primaryKey(),
4
+ id: integer('id').primaryKey().generatedAlwaysAsIdentity(),
5
5
  title: text('title').notNull(),
6
6
  content: text('content'),
7
7
  createdAt: timestamp('created_at').defaultNow().notNull(),
@@ -32,7 +32,7 @@
32
32
  "@tailwindcss/postcss": "4.2.1",
33
33
  "@types/node": "25.5.0",
34
34
  "@types/react": "19.2.14",
35
- "@types/react-dom": "19.2.14",
35
+ "@types/react-dom": "19.2.3",
36
36
  "husky": "9.1.7",
37
37
  "lint-staged": "16.4.0",
38
38
  "tailwindcss": "4.2.1",