Skip to content

Commit a385ff6

Browse files
committed
upgrade angular 14 to v16
Signed-off-by: naman9271 <namanjain9271@gmail.com>
1 parent 3e61392 commit a385ff6

15 files changed

Lines changed: 12911 additions & 32768 deletions

File tree

components/centraldashboard-angular/Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# --- Build the backend ---
2-
FROM node:16.20.2-bullseye as backend
2+
FROM node:18.19.0-bullseye as backend
33

44
COPY ./backend/ ./src
55
WORKDIR /src
@@ -9,7 +9,7 @@ RUN npm ci && \
99
npm prune --production
1010

1111
# --- Build the frontend kubeflow library ---
12-
FROM node:16.20.2-bullseye as frontend-kubeflow-lib
12+
FROM node:18.19.0-bullseye as frontend-kubeflow-lib
1313

1414
WORKDIR /src
1515

@@ -24,7 +24,7 @@ COPY ./kubeflow-common-lib/tsconfig.json .
2424
RUN npm run build
2525

2626
# --- Build the frontend ---
27-
FROM node:16.20.2-bullseye as frontend
27+
FROM node:18.19.0-bullseye as frontend
2828

2929
ARG kubeflowversion=unknown
3030
ENV BUILD_VERSION=$kubeflowversion
@@ -39,7 +39,7 @@ COPY --from=frontend-kubeflow-lib /src/dist/kubeflow/ ./node_modules/kubeflow/
3939
RUN npm run build -- --output-path=./dist/default --configuration=production
4040

4141
# Step 2: Packages assets for serving
42-
FROM node:16.20.2-alpine AS serve
42+
FROM node:18.19.0-alpine AS serve
4343

4444
ENV NODE_ENV=production
4545
WORKDIR /app

components/centraldashboard-angular/frontend/.eslintrc.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@
66
"overrides": [
77
{
88
"files": [
9-
"*.ts",
10-
"*.js"
9+
"*.ts"
1110
],
1211
"parserOptions": {
1312
"project": [
@@ -35,8 +34,7 @@
3534
"prefix": "app",
3635
"style": "kebab-case"
3736
}
38-
],
39-
"@typescript-eslint/no-non-null-assertion": "warn"
37+
]
4038
}
4139
},
4240
{

components/centraldashboard-angular/frontend/angular.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,8 +139,10 @@
139139
}
140140
}
141141
},
142-
"defaultProject": "frontend",
143142
"cli": {
144-
"defaultCollection": "@angular-eslint/schematics"
143+
"schematicCollections": [
144+
"@angular-eslint/schematics"
145+
],
146+
"analytics": "1c41d9cd-4c11-42d5-b5e7-a594a31643ca"
145147
}
146148
}

0 commit comments

Comments
 (0)