closes https://github.com/twentyhq/core-team-issues/issues/1373 closes https://github.com/twentyhq/core-team-issues/issues/1368 figma https://www.figma.com/design/xt8O9mFeLl46C5InWwoMrN/Twenty?node-id=72808-199932&t=c7GEJKFZKI0JhRv0-0 TODO: - ~~refactor to have a color registry~~ - ~~refactor legend and tooltips into a separate component for reuse across the graphs~~ - also refactor the border in between to be a common logic between pie and gauge graphs - ***open question*** - How should we code this border in between (renderValueEndLine), which is a layer - it's a function that returns JSX I could not figure out if it should be a util/component/hook? None of them fit into the category -- hence kept them inline in both gauge and pie charts for simplicity
39 lines
1.2 KiB
JSON
39 lines
1.2 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:pg --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-kit": "^0.20.14",
|
|
"facepaint": "^1.2.1",
|
|
"gray-matter": "^4.0.3",
|
|
"next": "^14.2.0",
|
|
"next-mdx-remote": "^4.4.1",
|
|
"next-runtime-env": "^3.2.2",
|
|
"postgres": "^3.4.3",
|
|
"react-tooltip": "^5.13.1",
|
|
"twenty-ui": "workspace:*"
|
|
},
|
|
"devDependencies": {
|
|
"@next/eslint-plugin-next": "^14.1.4",
|
|
"@types/facepaint": "^1.2.5",
|
|
"eslint-config-next": "^15.1.0"
|
|
}
|
|
}
|