Skip to content

Commit 8efec8f

Browse files
authored
Merge pull request #373 from it-at-m/beta
Release
2 parents 06e9908 + f1d9558 commit 8efec8f

29 files changed

+2870
-1960
lines changed

.coderabbit.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json
2+
language: "en-US"
3+
early_access: false
4+
tone_instructions: "Friendly, thankful and supportive."
5+
reviews:
6+
profile: "chill"
7+
request_changes_workflow: true
8+
high_level_summary: true
9+
poem: true
10+
review_status: true
11+
collapse_walkthrough: false
12+
auto_review:
13+
enabled: false
14+
drafts: false
15+
chat:
16+
auto_reply: true

.github/workflows/build.yaml

Lines changed: 26 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ jobs:
1111
permissions:
1212
contents: read
1313
steps:
14-
- uses: actions/checkout@v4
15-
- uses: actions/setup-node@v4
14+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
15+
- uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
1616
with:
1717
node-version: ${{ env.NODE_VERSION }}
1818
cache: "npm"
@@ -21,27 +21,41 @@ jobs:
2121
- name: Run formater and linter
2222
run: npm run lint
2323

24-
build:
24+
test:
2525
runs-on: ubuntu-latest
2626
needs: lint
2727
permissions:
2828
contents: read
2929
steps:
30-
- uses: actions/checkout@v4
31-
- uses: actions/setup-node@v4
30+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
31+
- uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
32+
with:
33+
node-version: ${{ env.NODE_VERSION }}
34+
cache: "npm"
35+
- run: npm ci
36+
- run: npm run test
37+
38+
build:
39+
runs-on: ubuntu-latest
40+
needs: test
41+
permissions:
42+
contents: read
43+
steps:
44+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
45+
- uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
3246
with:
3347
node-version: ${{ env.NODE_VERSION }}
3448
cache: "npm"
3549
- run: npm ci # install dependencies
3650
- run: npm run build # build library
3751
- run: npm run build-storybook # build docs
3852
- name: upload library artifacts
39-
uses: actions/upload-artifact@v4
53+
uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b # v4.5.0
4054
with:
4155
name: library_dist
4256
path: ./dist
4357
- name: upload storybook artifacts
44-
uses: actions/upload-artifact@v4
58+
uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b # v4.5.0
4559
with:
4660
name: storybook_dist
4761
path: ./storybook-static
@@ -56,14 +70,14 @@ jobs:
5670
id-token: write # to enable use of OIDC for npm provenance
5771
if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/beta'
5872
steps:
59-
- uses: actions/checkout@v4
60-
- uses: actions/setup-node@v4
73+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
74+
- uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
6175
with:
6276
node-version: ${{ env.NODE_VERSION }}
6377
cache: "npm"
6478
- run: npm ci # install dependencies
6579
- name: Download build-results
66-
uses: actions/download-artifact@v4
80+
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
6781
with:
6882
name: library_dist
6983
path: ./dist
@@ -86,12 +100,12 @@ jobs:
86100
if: github.ref == 'refs/heads/main'
87101
steps:
88102
- name: Download build-results
89-
uses: actions/download-artifact@v4
103+
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
90104
with:
91105
name: storybook_dist
92106
path: ./storybook-static
93107
- name: Deploy to GitHub Pages
94-
uses: peaceiris/actions-gh-pages@v4
108+
uses: peaceiris/actions-gh-pages@4f9cc6602d3f66b9c108549d475ec49e8ef4d45e # v4
95109
id: deployment
96110
with:
97111
github_token: ${{ secrets.GITHUB_TOKEN }}

