Skip to content

Commit

Permalink
Bump angular to 17
Browse files Browse the repository at this point in the history
  • Loading branch information
akariv committed Dec 12, 2023
1 parent eea39fa commit facfcfc
Show file tree
Hide file tree
Showing 35 changed files with 4,958 additions and 6,331 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ RUN npm install
COPY . /app/

ARG ENV_NAME
RUN echo "Building with configuration ${ENV_NAME}" && npm run -- ng build -c ${ENV_NAME} && npm run -- ng run srm:server -c ${ENV_NAME}
RUN echo "Building with configuration ${ENV_NAME}" && npm run -- ng build --configuration ${ENV_NAME} && npm run -- ng run srm:server --configuration ${ENV_NAME}
ARG SENTRY_AUTH_TOKEN
RUN test -z "${SENTRY_AUTH_TOKEN}" || SENTRY_AUTH_TOKEN=${SENTRY_AUTH_TOKEN} npm run sentry:sourcemaps

Expand Down
10 changes: 5 additions & 5 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -105,18 +105,18 @@
"builder": "@angular-devkit/build-angular:dev-server",
"configurations": {
"production": {
"browserTarget": "srm:build:production"
"buildTarget": "srm:build:production"
},
"development": {
"browserTarget": "srm:build:development"
"buildTarget": "srm:build:development"
}
},
"defaultConfiguration": "development"
},
"extract-i18n": {
"builder": "@angular-devkit/build-angular:extract-i18n",
"options": {
"browserTarget": "srm:build"
"buildTarget": "srm:build"
}
},
"test": {
Expand Down Expand Up @@ -175,7 +175,7 @@
"defaultConfiguration": "production"
},
"serve-ssr": {
"builder": "@nguniversal/builders:ssr-dev-server",
"builder": "@angular-devkit/build-angular:ssr-dev-server",
"configurations": {
"development": {
"browserTarget": "srm:build:development",
Expand All @@ -193,7 +193,7 @@
"defaultConfiguration": "staging"
},
"prerender": {
"builder": "@nguniversal/builders:prerender",
"builder": "@angular-devkit/build-angular:prerender",
"options": {
"routes": [
"/"
Expand Down
Loading

0 comments on commit facfcfc

Please sign in to comment.