Skip to content

Commit 188c514

Browse files
Merge branch 'main' into copilot/fix-4206
2 parents 4aee532 + cb83f96 commit 188c514

File tree

191 files changed

+40217
-34840
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

191 files changed

+40217
-34840
lines changed

.changeset/cold-chairs-tease.md

Lines changed: 0 additions & 8 deletions
This file was deleted.

.changeset/four-carrots-flow.md

Lines changed: 0 additions & 9 deletions
This file was deleted.

.changeset/kind-steaks-worry.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
"@db-ux/core-components": minor
3+
"@db-ux/ngx-core-components": minor
4+
"@db-ux/react-core-components": minor
5+
"@db-ux/v-core-components": minor
6+
"@db-ux/wc-core-components": minor
7+
---
8+
9+
refactor(notification): update and simplify grid layout for block link variant

.changeset/sweet-hotels-agree.md

Lines changed: 0 additions & 27 deletions
This file was deleted.

.config/.jscpd.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
"**/navigation-items.ts",
3030
"**/node_modules/**",
3131
"**/output/**",
32+
"**/*storybooks/**",
3233
"**/patternhub/**/components/**",
3334
"**/playwright-report/**",
3435
"**/public/**",

.config/ignores.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ const ignoreFolders = [
1414
'build-outputs/**/*',
1515
'build-showcases/**/*',
1616
'output/**/*',
17-
'**/playwright.*.ts'
17+
'**/playwright.*.ts',
18+
'playwright-report/**/*'
1819
];
1920

2021
export default ignoreFolders;

.github/actions/extract-branch/action.yml

Lines changed: 0 additions & 28 deletions
This file was deleted.

.github/dependabot.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -47,12 +47,6 @@ updates:
4747
# https://github.com/dependabot/dependabot-core/issues/5226#issuecomment-1179434437
4848
versioning-strategy: increase
4949
groups:
50-
# Automatically group all patch updates to reduce PR noise
51-
patch-dependencies:
52-
update-types:
53-
- "patch"
54-
patterns:
55-
- "*"
5650
# Major framework dependencies - group by framework for better review
5751
angular:
5852
patterns:
@@ -153,3 +147,9 @@ updates:
153147
update-types:
154148
- "minor"
155149
- "major"
150+
# Automatically group all patch updates to reduce PR noise
151+
patch-dependencies:
152+
update-types:
153+
- "patch"
154+
patterns:
155+
- "*"

.github/workflows/00-init.yml

Lines changed: 142 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,158 @@ permissions:
55

66
on:
77
workflow_call:
8-
8+
inputs:
9+
release:
10+
required: false
11+
default: false
12+
type: boolean
13+
outputs:
14+
branchName:
15+
description: "Branch or Tag name"
16+
value: ${{ jobs.init.outputs.name }}
17+
baseUrl:
18+
description: "Base URL for the repository"
19+
value: ${{ jobs.init.outputs.baseUrl }}
20+
repoName:
21+
description: "Repository name"
22+
value: ${{ jobs.init.outputs.repoName }}
23+
repoOwner:
24+
description: "Repository owner"
25+
value: ${{ jobs.init.outputs.repoOwner }}
26+
playwrightVersion:
27+
description: "Current playwright version"
28+
value: ${{ jobs.init.outputs.version }}
29+
test-ally:
30+
description: "If aria-snapshots are changed"
31+
value: ${{ jobs.init.outputs.test-ally }}
32+
# Publish outputs
33+
release:
34+
description: "If the current tag is a release"
35+
value: ${{ jobs.publish.outputs.release }}
36+
preRelease:
37+
description: "If the current tag is a pre-release"
38+
value: ${{ jobs.publish.outputs.preRelease }}
39+
version:
40+
description: "Which version has the tag"
41+
value: ${{ jobs.publish.outputs.version }}
942
jobs:
1043
init:
1144
name: Init
45+
outputs:
46+
name: ${{ steps.result.outputs.name }}
47+
baseUrl: ${{ steps.result.outputs.baseUrl }}
48+
repoName: ${{ steps.result.outputs.repo }}
49+
repoOwner: ${{ steps.result.outputs.owner }}
50+
version: ${{ steps.version.outputs.version }}
51+
test-ally: ${{ steps.ally.outputs.test-ally }}
1252
runs-on: ubuntu-24.04 # Use Ubuntu 24.04 explicitly
1353
steps:
1454
- name: ⏬ Checkout repo
1555
uses: actions/checkout@v5
56+
with:
57+
fetch-depth: 0
58+
fetch-tags: false
59+
60+
# https://github.com/marketplace/actions/trufflehog-oss#advanced-usage-scan-entire-branch
61+
- name: 🐷 TruffleHog OSS
62+
if: ${{ github.event.pull_request != null && github.event.pull_request.head.repo.owner.login == 'db-ux-design-system' }} # only scan on pull-requests
63+
uses: trufflesecurity/trufflehog@main
64+
with:
65+
# Setting base to an empty string scans the entire branch, per TruffleHog OSS advanced usage:
66+
# https://github.com/marketplace/actions/trufflehog-oss#advanced-usage-scan-entire-branch
67+
base: ""
68+
head: ${{ github.ref_name }}
69+
extra_args: --results=verified,unknown
1670

