From 7ea1fb41134cbef910c5ec2a2f0194b792fa10fc Mon Sep 17 00:00:00 2001 From: Maximilian Franzke Date: Thu, 24 Jul 2025 07:16:40 +0200 Subject: [PATCH 01/29] feat: added codespell --- .github/workflows/01-lint.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/01-lint.yml b/.github/workflows/01-lint.yml index e77e69585edd..4bf86f6c8547 100644 --- a/.github/workflows/01-lint.yml +++ b/.github/workflows/01-lint.yml @@ -14,6 +14,13 @@ jobs: - name: 🔄 Init Cache uses: ./.github/actions/npm-cache + - name: 📖 Check spelling + uses: codespell-project/actions-codespell@v2 + with: + skip: "*.lock,*.json,node_modules,.git,__snapshots__" + ignore_words_list: "moz,webkit" + check_filenames: true + - name: ⚡ Run Lint run: | npm run postinstall --workspace=nuxt-showcase From 1c9b003dd247b275b6ed3a01d812c99d5b549f95 Mon Sep 17 00:00:00 2001 From: Maximilian Franzke Date: Thu, 24 Jul 2025 08:56:13 +0200 Subject: [PATCH 02/29] fix: lang annotations and spelling --- CODEOWNERS | 6 +++++- CONTRIBUTING.md | 2 +- docs/adr/adr-02-monorepo.md | 2 +- docs/how-to-develop-a-component.md | 2 +- docs/research-other-design-systems.md | 4 ++-- docs/research/multi-select.md | 4 ++-- docs/research/tabs.md | 4 ++-- docs/research/tooltip.md | 4 ++-- packages/components/docs/Backdrop.md | 2 +- packages/components/docs/Validation.md | 2 +- .../src/components/accordion-item/index.html | 4 +++- .../components/src/components/input/input.lite.tsx | 2 +- .../components/src/components/link/docs/Migration.md | 10 +++++----- packages/foundations/assets/fonts/unicode-eu.txt | 1 + .../src/app/components/form/form.component.html | 2 +- showcases/screen-reader/translations.ts | 1 + showcases/vue-showcase/src/components/form/Form.vue | 1 + 17 files changed, 31 insertions(+), 22 deletions(-) diff --git a/CODEOWNERS b/CODEOWNERS index deacd042299d..bced609513a0 100644 --- a/CODEOWNERS +++ b/CODEOWNERS @@ -1,3 +1,7 @@ # Global Repository owners + # see https://docs.github.com/en/free-pro-team@latest/github/creating-cloning-and-archiving-repositories/about-code-owners for details of syntax -* maximilian.franzke@deutschebahn.com nicolas.merget@deutschebahn.com anna.schoderer@deutschebahn.com bruno.schadeck@deutschebahn.com + +# codespell:ignore merget + +- maximilian.franzke@deutschebahn.com nicolas.merget@deutschebahn.com anna.schoderer@deutschebahn.com bruno.schadeck@deutschebahn.com diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index d14daefe038a..bfede2d9d0dc 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -18,7 +18,7 @@ node node_modules/@db-ux/db-theme-illustrative-icons/build/scripts/index.js ``` > [!NOTE] -> If you missed setting up the `.env`-file before running `npm install`, you may need to re-install your packages to ensure the postinstall scrips are executed for decrypting the fonts and other artifacts (`rm --recursive --force node_modules/@db-ux/db-theme* && npm update @db-ux/db-theme`) +> If you missed setting up the `.env`-file before running `npm install`, you may need to re-install your packages to ensure the postinstall scripts are executed for decrypting the fonts and other artifacts (`rm --recursive --force node_modules/@db-ux/db-theme* && npm update @db-ux/db-theme`) ## Start locally diff --git a/docs/adr/adr-02-monorepo.md b/docs/adr/adr-02-monorepo.md index 68e614f28788..248b465e0eec 100644 --- a/docs/adr/adr-02-monorepo.md +++ b/docs/adr/adr-02-monorepo.md @@ -2,7 +2,7 @@ ## Decision and Rationale -To reduce the amount of time spent deploying and linking dependant packages, we combined [base](https://github.com/db-ui/base), [core](https://github.com/db-ui/core) and [elements](https://github.com/db-ui/elements) into a single monorepo, and evolved afterwards regarding new technologies (compare to ADR 01). +To reduce the amount of time spent deploying and linking dependent packages, we combined [base](https://github.com/db-ui/base), [core](https://github.com/db-ui/core) and [elements](https://github.com/db-ui/elements) into a single monorepo, and evolved afterwards regarding new technologies (compare to ADR 01). ## Problem description and context diff --git a/docs/how-to-develop-a-component.md b/docs/how-to-develop-a-component.md index 23a42825e575..6b4cf24b6929 100644 --- a/docs/how-to-develop-a-component.md +++ b/docs/how-to-develop-a-component.md @@ -58,7 +58,7 @@ We use [Mitosis](https://github.com/BuilderIO/Mitosis/tree/main/docs) to develop ### Good to know 1. You cannot use functions directly in a Mitosis component. A function has to be inside the `state`. So add your function to the `model.ts` `DBMyAwesomeComponentDefaultState`. Then you can define your component inside the `.tsx` file and use it in the `jsx` with `state.myAwsomeFunction()`. -2. Try to enable multiple ways of data-binding: For example in `select` you are able to pass in a list of `