From ac1faa6a91849c79b9d99062d6fec1958a6fdd01 Mon Sep 17 00:00:00 2001 From: Maximilian Franzke Date: Fri, 6 Dec 2024 21:03:17 +0100 Subject: [PATCH 1/4] refactor: removed brand fonts from the repositories --- package-lock.json | 15 ++++++++------- package.json | 2 +- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/package-lock.json b/package-lock.json index 8305cbfbe7..e9f4fc5aae 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,7 +10,7 @@ "license": "Apache-2.0", "dependencies": { "@csstools/normalize.css": "^12.1.1", - "@db-ui/base": "^0.28.4" + "@db-ui/base": "^0.29.0-1" }, "devDependencies": { "@babel/cli": "^7.25.9", @@ -1977,9 +1977,10 @@ } }, "node_modules/@db-ui/base": { - "version": "0.28.4", - "resolved": "https://registry.npmjs.org/@db-ui/base/-/base-0.28.4.tgz", - "integrity": "sha512-7rTfXIFcrZ5bb8x80nDMd87GPSMgI8qWEBZOa/jPq3mYkClS+ljOxTt6bLTw16EAjvmrkS93ZY56y9Q2Y/LWZA==" + "version": "0.29.0-1-7729e0a", + "resolved": "https://registry.npmjs.org/@db-ui/base/-/base-0.29.0-1-7729e0a.tgz", + "integrity": "sha512-vlN9Mrm5wS1HYKxm2GJHIpgnKK1JhbIaJldJxDZB4Pj71K2fjC0ieCOjrIAk6ep3NKu0wUAJE8ASwNYu2umruw==", + "license": "DB Design License" }, "node_modules/@eslint-community/eslint-utils": { "version": "4.4.0", @@ -21369,9 +21370,9 @@ "requires": {} }, "@db-ui/base": { - "version": "0.28.4", - "resolved": "https://registry.npmjs.org/@db-ui/base/-/base-0.28.4.tgz", - "integrity": "sha512-7rTfXIFcrZ5bb8x80nDMd87GPSMgI8qWEBZOa/jPq3mYkClS+ljOxTt6bLTw16EAjvmrkS93ZY56y9Q2Y/LWZA==" + "version": "0.29.0-1-7729e0a", + "resolved": "https://registry.npmjs.org/@db-ui/base/-/base-0.29.0-1-7729e0a.tgz", + "integrity": "sha512-vlN9Mrm5wS1HYKxm2GJHIpgnKK1JhbIaJldJxDZB4Pj71K2fjC0ieCOjrIAk6ep3NKu0wUAJE8ASwNYu2umruw==" }, "@eslint-community/eslint-utils": { "version": "4.4.0", diff --git a/package.json b/package.json index 841214b17f..96b201f29a 100644 --- a/package.json +++ b/package.json @@ -58,7 +58,7 @@ "license": "Apache-2.0", "dependencies": { "@csstools/normalize.css": "^12.1.1", - "@db-ui/base": "^0.28.4" + "@db-ui/base": "^0.29.0-1" }, "devDependencies": { "@babel/cli": "^7.25.9", From 4d35252f4352e4d6c8fa98979f4a8dff3dbc4bb2 Mon Sep 17 00:00:00 2001 From: Maximilian Franzke <787658+mfranzke@users.noreply.github.com> Date: Fri, 6 Dec 2024 21:11:58 +0100 Subject: [PATCH 2/4] Update package.json --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 96b201f29a..01d16d95e4 100644 --- a/package.json +++ b/package.json @@ -38,7 +38,7 @@ "js-deploy": "npm run js-build && cpr source/js dist/js -d", "js-build": "babel source/**/*.plugin.js --minified --out-file source/js/plugins.min.js --source-maps", "js-watch": "npm run js-build -- --watch", - "copy-assets": "cpr node_modules/@db-ui/base/build/assets/icons dist/icons -d && cpr node_modules/@db-ui/base/build/assets/fonts dist/fonts --filter=\"^(.*[/]sources[/]).*$\" -d | cpr source/images dist/images -d | cpr source/favicon.ico dist/favicon.ico -o | cpr source/robots.txt dist/robots.txt -o | cpr source/site.webmanifest dist/site.webmanifest -o", + "copy-assets": "cpr node_modules/@db-ui/base/build/assets/icons dist/icons -d | cpr source/images dist/images -d | cpr source/favicon.ico dist/favicon.ico -o | cpr source/robots.txt dist/robots.txt -o | cpr source/site.webmanifest dist/site.webmanifest -o", "copy-scss-sources": "cpr source/_patterns/ sources/_patterns/ --filter=\"^(?!.*[.](scss|sass)$).*$\" -d | cpr source/css/ sources/css/ --filter=\"^(?!.*[.](scss|sass)$).*$\" -d", "clean": "git clean -dfx --exclude=.env", "build": "rimraf dist && npm-run-all css-deploy js-deploy pl:build:* --parallel copy-assets copy-scss-sources", From 68cb2a6c7b5fee2aef767f3d87d72b737dd15831 Mon Sep 17 00:00:00 2001 From: Maximilian Franzke <787658+mfranzke@users.noreply.github.com> Date: Fri, 6 Dec 2024 21:12:12 +0100 Subject: [PATCH 3/4] Update enterprise.patternlab-config.json --- enterprise.patternlab-config.json | 2 -- 1 file changed, 2 deletions(-) diff --git a/enterprise.patternlab-config.json b/enterprise.patternlab-config.json index c1c3b13df4..6a71f54d53 100644 --- a/enterprise.patternlab-config.json +++ b/enterprise.patternlab-config.json @@ -52,7 +52,6 @@ }, "js": "./source/js", "images": "./source/images", - "fonts": "./node_modules/@db-ui/base/build/assets/fonts", "css": "./source/css", "icons": "./node_modules/@db-ui/base/build/assets/icons", "samples": "./source/samples", @@ -71,7 +70,6 @@ "styleguide": "out/styleguide/", "js": "out/js", "images": "out/images", - "fonts": "out/fonts", "css": "out/css", "icons": "out/icons", "samples": "out/samples", From faef9918c0a089383e9dff40cfecb003ebda2872 Mon Sep 17 00:00:00 2001 From: Maximilian Franzke Date: Fri, 6 Dec 2024 21:22:11 +0100 Subject: [PATCH 4/4] feat: added entry for migration guide --- docs/migrationGuide.adoc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/migrationGuide.adoc b/docs/migrationGuide.adoc index cdcc192c71..68e26c8dad 100644 --- a/docs/migrationGuide.adoc +++ b/docs/migrationGuide.adoc @@ -4,6 +4,12 @@ As with every release you're recommended to do a visual regression testing for y Especially the following aspects have changed through the various different releases and would need your review and probably adaptions within your code base. +== DB UI Core 4.0.0 Migration Guide + +=== Removed brand fonts + +We needed to remove the brand fonts from our link:https://www.npmjs.com/package/@db-ui/base[`@db-ui/base`] node package. Please follow the guidelines within link:https://marketingportal.extranet.deutschebahn.com/marketingportal/Design-Anwendungen/db-ux-design-system/version-2/foundation/Typografie[DB Marketingportal] (DB internal) on how to retrieve it as an Inner Source package or download the package with the font files from there (DB external). + == DB UI Core 3.0.0 Migration Guide === Chip