Skip to content

Commit 190a7f0

Browse files
committed
chore: update from main
2 parents bb465f1 + 5ffe28d commit 190a7f0

File tree

120 files changed

+6271
-3976
lines changed

Some content is hidden

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

120 files changed

+6271
-3976
lines changed

.env.template

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# It will force the user to add an e-mail for this project, before committing.
2+
3+
4+
# Public encryption
5+
ASSET_INIT_VECTOR=XXX
6+
ASSET_PASSWORD=XXX

.github/dependabot.yml

+12-8
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,19 @@
11
---
22
version: 2
33
updates:
4-
- package-ecosystem: 'github-actions'
5-
directory: '/'
4+
- package-ecosystem: "github-actions"
5+
directory: "/"
66
schedule:
7-
interval: 'daily'
7+
interval: "daily"
88
pull-request-branch-name:
9-
separator: '-'
10-
- package-ecosystem: 'npm'
11-
directory: '/'
9+
separator: "-"
10+
- package-ecosystem: "npm"
11+
directory: "/"
1212
schedule:
13-
interval: 'daily'
13+
interval: "daily"
1414
pull-request-branch-name:
15-
separator: '-'
15+
separator: "-"
16+
ignore:
17+
# We currently need to ignore eslint@v9
18+
- dependency-name: "eslint"
19+
update-types: [ "version-update:semver-major" ]

.github/workflows/99-auto-merge.yml

+11-4
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,23 @@ on:
55

66
jobs:
77
dependabot:
8-
runs-on: ubuntu-latest
8+
runs-on: ubuntu-24.04 # Use Ubuntu 24.04 explicitly
99
if: ${{ github.actor == 'dependabot[bot]' }}
1010
steps:
11-
- name: Dependabot metadata
11+
- name: Dependabot metadata
1212
id: metadata
13-
uses: dependabot/fetch-metadata@v2.2.0
13+
uses: dependabot/fetch-metadata@v2
1414
with:
15-
github-token: '${{ secrets.GITHUB_TOKEN }}'
15+
github-token: "${{ secrets.GITHUB_TOKEN }}"
16+
17+
- name: ✔ Approve a PR
18+
run: gh pr review --approve "$PR_URL"
19+
env:
20+
PR_URL: ${{github.event.pull_request.html_url}}
21+
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
1622

1723
- name: 🤖 Enable auto-merge for Dependabot PRs
24+
if: ${{steps.metadata.outputs.update-type != 'version-update:semver-major'}}
1825
run: gh pr merge --auto --squash "$PR_URL"
1926
env:
2027
PR_URL: ${{github.event.pull_request.html_url}}

.github/workflows/99-codeql-analysis.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
---
2-
name: 'CodeQL'
2+
name: "CodeQL"
33
on:
44
workflow_call:
55

66
jobs:
77
analyze:
88
name: Analyze
9-
runs-on: ubuntu-latest
9+
runs-on: ubuntu-24.04 # Use Ubuntu 24.04 explicitly
1010
strategy:
1111
fail-fast: false
1212
matrix:
13-
language: ['javascript']
13+
language: ["javascript"]
1414

1515
steps:
1616
- name: ⬇ Checkout repo

.github/workflows/99-dependency-review.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
---
2-
name: 'Dependency Review'
2+
name: "Dependency Review"
33
on:
44
workflow_call:
55

66
jobs:
77
dependency-review:
8-
runs-on: ubuntu-latest
8+
runs-on: ubuntu-24.04 # Use Ubuntu 24.04 explicitly
99
steps:
1010
- name: ⬇ Checkout repo
1111
uses: actions/checkout@v4

.github/workflows/cleanup.yml

