Skip to content

Commit a444bb6

Browse files
Upgrade (#1284)
* T * started with test update * Upgrade angular. * Fix eslint * Update node. * Update Dockerfile * Fix tour. * Small change.
1 parent 9f4dec0 commit a444bb6

File tree

202 files changed

+14544
-37677
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

202 files changed

+14544
-37677
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ RUN dotnet tool install --tool-path /tools dotnet-dump \
5555
#
5656
# Stage 2, Build Frontend
5757
#
58-
FROM squidex/frontend-build:20.9 AS frontend
58+
FROM squidex/frontend-build:22.19 AS frontend
5959

6060
WORKDIR /src
6161

dev/frontend-build/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM node:20.9.0-slim
1+
FROM node:22.19.0-slim
22

33
ENV CHROME_BIN=/usr/bin/chromium
44

frontend/.eslintrc.js

Lines changed: 0 additions & 163 deletions
This file was deleted.

frontend/.storybook/main.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,7 @@ class FilterSassWarningsPlugin {
2121
module.exports = {
2222
stories: ["../src/**/*.stories.@(js|jsx|ts|tsx)"],
2323
addons: [
24-
'@storybook/addon-actions',
2524
"@storybook/addon-links",
26-
"@storybook/addon-essentials",
2725
"@storybook/addon-interactions"
2826
],
2927
framework: {

frontend/angular.json

Lines changed: 4 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"prefix": "sqx",
1919
"architect": {
2020
"build": {
21-
"builder": "@angular-devkit/build-angular:application",
21+
"builder": "@angular/build:application",
2222
"options": {
2323
"outputPath": "build",
2424
"index": "src/index.html",
@@ -107,7 +107,7 @@
107107
"./src/app/theme"
108108
],
109109
"sass": {
110-
"silenceDeprecations": ["color-functions", "global-builtin", "import"]
110+
"silenceDeprecations": ["color-functions", "global-builtin", "import", "if-function"]
111111
}
112112
},
113113
"scripts": []
@@ -152,7 +152,7 @@
152152
"defaultConfiguration": "production"
153153
},
154154
"serve": {
155-
"builder": "@angular-devkit/build-angular:dev-server",
155+
"builder": "@angular/build:dev-server",
156156
"configurations": {
157157
"production": {
158158
"buildTarget": "squidex:build:production"
@@ -170,29 +170,7 @@
170170
"defaultConfiguration": "development"
171171
},
172172
"test": {
173-
"builder": "@angular-devkit/build-angular:karma",
174-
"options": {
175-
"polyfills": [
176-
"zone.js",
177-
"zone.js/testing"
178-
],
179-
"karmaConfig": "karma.conf.js",
180-
"tsConfig": "tsconfig.spec.json",
181-
"assets": [
182-
"src/favicon.ico",
183-
"src/assets"
184-
],
185-
"styles": [
186-
"src/styles.scss"
187-
],
188-
"stylePreprocessorOptions": {
189-
"includePaths": [
190-
"./src/app/theme",
191-
"node_modules"
192-
]
193-
},
194-
"scripts": []
195-
}
173+
"builder": "@angular/build:unit-test"
196174
},
197175
"storybook": {
198176
"builder": "@storybook/angular:start-storybook",
@@ -209,15 +187,6 @@
209187
}
210188
}
211189
},
212-
"build-storybook": {
213-
"builder": "@storybook/angular:build-storybook",
214-
"options": {
215-
"configDir": ".storybook",
216-
"browserTarget": "squidex:build",
217-
"compodoc": false,
218-
"outputDir": "storybook-static"
219-
}
220-
},
221190
"lint": {
222191
"builder": "@angular-eslint/builder:lint",
223192
"options": {

0 commit comments

Comments
 (0)