Skip to content

Commit

Permalink
Merge branch 'main' into 3507-docs-db-card-getting-displayed-with-a-l…
Browse files Browse the repository at this point in the history
…ight-regular-edge
  • Loading branch information
nmerget authored Dec 18, 2024
2 parents efc8fb4 + f47ace4 commit 5a33ce9
Show file tree
Hide file tree
Showing 2,995 changed files with 26,838 additions and 13,368 deletions.
10 changes: 5 additions & 5 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@
<!-- What types of changes does your code introduce?
_Put an `x` in the boxes that apply_ -->

- [ ] Bugfix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Refactoring (fix on existing components or architectural decisions)
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
- [ ] Documentation Update (if none of the other choices apply)
- [ ] Bugfix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Refactoring (fix on existing components or architectural decisions)
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
- [ ] Documentation Update (if none of the other choices apply)

<!-- ## Checklist
Expand Down
3 changes: 3 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,3 +82,6 @@ updates:
mdx-js:
patterns:
- "@mdx-js/*"
guidepup:
patterns:
- "@guidepup/*"
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
37 changes: 0 additions & 37 deletions .github/scripts/release/index.js

This file was deleted.

42 changes: 0 additions & 42 deletions .github/scripts/release/upload-asset.js

This file was deleted.

11 changes: 0 additions & 11 deletions .github/scripts/release/zip-folder.js

This file was deleted.

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
4 changes: 2 additions & 2 deletions .github/workflows/02-e2e-screen-reader.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [macos-13] # TODO: Skip window-2022 until https://github.com/guidepup/guidepup/issues/93 is solved. [macos-13, windows-2022]
os: [macos-13, windows-2022]
shardIndex: [1, 2, 3, 4]
shardTotal: [4]
steps:
- name: ⏬ Checkout repo
uses: actions/checkout@v4

- name: 🦮 Guidepup Setup
uses: guidepup/[email protected].0
uses: guidepup/[email protected].2
with:
record: true

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/02-e2e-showcases.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,6 @@ jobs:
if: failure()
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.framework }}-showcase-achecker-results-${{ matrix.shardIndex }}
path: ./showcases/${{ matrix.framework }}-showcase/results
name: ${{ inputs.showcase }}-showcase-achecker-results-${{ matrix.shardIndex }}
path: ./showcases/${{ inputs.showcase }}-showcase/results
retention-days: 30
13 changes: 0 additions & 13 deletions .github/workflows/03-publish-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,19 +36,6 @@ jobs:
name: db-ui-outputs
path: build-outputs

- name: ⏫ Upload Release Assets
id: upload-release-asset
uses: actions/github-script@v7
env:
ICON_RELEASE_ID: ${{ vars.ICON_RELEASE_ID }}
with:
result-encoding: json
script: |
const { default: release } = await import('${{ github.workspace }}/.github/scripts/release/index.js');
const iconReleaseId = '${{ env.ICON_RELEASE_ID }}'
const workspace = '${{ github.workspace }}';
return await release({github, context, workspace, iconReleaseId})
- name: 📰 Publish to NPM Registries
run: |
chmod +rx ./.github/scripts/publish-npm.sh
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ showcases/patternhub/public/iframe-resizer/*
/packages/foundations/assets/icons/functional/fonts/**/*.svg
/packages/foundations/assets/icons/functional/fonts/**/*.ttf
/packages/foundations/assets/icons/functional/fonts/**/*.woff
/packages/foundations/assets/icons/functional/fonts/**/*.json

/output/stencil/.stencil
/output/stencil/loader
Expand Down
11 changes: 7 additions & 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 Expand Up @@ -43,6 +40,12 @@ module.exports = {
'import/no-extraneous-dependencies': 0 // foundation and component.css are inside this repo
}
},
{
files: ['./**/vite.config.ts'],
rules: {
'@typescript-eslint/no-unsafe-call': 0 // We don't need this tsc will handle it anyway
}
},
{
files: ['./showcases/e2e/**'],
rules: {
Expand Down
30 changes: 15 additions & 15 deletions CODE-OF-CONDUCT.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,24 +17,24 @@ diverse, inclusive, and healthy community.
Examples of behavior that contributes to a positive environment for our
community include:

- Demonstrating empathy and kindness toward other people
- Being respectful of differing opinions, viewpoints, and experiences
- Giving and gracefully accepting constructive feedback
- Accepting responsibility and apologizing to those affected by our mistakes,
and learning from the experience
- Focusing on what is best not just for us as individuals, but for the overall
community
- Demonstrating empathy and kindness toward other people
- Being respectful of differing opinions, viewpoints, and experiences
- Giving and gracefully accepting constructive feedback
- Accepting responsibility and apologizing to those affected by our mistakes,
and learning from the experience
- Focusing on what is best not just for us as individuals, but for the overall
community

Examples of unacceptable behavior include:

- The use of sexualized language or imagery, and sexual attention or advances of
any kind
- Trolling, insulting or derogatory comments, and personal or political attacks
- Public or private harassment
- Publishing others' private information, such as a physical or email address,
without their explicit permission
- Other conduct which could reasonably be considered inappropriate in a
professional setting
- The use of sexualized language or imagery, and sexual attention or advances of
any kind
- Trolling, insulting or derogatory comments, and personal or political attacks
- Public or private harassment
- Publishing others' private information, such as a physical or email address,
without their explicit permission
- Other conduct which could reasonably be considered inappropriate in a
professional setting

## Enforcement Responsibilities

Expand Down
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Contributing

Thanks for your interest in our project. Contributions are welcome. Feel free to [open an issue](https://github.com/db-ui/base/issues/new) with questions or reporting ideas and bugs, or [open pull requests](https://github.com/db-ui/base/compare) to contribute code.
Thanks for your interest in our project. Contributions are welcome. Feel free to [open an issue](https://github.com/db-ui/mono/issues/new) with questions or reporting ideas and bugs, or [open pull requests](https://github.com/db-ui/mono/compare) to contribute code.

We are committed to fostering a welcoming, respectful, and harassment-free environment. Be kind!

Expand All @@ -12,4 +12,4 @@ Moreover, you need to duplicate `.env.template` as `.env` and type your own emai

### Conventions

Please be aware that we have some [code and git commit (message and branch naming) conventions](https://github.com/db-ui/core/blob/main/docs/conventions.adoc), that we ensure with some linting tools.
Please be aware that we have some [code and git commit (message and branch naming) conventions](docs/conventions.md), that we ensure with some linting tools.
Loading

0 comments on commit 5a33ce9

Please sign in to comment.