Files
twenty/packages/twenty-website/package.json
T
Abdullah.andGitHub f7a80d250b Update dizzle-kit and drizzle-orm to avoid the dependency on Hono. (#15343)
Updated both drizzle-kit and drizzle-orm to the latest versions.
Process:
- Ran migrations on the database.
- Updated the versions.
- Made the required changes to `drizzle-posgres.config.ts`.
- Ensured migrations are not out of sync be running them again - no
issues, no updates applied.
- Updated the snapshots.
- Deleted the database named `website`.
- Re-ran the migrations to confirm.

There are no breaking changes because the surface drizzle-orm covers is
limited. However, we had to update drizzle-orm in order to update
drizzle-kit to a version greater than 0.27.0 in order to avoid the use
of hono. Therefore, I went ahead and updated both to the latest.

Resolves [Dependabot Alert
#274](https://github.com/twentyhq/twenty/security/dependabot/274) and
three others.
2025-10-24 16:54:15 +02:00

40 lines
1.3 KiB
JSON

{
"name": "twenty-website",
"private": true,
"scripts": {
"nx": "NX_DEFAULT_PROJECT=twenty-website node ../../node_modules/nx/bin/nx.js",
"dev": "npx next dev",
"build": "npx next build",
"start": "npx next start",
"lint": "ESLINT_USE_FLAT_CONFIG=true npx next lint",
"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 --config=src/database/drizzle-posgres.config.ts"
},
"dependencies": {
"@codesandbox/sandpack-react": "^2.13.5",
"@docsearch/react": "^3.6.2",
"@keystatic/core": "^0.5.45",
"@keystatic/next": "^5.0.3",
"@markdoc/markdoc": "^0.5.1",
"@nivo/calendar": "^0.99.0",
"date-fns": "^2.30.0",
"drizzle-orm": "^0.44.7",
"facepaint": "^1.2.1",
"gray-matter": "^4.0.3",
"next": "^14.2.25",
"next-mdx-remote": "^4.4.1",
"next-runtime-env": "^3.3.0",
"postgres": "^3.4.3",
"react-tooltip": "^5.13.1",
"twenty-ui": "workspace:*"
},
"devDependencies": {
"@next/eslint-plugin-next": "^14.2.0",
"@types/facepaint": "^1.2.5",
"drizzle-kit": "^0.31.5",
"eslint-config-next": "^14.2.0"
}
}