Ajout des nouveaux composants UI : Alert, Badge, Form, Sheet, Tabs et Input dans le répertoire frontend. Mise à jour du fichier package.json avec des nouvelles dépendances Radix UI et des autres bibliothèques nécessaires. Ajout d'une configuration pour TailwindCSS dans components.json.
78 lines
1.8 KiB
JSON
78 lines
1.8 KiB
JSON
{
|
|
"$schema": "./node_modules/nx/schemas/nx-schema.json",
|
|
"namedInputs": {
|
|
"default": ["{projectRoot}/**/*", "sharedGlobals"],
|
|
"production": [
|
|
"default",
|
|
"!{projectRoot}/cypress/**/*",
|
|
"!{projectRoot}/**/*.cy.[jt]s?(x)",
|
|
"!{projectRoot}/cypress.config.[jt]s",
|
|
"!{projectRoot}/.eslintrc.json",
|
|
"!{projectRoot}/eslint.config.js",
|
|
"!{projectRoot}/**/?(*.)+(spec|test).[jt]s?(x)?(.snap)",
|
|
"!{projectRoot}/tsconfig.spec.json",
|
|
"!{projectRoot}/jest.config.[jt]s",
|
|
"!{projectRoot}/src/test-setup.[jt]s",
|
|
"!{projectRoot}/test-setup.[jt]s"
|
|
],
|
|
"sharedGlobals": []
|
|
},
|
|
"plugins": [
|
|
{
|
|
"plugin": "@nx/next/plugin",
|
|
"options": {
|
|
"startTargetName": "start",
|
|
"buildTargetName": "build",
|
|
"devTargetName": "dev",
|
|
"serveStaticTargetName": "serve-static"
|
|
}
|
|
},
|
|
{
|
|
"plugin": "@nx/cypress/plugin",
|
|
"options": {
|
|
"targetName": "e2e",
|
|
"openTargetName": "open-cypress",
|
|
"componentTestingTargetName": "component-test",
|
|
"ciTargetName": "e2e-ci"
|
|
}
|
|
},
|
|
{
|
|
"plugin": "@nx/eslint/plugin",
|
|
"options": {
|
|
"targetName": "lint"
|
|
}
|
|
},
|
|
{
|
|
"plugin": "@nx/jest/plugin",
|
|
"options": {
|
|
"targetName": "test"
|
|
},
|
|
"exclude": ["apps/backend-e2e/**/*"]
|
|
},
|
|
{
|
|
"plugin": "@nx/webpack/plugin",
|
|
"options": {
|
|
"buildTargetName": "build",
|
|
"serveTargetName": "serve",
|
|
"previewTargetName": "preview"
|
|
}
|
|
}
|
|
],
|
|
"targetDefaults": {
|
|
"e2e-ci--**/*": {
|
|
"dependsOn": ["^build"]
|
|
}
|
|
},
|
|
"generators": {
|
|
"@nx/next": {
|
|
"application": {
|
|
"style": "tailwind",
|
|
"linter": "eslint"
|
|
}
|
|
},
|
|
"@nx/react": {
|
|
"library": {}
|
|
}
|
|
}
|
|
}
|