mirror of
https://github.com/twentyhq/twenty.git
synced 2024-12-26 13:31:45 +03:00
eef1211463
Split from https://github.com/twentyhq/twenty/pull/4518 Part of https://github.com/twentyhq/twenty/issues/4766 - Re-generates some of the twenty-ui test and storybook config with Nx - Includes tsx files in twenty-ui tests and compiles them with swc --------- Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com>
85 lines
1.6 KiB
JSON
85 lines
1.6 KiB
JSON
{
|
|
"targetDefaults": {
|
|
"build": {
|
|
"cache": true,
|
|
"dependsOn": ["^build"]
|
|
},
|
|
"start": {
|
|
"cache": true,
|
|
"dependsOn": ["^build"]
|
|
},
|
|
"lint": {
|
|
"cache": true
|
|
},
|
|
"test": {
|
|
"cache": true,
|
|
"dependsOn": ["^build"]
|
|
},
|
|
"test:e2e": {
|
|
"cache": true,
|
|
"dependsOn": ["^build"]
|
|
},
|
|
"@nx/jest:jest": {
|
|
"cache": true,
|
|
"inputs": ["default", "^default", "{workspaceRoot}/jest.preset.js"],
|
|
"options": {
|
|
"passWithNoTests": true
|
|
},
|
|
"configurations": {
|
|
"ci": {
|
|
"ci": true,
|
|
"codeCoverage": true
|
|
}
|
|
}
|
|
},
|
|
"@nx/eslint:lint": {
|
|
"cache": true,
|
|
"inputs": [
|
|
"default",
|
|
"{workspaceRoot}/.eslintrc.js",
|
|
"{workspaceRoot}/tools/eslint-rules/**/*"
|
|
]
|
|
},
|
|
"@nx/vite:test": {
|
|
"cache": true,
|
|
"inputs": ["default", "^default"]
|
|
},
|
|
"@nx/vite:build": {
|
|
"cache": true,
|
|
"dependsOn": ["^build"],
|
|
"inputs": ["default", "^default"]
|
|
},
|
|
"storybook:build": {
|
|
"cache": true,
|
|
"inputs": [
|
|
"default",
|
|
"^default",
|
|
"{projectRoot}/.storybook/**/*",
|
|
"{projectRoot}/tsconfig.storybook.json"
|
|
]
|
|
}
|
|
},
|
|
"installation": {
|
|
"version": "18.1.3"
|
|
},
|
|
"generators": {
|
|
"@nx/react": {
|
|
"application": {
|
|
"babel": true
|
|
},
|
|
"library": {
|
|
"unitTestRunner": "none"
|
|
}
|
|
}
|
|
},
|
|
"tasksRunnerOptions": {
|
|
"default": {
|
|
"options": {
|
|
"cacheableOperations": ["storybook:build"]
|
|
}
|
|
}
|
|
},
|
|
"useInferencePlugins": false,
|
|
"defaultBase": "main"
|
|
}
|