- Add Spring Boot 3.4 backend with health API, CORS, and dev/prod profiles - Add React 18 + Vite frontend with typed health client - Configure NX workspace, pnpm, and Docker Compose stacks - Document stack, commands, and layout in README - Add .gitignore for Node, Java, Docker, and IDE artifacts
79 lines
No EOL
1.5 KiB
JSON
79 lines
No EOL
1.5 KiB
JSON
{
|
|
"$schema": "./node_modules/nx/schemas/nx-schema.json",
|
|
"defaultBase": "main",
|
|
"namedInputs": {
|
|
"default": [
|
|
"{projectRoot}/**/*",
|
|
"sharedGlobals"
|
|
],
|
|
"sharedGlobals": [
|
|
"{workspaceRoot}/nx.json"
|
|
],
|
|
"typescript": [
|
|
"{projectRoot}/**/*.ts",
|
|
"{projectRoot}/**/*.tsx",
|
|
"{projectRoot}/tsconfig*.json",
|
|
"{projectRoot}/package.json"
|
|
],
|
|
"java": [
|
|
"{projectRoot}/src/**/*.java",
|
|
"{projectRoot}/pom.xml",
|
|
"{projectRoot}/build.gradle*"
|
|
],
|
|
"docker": [
|
|
"{projectRoot}/Dockerfile",
|
|
"{workspaceRoot}/docker-compose*.yml"
|
|
]
|
|
},
|
|
"targetDefaults": {
|
|
"build": {
|
|
"cache": true,
|
|
"dependsOn": [
|
|
"^build"
|
|
],
|
|
"inputs": [
|
|
"default",
|
|
"^default"
|
|
]
|
|
},
|
|
"test": {
|
|
"cache": true,
|
|
"inputs": [
|
|
"default",
|
|
"^default"
|
|
]
|
|
},
|
|
"serve": {
|
|
"cache": false
|
|
},
|
|
"docker-build": {
|
|
"cache": false,
|
|
"dependsOn": [
|
|
"build"
|
|
]
|
|
},
|
|
"@nx/vite:build": {
|
|
"cache": true,
|
|
"inputs": [
|
|
"typescript",
|
|
"^typescript"
|
|
],
|
|
"outputs": [
|
|
"{options.outputPath}"
|
|
]
|
|
}
|
|
},
|
|
"plugins": [
|
|
{
|
|
"plugin": "@nx/vite/plugin",
|
|
"options": {
|
|
"buildTargetName": "build",
|
|
"serveTargetName": "serve",
|
|
"previewTargetName": "preview",
|
|
"testTargetName": "test",
|
|
"serveStaticTargetName": "serve-static"
|
|
}
|
|
}
|
|
],
|
|
"analytics": true
|
|
} |