Files
twenty/packages/twenty-zapier/project.json
T
neo773 323e66433e lint: migrate prettier to oxfmt (#20783)
Most changes are `implements` being unwrapped this is not a oxfmt
regression
Prettier in 3.7 (we're on 3.1) changed this behaviour prettier blog
[post](https://prettier.io/blog/2025/11/27/3.7.0#change-18094)

This unifies our linting tooling

---------

Co-authored-by: github-actions <github-actions@twenty.com>
Co-authored-by: Charles Bochet <charles@twenty.com>
2026-05-22 00:21:33 +02:00

85 lines
1.9 KiB
JSON

{
"name": "twenty-zapier",
"projectType": "application",
"tags": ["scope:zapier"],
"targets": {
"build": {
"outputs": ["{projectRoot}/lib"],
"executor": "nx:run-commands",
"options": {
"cwd": "{projectRoot}",
"commands": ["npx vite build"]
},
"dependsOn": ["clean", "^build"]
},
"format": {
"executor": "nx:run-commands",
"options": {
"cwd": "{projectRoot}",
"commands": ["npx oxfmt ."]
},
"configurations": {
"check": {
"commands": ["npx oxfmt --check ."]
}
}
},
"test": {
"executor": "nx:run-commands",
"options": {
"cwd": "{projectRoot}",
"commands": ["NODE_ENV=test jest --testTimeout 10000"]
}
},
"lint": {},
"typecheck": {},
"validate": {
"executor": "nx:run-commands",
"options": {
"cwd": "{projectRoot}",
"commands": ["zapier validate"]
},
"dependsOn": ["build"]
},
"versions": {
"executor": "nx:run-commands",
"options": {
"cwd": "{projectRoot}",
"commands": ["zapier versions"]
},
"dependsOn": ["build"]
},
"watch": {
"executor": "nx:run-commands",
"options": {
"cwd": "{projectRoot}",
"commands": ["nx run twenty-zapier:clean && npx tsc --watch"]
},
"dependsOn": ["build"]
},
"clean": {
"executor": "nx:run-commands",
"options": {
"cwd": "{projectRoot}",
"commands": ["rimraf ./lib"]
}
},
"deploy": {
"executor": "nx:run-commands",
"options": {
"cwd": "{projectRoot}",
"commands": ["zapier push --disable-dependency-detection"]
},
"dependsOn": ["build"]
},
"promote": {
"executor": "nx:run-commands",
"options": {
"cwd": "{projectRoot}",
"commands": ["zapier promote"]
},
"dependsOn": ["build"]
}
}
}