Skip to content

Commit

Permalink
Merge branch 'main' into refactor-try-out-new-ubuntu-version
Browse files Browse the repository at this point in the history
  • Loading branch information
mfranzke authored Dec 17, 2024
2 parents e685317 + b17bb92 commit 368185e
Show file tree
Hide file tree
Showing 101 changed files with 512 additions and 319 deletions.
6 changes: 3 additions & 3 deletions .github/scripts/publish-npm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ echo "goto build-outputs"
cd build-outputs || exit 1

# TODO: Add other build as well
for PACKAGE in 'foundations' 'components' 'ngx-components' 'react-components' 'v-components' 'web-components'; do
for PACKAGE in 'foundations' 'migration' 'components' 'ngx-components' 'react-components' 'v-components' 'web-components'; do
echo "Start $PACKAGE bundle:"

echo "🆚 Update Version"
npm version --no-git-tag-version "$VALID_SEMVER_VERSION" --workspace=@db-ui/"$PACKAGE"

if [[ $PACKAGE != 'foundations' ]]; then
if [[ $PACKAGE != 'foundations' && $PACKAGE != 'migration' ]]; then
echo "🕵️‍ Set foundations dependency"
npm pkg set dependencies.@db-ui/foundations="$VALID_SEMVER_VERSION" --workspace=@db-ui/"$PACKAGE"
if [[ $PACKAGE != 'components' ]]; then
Expand Down Expand Up @@ -58,7 +58,7 @@ for REGISTRY in 'GITHUB' 'NPM'; do
fi

# TODO: Add other build as well
for PACKAGE in 'foundations' 'components' 'ngx-components' 'react-components' 'v-components' 'web-components'; do
for PACKAGE in 'foundations' 'migration' 'components' 'ngx-components' 'react-components' 'v-components' 'web-components'; do
echo "⤴ Publish $PACKAGE with tag $TAG to $REGISTRY"
# https://docs.npmjs.com/generating-provenance-statements#example-github-actions-workflow
npm publish --tag "$TAG" db-ui-"$PACKAGE"-"$VALID_SEMVER_VERSION".tgz --provenance
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/01-build-outputs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,12 @@ jobs:
name: db-ui-components-build
path: packages/components/build

- name: ⏬ Download migration build
uses: actions/download-artifact@v4
with:
name: db-ui-migration-build
path: packages/migration/build

- name: ⏬ Download output
uses: actions/download-artifact@v4
with:
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/01-build-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,12 @@ jobs:
name: db-ui-components-build
path: packages/components/build

- name: ⏫ Upload migration build
uses: actions/upload-artifact@v4
with:
name: db-ui-migration-build
path: packages/migration/build