+38
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
---
2+
name: Cleans all preview pages for gh-pages
3+
4+
on:
5+
schedule:
6+
- cron: "0 0 * * *"
7+
8+
jobs:
9+
clean:
10+
name: Clean
11+
runs-on: ubuntu-24.04 # Use Ubuntu 24.04 explicitly
12+
steps:
13+
- name: ⏬ Checkout repo
14+
uses: actions/checkout@v4
15+
16+
- name: 📥 Get gh-pages tar
17+
run: wget -q https://github.com/db-ux-design-system/theme-builder/tarball/gh-pages
18+
19+
- name: ➕ Create dist dir
20+
run: mkdir dist
21+
22+
- name: 📦 Unpack Tar
23+
run: tar -zxf gh-pages -C dist --strip-components 1
24+
25+
- name: 🗑️ Clean all preview pages
26+
id: cleanup
27+
uses: actions/github-script@v7
28+
with:
29+
result-encoding: json
30+
script: |
31+
const { default: cleanUpPages } = await import('${{ github.workspace }}/scripts/cleanup-gh-pages.js');
32+
return await cleanUpPages({github, context});
33+
34+
- name: 🥅 Deploy to GH-Pages
35+
uses: peaceiris/actions-gh-pages@v4
36+
with:
37+
github_token: ${{ secrets.GITHUB_TOKEN }}
38+
publish_dir: ./dist

.github/workflows/default.yml

+5-3
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,16 @@ on:
99
jobs:
1010
build:
1111
name: Build
12-
runs-on: ubuntu-latest
12+
runs-on: ubuntu-24.04 # Use Ubuntu 24.04 explicitly
1313
steps:
1414
- name: ⬇ Checkout repo
1515
uses: actions/checkout@v4
1616

1717
- name: 📥 Download deps default-npm-cache
18-
if: steps.npm-cache.outputs.cache-hit != 'true'
1918
uses: bahmutov/npm-install@v1
19+
env:
20+
ASSET_INIT_VECTOR: ${{ secrets.ASSET_INIT_VECTOR }}
21+
ASSET_PASSWORD: ${{ secrets.ASSET_PASSWORD }}
2022

2123
- name: ⏬ Get branch name
2224
uses: actions/github-script@v7
@@ -41,4 +43,4 @@ jobs:
4143
with:
4244
github_token: ${{ secrets.GITHUB_TOKEN }}
4345
publish_dir: ./dist
44-
destination_dir: ${{steps.get-branch-name.outputs.result}}
46+
destination_dir: ${{steps.get-branch-name.outputs.result}}

.github/workflows/pull-request.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ jobs:
1616
uses: ./.github/workflows/99-codeql-analysis.yml
1717

1818
dependency-review:
19-
uses: ./.github/workflows/99-dependency-review.yml
19+
uses: ./.github/workflows/99-dependency-review.yml

.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ dist
1212
dist-ssr
1313
*.local
1414

15+
.env
16+
1517
# Editor directories and files
1618
.vscode/*
1719
!.vscode/extensions.json
@@ -22,3 +24,4 @@ dist-ssr
2224
*.njsproj
2325
*.sln
2426
*.sw?
27+
/debug_rejected.css

.nvmrc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
20
1+
22

CODE-OF-CONDUCT.md

+15-15
Original file line numberDiff line numberDiff line change
@@ -17,24 +17,24 @@ diverse, inclusive, and healthy community.
1717
Examples of behavior that contributes to a positive environment for our
1818
community include:
1919

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

2828
Examples of unacceptable behavior include:
2929

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

3939
## Enforcement Responsibilities
4040

CONTRIBUTING.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Contributing
22

3-
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.
3+
Thanks for your interest in our project. Contributions are welcome. Feel free to [open an issue](https://github.com/db-ux-design-system/theme-builder/issues/new) with questions or reporting ideas and bugs, or [open pull requests](https://github.com/db-ux-design-system/theme-builder/compare) to contribute code.
44

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

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

1313
### Conventions
1414

15-
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.
15+
Please be aware that we have some [code and git commit (message and branch naming) conventions](https://github.com/db-ux-design-system/core-web/blob/main/docs/conventions.md), that we ensure with some linting tools.

0 commit comments

Comments
 (0)