Skip to content

Commit

Permalink
Merge branch 'develop' of https://github.com/public-ui/kolibri into m…
Browse files Browse the repository at this point in the history
…erge/v2-to-dev
  • Loading branch information
deleonio committed Nov 27, 2024
2 parents 42f5ca9 + f74480e commit 17e1dd2
Show file tree
Hide file tree
Showing 520 changed files with 3,150 additions and 64,140 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ jobs:
- name: Unit Tests
run: pnpm -r test:unit

# Tests in sample app are currently failing and hence disabled.
# Remove `--filter @public-ui/components` after tests have been fixed in #7003.
# Tests in sample app are currently failing and hence disabled.
# Remove `--filter @public-ui/components` after tests have been fixed in #7003.
- name: E2E Test
run: pnpm --filter @public-ui/components test:e2e

Expand All @@ -69,7 +69,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
package: ['@public-ui/test-tag-name-transformer', '@public-ui/theme-bmf', '@public-ui/theme-default']
package: ['@public-ui/test-tag-name-transformer', '@public-ui/theme-default']
steps:
- uses: actions/checkout@v4
with:
Expand Down
37 changes: 18 additions & 19 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ env:
access: public
npmjs-registry: https://registry.npmjs.org
github-registry: https://npm.pkg.github.com
prefix: v2

on:
workflow_dispatch:
Expand Down Expand Up @@ -95,109 +94,109 @@ jobs:
git config --local user.email "${{ steps.get-user-id.outputs.user-id }}+${{ steps.app-token.outputs.app-slug }}[bot]@users.noreply.github.com"
git config --local user.name "${{ steps.app-token.outputs.app-slug }}[bot]"
- name: Bump versions without dev-tag and with git push
- name: Bump Versions non-dev
if: github.event.inputs.tag != 'dev'
run: 'HUSKY=0 npx lerna version ${{github.event.inputs.version}} --preid=${{github.event.inputs.label}} --no-private --tag-version-prefix="" -m "chore: release %v" -y --force-publish'

- name: Bump versions with dev-tag and without git push
- name: Bump Versions dev and do not push
if: github.event.inputs.tag == 'dev'
run: 'HUSKY=0 npx lerna version prerelease --preid=$GITHUB_SHA --no-private --tag-version-prefix="" -m "chore: release %v" -y --force-publish --no-push'

- name: Build
run: pnpm -r build

