Enhanced `project.json` to include a Docker build target configuration using `@nx-tools/nx-container`. Additionally, updated `package.json` and `pnpm-lock.yaml` files with new dependencies for project functionality and maintenance.
28 lines
640 B
JSON
28 lines
640 B
JSON
{
|
|
"name": "frontend",
|
|
"$schema": "../../node_modules/nx/schemas/project-schema.json",
|
|
"sourceRoot": "apps/frontend",
|
|
"projectType": "application",
|
|
"tags": [],
|
|
"targets": {
|
|
"container": {
|
|
"executor": "@nx-tools/nx-container:build",
|
|
"dependsOn": ["build"],
|
|
"options": {
|
|
"engine": "docker",
|
|
"metadata": {
|
|
"images": ["frontend"],
|
|
"load": true,
|
|
"tags": [
|
|
"type=schedule",
|
|
"type=ref,event=branch",
|
|
"type=ref,event=tag",
|
|
"type=ref,event=pr",
|
|
"type=sha,prefix=sha-"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|