{ "name": "twenty-docs", "$schema": "../../node_modules/nx/schemas/project-schema.json", "sourceRoot": "packages/twenty-docs", "projectType": "application", "tags": ["scope:docs"], "targets": { "dev": { "executor": "nx:run-commands", "options": { "cwd": "{projectRoot}", "command": "mintlify dev" } }, "validate": { "executor": "nx:run-commands", "options": { "cwd": "{projectRoot}", "command": "mintlify validate" } }, "lint": { "executor": "nx:run-commands", "cache": true, "options": { "cwd": "{projectRoot}", "commands": [ "npx oxlint -c .oxlintrc.json .", "npx tsx scripts/lint-mdx.ts" ], "parallel": false } }, "fmt": { "executor": "nx:run-commands", "cache": true, "options": { "cwd": "{projectRoot}", "command": "prettier . --check --cache --cache-location ../../.cache/prettier/{projectRoot} --cache-strategy metadata" }, "configurations": { "ci": {}, "fix": { "command": "prettier . --write --cache --cache-location ../../.cache/prettier/{projectRoot} --cache-strategy metadata" } } }, "test": { "executor": "nx:run-commands", "options": { "command": "npx vitest run --config {projectRoot}/vitest.config.mts" } }, "generate:ui": { "executor": "nx:run-commands", "cache": false, "options": { "commands": [ "tsx packages/twenty-ui/scripts/generateDocsData.ts", "tsx packages/twenty-docs/scripts/generate-ui-reference.ts" ], "parallel": false } }, "check:ui": { "executor": "nx:run-commands", "cache": false, "options": { "commands": [ "tsx packages/twenty-ui/scripts/generateDocsData.ts --check", "tsx packages/twenty-docs/scripts/generate-ui-reference.ts --check", "tsx packages/twenty-ui/scripts/checkDocsExamples.ts" ], "parallel": false } }, "check:ui-stories": { "executor": "nx:run-commands", "cache": false, "dependsOn": ["twenty-ui:storybook:index"], "options": { "command": "tsx packages/twenty-docs/scripts/check-ui-story-embeds.mts .cache/ui-docs/storybook-index.json" } } } }