- name: Build and publish components
run: pnpm publish --access ${{env.access}} --no-git-checks --tag ${{env.prefix}}-${{github.event.inputs.tag}}
run: pnpm publish --access ${{env.access}} --no-git-checks --tag ${{github.event.inputs.tag}}
working-directory: packages/components
env:
NODE_AUTH_TOKEN: ${{secrets.NPMJS_GRANULAR_TOKEN}}
NPM_CONFIG_PROVENANCE: true
- name: Build and publish adapter angular v15
run: pnpm publish --access ${{env.access}} --no-git-checks --tag ${{env.prefix}}-${{github.event.inputs.tag}}
run: pnpm publish --access ${{env.access}} --no-git-checks --tag ${{github.event.inputs.tag}}
working-directory: packages/adapters/angular/v15
env:
NODE_AUTH_TOKEN: ${{secrets.NPMJS_GRANULAR_TOKEN}}
NPM_CONFIG_PROVENANCE: true
- name: Build and publish adapter angular v16
run: pnpm publish --access ${{env.access}} --no-git-checks --tag ${{env.prefix}}-${{github.event.inputs.tag}}
run: pnpm publish --access ${{env.access}} --no-git-checks --tag ${{github.event.inputs.tag}}
working-directory: packages/adapters/angular/v16
env:
NODE_AUTH_TOKEN: ${{secrets.NPMJS_GRANULAR_TOKEN}}
NPM_CONFIG_PROVENANCE: true
- name: Build and publish adapter angular v17
run: pnpm publish --access ${{env.access}} --no-git-checks --tag ${{env.prefix}}-${{github.event.inputs.tag}}
run: pnpm publish --access ${{env.access}} --no-git-checks --tag ${{github.event.inputs.tag}}
working-directory: packages/adapters/angular/v17
env:
NODE_AUTH_TOKEN: ${{secrets.NPMJS_GRANULAR_TOKEN}}
NPM_CONFIG_PROVENANCE: true
- name: Build and publish adapter angular v18
run: pnpm publish --access ${{env.access}} --no-git-checks --tag ${{env.prefix}}-${{github.event.inputs.tag}}
run: pnpm publish --access ${{env.access}} --no-git-checks --tag ${{github.event.inputs.tag}}
working-directory: packages/adapters/angular/v18
env:
NODE_AUTH_TOKEN: ${{secrets.NPMJS_GRANULAR_TOKEN}}
NPM_CONFIG_PROVENANCE: true
- name: Build and publish adapter react
run: pnpm publish --access ${{env.access}} --no-git-checks --tag ${{env.prefix}}-${{github.event.inputs.tag}}
run: pnpm publish --access ${{env.access}} --no-git-checks --tag ${{github.event.inputs.tag}}
working-directory: packages/adapters/react
env:
NODE_AUTH_TOKEN: ${{secrets.NPMJS_GRANULAR_TOKEN}}
NPM_CONFIG_PROVENANCE: true
- name: Build and publish adapter react-standalone
run: pnpm publish --access ${{env.access}} --no-git-checks --tag ${{env.prefix}}-${{github.event.inputs.tag}}
run: pnpm publish --access ${{env.access}} --no-git-checks --tag ${{github.event.inputs.tag}}
working-directory: packages/adapters/react-standalone
env:
NODE_AUTH_TOKEN: ${{secrets.NPMJS_GRANULAR_TOKEN}}
NPM_CONFIG_PROVENANCE: true
- name: Build and publish adapter solid
run: pnpm publish --access ${{env.access}} --no-git-checks --tag ${{env.prefix}}-${{github.event.inputs.tag}}
run: pnpm publish --access ${{env.access}} --no-git-checks --tag ${{github.event.inputs.tag}}
working-directory: packages/adapters/solid
env:
NODE_AUTH_TOKEN: ${{secrets.NPMJS_GRANULAR_TOKEN}}
NPM_CONFIG_PROVENANCE: true
- name: Build and publish adapter vue
run: pnpm publish --access ${{env.access}} --no-git-checks --tag ${{env.prefix}}-${{github.event.inputs.tag}}
run: pnpm publish --access ${{env.access}} --no-git-checks --tag ${{github.event.inputs.tag}}
working-directory: packages/adapters/vue
env:
NODE_AUTH_TOKEN: ${{secrets.NPMJS_GRANULAR_TOKEN}}
NPM_CONFIG_PROVENANCE: true
- name: Build and publish adapter preact
run: pnpm publish --access ${{env.access}} --no-git-checks --tag ${{env.prefix}}-${{github.event.inputs.tag}}
run: pnpm publish --access ${{env.access}} --no-git-checks --tag ${{github.event.inputs.tag}}
working-directory: packages/adapters/preact
env:
NODE_AUTH_TOKEN: ${{secrets.NPMJS_GRANULAR_TOKEN}}
NPM_CONFIG_PROVENANCE: true
- name: Build and publish adapter hydrate
run: pnpm publish --access ${{env.access}} --no-git-checks --tag ${{env.prefix}}-${{github.event.inputs.tag}}
run: pnpm publish --access ${{env.access}} --no-git-checks --tag ${{github.event.inputs.tag}}
working-directory: packages/adapters/hydrate
env:
NODE_AUTH_TOKEN: ${{secrets.NPMJS_GRANULAR_TOKEN}}
NPM_CONFIG_PROVENANCE: true
- name: Build and publish tools kolibri-cli
run: pnpm publish --access ${{env.access}} --no-git-checks --tag ${{env.prefix}}-${{github.event.inputs.tag}}
run: pnpm publish --access ${{env.access}} --no-git-checks --tag ${{github.event.inputs.tag}}
working-directory: packages/tools/kolibri-cli
env:
NODE_AUTH_TOKEN: ${{secrets.NPMJS_GRANULAR_TOKEN}}
NPM_CONFIG_PROVENANCE: true
- name: Build and publish theme default
run: pnpm publish --access ${{env.access}} --no-git-checks --tag ${{env.prefix}}-${{github.event.inputs.tag}}
run: pnpm publish --access ${{env.access}} --no-git-checks --tag ${{github.event.inputs.tag}}
working-directory: packages/themes/default
env:
NODE_AUTH_TOKEN: ${{secrets.NPMJS_GRANULAR_TOKEN}}
NPM_CONFIG_PROVENANCE: true
- name: Build and publish themes
run: pnpm publish --access ${{env.access}} --no-git-checks --tag ${{env.prefix}}-${{github.event.inputs.tag}}
run: pnpm publish --access ${{env.access}} --no-git-checks --tag ${{github.event.inputs.tag}}
working-directory: packages/themes
env:
NODE_AUTH_TOKEN: ${{secrets.NPMJS_GRANULAR_TOKEN}}
NPM_CONFIG_PROVENANCE: true
- name: Build and publish sample react
run: pnpm publish --access ${{env.access}} --no-git-checks --tag ${{env.prefix}}-${{github.event.inputs.tag}}
run: pnpm publish --access ${{env.access}} --no-git-checks --tag ${{github.event.inputs.tag}}
working-directory: packages/samples/react
env:
NODE_AUTH_TOKEN: ${{secrets.NPMJS_GRANULAR_TOKEN}}
NPM_CONFIG_PROVENANCE: true
- name: Build and publish tools visual-tests
run: pnpm publish --access ${{env.access}} --no-git-checks --tag ${{env.prefix}}-${{github.event.inputs.tag}}
run: pnpm publish --access ${{env.access}} --no-git-checks --tag ${{github.event.inputs.tag}}
working-directory: packages/tools/visual-tests
env:
NODE_AUTH_TOKEN: ${{secrets.NPMJS_GRANULAR_TOKEN}}
Expand Down
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,8 @@ dist/
node_modules/
*.log
*.tgz

