Fix pre-commit script to properly handle multiple files and resolve ESLint warnings
This commit is contained in:
@@ -72,24 +72,28 @@ APP_NAME=StagingApp
|
||||
### Files That Use APP_NAME
|
||||
|
||||
1. **Frontend Files**:
|
||||
- `index.html.template` - Page title
|
||||
- `App.tsx` - UI header text
|
||||
- `vite.config.ts` - Environment variable mapping
|
||||
|
||||
- `index.html.template` - Page title
|
||||
- `App.tsx` - UI header text
|
||||
- `vite.config.ts` - Environment variable mapping
|
||||
|
||||
2. **Docker Files**:
|
||||
- `docker/Dockerfile` - Build argument and environment variable
|
||||
- `docker/docker-compose.yaml` - Build args and labels
|
||||
|
||||
- `docker/Dockerfile` - Build argument and environment variable
|
||||
- `docker/docker-compose.yaml` - Build args and labels
|
||||
|
||||
3. **Kubernetes Templates**:
|
||||
- `k8s/frontend-deployment.yaml.template` - Resource names and labels
|
||||
- `k8s/configmap.yaml.template` - Resource names and labels
|
||||
- All other `k8s/*.yaml.template` files
|
||||
|
||||
- `k8s/frontend-deployment.yaml.template` - Resource names and labels
|
||||
- `k8s/configmap.yaml.template` - Resource names and labels
|
||||
- All other `k8s/*.yaml.template` files
|
||||
|
||||
4. **Scripts**:
|
||||
- `scripts/deploy.sh` - Container and image naming
|
||||
- `scripts/buildx-helper.sh` - Container and image naming
|
||||
- `scripts/validate-deployment.sh` - Container and image naming
|
||||
- `scripts/process-html.sh` - HTML template processing
|
||||
|
||||
- `scripts/deploy.sh` - Container and image naming
|
||||
- `scripts/buildx-helper.sh` - Container and image naming
|
||||
- `scripts/validate-deployment.sh` - Container and image naming
|
||||
- `scripts/process-html.sh` - HTML template processing
|
||||
|
||||
## Build Process
|
||||
|
||||
|
||||
Reference in New Issue
Block a user