Quick proof of concept for twenty-apps + twenty-cli, with local development / hot reload Let's discuss it! https://github.com/user-attachments/assets/c6789936-cd5f-4110-a265-863a6ac1af2d
36 lines
1.0 KiB
JSON
36 lines
1.0 KiB
JSON
{
|
|
"name": "twenty-apps",
|
|
"$schema": "../../node_modules/nx/schemas/project-schema.json",
|
|
"projectType": "library",
|
|
"tags": ["scope:apps", "type:applications"],
|
|
"targets": {
|
|
"lint": {
|
|
"executor": "nx:run-commands",
|
|
"options": {
|
|
"command": "echo 'No linting needed for application manifests'"
|
|
}
|
|
},
|
|
"list": {
|
|
"executor": "nx:run-commands",
|
|
"options": {
|
|
"cwd": "packages/twenty-apps",
|
|
"command": "find . -name 'twenty-app.json' -exec dirname {} \\; | sed 's|^\\./||' | sort"
|
|
}
|
|
},
|
|
"info": {
|
|
"executor": "nx:run-commands",
|
|
"options": {
|
|
"cwd": "packages/twenty-apps",
|
|
"command": "echo 'Available Twenty Applications:' && find . -name 'twenty-app.json' -exec sh -c 'echo \"\\n📦 $(dirname \"$1\" | sed \"s|^\\./||\"): $(jq -r \".label\" \"$1\")\"' _ {} \\;"
|
|
}
|
|
},
|
|
"test": {
|
|
"executor": "nx:run-commands",
|
|
"options": {
|
|
"cwd": "packages/twenty-apps",
|
|
"command": "yarn test"
|
|
}
|
|
}
|
|
}
|
|
}
|