/packages/components/src/components/*/readme.md
# Diese Readme's wurde nicht in die Doku übernommen.
!/packages/components/src/components/logo/readme.md
!/packages/components/src/components/symbol/readme.md
82 changes: 82 additions & 0 deletions CODE_OF_CONDUCT.de.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
```markdown
# Code of Conduct Agreement for Contributors

## Our Commitment

We, as members, participants, and leaders of our community, are committed to providing a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender characteristics, identity, and expression, level of experience, education, socioeconomic status, nationality, personal appearance, race, religion, or sexual identity and orientation.

We pledge to act and interact in ways that contribute to an open, welcoming, diverse, inclusive, and healthy community.

## Our Standards

Examples of behavior that contributes to a positive environment for our community include:

- Demonstrating empathy and kindness toward others
- Respecting differing opinions, viewpoints, and experiences
- Giving and gracefully accepting constructive feedback
- Taking 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, imagery, or symbolism, and unwelcome sexual attention or advances
- Trolling, insulting or derogatory comments, and personal or political attacks
- Public or private harassment
- Publishing others' private information, such as physical or electronic addresses, without explicit permission
- Other conduct which could reasonably be considered inappropriate in a professional setting

## Enforcement Responsibilities

Community leaders are responsible for clarifying and enforcing standards of acceptable behavior and will take appropriate and fair corrective action in response to any behavior they deem inappropriate, threatening, or offensive.

Community leaders have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, support tickets, and other contributions that are not aligned to this Code of Conduct and will communicate reasons for moderation decisions when appropriate.

## **Scope**

This Code of Conduct applies within all community spaces and also applies when an individual is officially representing the community in public spaces. Examples include using an official e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event.

## Enforcement

Instances of abusive, harassing, or otherwise unacceptable behavior may be reported to the community leadership responsible for enforcement at [kolibri@itzbund.de](mailto:kolibri@itzbund.de). All complaints will be reviewed and investigated promptly and fairly.

All community leadership is obligated to respect the privacy and security of the reporter of any incident.

## Enforcement Guidelines

Community leaders will follow these Community Impact Guidelines in determining the consequences for any action they deem in violation of this Code of Conduct:

### 1. Correction

**Community Impact**: Use of inappropriate language or other behavior deemed unprofessional or unwelcome in the community.

**Consequence**: A private, written warning from community leadership, providing clarity around the nature of the violation and an explanation of why the behavior was inappropriate. A public apology may be requested.

### 2. Warning

**Community Impact**: A violation through a single incident or series of actions.

**Consequence**: A warning with consequences for continued behavior. No interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, for a specified period. This includes avoiding interactions in community spaces and external channels like social media. Violating these terms may lead to a temporary or permanent ban.

### 3. Temporary Ban

**Community Impact**: A serious violation of community standards, including sustained inappropriate behavior.

**Consequence**: A temporary ban from any form of interaction or public communication with the community. During this time, no public or private interaction with the people involved is allowed, including unsolicited interaction with those enforcing the Code of Conduct. Violating these terms may lead to a permanent ban.

### 4. Permanent Ban

**Community Impact**: Demonstrating a pattern of violating community standards, including sustained inappropriate behavior, harassment of an individual, or aggression toward or disparagement of groups of people.

**Consequence**: A permanent ban from any sort of public interaction within the community.

## Attribution

This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 2.0, available at <https://www.contributor-covenant.org/version/2/0/code_of_conduct>.

Community Impact Guidelines were inspired by [Mozilla's Code of Conduct Enforcement Ladder][mozilla].

For answers to common questions about this Code of Conduct, see the FAQ at <https://www.contributor-covenant.org/faq> (in English). Translations are available at <https://www.contributor-covenant.org/translations>.

[homepage]: https://www.contributor-covenant.org
[mozilla]: https://github.com/mozilla/inclusion
```
Loading

0 comments on commit 17e1dd2

Please sign in to comment.