Skip to content

Latest commit

 

History

History
25 lines (15 loc) · 1.43 KB

v0.6.x-to-v0.7.x.md

File metadata and controls

25 lines (15 loc) · 1.43 KB

Migration Beta (0.6.x) ➡ Beta (0.7.x)

Removed brand assets

We needed to remove the brand assets (font & icons) from our @db-ux/core-foundations node package. Please follow the guidelines within DB Marketingportal on how to retrieve it either as an Inner Source package (DB internal) or to still install the node package from npmjs.com (DB external).

Path changes

We needed to change some path, so you would probably need to make some adaptions within your code:

  • Changed @db-ux/core-foundations/build/scss/ to @db-ux/core-foundations/build/styles/
  • Changed @db-ux/core-foundations/build/css/ to @db-ux/core-foundations/build/styles/
  • Changed @db-ux/core-icons/ to @db-ux/core-icons/build

And icon font files have been moved from functional/fonts/ one level up to fonts/ folder, probably you would need to copy those to your codebase as well again if you don't use a bundler.

Automate migration via CLI

We provide a CLI tool to auto migrate your source code. Use this command in your repository:

npx @db-ux/core-migration --type=v006_v007 --src=./src

Please check the changes made in your codebase afterwards, as this is mainly a simple search & replace regarding the path.