diff --git a/.env.example b/.env.example index cf72db4..83c1ad7 100644 --- a/.env.example +++ b/.env.example @@ -29,6 +29,7 @@ API_PORT=8000 MAX_UPLOAD_SIZE=524288000 # NPM Configuration (for frontend build) -# Leave blank or set to https://registry.npmjs.org/ for default npm registry -# Set to your custom npm proxy/registry URL if needed (e.g., http://your-nexus-server:8081/repository/npm-proxy/) -NPM_REGISTRY= +# Default: https://registry.npmjs.org/ (public npm registry) +# For restricted environments, set to your custom npm proxy/registry URL +# Example: http://your-nexus-server:8081/repository/npm-proxy/ +NPM_REGISTRY=https://registry.npmjs.org/ diff --git a/docker-compose.yml b/docker-compose.yml index 0fdcc5c..1d97582 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -38,7 +38,10 @@ services: app: container_name: warehouse13-app - build: . + build: + context: . + args: + NPM_REGISTRY: ${NPM_REGISTRY:-https://registry.npmjs.org/} ports: - "8000:8000" environment: diff --git a/frontend/package.json b/frontend/package.json index 7b66a72..45c3110 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -23,20 +23,20 @@ }, "private": true, "dependencies": { - "@angular/common": "^19.1.0", - "@angular/compiler": "^19.1.0", - "@angular/core": "^19.1.0", - "@angular/forms": "^19.1.0", - "@angular/platform-browser": "^19.1.0", - "@angular/router": "^19.1.0", + "@angular/common": "19.2.x", + "@angular/compiler": "19.2.x", + "@angular/core": "19.2.x", + "@angular/forms": "19.2.x", + "@angular/platform-browser": "19.2.x", + "@angular/router": "19.2.x", "rxjs": "~7.8.0", "tslib": "^2.8.1", "zone.js": "~0.15.0" }, "devDependencies": { - "@angular/build": "<=19.2.7", - "@angular/cli": "<=19.2.7", - "@angular/compiler-cli": "^19.1.0", + "@angular/build": "19.2.x", + "@angular/cli": "19.2.x", + "@angular/compiler-cli": "19.2.x", "@types/jasmine": "~5.1.0", "jasmine-core": "~5.9.0", "karma": "~6.4.0", @@ -44,7 +44,7 @@ "karma-coverage": "~2.2.0", "karma-jasmine": "~5.1.0", "karma-jasmine-html-reporter": "~2.1.0", - "typescript": "~5.8.0", + "typescript": "5.x.x", "undici-types": "7.12.0", "node-releases": "2.0.21", "node-gyp": "11.4.2",