.releaserc.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ module.exports = {
3131
releaseRules: {
3232
major: [":boom:"],
3333
minor: [":sparkles:"],
34-
patch: [":bug:", ":ambulance:", ":lock:", ":lipstick"],
34+
patch: [":bug:", ":ambulance:", ":lock:", ":lipstick:"],
3535
},
3636
releaseNotes: {
3737
template,

README.md

Lines changed: 25 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -5,24 +5,36 @@
55

66
<p align="center">
77
<a href="https://github.com/it-at-m/muc-patternlab-vue/actions/workflows/build.yaml?query=branch%3Amain">
8-
<img src="https://img.shields.io/github/actions/workflow/status/it-at-m/muc-patternlab-vue/build.yaml"
9-
alt="Build Status">
8+
<img
9+
alt="Build Status"
10+
src="https://img.shields.io/github/actions/workflow/status/it-at-m/muc-patternlab-vue/build.yaml"
11+
>
12+
</a>
13+
<a href="https://www.npmjs.com/package/@muenchen/muc-patternlab-vue/">
14+
<img
15+
alt="NPM Version"
16+
src="https://img.shields.io/npm/v/%40muenchen%2Fmuc-patternlab-vue"
17+
>
1018
</a>
1119
<a href="https://gitmoji.dev">
12-
<img src="https://img.shields.io/badge/gitmoji-%20😜%20😍-FFDD67.svg"
13-
alt="Gitmoji">
20+
<img
21+
alt="Gitmoji"
22+
src="https://img.shields.io/badge/gitmoji-%20😜%20😍-FFDD67.svg"
23+
>
1424
</a>
1525
<a href="https://github.com/semantic-release/semantic-release">
16-
<img src="https://img.shields.io/badge/semantic--release-gitmoji-e10079?logo=semantic-release"
17-
alt="semantic-release: gitmoji">
26+
<img
27+
alt="semantic-release: gitmoji"
28+
src="https://img.shields.io/badge/semantic--release-gitmoji-e10079?logo=semantic-release"
29+
>
1830
</a>
1931
</p>
2032

2133
# muc-patternlab-vue
2234

23-
2435
This repository contains a ready-to-use Vue-Components-Library based
25-
on [munich.de's MDE5 Patternlab](https://patternlab.muenchen.space/). Current supported Version is [1.0.4](https://patternlab.muenchen.space/?p=documentation-changelog).
36+
on [munich.de's MDE5 Patternlab](https://patternlab.muenchen.space/). Current supported Version
37+
is [1.0.4](https://patternlab.muenchen.space/?p=documentation-changelog).
2638

2739
In its current state only some components exist. The library will continually grow as the need for new components grows.
2840

@@ -97,11 +109,11 @@ This project uses [semantic-release](https://github.com/semantic-release/semanti
97109

98110
It follows [gitmoji commit conventions](https://gitmoji.dev/). For example:
99111

100-
| Commit message | Release type |
101-
|-------------------------------------------------------------------------------------------------------------------------------------|---------------|
102-
| `:lipstick` / `:lock:` / `:ambulance:` / `:bug: stop graphite breaking when too much pressure applied` | Patch Release |
103-
| `:sparkles: add 'graphiteWidth' option` | Minor Release |
104-
| `:boom: The graphiteWidth option has been removed.`<br>`The default graphite width of 10mm is always used for performance reasons.` | Major Release |
112+
| gitmoji | Sample Commit message | Release type |
113+
|-------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------|---------------|
114+
| :lipstick: :lock: :ambulance: :bug: | `:lipstick` / `:lock:` / `:ambulance:` / `:bug: stop graphite breaking when too much pressure applied` | Patch Release |
115+
| :sparkles: | `:sparkles: add 'graphiteWidth' option` | Minor Release |
116+
| :boom: | `:boom: The graphiteWidth option has been removed.`<br>`The default graphite width of 10mm is always used for performance reasons.` | Major Release |
105117

106118
## License
107119

docs/Iconography.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@ Additionally, it adds some specialty icons from [Pictogrammers](https://pictogra
3939
<use href="#icon-printer" />
4040
</svg>
4141
</IconItem>
42-
<IconItem name="paperclip">
42+
<IconItem name="paperclip-straight">
4343
<svg fill="currentColor">
44-
<use href="#icon-paperclip" />
44+
<use href="#icon-paperclip-straight" />
4545
</svg>
4646
</IconItem>
4747
</IconGallery>

0 commit comments

Comments
 (0)