mirror of
https://github.com/twentyhq/twenty.git
synced 2026-06-11 01:16:55 -04:00
@martmull v2.0 ;) --------- Co-authored-by: martmull <martmull@hotmail.fr> Co-authored-by: bosiraphael <raphael.bosi@gmail.com>
60 lines
1.6 KiB
JSON
60 lines
1.6 KiB
JSON
{
|
|
"name": "twenty-codex-plugin",
|
|
"$schema": "../../node_modules/nx/schemas/project-schema.json",
|
|
"sourceRoot": "packages/twenty-codex-plugin",
|
|
"projectType": "library",
|
|
"tags": ["scope:codex-plugin"],
|
|
"targets": {
|
|
"validate": {
|
|
"executor": "nx:run-commands",
|
|
"cache": true,
|
|
"options": {
|
|
"cwd": "{projectRoot}",
|
|
"command": "node ./scripts/validate.js"
|
|
},
|
|
"inputs": [
|
|
"{projectRoot}/.codex-plugin/**/*",
|
|
"{projectRoot}/.mcp.json",
|
|
"{projectRoot}/assets/**/*",
|
|
"{projectRoot}/package.json",
|
|
"{projectRoot}/references/**/*",
|
|
"{projectRoot}/scripts/**/*",
|
|
"{projectRoot}/skills/**/*",
|
|
"{projectRoot}/templates/**/*"
|
|
]
|
|
},
|
|
"test": {
|
|
"executor": "nx:run-commands",
|
|
"cache": true,
|
|
"options": {
|
|
"cwd": "{projectRoot}",
|
|
"command": "node --test ./scripts/__tests__/*.spec.js"
|
|
},
|
|
"inputs": [
|
|
"{projectRoot}/scripts/**/*"
|
|
]
|
|
},
|
|
"setup:mcp": {
|
|
"executor": "nx:run-commands",
|
|
"options": {
|
|
"cwd": "{projectRoot}",
|
|
"command": "bash ./scripts/setup-mcp.sh"
|
|
}
|
|
},
|
|
"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"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|