1771
- name: 🔄 Init Cache Default
1872
uses: ./.github/actions/npm-cache
1973
env:
2074
ASSET_INIT_VECTOR: ${{ secrets.ASSET_INIT_VECTOR }}
2175
ASSET_PASSWORD: ${{ secrets.ASSET_PASSWORD }}
76+
77+
- name: 🛤 Extract name and base
78+
id: extract-name-and-base
79+
uses: actions/github-script@v8
80+
env:
81+
GITHUB_REF: ${{ github.ref }}
82+
RELEASE: ${{ inputs.release }}
83+
with:
84+
script: |
85+
const { default: extractNameAndBaseUrl } = await import('${{ github.workspace }}/scripts/github/extract-name-and-base-url.js');
86+
return extractNameAndBaseUrl(context);
87+
88+
- name: ✒️ Write to output
89+
id: result
90+
env:
91+
RESULT: ${{ steps.extract-name-and-base.outputs.result }}
92+
run: |
93+
echo "name=$(echo $RESULT | jq -r .name)" >> $GITHUB_OUTPUT
94+
echo "baseUrl=$(echo $RESULT | jq -r .baseUrl)" >> $GITHUB_OUTPUT
95+
echo "repo=$(echo $RESULT | jq -r .repo)" >> $GITHUB_OUTPUT
96+
echo "owner=$(echo $RESULT | jq -r .owner)" >> $GITHUB_OUTPUT
97+
98+
- name: 🪁 Get playwright version
99+
id: version
100+
run: |
101+
OUTPUT=$(npx --no tsx scripts/github/get-playwright-version.ts)
102+
echo "version=$OUTPUT" >> $GITHUB_OUTPUT
103+
104+
- name: 👩 Should Test a11y
105+
id: ally
106+
shell: bash
107+
run: |
108+
ARIA_MAIN=$(npx --no tsx scripts/github/snapshot-changes/check-main-aria.ts)
109+
echo "test-ally=$ARIA_MAIN"
110+
echo "test-ally=$ARIA_MAIN" >> $GITHUB_OUTPUT
111+
112+
publish:
113+
name: Get and save publish version
114+
runs-on: ubuntu-24.04 # Use Ubuntu 24.04 explicitly
115+
if: ${{ inputs.release }}
116+
outputs:
117+
release: ${{ steps.releaseCheck.outputs.release }}
118+
preRelease: ${{ steps.releaseCheck.outputs.preRelease }}
119+
version: ${{ steps.getVersion.outputs.version }}
120+
steps:
121+
- name: ⏬ Checkout repo
122+
uses: actions/checkout@v5
123+
124+
- name: 🔄 Init Cache
125+
uses: ./.github/actions/npm-cache
126+
127+
- name: 💃🕺 Check if release or prerelease
128+
id: releaseCheck
129+
run: |
130+
OUTPUT=$(npx --no tsx scripts/github/get-release.ts)
131+
if [[ $OUTPUT == "RELEASE" ]];
132+
then
133+
echo "release=true" >> $GITHUB_OUTPUT
134+
elif [[ $OUTPUT == "PRE_RELEASE" ]];
135+
then
136+
echo "preRelease=true" >> $GITHUB_OUTPUT
137+
fi
138+
env:
139+
GITHUB_REF: ${{ github.ref }}
140+
GITHUB_ACTOR: ${{ github.actor }}
141+
GITHUB_COMMITISH: ${{ github.event.release.target_commitish }}
142+
GITHUB_PRE_RELEASE: ${{ github.event.release.prerelease }}
143+
144+
- name: ↔ Extract tag name
145+
shell: bash
146+
run: echo "tag=${GITHUB_REF#refs/tags/}" >> $GITHUB_OUTPUT
147+
id: extractTag
148+
149+
- name: 🏷 Get and Set Package Version on Env
150+
id: getVersion
151+
env:
152+
RELEASE: ${{ steps.releaseCheck.outputs.release }}
153+
PRE_RELEASE: ${{ steps.releaseCheck.outputs.preRelease }}
154+
TAG: ${{ steps.extractTag.outputs.tag }}
155+
run: |
156+
OUTPUT=$(npx --no tsx scripts/github/package-version.ts)
157+
echo "version=$OUTPUT" >> $GITHUB_OUTPUT
158+
159+
- name: 🌳 Log Valid Version
160+
env:
161+
VALID_SEMVER_VERSION: ${{ steps.getVersion.outputs.version }}
162+
run: echo "$VALID_SEMVER_VERSION"

.github/workflows/00-scan-secrets.yml

Lines changed: 0 additions & 27 deletions
This file was deleted.

0 commit comments

Comments
 (0)