- name: 💀 Killing me softly
uses: ./.github/actions/cancel-workflow
if: failure()
Expand Down
5 changes: 1 addition & 4 deletions .xo-config.cjs
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
module.exports = {
prettier: true,
ignores: [
'./showcases/nuxt-showcase/**',
'./packages/foundations/scripts/**'
],
ignores: ['./showcases/nuxt-showcase/**', './packages/migration/**'],
overrides: [
{
files: ['./showcases/angular-showcase/**'],
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -61,16 +61,16 @@
- text: Number
- spinbutton "Number": "123456"
- status
- text: db" / " Label
- text: x_placeholder" / " Label
- textbox "Label"
- status
- text: db" / " Label
- text: x_placeholder" / " Label
- textbox "Label"
- status
- text: db" / " Label
- text: x_placeholder" / " Label
- textbox "Label"
- status
- text: db" / "
- text: x_placeholder" / "
- link "Requirement arrow_up_right\" / \""
- text: Label
- textbox "Label"
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -61,16 +61,16 @@
- text: Number
- spinbutton "Number": "123456"
- status
- text: db" / " Label
- text: x_placeholder" / " Label
- textbox "Label"
- status
- text: db" / " Label
- text: x_placeholder" / " Label
- textbox "Label"
- status
- text: db" / " Label
- text: x_placeholder" / " Label
- textbox "Label"
- status
- text: db" / "
- text: x_placeholder" / "
- link "Requirement arrow_up_right\" / \""
- text: Label
- textbox "Label"
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -61,16 +61,16 @@
- text: Number
- spinbutton "Number": "123456"
- status
- text: db" / " Label
- text: x_placeholder" / " Label
- textbox "Label"
- status
- text: db" / " Label
- text: x_placeholder" / " Label
- textbox "Label"
- status
- text: db" / " Label
- text: x_placeholder" / " Label
- textbox "Label"
- status
- text: db" / "
- text: x_placeholder" / "
- link "Requirement arrow_up_right\" / \""
- text: Label
- textbox "Label"
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -61,16 +61,16 @@
- text: Number
- spinbutton "Number": "123456"
- status
- text: db" / " Label
- text: x_placeholder" / " Label
- textbox "Label"
- status
- text: db" / " Label
- text: x_placeholder" / " Label
- textbox "Label"
- status
- text: db" / " Label
- text: x_placeholder" / " Label
- textbox "Label"
- status
- text: db" / "
- text: x_placeholder" / "
- link "Requirement arrow_up_right\" / \""
- text: Label
- textbox "Label"
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -61,16 +61,16 @@
- text: Number
- spinbutton "Number": "123456"
- status
- text: db" / " Label
- text: x_placeholder" / " Label
- textbox "Label"
- status
- text: db" / " Label
- text: x_placeholder" / " Label
- textbox "Label"
- status
- text: db" / " Label
- text: x_placeholder" / " Label
- textbox "Label"
- status
- text: db" / "
- text: x_placeholder" / "
- link "Requirement arrow_up_right\" / \""
- text: Label
- textbox "Label"
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@
- text: (Default) Text
- text: (Default) Text
- status
- text: chevron_down" / " db" / " Label
- text: chevron_down" / " x_placeholder" / " Label
- combobox "Label":
- option "Option 1"
- option "Option 2"
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@
- text: (Default) Text
- text: (Default) Text
- status
- text: chevron_down" / " db" / " Label
- text: chevron_down" / " x_placeholder" / " Label
- combobox "Label":
- option "Option 1"
- option "Option 2"
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@
- text: (Default) Text
- text: (Default) Text
- status
- text: chevron_down" / " db" / " Label
- text: chevron_down" / " x_placeholder" / " Label
- combobox "Label":
- option "Option 1"
- option "Option 2"
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@
- text: (Default) Text
- text: (Default) Text
- status
- text: chevron_down" / " db" / " Label
- text: chevron_down" / " x_placeholder" / " Label
- combobox "Label":
- option "Option 1"
- option "Option 2"
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@
- text: (Default) Text
- text: (Default) Text
- status
- text: chevron_down" / " db" / " Label
- text: chevron_down" / " x_placeholder" / " Label
- combobox "Label":
- option "Option 1"
- option "Option 2"
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,15 @@
- tab "(Default) Text": "on"
- text: (Default) Text
- tablist:
- text: db" / "
- tab "db\" / \" Text - Icon (Leading)": "on"
- text: x_placeholder" / "
- tab "x_placeholder\" / \" Text - Icon (Leading)": "on"
- text: Text - Icon (Leading)
- tablist:
- tab "Text - Icon (Trailing) db\" / \"": "on"
- text: Text - Icon (Trailing) db" / "
- tab "Text - Icon (Trailing) x_placeholder\" / \"": "on"
- text: Text - Icon (Trailing) x_placeholder" / "
- tablist:
- text: db" / "
- tab "db\" / \" Icon": "on"
- text: x_placeholder" / "
- tab "x_placeholder\" / \" Icon": "on"
- text: Icon
- link "Behaviour arrow_up_right\" / \""
- tablist:
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,15 @@
- tab "(Default) Text": "on"
- text: (Default) Text
- tablist:
- text: db" / "
- tab "db\" / \" Text - Icon (Leading)": "on"
- text: x_placeholder" / "
- tab "x_placeholder\" / \" Text - Icon (Leading)": "on"
- text: Text - Icon (Leading)
- tablist:
- tab "Text - Icon (Trailing) db\" / \"": "on"
- text: Text - Icon (Trailing) db" / "
- tab "Text - Icon (Trailing) x_placeholder\" / \"": "on"
- text: Text - Icon (Trailing) x_placeholder" / "
- tablist:
- text: db" / "
- tab "db\" / \" Icon": "on"
- text: x_placeholder" / "
- tab "x_placeholder\" / \" Icon": "on"
- text: Icon
- link "Behaviour arrow_up_right\" / \""
- tablist:
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,15 @@
- tab "(Default) Text": "on"
- text: (Default) Text
- tablist:
- text: db" / "
- tab "db\" / \" Text - Icon (Leading)": "on"
- text: x_placeholder" / "
- tab "x_placeholder\" / \" Text - Icon (Leading)": "on"
- text: Text - Icon (Leading)
- tablist:
- tab "Text - Icon (Trailing) db\" / \"": "on"
- text: Text - Icon (Trailing) db" / "
- tab "Text - Icon (Trailing) x_placeholder\" / \"": "on"
- text: Text - Icon (Trailing) x_placeholder" / "
- tablist:
- text: db" / "
- tab "db\" / \" Icon": "on"
- text: x_placeholder" / "
- tab "x_placeholder\" / \" Icon": "on"
- text: Icon
- link "Behaviour arrow_up_right\" / \""
- tablist:
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,15 @@
- tab "(Default) Text": "on"
- text: (Default) Text
- tablist:
- text: db" / "
- tab "db\" / \" Text - Icon (Leading)": "on"
- text: x_placeholder" / "
- tab "x_placeholder\" / \" Text - Icon (Leading)": "on"
- text: Text - Icon (Leading)
- tablist:
- tab "Text - Icon (Trailing) db\" / \"": "on"
- text: Text - Icon (Trailing) db" / "
- tab "Text - Icon (Trailing) x_placeholder\" / \"": "on"
- text: Text - Icon (Trailing) x_placeholder" / "
- tablist:
- text: db" / "
- tab "db\" / \" Icon": "on"
- text: x_placeholder" / "
- tab "x_placeholder\" / \" Icon": "on"
- text: Icon
- link "Behaviour arrow_up_right\" / \""
- tablist:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,15 @@
- tab "(Default) Text": "on"
- text: (Default) Text
- tablist:
- text: db" / "
- tab "db\" / \" Text - Icon (Leading)": "on"
- text: x_placeholder" / "
- tab "x_placeholder\" / \" Text - Icon (Leading)": "on"
- text: Text - Icon (Leading)
- tablist:
- tab "Text - Icon (Trailing) db\" / \"": "on"
- text: Text - Icon (Trailing) db" / "
- tab "Text - Icon (Trailing) x_placeholder\" / \"": "on"
- text: Text - Icon (Trailing) x_placeholder" / "
- tablist:
- text: db" / "
- tab "db\" / \" Icon": "on"
- text: x_placeholder" / "
- tab "x_placeholder\" / \" Icon": "on"
- text: Icon
- link "Behaviour arrow_up_right\" / \""
- tablist:
Expand Down
2 changes: 1 addition & 1 deletion docs/migration/v0.2.x-to-v0.3.x.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ We refactored our colors which might add some breaking changes to current projec

## Automate migration via CLI

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

```shell
npx @db-ui/[email protected] migration --src=./src
Expand Down
2 changes: 1 addition & 1 deletion docs/migration/v0.3.x-to-v0.4.x.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ We refactored our icons which might add some breaking changes to current project

## Automate migration via CLI

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

```shell
npx @db-ui/[email protected] migration --type=icon --src=./src
Expand Down
4 changes: 2 additions & 2 deletions docs/migration/v0.5.x-to-v0.6.x.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ We changed some properties for components to align with Figma properties:

## Automate migration via CLI

We provide a cli tool to auto migrate your source code. Use this command in your repository:
We provide a CLI tool to auto migrate your source code (except for `content` to `text` attribute on `Accordion-Item`). Use this command in your repository:

```shell
npx @db-ui/[email protected] migration --type=v005_v006 --src=./src
npx @db-ui/migration --type=v005_v006 --src=./src
```

Please check the changes made in your codebase afterwards, as this is mainly a simple search & replace and there might be unexpected changes of similar wordings to our icon names for any other methods, or further code occurrences that don't even refer to icons.
2 changes: 1 addition & 1 deletion output/stencil/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
},
"devDependencies": {
"@custom-elements-manifest/analyzer": "^0.10.4",
"@stencil/core": "4.22.3",
"@stencil/core": "4.23.0",
"cem-plugin-expanded-types": "^1.3.2",
"custom-element-jet-brains-integration": "^1.6.2",
"custom-element-vs-code-integration": "^1.4.1",
Expand Down
Loading

0 comments on commit 368185e

Please sign in to comment.