Skip to content

The open alternative to Salesforce, designed for AI.

Update dizzle-kit and drizzle-orm to avoid the dependency on Hono. (#15343)

Abdullah.f7a80d250b16
diff --git a/package.json b/package.json
index ca975a260a2..e2912f12e84 100644
--- a/package.json
+++ b/package.json
@@ -17,7 +17,6 @@
"date-fns": "^2.30.0",
"date-fns-tz": "^2.0.0",
"deep-equal": "^2.2.2",
- "drizzle-orm": "^0.29.3",
"file-type": "16.5.4",
"framer-motion": "^11.18.0",
"fuse.js": "^7.1.0",
diff --git a/packages/twenty-website/package.json b/packages/twenty-website/package.json
index 2643b05d7a6..efd7165259c 100644
--- a/packages/twenty-website/package.json
+++ b/packages/twenty-website/package.json
@@ -10,7 +10,7 @@
"github:sync": "npx tsx src/github/github-sync.ts",
"github:init": "npx tsx src/github/github-sync.ts --isFullSync",
"database:migrate": "npx tsx src/database/migrate-database.ts",
- "database:generate:pg": "npx drizzle-kit generate:pg --config=src/database/drizzle-posgres.config.ts"
+ "database:generate:pg": "npx drizzle-kit generate --config=src/database/drizzle-posgres.config.ts"
},
"dependencies": {
"@codesandbox/sandpack-react": "^2.13.5",
@@ -20,7 +20,7 @@
"@markdoc/markdoc": "^0.5.1",
"@nivo/calendar": "^0.99.0",
"date-fns": "^2.30.0",
- "drizzle-kit": "^0.20.14",
+ "drizzle-orm": "^0.44.7",
"facepaint": "^1.2.1",
"gray-matter": "^4.0.3",
"next": "^14.2.25",
@@ -33,6 +33,7 @@
"devDependencies": {
"@next/eslint-plugin-next": "^14.2.0",
"@types/facepaint": "^1.2.5",
+ "drizzle-kit": "^0.31.5",
"eslint-config-next": "^14.2.0"
}
}
diff --git a/packages/twenty-website/src/database/database.ts b/packages/twenty-website/src/database/database.ts
index 8f0ba06989c..ed90f39cafd 100644
--- a/packages/twenty-website/src/database/database.ts
+++ b/packages/twenty-website/src/database/database.ts
@@ -2,14 +2,15 @@ import { global } from '@apollo/client/utilities/globals';
import { drizzle, type PostgresJsDatabase } from 'drizzle-orm/postgres-js';
import { migrate as postgresMigrate } from 'drizzle-orm/postgres-js/migrator';
import postgres from 'postgres';
+import * as schema from './schema-postgres';
import 'dotenv/config';
-let pgDb: PostgresJsDatabase;
+let pgDb: PostgresJsDatabase<typeof schema>;
if (global.process.env.DATABASE_PG_URL) {
const pgClient = postgres(`${global.process.env.DATABASE_PG_URL}`);
- pgDb = drizzle(pgClient, { logger: false });
+ pgDb = drizzle(pgClient, { schema, logger: false });
}
const migrate = async () => {
diff --git a/packages/twenty-website/src/database/drizzle-posgres.config.ts b/packages/twenty-website/src/database/drizzle-posgres.config.ts
index 3ad9a7c9832..efcdd7aa3da 100644
--- a/packages/twenty-website/src/database/drizzle-posgres.config.ts
+++ b/packages/twenty-website/src/database/drizzle-posgres.config.ts
@@ -1,14 +1,17 @@
-import { type Config } from 'drizzle-kit';
+import "dotenv/config";
+import { type Config } from "drizzle-kit";
-import 'dotenv/config';
+const dbUrl = new URL(process.env.DATABASE_PG_URL!);
-const pgConfig = {
- schema: './src/database/schema-postgres.ts',
- out: './src/database/migrations',
- driver: 'pg',
+export default {
+ schema: "./src/database/schema-postgres.ts",
+ out: "./src/database/migrations",
+ dialect: "postgresql",
dbCredentials: {
- connectionString: process.env.DATABASE_PG_URL ?? '',
+ host: dbUrl.hostname,
+ port: Number(dbUrl.port),
+ user: dbUrl.username,
+ password: dbUrl.password,
+ database: dbUrl.pathname.slice(1),
},
} satisfies Config;
-
-export default pgConfig;
diff --git a/packages/twenty-website/src/database/migrations/meta/0000_snapshot.json b/packages/twenty-website/src/database/migrations/meta/0000_snapshot.json
index a407c9bd32f..133df527948 100644
--- a/packages/twenty-website/src/database/migrations/meta/0000_snapshot.json
+++ b/packages/twenty-website/src/database/migrations/meta/0000_snapshot.json
@@ -1,10 +1,8 @@
{
- "id": "a7895a79-44a3-4fad-b750-f89d8c04d85c",
- "prevId": "00000000-0000-0000-0000-000000000000",
- "version": "5",
- "dialect": "pg",
+ "version": "7",
+ "dialect": "postgresql",
"tables": {
- "issueLabels": {
+ "public.issueLabels": {
"name": "issueLabels",
"schema": "",
"columns": {
@@ -26,26 +24,37 @@
"issueLabels_issueId_issues_id_fk": {
"name": "issueLabels_issueId_issues_id_fk",
"tableFrom": "issueLabels",
+ "columnsFrom": [
+ "issueId"
+ ],
"tableTo": "issues",
- "columnsFrom": ["issueId"],
- "columnsTo": ["id"],
- "onDelete": "no action",
- "onUpdate": "no action"
+ "columnsTo": [
+ "id"
+ ],
+ "onUpdate": "no action",
+ "onDelete": "no action"
},
"issueLabels_labelId_labels_id_fk": {
"name": "issueLabels_labelId_labels_id_fk",
"tableFrom": "issueLabels",
+ "columnsFrom": [
+ "labelId"
+ ],
"tableTo": "labels",
- "columnsFrom": ["labelId"],
- "columnsTo": ["id"],
- "onDelete": "no action",
- "onUpdate": "no action"
+ "columnsTo": [
+ "id"
+ ],
+ "onUpdate": "no action",
+ "onDelete": "no action"
}
},
"compositePrimaryKeys": {},
- "uniqueConstraints": {}
+ "uniqueConstraints": {},
+ "policies": {},
+ "isRLSEnabled": false,
+ "checkConstraints": {}
},
- "issues": {
+ "public.issues": {
"name": "issues",
"schema": "",
"columns": {
@@ -109,17 +118,24 @@
"issues_authorId_users_id_fk": {
"name": "issues_authorId_users_id_fk",
"tableFrom": "issues",
+ "columnsFrom": [
+ "authorId"
+ ],
"tableTo": "users",
- "columnsFrom": ["authorId"],
- "columnsTo": ["id"],
- "onDelete": "no action",
- "onUpdate": "no action"
+ "columnsTo": [
+ "id"
+ ],
+ "onUpdate": "no action",
+ "onDelete": "no action"
}
},
"compositePrimaryKeys": {},
- "uniqueConstraints": {}
+ "uniqueConstraints": {},
+ "policies": {},
+ "isRLSEnabled": false,
+ "checkConstraints": {}
},
- "labels": {
+ "public.labels": {
"name": "labels",
"schema": "",
"columns": {
@@ -157,9 +173,12 @@
"indexes": {},
"foreignKeys": {},
"compositePrimaryKeys": {},
- "uniqueConstraints": {}
+ "uniqueConstraints": {},
+ "policies": {},
+ "isRLSEnabled": false,
+ "checkConstraints": {}
},
- "pullRequestLabels": {
+ "public.pullRequestLabels": {
"name": "pullRequestLabels",
"schema": "",
"columns": {
@@ -181,26 +200,37 @@
"pullRequestLabels_pullRequestExternalId_pullRequests_id_fk": {
"name": "pullRequestLabels_pullRequestExternalId_pullRequests_id_fk",
"tableFrom": "pullRequestLabels",
+ "columnsFrom": [
+ "pullRequestExternalId"
+ ],
"tableTo": "pullRequests",
- "columnsFrom": ["pullRequestExternalId"],
- "columnsTo": ["id"],
- "onDelete": "no action",
- "onUpdate": "no action"
+ "columnsTo": [
+ "id"
+ ],
+ "onUpdate": "no action",
+ "onDelete": "no action"
},
"pullRequestLabels_labelId_labels_id_fk": {
"name": "pullRequestLabels_labelId_labels_id_fk",
"tableFrom": "pullRequestLabels",
+ "columnsFrom": [
+ "labelId"
+ ],
"tableTo": "labels",
- "columnsFrom": ["labelId"],
- "columnsTo": ["id"],
- "onDelete": "no action",
- "onUpdate": "no action"
+ "columnsTo": [
+ "id"
+ ],
+ "onUpdate": "no action",
+ "onDelete": "no action"
}
},
"compositePrimaryKeys": {},
- "uniqueConstraints": {}
+ "uniqueConstraints": {},
+ "policies": {},
+ "isRLSEnabled": false,
+ "checkConstraints": {}
},
- "pullRequests": {
+ "public.pullRequests": {
"name": "pullRequests",
"schema": "",
"columns": {
@@ -264,17 +294,24 @@
"pullRequests_authorId_users_id_fk": {
"name": "pullRequests_authorId_users_id_fk",
"tableFrom": "pullRequests",
+ "columnsFrom": [
+ "authorId"
+ ],
"tableTo": "users",
- "columnsFrom": ["authorId"],
- "columnsTo": ["id"],
- "onDelete": "no action",
- "onUpdate": "no action"
+ "columnsTo": [
+ "id"
+ ],
+ "onUpdate": "no action",
+ "onDelete": "no action"
}
},
"compositePrimaryKeys": {},
- "uniqueConstraints": {}
+ "uniqueConstraints": {},
+ "policies": {},
+ "isRLSEnabled": false,
+ "checkConstraints": {}
},
- "users": {
+ "public.users": {
"name": "users",
"schema": "",
"columns": {
@@ -306,14 +343,23 @@
"indexes": {},
"foreignKeys": {},
"compositePrimaryKeys": {},
- "uniqueConstraints": {}
+ "uniqueConstraints": {},
+ "policies": {},
+ "isRLSEnabled": false,
+ "checkConstraints": {}
}
},
"enums": {},
"schemas": {},
"_meta": {
- "columns": {},
"schemas": {},
- "tables": {}
- }
-}
+ "tables": {},
+ "columns": {}
+ },
+ "id": "a7895a79-44a3-4fad-b750-f89d8c04d85c",
+ "prevId": "00000000-0000-0000-0000-000000000000",
+ "sequences": {},
+ "policies": {},
+ "views": {},
+ "roles": {}
+}
\ No newline at end of file
diff --git a/packages/twenty-website/src/database/migrations/meta/0003_snapshot.json b/packages/twenty-website/src/database/migrations/meta/0003_snapshot.json
index b5270f75e30..ec1e1da4d46 100644
--- a/packages/twenty-website/src/database/migrations/meta/0003_snapshot.json
+++ b/packages/twenty-website/src/database/migrations/meta/0003_snapshot.json
@@ -1,10 +1,8 @@
{
- "id": "b3a89784-eb82-49d8-b081-31c49e6906dc",
- "prevId": "a7895a79-44a3-4fad-b750-f89d8c04d85c",
- "version": "5",
- "dialect": "pg",
+ "version": "7",
+ "dialect": "postgresql",
"tables": {
- "githubReleases": {
+ "public.githubReleases": {
"name": "githubReleases",
"schema": "",
"columns": {
@@ -24,9 +22,12 @@
"indexes": {},
"foreignKeys": {},
"compositePrimaryKeys": {},
- "uniqueConstraints": {}
+ "uniqueConstraints": {},
+ "policies": {},
+ "isRLSEnabled": false,
+ "checkConstraints": {}
},
- "githubStars": {
+ "public.githubStars": {
"name": "githubStars",
"schema": "",
"columns": {
@@ -47,9 +48,12 @@
"indexes": {},
"foreignKeys": {},
"compositePrimaryKeys": {},
- "uniqueConstraints": {}
+ "uniqueConstraints": {},
+ "policies": {},
+ "isRLSEnabled": false,
+ "checkConstraints": {}
},
- "issueLabels": {
+ "public.issueLabels": {
"name": "issueLabels",
"schema": "",
"columns": {
@@ -71,26 +75,37 @@
"issueLabels_issueId_issues_id_fk": {
"name": "issueLabels_issueId_issues_id_fk",
"tableFrom": "issueLabels",
+ "columnsFrom": [
+ "issueId"
+ ],
"tableTo": "issues",
- "columnsFrom": ["issueId"],
- "columnsTo": ["id"],
- "onDelete": "no action",
- "onUpdate": "no action"
+ "columnsTo": [
+ "id"
+ ],
+ "onUpdate": "no action",
+ "onDelete": "no action"
},
"issueLabels_labelId_labels_id_fk": {
"name": "issueLabels_labelId_labels_id_fk",
"tableFrom": "issueLabels",
+ "columnsFrom": [
+ "labelId"
+ ],
"tableTo": "labels",
- "columnsFrom": ["labelId"],
- "columnsTo": ["id"],
- "onDelete": "no action",
- "onUpdate": "no action"
+ "columnsTo": [
+ "id"
+ ],
+ "onUpdate": "no action",
+ "onDelete": "no action"
}
},
"compositePrimaryKeys": {},
- "uniqueConstraints": {}
+ "uniqueConstraints": {},
+ "policies": {},
+ "isRLSEnabled": false,
+ "checkConstraints": {}
},
- "issues": {
+ "public.issues": {
"name": "issues",
"schema": "",
"columns": {
@@ -154,17 +169,24 @@
"issues_authorId_users_id_fk": {
"name": "issues_authorId_users_id_fk",
"tableFrom": "issues",
+ "columnsFrom": [
+ "authorId"
+ ],
"tableTo": "users",
- "columnsFrom": ["authorId"],
- "columnsTo": ["id"],
- "onDelete": "no action",
- "onUpdate": "no action"
+ "columnsTo": [
+ "id"
+ ],
+ "onUpdate": "no action",
+ "onDelete": "no action"
}
},
"compositePrimaryKeys": {},
- "uniqueConstraints": {}
+ "uniqueConstraints": {},
+ "policies": {},
+ "isRLSEnabled": false,
+ "checkConstraints": {}
},
- "labels": {
+ "public.labels": {
"name": "labels",
"schema": "",
"columns": {
@@ -202,9 +224,12 @@
"indexes": {},
"foreignKeys": {},
"compositePrimaryKeys": {},
- "uniqueConstraints": {}
+ "uniqueConstraints": {},
+ "policies": {},
+ "isRLSEnabled": false,
+ "checkConstraints": {}
},
- "pullRequestLabels": {
+ "public.pullRequestLabels": {
"name": "pullRequestLabels",
"schema": "",
"columns": {
@@ -226,26 +251,37 @@
"pullRequestLabels_pullRequestExternalId_pullRequests_id_fk": {
"name": "pullRequestLabels_pullRequestExternalId_pullRequests_id_fk",
"tableFrom": "pullRequestLabels",
+ "columnsFrom": [
+ "pullRequestExternalId"
+ ],
"tableTo": "pullRequests",
- "columnsFrom": ["pullRequestExternalId"],
- "columnsTo": ["id"],
- "onDelete": "no action",
- "onUpdate": "no action"
+ "columnsTo": [
+ "id"
+ ],
+ "onUpdate": "no action",
+ "onDelete": "no action"
},
"pullRequestLabels_labelId_labels_id_fk": {
"name": "pullRequestLabels_labelId_labels_id_fk",
"tableFrom": "pullRequestLabels",
+ "columnsFrom": [
+ "labelId"
+ ],
"tableTo": "labels",
- "columnsFrom": ["labelId"],
- "columnsTo": ["id"],
- "onDelete": "no action",
- "onUpdate": "no action"
+ "columnsTo": [
+ "id"
+ ],
+ "onUpdate": "no action",
+ "onDelete": "no action"
}
},
"compositePrimaryKeys": {},
- "uniqueConstraints": {}
+ "uniqueConstraints": {},
+ "policies": {},
+ "isRLSEnabled": false,
+ "checkConstraints": {}
},
- "pullRequests": {
+ "public.pullRequests": {
"name": "pullRequests",
"schema": "",
"columns": {
@@ -309,17 +345,24 @@
"pullRequests_authorId_users_id_fk": {
"name": "pullRequests_authorId_users_id_fk",
"tableFrom": "pullRequests",
+ "columnsFrom": [
+ "authorId"
+ ],
"tableTo": "users",
- "columnsFrom": ["authorId"],
- "columnsTo": ["id"],
- "onDelete": "no action",
- "onUpdate": "no action"
+ "columnsTo": [
+ "id"
+ ],
+ "onUpdate": "no action",
+ "onDelete": "no action"
}
},
"compositePrimaryKeys": {},
- "uniqueConstraints": {}
+ "uniqueConstraints": {},
+ "policies": {},
+ "isRLSEnabled": false,
+ "checkConstraints": {}
},
- "users": {
+ "public.users": {
"name": "users",
"schema": "",
"columns": {
@@ -351,14 +394,23 @@
"indexes": {},
"foreignKeys": {},
"compositePrimaryKeys": {},
- "uniqueConstraints": {}
+ "uniqueConstraints": {},
+ "policies": {},
+ "isRLSEnabled": false,
+ "checkConstraints": {}
}
},
"enums": {},
"schemas": {},
"_meta": {
- "columns": {},
"schemas": {},
- "tables": {}
- }
-}
+ "tables": {},
+ "columns": {}
+ },
+ "id": "b3a89784-eb82-49d8-b081-31c49e6906dc",
+ "prevId": "a7895a79-44a3-4fad-b750-f89d8c04d85c",
+ "sequences": {},
+ "policies": {},
+ "views": {},
+ "roles": {}
+}
\ No newline at end of file
diff --git a/yarn.lock b/yarn.lock
index e02dbc9e985..640be7f7b0a 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -4174,6 +4174,13 @@ __metadata:
languageName: node
linkType: hard
+"@drizzle-team/brocli@npm:^0.10.2":
+ version: 0.10.2
+ resolution: "@drizzle-team/brocli@npm:0.10.2"
+ checksum: 10c0/3d8b99d680f0b14fea32b45c59b938b6665e0840cc67f04801b1aa3c6747da3c7d01c00e321645034fa100abdba7e0c20ce07cf46fc2ca769ee4cafd97562484
+ languageName: node
+ linkType: hard
+
"@emnapi/core@npm:^1.1.0, @emnapi/core@npm:^1.4.3, @emnapi/core@npm:^1.4.5":
version: 1.4.5
resolution: "@emnapi/core@npm:1.4.5"
@@ -4475,13 +4482,6 @@ __metadata:
languageName: node
linkType: hard
-"@esbuild/aix-ppc64@npm:0.19.12":
- version: 0.19.12
- resolution: "@esbuild/aix-ppc64@npm:0.19.12"
- conditions: os=aix & cpu=ppc64
- languageName: node
- linkType: hard
-
"@esbuild/aix-ppc64@npm:0.21.5":
version: 0.21.5
resolution: "@esbuild/aix-ppc64@npm:0.21.5"
@@ -4503,6 +4503,13 @@ __metadata:
languageName: node
linkType: hard
+"@esbuild/aix-ppc64@npm:0.25.11":
+ version: 0.25.11
+ resolution: "@esbuild/aix-ppc64@npm:0.25.11"
+ conditions: os=aix & cpu=ppc64
+ languageName: node
+ linkType: hard
+
"@esbuild/aix-ppc64@npm:0.25.5":
version: 0.25.5
resolution: "@esbuild/aix-ppc64@npm:0.25.5"
@@ -4524,13 +4531,6 @@ __metadata:
languageName: node
linkType: hard
-"@esbuild/android-arm64@npm:0.19.12":
- version: 0.19.12
- resolution: "@esbuild/android-arm64@npm:0.19.12"
- conditions: os=android & cpu=arm64
- languageName: node
- linkType: hard
-
"@esbuild/android-arm64@npm:0.21.5":
version: 0.21.5
resolution: "@esbuild/android-arm64@npm:0.21.5"
@@ -4552,6 +4552,13 @@ __metadata:
languageName: node
linkType: hard
+"@esbuild/android-arm64@npm:0.25.11":
+ version: 0.25.11
+ resolution: "@esbuild/android-arm64@npm:0.25.11"
+ conditions: os=android & cpu=arm64
+ languageName: node
+ linkType: hard
+
"@esbuild/android-arm64@npm:0.25.5":
version: 0.25.5
resolution: "@esbuild/android-arm64@npm:0.25.5"
@@ -4573,13 +4580,6 @@ __metadata:
languageName: node
linkType: hard
-"@esbuild/android-arm@npm:0.19.12":
- version: 0.19.12
- resolution: "@esbuild/android-arm@npm:0.19.12"
- conditions: os=android & cpu=arm
- languageName: node
- linkType: hard
-
"@esbuild/android-arm@npm:0.21.5":
version: 0.21.5
resolution: "@esbuild/android-arm@npm:0.21.5"
@@ -4601,6 +4601,13 @@ __metadata:
languageName: node
linkType: hard
+"@esbuild/android-arm@npm:0.25.11":
+ version: 0.25.11
+ resolution: "@esbuild/android-arm@npm:0.25.11"
+ conditions: os=android & cpu=arm
+ languageName: node
+ linkType: hard
+
"@esbuild/android-arm@npm:0.25.5":
version: 0.25.5
resolution: "@esbuild/android-arm@npm:0.25.5"
@@ -4622,13 +4629,6 @@ __metadata:
languageName: node
linkType: hard
-"@esbuild/android-x64@npm:0.19.12":
- version: 0.19.12
- resolution: "@esbuild/android-x64@npm:0.19.12"
- conditions: os=android & cpu=x64
- languageName: node
- linkType: hard
-
"@esbuild/android-x64@npm:0.21.5":
version: 0.21.5
resolution: "@esbuild/android-x64@npm:0.21.5"
@@ -4650,6 +4650,13 @@ __metadata:
languageName: node
linkType: hard
+"@esbuild/android-x64@npm:0.25.11":
+ version: 0.25.11
+ resolution: "@esbuild/android-x64@npm:0.25.11"
+ conditions: os=android & cpu=x64
+ languageName: node
+ linkType: hard
+
"@esbuild/android-x64@npm:0.25.5":
version: 0.25.5
resolution: "@esbuild/android-x64@npm:0.25.5"
@@ -4671,13 +4678,6 @@ __metadata:
languageName: node
linkType: hard
-"@esbuild/darwin-arm64@npm:0.19.12":
- version: 0.19.12
- resolution: "@esbuild/darwin-arm64@npm:0.19.12"
- conditions: os=darwin & cpu=arm64
- languageName: node
- linkType: hard
-
"@esbuild/darwin-arm64@npm:0.21.5":
version: 0.21.5
resolution: "@esbuild/darwin-arm64@npm:0.21.5"
@@ -4699,6 +4699,13 @@ __metadata:
languageName: node
linkType: hard
+"@esbuild/darwin-arm64@npm:0.25.11":
+ version: 0.25.11
+ resolution: "@esbuild/darwin-arm64@npm:0.25.11"
+ conditions: os=darwin & cpu=arm64
+ languageName: node
+ linkType: hard
+
"@esbuild/darwin-arm64@npm:0.25.5":
version: 0.25.5
resolution: "@esbuild/darwin-arm64@npm:0.25.5"
@@ -4720,13 +4727,6 @@ __metadata:
languageName: node
linkType: hard
-"@esbuild/darwin-x64@npm:0.19.12":
- version: 0.19.12
- resolution: "@esbuild/darwin-x64@npm:0.19.12"
- conditions: os=darwin & cpu=x64
- languageName: node
- linkType: hard
-
"@esbuild/darwin-x64@npm:0.21.5":
version: 0.21.5
resolution: "@esbuild/darwin-x64@npm:0.21.5"
@@ -4748,6 +4748,13 @@ __metadata:
languageName: node
linkType: hard
+"@esbuild/darwin-x64@npm:0.25.11":
+ version: 0.25.11
+ resolution: "@esbuild/darwin-x64@npm:0.25.11"
+ conditions: os=darwin & cpu=x64
+ languageName: node
+ linkType: hard
+
"@esbuild/darwin-x64@npm:0.25.5":
version: 0.25.5
resolution: "@esbuild/darwin-x64@npm:0.25.5"
@@ -4769,13 +4776,6 @@ __metadata:
languageName: node
linkType: hard
-"@esbuild/freebsd-arm64@npm:0.19.12":
- version: 0.19.12
- resolution: "@esbuild/freebsd-arm64@npm:0.19.12"
- conditions: os=freebsd & cpu=arm64
- languageName: node
- linkType: hard
-
"@esbuild/freebsd-arm64@npm:0.21.5":
version: 0.21.5
resolution: "@esbuild/freebsd-arm64@npm:0.21.5"
@@ -4797,6 +4797,13 @@ __metadata:
languageName: node
linkType: hard
+"@esbuild/freebsd-arm64@npm:0.25.11":
+ version: 0.25.11
+ resolution: "@esbuild/freebsd-arm64@npm:0.25.11"
+ conditions: os=freebsd & cpu=arm64
+ languageName: node
+ linkType: hard
+
"@esbuild/freebsd-arm64@npm:0.25.5":
version: 0.25.5
resolution: "@esbuild/freebsd-arm64@npm:0.25.5"
@@ -4818,13 +4825,6 @@ __metadata:
languageName: node
linkType: hard
-"@esbuild/freebsd-x64@npm:0.19.12":
- version: 0.19.12
- resolution: "@esbuild/freebsd-x64@npm:0.19.12"
- conditions: os=freebsd & cpu=x64
- languageName: node
- linkType: hard
-
"@esbuild/freebsd-x64@npm:0.21.5":
version: 0.21.5
resolution: "@esbuild/freebsd-x64@npm:0.21.5"
@@ -4846,6 +4846,13 @@ __metadata:
languageName: node
linkType: hard
+"@esbuild/freebsd-x64@npm:0.25.11":
+ version: 0.25.11
+ resolution: "@esbuild/freebsd-x64@npm:0.25.11"
+ conditions: os=freebsd & cpu=x64
+ languageName: node
+ linkType: hard
+
"@esbuild/freebsd-x64@npm:0.25.5":
version: 0.25.5
resolution: "@esbuild/freebsd-x64@npm:0.25.5"
@@ -4867,13 +4874,6 @@ __metadata:
languageName: node
linkType: hard
-"@esbuild/linux-arm64@npm:0.19.12":
- version: 0.19.12
- resolution: "@esbuild/linux-arm64@npm:0.19.12"
- conditions: os=linux & cpu=arm64
- languageName: node
- linkType: hard
-
"@esbuild/linux-arm64@npm:0.21.5":
version: 0.21.5
resolution: "@esbuild/linux-arm64@npm:0.21.5"
@@ -4895,6 +4895,13 @@ __metadata:
languageName: node
linkType: hard
+"@esbuild/linux-arm64@npm:0.25.11":
+ version: 0.25.11
+ resolution: "@esbuild/linux-arm64@npm:0.25.11"
+ conditions: os=linux & cpu=arm64
+ languageName: node
+ linkType: hard
+
"@esbuild/linux-arm64@npm:0.25.5":
version: 0.25.5
resolution: "@esbuild/linux-arm64@npm:0.25.5"
@@ -4916,13 +4923,6 @@ __metadata:
languageName: node
linkType: hard
-"@esbuild/linux-arm@npm:0.19.12":
- version: 0.19.12
- resolution: "@esbuild/linux-arm@npm:0.19.12"
- conditions: os=linux & cpu=arm
- languageName: node
- linkType: hard
-
"@esbuild/linux-arm@npm:0.21.5":
version: 0.21.5
resolution: "@esbuild/linux-arm@npm:0.21.5"
@@ -4944,6 +4944,13 @@ __metadata:
languageName: node
linkType: hard
+"@esbuild/linux-arm@npm:0.25.11":
+ version: 0.25.11
+ resolution: "@esbuild/linux-arm@npm:0.25.11"
+ conditions: os=linux & cpu=arm
+ languageName: node
+ linkType: hard
+
"@esbuild/linux-arm@npm:0.25.5":
version: 0.25.5
resolution: "@esbuild/linux-arm@npm:0.25.5"
@@ -4965,13 +4972,6 @@ __metadata:
languageName: node
linkType: hard
-"@esbuild/linux-ia32@npm:0.19.12":
- version: 0.19.12
- resolution: "@esbuild/linux-ia32@npm:0.19.12"
- conditions: os=linux & cpu=ia32
- languageName: node
- linkType: hard
-
"@esbuild/linux-ia32@npm:0.21.5":
version: 0.21.5
resolution: "@esbuild/linux-ia32@npm:0.21.5"
@@ -4993,6 +4993,13 @@ __metadata:
languageName: node
linkType: hard
+"@esbuild/linux-ia32@npm:0.25.11":
+ version: 0.25.11
+ resolution: "@esbuild/linux-ia32@npm:0.25.11"
+ conditions: os=linux & cpu=ia32
+ languageName: node
+ linkType: hard
+
"@esbuild/linux-ia32@npm:0.25.5":
version: 0.25.5
resolution: "@esbuild/linux-ia32@npm:0.25.5"
@@ -5014,13 +5021,6 @@ __metadata:
languageName: node
linkType: hard
-"@esbuild/linux-loong64@npm:0.19.12":
- version: 0.19.12
- resolution: "@esbuild/linux-loong64@npm:0.19.12"
- conditions: os=linux & cpu=loong64
- languageName: node
- linkType: hard
-
"@esbuild/linux-loong64@npm:0.21.5":
version: 0.21.5
resolution: "@esbuild/linux-loong64@npm:0.21.5"
@@ -5042,6 +5042,13 @@ __metadata:
languageName: node
linkType: hard
+"@esbuild/linux-loong64@npm:0.25.11":
+ version: 0.25.11
+ resolution: "@esbuild/linux-loong64@npm:0.25.11"
+ conditions: os=linux & cpu=loong64
+ languageName: node
+ linkType: hard
+
"@esbuild/linux-loong64@npm:0.25.5":
version: 0.25.5
resolution: "@esbuild/linux-loong64@npm:0.25.5"
@@ -5063,13 +5070,6 @@ __metadata:
languageName: node
linkType: hard
-"@esbuild/linux-mips64el@npm:0.19.12":
- version: 0.19.12
- resolution: "@esbuild/linux-mips64el@npm:0.19.12"
- conditions: os=linux & cpu=mips64el
- languageName: node
- linkType: hard
-
"@esbuild/linux-mips64el@npm:0.21.5":
version: 0.21.5
resolution: "@esbuild/linux-mips64el@npm:0.21.5"
@@ -5091,6 +5091,13 @@ __metadata:
languageName: node
linkType: hard
+"@esbuild/linux-mips64el@npm:0.25.11":
+ version: 0.25.11
+ resolution: "@esbuild/linux-mips64el@npm:0.25.11"
+ conditions: os=linux & cpu=mips64el
+ languageName: node
+ linkType: hard
+
"@esbuild/linux-mips64el@npm:0.25.5":
version: 0.25.5
resolution: "@esbuild/linux-mips64el@npm:0.25.5"
@@ -5112,13 +5119,6 @@ __metadata:
languageName: node
linkType: hard
-"@esbuild/linux-ppc64@npm:0.19.12":
- version: 0.19.12
- resolution: "@esbuild/linux-ppc64@npm:0.19.12"
- conditions: os=linux & cpu=ppc64
- languageName: node
- linkType: hard
-
"@esbuild/linux-ppc64@npm:0.21.5":
version: 0.21.5
resolution: "@esbuild/linux-ppc64@npm:0.21.5"
@@ -5140,6 +5140,13 @@ __metadata:
languageName: node
linkType: hard
+"@esbuild/linux-ppc64@npm:0.25.11":
+ version: 0.25.11
+ resolution: "@esbuild/linux-ppc64@npm:0.25.11"
+ conditions: os=linux & cpu=ppc64
+ languageName: node
+ linkType: hard
+
"@esbuild/linux-ppc64@npm:0.25.5":
version: 0.25.5
resolution: "@esbuild/linux-ppc64@npm:0.25.5"
@@ -5161,13 +5168,6 @@ __metadata:
languageName: node
linkType: hard
-"@esbuild/linux-riscv64@npm:0.19.12":
- version: 0.19.12
- resolution: "@esbuild/linux-riscv64@npm:0.19.12"
- conditions: os=linux & cpu=riscv64
- languageName: node
- linkType: hard
-
"@esbuild/linux-riscv64@npm:0.21.5":
version: 0.21.5
resolution: "@esbuild/linux-riscv64@npm:0.21.5"
@@ -5189,6 +5189,13 @@ __metadata:
languageName: node
linkType: hard
+"@esbuild/linux-riscv64@npm:0.25.11":
+ version: 0.25.11
+ resolution: "@esbuild/linux-riscv64@npm:0.25.11"
+ conditions: os=linux & cpu=riscv64
+ languageName: node
+ linkType: hard
+
"@esbuild/linux-riscv64@npm:0.25.5":
version: 0.25.5
resolution: "@esbuild/linux-riscv64@npm:0.25.5"
@@ -5210,13 +5217,6 @@ __metadata:
languageName: node
linkType: hard
-"@esbuild/linux-s390x@npm:0.19.12":
- version: 0.19.12
- resolution: "@esbuild/linux-s390x@npm:0.19.12"
- conditions: os=linux & cpu=s390x
- languageName: node
- linkType: hard
-
"@esbuild/linux-s390x@npm:0.21.5":
version: 0.21.5
resolution: "@esbuild/linux-s390x@npm:0.21.5"
@@ -5238,6 +5238,13 @@ __metadata:
languageName: node
linkType: hard
+"@esbuild/linux-s390x@npm:0.25.11":
+ version: 0.25.11
+ resolution: "@esbuild/linux-s390x@npm:0.25.11"
+ conditions: os=linux & cpu=s390x
+ languageName: node
+ linkType: hard
+
"@esbuild/linux-s390x@npm:0.25.5":
version: 0.25.5
resolution: "@esbuild/linux-s390x@npm:0.25.5"
@@ -5259,13 +5266,6 @@ __metadata:
languageName: node
linkType: hard
-"@esbuild/linux-x64@npm:0.19.12":
- version: 0.19.12
- resolution: "@esbuild/linux-x64@npm:0.19.12"
- conditions: os=linux & cpu=x64
- languageName: node
- linkType: hard
-
"@esbuild/linux-x64@npm:0.21.5":
version: 0.21.5
resolution: "@esbuild/linux-x64@npm:0.21.5"
@@ -5287,6 +5287,13 @@ __metadata:
languageName: node
linkType: hard
+"@esbuild/linux-x64@npm:0.25.11":
+ version: 0.25.11
+ resolution: "@esbuild/linux-x64@npm:0.25.11"
+ conditions: os=linux & cpu=x64
+ languageName: node
+ linkType: hard
+
"@esbuild/linux-x64@npm:0.25.5":
version: 0.25.5
resolution: "@esbuild/linux-x64@npm:0.25.5"
@@ -5315,6 +5322,13 @@ __metadata:
languageName: node
linkType: hard
+"@esbuild/netbsd-arm64@npm:0.25.11":
+ version: 0.25.11
+ resolution: "@esbuild/netbsd-arm64@npm:0.25.11"
+ conditions: os=netbsd & cpu=arm64
+ languageName: node
+ linkType: hard
+
"@esbuild/netbsd-arm64@npm:0.25.5":
version: 0.25.5
resolution: "@esbuild/netbsd-arm64@npm:0.25.5"
@@ -5336,13 +5350,6 @@ __metadata:
languageName: node
linkType: hard
-"@esbuild/netbsd-x64@npm:0.19.12":
- version: 0.19.12
- resolution: "@esbuild/netbsd-x64@npm:0.19.12"
- conditions: os=netbsd & cpu=x64
- languageName: node
- linkType: hard
-
"@esbuild/netbsd-x64@npm:0.21.5":
version: 0.21.5
resolution: "@esbuild/netbsd-x64@npm:0.21.5"
@@ -5364,6 +5371,13 @@ __metadata:
languageName: node
linkType: hard
+"@esbuild/netbsd-x64@npm:0.25.11":
+ version: 0.25.11
+ resolution: "@esbuild/netbsd-x64@npm:0.25.11"
+ conditions: os=netbsd & cpu=x64
+ languageName: node
+ linkType: hard
+
"@esbuild/netbsd-x64@npm:0.25.5":
version: 0.25.5
resolution: "@esbuild/netbsd-x64@npm:0.25.5"
@@ -5392,6 +5406,13 @@ __metadata:
languageName: node
linkType: hard
+"@esbuild/openbsd-arm64@npm:0.25.11":
+ version: 0.25.11
+ resolution: "@esbuild/openbsd-arm64@npm:0.25.11"
+ conditions: os=openbsd & cpu=arm64
+ languageName: node
+ linkType: hard
+
"@esbuild/openbsd-arm64@npm:0.25.5":
version: 0.25.5
resolution: "@esbuild/openbsd-arm64@npm:0.25.5"
@@ -5413,13 +5434,6 @@ __metadata:
languageName: node
linkType: hard
-"@esbuild/openbsd-x64@npm:0.19.12":
- version: 0.19.12
- resolution: "@esbuild/openbsd-x64@npm:0.19.12"
- conditions: os=openbsd & cpu=x64
- languageName: node
- linkType: hard
-
"@esbuild/openbsd-x64@npm:0.21.5":
version: 0.21.5
resolution: "@esbuild/openbsd-x64@npm:0.21.5"
@@ -5441,6 +5455,13 @@ __metadata:
languageName: node
linkType: hard
+"@esbuild/openbsd-x64@npm:0.25.11":
+ version: 0.25.11
+ resolution: "@esbuild/openbsd-x64@npm:0.25.11"
+ conditions: os=openbsd & cpu=x64
+ languageName: node
+ linkType: hard
+
"@esbuild/openbsd-x64@npm:0.25.5":
version: 0.25.5
resolution: "@esbuild/openbsd-x64@npm:0.25.5"
@@ -5462,6 +5483,13 @@ __metadata:
languageName: node
linkType: hard
+"@esbuild/openharmony-arm64@npm:0.25.11":
+ version: 0.25.11
+ resolution: "@esbuild/openharmony-arm64@npm:0.25.11"
+ conditions: os=openharmony & cpu=arm64
+ languageName: node
+ linkType: hard
+
"@esbuild/openharmony-arm64@npm:0.25.8":
version: 0.25.8
resolution: "@esbuild/openharmony-arm64@npm:0.25.8"
@@ -5476,13 +5504,6 @@ __metadata:
languageName: node
linkType: hard
-"@esbuild/sunos-x64@npm:0.19.12":
- version: 0.19.12
- resolution: "@esbuild/sunos-x64@npm:0.19.12"
- conditions: os=sunos & cpu=x64
- languageName: node
- linkType: hard
-
"@esbuild/sunos-x64@npm:0.21.5":
version: 0.21.5
resolution: "@esbuild/sunos-x64@npm:0.21.5"
@@ -5504,6 +5525,13 @@ __metadata:
languageName: node
linkType: hard
+"@esbuild/sunos-x64@npm:0.25.11":
+ version: 0.25.11
+ resolution: "@esbuild/sunos-x64@npm:0.25.11"
+ conditions: os=sunos & cpu=x64
+ languageName: node
+ linkType: hard
+
"@esbuild/sunos-x64@npm:0.25.5":
version: 0.25.5
resolution: "@esbuild/sunos-x64@npm:0.25.5"
@@ -5525,13 +5553,6 @@ __metadata:
languageName: node
linkType: hard
-"@esbuild/win32-arm64@npm:0.19.12":
- version: 0.19.12
- resolution: "@esbuild/win32-arm64@npm:0.19.12"
- conditions: os=win32 & cpu=arm64
- languageName: node
- linkType: hard
-
"@esbuild/win32-arm64@npm:0.21.5":
version: 0.21.5
resolution: "@esbuild/win32-arm64@npm:0.21.5"
@@ -5553,6 +5574,13 @@ __metadata:
languageName: node
linkType: hard
+"@esbuild/win32-arm64@npm:0.25.11":
+ version: 0.25.11
+ resolution: "@esbuild/win32-arm64@npm:0.25.11"
+ conditions: os=win32 & cpu=arm64
+ languageName: node
+ linkType: hard
+
"@esbuild/win32-arm64@npm:0.25.5":
version: 0.25.5
resolution: "@esbuild/win32-arm64@npm:0.25.5"
@@ -5574,13 +5602,6 @@ __metadata:
languageName: node
linkType: hard
-"@esbuild/win32-ia32@npm:0.19.12":
- version: 0.19.12
- resolution: "@esbuild/win32-ia32@npm:0.19.12"
- conditions: os=win32 & cpu=ia32
- languageName: node
- linkType: hard
-
"@esbuild/win32-ia32@npm:0.21.5":
version: 0.21.5
resolution: "@esbuild/win32-ia32@npm:0.21.5"
@@ -5602,6 +5623,13 @@ __metadata:
languageName: node
linkType: hard
+"@esbuild/win32-ia32@npm:0.25.11":
+ version: 0.25.11
+ resolution: "@esbuild/win32-ia32@npm:0.25.11"
+ conditions: os=win32 & cpu=ia32
+ languageName: node
+ linkType: hard
+
"@esbuild/win32-ia32@npm:0.25.5":
version: 0.25.5
resolution: "@esbuild/win32-ia32@npm:0.25.5"
@@ -5623,13 +5651,6 @@ __metadata:
languageName: node
linkType: hard
-"@esbuild/win32-x64@npm:0.19.12":
- version: 0.19.12
- resolution: "@esbuild/win32-x64@npm:0.19.12"
- conditions: os=win32 & cpu=x64
- languageName: node
- linkType: hard
-
"@esbuild/win32-x64@npm:0.21.5":
version: 0.21.5
resolution: "@esbuild/win32-x64@npm:0.21.5"
@@ -5651,6 +5672,13 @@ __metadata:
languageName: node
linkType: hard
+"@esbuild/win32-x64@npm:0.25.11":
+ version: 0.25.11
+ resolution: "@esbuild/win32-x64@npm:0.25.11"
+ conditions: os=win32 & cpu=x64
+ languageName: node
+ linkType: hard
+
"@esbuild/win32-x64@npm:0.25.5":
version: 0.25.5
resolution: "@esbuild/win32-x64@npm:0.25.5"
@@ -7094,23 +7122,6 @@ __metadata:
languageName: node
linkType: hard
-"@hono/node-server@npm:^1.9.0":
- version: 1.12.0
- resolution: "@hono/node-server@npm:1.12.0"
- checksum: 10c0/44906b163084dd98c882649f65fa520c7f5da5cba90850192c38db858ca54317069f683bd7413879d619911fea744d845c22f161cbdeb1814641cb05193683d6
- languageName: node
- linkType: hard
-
-"@hono/zod-validator@npm:^0.2.0":
- version: 0.2.2
- resolution: "@hono/zod-validator@npm:0.2.2"
- peerDependencies:
- hono: ">=3.9.0"
- zod: ^3.19.1
- checksum: 10c0/3d6d03d28287e6f05e4cf5b86f3fa5fa386429a4212881f7344fe93272a69732ca8dd98634eb51df434b002230d2be2f3c6822f3b1ab320676932583856b30a5
- languageName: node
- linkType: hard
-
"@hookform/resolvers@npm:^5.2.2":
version: 5.2.2
resolution: "@hookform/resolvers@npm:5.2.2"
@@ -27541,13 +27552,6 @@ __metadata:
languageName: node
linkType: hard
-"camelcase@npm:^7.0.1":
- version: 7.0.1
- resolution: "camelcase@npm:7.0.1"
- checksum: 10c0/3adfc9a0e96d51b3a2f4efe90a84dad3e206aaa81dfc664f1bd568270e1bf3b010aad31f01db16345b4ffe1910e16ab411c7273a19a859addd1b98ef7cf4cfbd
- languageName: node
- linkType: hard
-
"camelize@npm:^1.0.0":
version: 1.0.1
resolution: "camelize@npm:1.0.1"
@@ -28085,19 +28089,6 @@ __metadata:
languageName: node
linkType: hard
-"cli-color@npm:^2.0.0":
- version: 2.0.4
- resolution: "cli-color@npm:2.0.4"
- dependencies:
- d: "npm:^1.0.1"
- es5-ext: "npm:^0.10.64"
- es6-iterator: "npm:^2.0.3"
- memoizee: "npm:^0.4.15"
- timers-ext: "npm:^0.1.7"
- checksum: 10c0/49a0078fa3517cdfb3ad919a05ab2fe7352d9c9f0617937c38fc6245a38101632d9a23f40a53b2818773d2694b8ae814ff760801a702a26d76b297990ce8d399
- languageName: node
- linkType: hard
-
"cli-cursor@npm:3.1.0, cli-cursor@npm:^3.1.0":
version: 3.1.0
resolution: "cli-cursor@npm:3.1.0"
@@ -28977,15 +28968,6 @@ __metadata:
languageName: node
linkType: hard
-"copy-anything@npm:^3.0.2":
- version: 3.0.5
- resolution: "copy-anything@npm:3.0.5"
- dependencies:
- is-what: "npm:^4.1.8"
- checksum: 10c0/01eadd500c7e1db71d32d95a3bfaaedcb839ef891c741f6305ab0461398056133de08f2d1bf4c392b364e7bdb7ce498513896e137a7a183ac2516b065c28a4fe
- languageName: node
- linkType: hard
-
"copy-to-clipboard@npm:^3.2.0":
version: 3.3.3
resolution: "copy-to-clipboard@npm:3.3.3"
@@ -30495,15 +30477,6 @@ __metadata:
languageName: node
linkType: hard
-"difflib@npm:~0.2.1":
- version: 0.2.4
- resolution: "difflib@npm:0.2.4"
- dependencies:
- heap: "npm:>= 0.2.0"
- checksum: 10c0/4b151f1f6d378b0837ef28f4706d89d05b78f1093253b06c975c621f7ef8b048978588baf9e8f284c64b133d0abb08303b0789519cc91e5180d420cb3bb99c05
- languageName: node
- linkType: hard
-
"dir-glob@npm:^3.0.1":
version: 3.0.1
resolution: "dir-glob@npm:3.0.1"
@@ -30792,66 +30765,50 @@ __metadata:
languageName: node
linkType: hard
-"dreamopt@npm:~0.8.0":
- version: 0.8.0
- resolution: "dreamopt@npm:0.8.0"
- dependencies:
- wordwrap: "npm:>=0.0.2"
- checksum: 10c0/8e5953c19519c9ec9427eff91b618c3ded7d2b50fcb89c051ca9c4f49e712460103c12dea09eb3feec5a63f21950488a19481798425aaba815b1c5016b3d58b9
- languageName: node
- linkType: hard
-
-"drizzle-kit@npm:^0.20.14":
- version: 0.20.18
- resolution: "drizzle-kit@npm:0.20.18"
+"drizzle-kit@npm:^0.31.5":
+ version: 0.31.5
+ resolution: "drizzle-kit@npm:0.31.5"
dependencies:
+ "@drizzle-team/brocli": "npm:^0.10.2"
"@esbuild-kit/esm-loader": "npm:^2.5.5"
- "@hono/node-server": "npm:^1.9.0"
- "@hono/zod-validator": "npm:^0.2.0"
- camelcase: "npm:^7.0.1"
- chalk: "npm:^5.2.0"
- commander: "npm:^9.4.1"
- env-paths: "npm:^3.0.0"
- esbuild: "npm:^0.19.7"
+ esbuild: "npm:^0.25.4"
esbuild-register: "npm:^3.5.0"
- glob: "npm:^8.1.0"
- hanji: "npm:^0.0.5"
- hono: "npm:^4.1.4"
- json-diff: "npm:0.9.0"
- minimatch: "npm:^7.4.3"
- semver: "npm:^7.5.4"
- superjson: "npm:^2.2.1"
- zod: "npm:^3.20.2"
bin:
drizzle-kit: bin.cjs
- checksum: 10c0/a87b2d6fb4461f89dd167411b06f2e42bb0faf1e74283f7999830eaf5d2d1c8ba24a805d98b10028715ef08ba3c3ef89217f0f7d1cba564f2810d935390e442d
+ checksum: 10c0/7f172b1ba8cecf85b32e85621043d4ada867080e9ea2767c60b20ef2adb0292ff16832d8c8eae5d1bc9504d8165a58c449c9a25ab56c8ec30f1c3c8cb12ef6ad
languageName: node
linkType: hard
-"drizzle-orm@npm:^0.29.3":
- version: 0.29.5
- resolution: "drizzle-orm@npm:0.29.5"
+"drizzle-orm@npm:^0.44.7":
+ version: 0.44.7
+ resolution: "drizzle-orm@npm:0.44.7"
peerDependencies:
"@aws-sdk/client-rds-data": ">=3"
- "@cloudflare/workers-types": ">=3"
- "@libsql/client": "*"
- "@neondatabase/serverless": ">=0.1"
+ "@cloudflare/workers-types": ">=4"
+ "@electric-sql/pglite": ">=0.2.0"
+ "@libsql/client": ">=0.10.0"
+ "@libsql/client-wasm": ">=0.10.0"
+ "@neondatabase/serverless": ">=0.10.0"
+ "@op-engineering/op-sqlite": ">=2"
"@opentelemetry/api": ^1.4.1
- "@planetscale/database": ">=1"
+ "@planetscale/database": ">=1.13"
+ "@prisma/client": "*"
+ "@tidbcloud/serverless": "*"
"@types/better-sqlite3": "*"
"@types/pg": "*"
- "@types/react": ">=18"
"@types/sql.js": "*"
- "@vercel/postgres": "*"
+ "@upstash/redis": ">=1.34.7"
+ "@vercel/postgres": ">=0.8.0"
+ "@xata.io/client": "*"
better-sqlite3: ">=7"
bun-types: "*"
- expo-sqlite: ">=13.2.0"
+ expo-sqlite: ">=14.0.0"
+ gel: ">=2"
knex: "*"
kysely: "*"
mysql2: ">=2"
pg: ">=8"
postgres: ">=3"
- react: ">=18"
sql.js: ">=1"
sqlite3: ">=5"
peerDependenciesMeta:
@@ -30859,30 +30816,44 @@ __metadata:
optional: true
"@cloudflare/workers-types":
optional: true
+ "@electric-sql/pglite":
+ optional: true
"@libsql/client":
optional: true
+ "@libsql/client-wasm":
+ optional: true
"@neondatabase/serverless":
optional: true
+ "@op-engineering/op-sqlite":
+ optional: true
"@opentelemetry/api":
optional: true
"@planetscale/database":
optional: true
+ "@prisma/client":
+ optional: true
+ "@tidbcloud/serverless":
+ optional: true
"@types/better-sqlite3":
optional: true
"@types/pg":
optional: true
- "@types/react":
- optional: true
"@types/sql.js":
optional: true
+ "@upstash/redis":
+ optional: true
"@vercel/postgres":
optional: true
+ "@xata.io/client":
+ optional: true
better-sqlite3:
optional: true
bun-types:
optional: true
expo-sqlite:
optional: true
+ gel:
+ optional: true
knex:
optional: true
kysely:
@@ -30893,13 +30864,13 @@ __metadata:
optional: true
postgres:
optional: true
- react:
+ prisma:
optional: true
sql.js:
optional: true
sqlite3:
optional: true
- checksum: 10c0/187771340951bb154d2e101a4ffa288dd2d127fecc12ebfd494170076121b73456b9fd13b5a0b69ffcce388d288e664b1c9347d7fb5f4ee64894be2a2429d885
+ checksum: 10c0/6adfe19179c83be397490c21573433e38ed7eff890bbb1c3b39157ec57d6b7420e9dcfebb8fe0e6ea534b29a53a33b2ec75c77dd2ac6b474b7055965ee7df00d
languageName: node
linkType: hard
@@ -31169,13 +31140,6 @@ __metadata:
languageName: node
linkType: hard
-"env-paths@npm:^3.0.0":
- version: 3.0.0
- resolution: "env-paths@npm:3.0.0"
- checksum: 10c0/76dec878cee47f841103bacd7fae03283af16f0702dad65102ef0a556f310b98a377885e0f32943831eb08b5ab37842a323d02529f3dfd5d0a40ca71b01b435f
- languageName: node
- linkType: hard
-
"err-code@npm:^2.0.2":
version: 2.0.3
resolution: "err-code@npm:2.0.3"
@@ -31364,7 +31328,7 @@ __metadata:
languageName: node
linkType: hard
-"es5-ext@npm:^0.10.35, es5-ext@npm:^0.10.46, es5-ext@npm:^0.10.62, es5-ext@npm:^0.10.64, es5-ext@npm:~0.10.14, es5-ext@npm:~0.10.2":
+"es5-ext@npm:^0.10.35, es5-ext@npm:^0.10.62, es5-ext@npm:^0.10.64, es5-ext@npm:~0.10.14":
version: 0.10.64
resolution: "es5-ext@npm:0.10.64"
dependencies:
@@ -31404,18 +31368,6 @@ __metadata:
languageName: node
linkType: hard
-"es6-weak-map@npm:^2.0.3":
- version: 2.0.3
- resolution: "es6-weak-map@npm:2.0.3"
- dependencies:
- d: "npm:1"
- es5-ext: "npm:^0.10.46"
- es6-iterator: "npm:^2.0.3"
- es6-symbol: "npm:^3.1.1"
- checksum: 10c0/460932be9542473dbbddd183e21c15a66cfec1b2c17dae2b514e190d6fb2896b7eb683783d4b36da036609d2e1c93d2815f21b374dfccaf02a8978694c2f7b67
- languageName: node
- linkType: hard
-
"esbuild-register@npm:^3.5.0":
version: 3.6.0
resolution: "esbuild-register@npm:3.6.0"
@@ -31688,86 +31640,6 @@ __metadata:
languageName: node
linkType: hard
-"esbuild@npm:^0.19.7":
- version: 0.19.12
- resolution: "esbuild@npm:0.19.12"
- dependencies:
- "@esbuild/aix-ppc64": "npm:0.19.12"
- "@esbuild/android-arm": "npm:0.19.12"
- "@esbuild/android-arm64": "npm:0.19.12"
- "@esbuild/android-x64": "npm:0.19.12"
- "@esbuild/darwin-arm64": "npm:0.19.12"
- "@esbuild/darwin-x64": "npm:0.19.12"
- "@esbuild/freebsd-arm64": "npm:0.19.12"
- "@esbuild/freebsd-x64": "npm:0.19.12"
- "@esbuild/linux-arm": "npm:0.19.12"
- "@esbuild/linux-arm64": "npm:0.19.12"
- "@esbuild/linux-ia32": "npm:0.19.12"
- "@esbuild/linux-loong64": "npm:0.19.12"
- "@esbuild/linux-mips64el": "npm:0.19.12"
- "@esbuild/linux-ppc64": "npm:0.19.12"
- "@esbuild/linux-riscv64": "npm:0.19.12"
- "@esbuild/linux-s390x": "npm:0.19.12"
- "@esbuild/linux-x64": "npm:0.19.12"
- "@esbuild/netbsd-x64": "npm:0.19.12"
- "@esbuild/openbsd-x64": "npm:0.19.12"
- "@esbuild/sunos-x64": "npm:0.19.12"
- "@esbuild/win32-arm64": "npm:0.19.12"
- "@esbuild/win32-ia32": "npm:0.19.12"
- "@esbuild/win32-x64": "npm:0.19.12"
- dependenciesMeta:
- "@esbuild/aix-ppc64":
- optional: true
- "@esbuild/android-arm":
- optional: true
- "@esbuild/android-arm64":
- optional: true
- "@esbuild/android-x64":
- optional: true
- "@esbuild/darwin-arm64":
- optional: true
- "@esbuild/darwin-x64":
- optional: true
- "@esbuild/freebsd-arm64":
- optional: true
- "@esbuild/freebsd-x64":
- optional: true
- "@esbuild/linux-arm":
- optional: true
- "@esbuild/linux-arm64":
- optional: true
- "@esbuild/linux-ia32":
- optional: true
- "@esbuild/linux-loong64":
- optional: true
- "@esbuild/linux-mips64el":
- optional: true
- "@esbuild/linux-ppc64":
- optional: true
- "@esbuild/linux-riscv64":
- optional: true
- "@esbuild/linux-s390x":
- optional: true
- "@esbuild/linux-x64":
- optional: true
- "@esbuild/netbsd-x64":
- optional: true
- "@esbuild/openbsd-x64":
- optional: true
- "@esbuild/sunos-x64":
- optional: true
- "@esbuild/win32-arm64":
- optional: true
- "@esbuild/win32-ia32":
- optional: true
- "@esbuild/win32-x64":
- optional: true
- bin:
- esbuild: bin/esbuild
- checksum: 10c0/0f2d21ffe24ebead64843f87c3aebe2e703a5ed9feb086a0728b24907fac2eb9923e4a79857d3df9059c915739bd7a870dd667972eae325c67f478b592b8582d
- languageName: node
- linkType: hard
-
"esbuild@npm:^0.21.3, esbuild@npm:^0.21.5":
version: 0.21.5
resolution: "esbuild@npm:0.21.5"
@@ -31937,6 +31809,95 @@ __metadata:
languageName: node
linkType: hard
+"esbuild@npm:^0.25.4":
+ version: 0.25.11
+ resolution: "esbuild@npm:0.25.11"
+ dependencies:
+ "@esbuild/aix-ppc64": "npm:0.25.11"
+ "@esbuild/android-arm": "npm:0.25.11"
+ "@esbuild/android-arm64": "npm:0.25.11"
+ "@esbuild/android-x64": "npm:0.25.11"
+ "@esbuild/darwin-arm64": "npm:0.25.11"
+ "@esbuild/darwin-x64": "npm:0.25.11"
+ "@esbuild/freebsd-arm64": "npm:0.25.11"
+ "@esbuild/freebsd-x64": "npm:0.25.11"
+ "@esbuild/linux-arm": "npm:0.25.11"
+ "@esbuild/linux-arm64": "npm:0.25.11"
+ "@esbuild/linux-ia32": "npm:0.25.11"
+ "@esbuild/linux-loong64": "npm:0.25.11"
+ "@esbuild/linux-mips64el": "npm:0.25.11"
+ "@esbuild/linux-ppc64": "npm:0.25.11"
+ "@esbuild/linux-riscv64": "npm:0.25.11"
+ "@esbuild/linux-s390x": "npm:0.25.11"
+ "@esbuild/linux-x64": "npm:0.25.11"
+ "@esbuild/netbsd-arm64": "npm:0.25.11"
+ "@esbuild/netbsd-x64": "npm:0.25.11"
+ "@esbuild/openbsd-arm64": "npm:0.25.11"
+ "@esbuild/openbsd-x64": "npm:0.25.11"
+ "@esbuild/openharmony-arm64": "npm:0.25.11"
+ "@esbuild/sunos-x64": "npm:0.25.11"
+ "@esbuild/win32-arm64": "npm:0.25.11"
+ "@esbuild/win32-ia32": "npm:0.25.11"
+ "@esbuild/win32-x64": "npm:0.25.11"
+ dependenciesMeta:
+ "@esbuild/aix-ppc64":
+ optional: true
+ "@esbuild/android-arm":
+ optional: true
+ "@esbuild/android-arm64":
+ optional: true
+ "@esbuild/android-x64":
+ optional: true
+ "@esbuild/darwin-arm64":
+ optional: true
+ "@esbuild/darwin-x64":
+ optional: true
+ "@esbuild/freebsd-arm64":
+ optional: true
+ "@esbuild/freebsd-x64":
+ optional: true
+ "@esbuild/linux-arm":
+ optional: true
+ "@esbuild/linux-arm64":
+ optional: true
+ "@esbuild/linux-ia32":
+ optional: true
+ "@esbuild/linux-loong64":
+ optional: true
+ "@esbuild/linux-mips64el":
+ optional: true
+ "@esbuild/linux-ppc64":
+ optional: true
+ "@esbuild/linux-riscv64":
+ optional: true
+ "@esbuild/linux-s390x":
+ optional: true
+ "@esbuild/linux-x64":
+ optional: true
+ "@esbuild/netbsd-arm64":
+ optional: true
+ "@esbuild/netbsd-x64":
+ optional: true
+ "@esbuild/openbsd-arm64":
+ optional: true
+ "@esbuild/openbsd-x64":
+ optional: true
+ "@esbuild/openharmony-arm64":
+ optional: true
+ "@esbuild/sunos-x64":
+ optional: true
+ "@esbuild/win32-arm64":
+ optional: true
+ "@esbuild/win32-ia32":
+ optional: true
+ "@esbuild/win32-x64":
+ optional: true
+ bin:
+ esbuild: bin/esbuild
+ checksum: 10c0/7f819b16a9f502091ddc6e1855291eaa5ede32c2b792cd8a8a60cc24faee469e3c7b607e2f22ea8684eb7c7bc377b2509e9f1cd50f10b3bf5042d1e9e4234be3
+ languageName: node
+ linkType: hard
+
"esbuild@npm:~0.18.20":
version: 0.18.20
resolution: "esbuild@npm:0.18.20"
@@ -34432,7 +34393,7 @@ __metadata:
languageName: node
linkType: hard
-"glob@npm:^8.0.1, glob@npm:^8.1.0":
+"glob@npm:^8.0.1":
version: 8.1.0
resolution: "glob@npm:8.1.0"
dependencies:
@@ -35024,16 +34985,6 @@ __metadata:
languageName: node
linkType: hard
-"hanji@npm:^0.0.5":
- version: 0.0.5
- resolution: "hanji@npm:0.0.5"
- dependencies:
- lodash.throttle: "npm:^4.1.1"
- sisteransi: "npm:^1.0.5"
- checksum: 10c0/ffa0c2180518377551fad9bbe9e45fa622388833fdd8cb573277dc234748c23fe488cc853bf51dd243bcf8f97ff8561c486f5db5f05d5bbecb09bb960ea8d2ec
- languageName: node
- linkType: hard
-
"happy-dom@npm:^15.11.0":
version: 15.11.7
resolution: "happy-dom@npm:15.11.7"
@@ -35559,13 +35510,6 @@ __metadata:
languageName: node
linkType: hard
-"heap@npm:>= 0.2.0":
- version: 0.2.7
- resolution: "heap@npm:0.2.7"
- checksum: 10c0/341c5d51ae13dc8346c371a8a69c57c972fcb9a3233090d3dd5ba29d483d6b5b4e75492443cbfeacd46608bb30e6680f646ffb7a6205900221735587d07a79b6
- languageName: node
- linkType: hard
-
"hex-rgb@npm:^5.0.0":
version: 5.0.0
resolution: "hex-rgb@npm:5.0.0"
@@ -35654,13 +35598,6 @@ __metadata:
languageName: node
linkType: hard
-"hono@npm:^4.1.4":
- version: 4.5.4
- resolution: "hono@npm:4.5.4"
- checksum: 10c0/980accb9567fe5ba4533c1378d175a95a0eef0a1fa8a03ceb1f9296d88d4ee8ff0e1447f5e69eb56150a8b6cc66f4a663ec9d1c1135f005f44f61353b58e276f
- languageName: node
- linkType: hard
-
"hookable@npm:^5.5.3":
version: 5.5.3
resolution: "hookable@npm:5.5.3"
@@ -37085,13 +37022,6 @@ __metadata:
languageName: node
linkType: hard
-"is-promise@npm:^2.2.2":
- version: 2.2.2
- resolution: "is-promise@npm:2.2.2"
- checksum: 10c0/2dba959812380e45b3df0fb12e7cb4d4528c989c7abb03ececb1d1fd6ab1cbfee956ca9daa587b9db1d8ac3c1e5738cf217bdb3dfd99df8c691be4c00ae09069
- languageName: node
- linkType: hard
-
"is-reference@npm:^3.0.0":
version: 3.0.2
resolution: "is-reference@npm:3.0.2"
@@ -37284,13 +37214,6 @@ __metadata:
languageName: node
linkType: hard
-"is-what@npm:^4.1.8":
- version: 4.1.16
- resolution: "is-what@npm:4.1.16"
- checksum: 10c0/611f1947776826dcf85b57cfb7bd3b3ea6f4b94a9c2f551d4a53f653cf0cb9d1e6518846648256d46ee6c91d114b6d09d2ac8a07306f7430c5900f87466aae5b
- languageName: node
- linkType: hard
-
"is-windows@npm:^0.2.0":
version: 0.2.0
resolution: "is-windows@npm:0.2.0"
@@ -38874,19 +38797,6 @@ __metadata:
languageName: node
linkType: hard
-"json-diff@npm:0.9.0":
- version: 0.9.0
- resolution: "json-diff@npm:0.9.0"
- dependencies:
- cli-color: "npm:^2.0.0"
- difflib: "npm:~0.2.1"
- dreamopt: "npm:~0.8.0"
- bin:
- json-diff: bin/json-diff.js
- checksum: 10c0/971983f0e93c4f55c2d2bee8429e84e61ca054144ddcaf5cecf8aff33e68756fd93dcdd2ff8f19a12ef9aa5063b0e81087bbb266f4c0db5de6fe3e8440da8b99
- languageName: node
- linkType: hard
-
"json-parse-even-better-errors@npm:^2.3.0, json-parse-even-better-errors@npm:^2.3.1":
version: 2.3.1
resolution: "json-parse-even-better-errors@npm:2.3.1"
@@ -39914,13 +39824,6 @@ __metadata:
languageName: node
linkType: hard
-"lodash.throttle@npm:^4.1.1":
- version: 4.1.1
- resolution: "lodash.throttle@npm:4.1.1"
- checksum: 10c0/14628013e9e7f65ac904fc82fd8ecb0e55a9c4c2416434b1dd9cf64ae70a8937f0b15376a39a68248530adc64887ed0fe2b75204b2c9ec3eea1cb2d66ddd125d
- languageName: node
- linkType: hard
-
"lodash.union@npm:^4.6.0":
version: 4.6.0
resolution: "lodash.union@npm:4.6.0"
@@ -40152,15 +40055,6 @@ __metadata:
languageName: node
linkType: hard
-"lru-queue@npm:^0.1.0":
- version: 0.1.0
- resolution: "lru-queue@npm:0.1.0"
- dependencies:
- es5-ext: "npm:~0.10.2"
- checksum: 10c0/83517032b46843601c4528be65e8aaf85f5a7860a9cfa3e4f2b5591da436e7cd748d95b450c91434c4ffb75d3ae4c069ddbdd9f71ada56a99a00c03088c51b4d
- languageName: node
- linkType: hard
-
"luxon@npm:^3.2.1, luxon@npm:^3.6.1":
version: 3.6.1
resolution: "luxon@npm:3.6.1"
@@ -41104,22 +40998,6 @@ __metadata:
languageName: node
linkType: hard
-"memoizee@npm:^0.4.15":
- version: 0.4.17
- resolution: "memoizee@npm:0.4.17"
- dependencies:
- d: "npm:^1.0.2"
- es5-ext: "npm:^0.10.64"
- es6-weak-map: "npm:^2.0.3"
- event-emitter: "npm:^0.3.5"
- is-promise: "npm:^2.2.2"
- lru-queue: "npm:^0.1.0"
- next-tick: "npm:^1.1.0"
- timers-ext: "npm:^0.1.7"
- checksum: 10c0/19821d055f0f641e79b718f91d6d89a6c92840643234a6f4e91d42aa330e8406f06c47d3828931e177c38830aa9b959710e5b7f0013be452af46d0f9eae4baf4
- languageName: node
- linkType: hard
-
"memoizerific@npm:^1.11.3":
version: 1.11.3
resolution: "memoizerific@npm:1.11.3"
@@ -42253,7 +42131,7 @@ __metadata:
languageName: node
linkType: hard
-"minimatch@npm:^7.2.0, minimatch@npm:^7.4.3":
+"minimatch@npm:^7.2.0":
version: 7.4.6
resolution: "minimatch@npm:7.4.6"
dependencies:
@@ -50436,15 +50314,6 @@ __metadata:
languageName: node
linkType: hard
-"superjson@npm:^2.2.1":
- version: 2.2.1
- resolution: "superjson@npm:2.2.1"
- dependencies:
- copy-anything: "npm:^3.0.2"
- checksum: 10c0/5d8202c955170bd98ef2647f712754ac54d2d007923cfdb53a4b035304d8964b8c41d5eff41ee277896e2ac32e06abb009b571f1589416b729fe40216320cc7a
- languageName: node
- linkType: hard
-
"superstruct@npm:^1.0.4":
version: 1.0.4
resolution: "superstruct@npm:1.0.4"
@@ -50884,16 +50753,6 @@ __metadata:
languageName: node
linkType: hard
-"timers-ext@npm:^0.1.7":
- version: 0.1.8
- resolution: "timers-ext@npm:0.1.8"
- dependencies:
- es5-ext: "npm:^0.10.64"
- next-tick: "npm:^1.1.0"
- checksum: 10c0/d0222d0c171d08df69e51462e3fa2085744d13f8ac82b27597db05db1a09bc4244e03ea3cebe89ba279fd43f45daa39156acbe5b6ae5a9b9d62d300543312533
- languageName: node
- linkType: hard
-
"tiny-inflate@npm:^1.0.0, tiny-inflate@npm:^1.0.3":
version: 1.0.3
resolution: "tiny-inflate@npm:1.0.3"
@@ -52110,7 +51969,8 @@ __metadata:
"@nivo/calendar": "npm:^0.99.0"
"@types/facepaint": "npm:^1.2.5"
date-fns: "npm:^2.30.0"
- drizzle-kit: "npm:^0.20.14"
+ drizzle-kit: "npm:^0.31.5"
+ drizzle-orm: "npm:^0.44.7"
eslint-config-next: "npm:^14.2.0"
facepaint: "npm:^1.2.1"
gray-matter: "npm:^4.0.3"
@@ -52247,7 +52107,6 @@ __metadata:
date-fns-tz: "npm:^2.0.0"
deep-equal: "npm:^2.2.2"
dotenv-cli: "npm:^7.4.4"
- drizzle-orm: "npm:^0.29.3"
esbuild: "npm:^0.25.10"
eslint: "npm:^9.32.0"
eslint-config-prettier: "npm:^9.1.0"
@@ -54629,7 +54488,7 @@ __metadata:
languageName: node
linkType: hard
-"wordwrap@npm:>=0.0.2, wordwrap@npm:^1.0.0":
+"wordwrap@npm:^1.0.0":
version: 1.0.0
resolution: "wordwrap@npm:1.0.0"
checksum: 10c0/7ed2e44f3c33c5c3e3771134d2b0aee4314c9e49c749e37f464bf69f2bcdf0cbf9419ca638098e2717cff4875c47f56a007532f6111c3319f557a2ca91278e92
@@ -55414,7 +55273,7 @@ __metadata:
languageName: node
linkType: hard
-"zod@npm:^3.20.2, zod@npm:^3.23.8":
+"zod@npm:^3.23.8":
version: 3.25.76
resolution: "zod@npm:3.25.76"
checksum: 10c0/5718ec35e3c40b600316c5b4c5e4976f7fee68151bc8f8d90ec18a469be9571f072e1bbaace10f1e85cf8892ea12d90821b200e980ab46916a6166a4260a983c