Skip to content

Commit e746187

Browse files
committed
Merge branch 'main' into fix-preserve-whitespaces-infotext
2 parents 6844836 + 89c49f8 commit e746187

File tree

993 files changed

+14801
-15398
lines changed

Some content is hidden

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

993 files changed

+14801
-15398
lines changed

.config/ignores.js

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
const ignoreFolders = [
2+
'node_modules/**/*',
3+
'build/**/*',
4+
'.config/**/*',
5+
'public/**/*',
6+
'out/**/*',
7+
'helpers/**/*',
8+
'dist/**/*',
9+
'packages/**/*',
10+
'showcases/patternhub/pages/components/**/*',
11+
'showcases/nuxt-showcase/**/*',
12+
'showcases/next-showcase/**/*',
13+
'showcases/angular-ssr-showcase/**/*',
14+
'build-outputs/**/*',
15+
'build-showcases/**/*',
16+
'output/**/*',
17+
'**/playwright.*.ts'
18+
];
19+
20+
export default ignoreFolders;
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
/**
2+
* @type {import('lint-staged').Configuration}
3+
*/
14
export default {
25
'**/*': 'prettier --write --ignore-unknown'
36
};
Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
1+
/**
2+
* @type {import('lint-staged').Configuration}
3+
*/
14
export default {
25
'*.md': 'markdownlint -c .config/.markdown-lint.yml',
36
// In case that we're changing the stylelints configuration files content, we would need to validate it
47
'.stylelintrc.*': 'stylelint --validate --allow-empty-input',
58
'stylelint.config.*': 'stylelint --validate --allow-empty-input',
6-
// and elsewhere we don't, compare to https://github.com/stylelint/stylelint/pull/8009
9+
// And elsewhere we don't, compare to https://github.com/stylelint/stylelint/pull/8009
710
'*.{css,scss}': 'stylelint --fix --allow-empty-input --no-validate',
811
'*.{js,ts,tsx,jsx,mjs,cjs}': 'xo --fix'
912
};

.eslintignore

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

.eslintrc.mjs

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

.github/ISSUE_TEMPLATE/bug_report.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@ body:
77
- type: markdown
88
attributes:
99
value: |
10-
Thanks for taking the time to fill out this bug report! Feedback by the community has a very high value for us, to improve our work and to have every other user benefit from it as well. 🙂
10+
Thank you for taking the time to fill out this bug report! Feedback from the community is highly valuable to us, as it helps improve our work and benefits all users. 🙂
1111
1212
- type: checkboxes
1313
id: component
1414
attributes:
15-
label: Which generators are impacted?
15+
label: Which generators are affected?
1616
description: Select all the ones that apply, to the best of your knowledge.
1717
options:
1818
- label: All
@@ -51,7 +51,7 @@ body:
5151
required: false
5252
attributes:
5353
label: Browser version
54-
description: Does this bug affect specific browser?
54+
description: Does this bug affect a specific browser?
5555
options:
5656
- Chrome
5757
- Safari

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@
77
<!-- What types of changes does your code introduce?
88
_Put an `x` in the boxes that apply_ -->
99

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

Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
---
2+
name: "Auto commit and merge changes"
3+
description: "Creates a new branch and commits current changes and merges it afterwards to retrigger pipeline"
4+
inputs:
5+
branch-name:
6+
description: "The new branch name to commit to"
7+
required: true
8+
commit-message:
9+
description: "The message you want to commit"
10+
required: true
11+
commit-files:
12+
description: "The files which should be commited with `git add xxx`"
13+
required: true
14+
auto-merge-app-id:
15+
description: "The id for github app to allow auto-merge"
16+
required: true
17+
auto-merge-private-key:
18+
description: "The private key for github app to allow auto-merge"
19+
required: true
20+
gh-token:
21+
description: "The default github token"
22+
required: true
23+
24+
runs:
25+
using: "composite"
26+
steps:
27+
# https://docs.github.com/en/apps/creating-github-apps/authenticating-with-a-github-app/making-authenticated-api-requests-with-a-github-app-in-a-github-actions-workflow
28+
- name: 🧬 Generate a token
29+
id: generate-token
30+
uses: actions/create-github-app-token@v2
31+
with:
32+
app-id: ${{ inputs.auto-merge-app-id }}
33+
private-key: ${{ inputs.auto-merge-private-key }}
34+
35+
- name: 🏗️ Create new branch and commit changes
36+
shell: bash
37+
env:
38+
GH_TOKEN: ${{ inputs.gh-token }}
39+
NEW_PR_BRANCH: ${{ inputs.branch-name }}
40+
COMMIT_MESSAGE: ${{ inputs.commit-message }}
41+
COMMIT_FILES: ${{ inputs.commit-files }}
42+
run: |
43+
git config --global user.name "github-actions[bot]"
44+
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
45+
46+
git checkout -b "$NEW_PR_BRANCH"
47+
git add $COMMIT_FILES
48+
49+
# We can't use semantic commits here because of the if statement in the workflow
50+
git commit --no-verify -m "$COMMIT_MESSAGE"
51+
git push -f origin "$NEW_PR_BRANCH"
52+
53+
- name: 🪗 Create Pull Request
54+
shell: bash
55+
env:
56+
GH_TOKEN: ${{ inputs.gh-token }}
57+
COMMIT_MESSAGE: ${{ inputs.commit-message }}
58+
NEW_PR_BRANCH: ${{ inputs.branch-name }}
59+
BASE_BRANCH: ${{ github.head_ref }}
60+
run: |
61+
gh pr create --base "$BASE_BRANCH" --head "$NEW_PR_BRANCH" --title "Automated PR: $COMMIT_MESSAGE" --body "This PR was created automatically by a GitHub Action."
62+
63+
- name: 🤖 Squash the PR
64+
shell: bash
65+
run: gh pr merge --squash "$NEW_PR_BRANCH"
66+
env:
67+
GITHUB_TOKEN: ${{ steps.generate-token.outputs.token }}
68+
NEW_PR_BRANCH: ${{ inputs.branch-name }}

.github/actions/npm-cache/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ inputs:
1313
nodeVersion:
1414
description: "Node version"
1515
required: false
16-
default: "22"
16+
default: "24"
1717
runs:
1818
using: "composite"
1919
steps:
@@ -24,7 +24,7 @@ runs:
2424
with:
2525
node-version: ${{ inputs.nodeVersion }}
2626

27-
- name: Display node and npm version
27+
- name: 🖼️ Display node and npm version
2828
shell: bash
2929
run: |
3030
node --version

.github/actions/playwright-cache/action.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,10 @@ description: "Initialize Playwright Cache"
44
inputs:
55
version:
66
description: "Playwright version"
7-
required: false
7+
required: true
8+
os:
9+
description: "OS version"
10+
required: true
811
runs:
912
using: "composite"
1013
steps:
@@ -28,9 +31,9 @@ runs:
2831
id: playwright-cache
2932
with:
3033
path: ${{ env.CACHE_PATH }}
31-
key: "${{ runner.os }}-playwright-${{ inputs.version }}"
34+
key: "${{ inputs.os }}-playwright-${{ inputs.version }}"
3235
restore-keys: |
33-
${{ runner.os }}-playwright-
36+
${{ inputs.os }}-playwright-
3437
3538
- name: 🎄🎸🥊 Log Cache Hit
3639
shell: bash

0 commit comments

Comments
 (0)