Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Add changelog #99

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
49 changes: 49 additions & 0 deletions .chglog/CHANGELOG.tpl.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
{{ if .Versions -}}
<a name="unreleased"></a>
## [Unreleased]

{{ if .Unreleased.CommitGroups -}}
{{ range .Unreleased.CommitGroups -}}
### {{ .Title }}
{{ range .Commits -}}
- {{ if .Scope }}**{{ .Scope }}:** {{ end }}{{ .Subject }}
{{ end }}
{{ end -}}
{{ end -}}
{{ end -}}

{{ range .Versions }}
<a name="{{ .Tag.Name }}"></a>
## {{ if .Tag.Previous }}[{{ .Tag.Name }}]{{ else }}{{ .Tag.Name }}{{ end }} - {{ datetime "2006-01-02" .Tag.Date }}
{{ range .CommitGroups -}}
### {{ .Title }}
{{ range .Commits -}}
- {{ if .Scope }}**{{ .Scope }}:** {{ end }}{{ .Subject }}
{{ end }}
{{ end -}}

{{- if .RevertCommits -}}
### Reverts
{{ range .RevertCommits -}}
- {{ .Revert.Header }}
{{ end }}
{{ end -}}

{{- if .NoteGroups -}}
{{ range .NoteGroups -}}
### {{ .Title }}
{{ range .Notes }}
{{ .Body }}
{{ end }}
{{ end -}}
{{ end -}}
{{ end -}}

{{- if .Versions }}
[Unreleased]: {{ .Info.RepositoryURL }}/compare/{{ $latest := index .Versions 0 }}{{ $latest.Tag.Name }}...HEAD
{{ range .Versions -}}
{{ if .Tag.Previous -}}
[{{ .Tag.Name }}]: {{ $.Info.RepositoryURL }}/compare/{{ .Tag.Previous.Name }}...{{ .Tag.Name }}
{{ end -}}
{{ end -}}
{{ end -}}
27 changes: 27 additions & 0 deletions .chglog/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
style: github
template: CHANGELOG.tpl.md
info:
title: CHANGELOG
repository_url: https://github.com/Selleo/design-system
options:
commits:
# filters:
# Type:
# - feat
# - fix
# - perf
# - refactor
commit_groups:
# title_maps:
# feat: Features
# fix: Bug Fixes
# perf: Performance Improvements
# refactor: Code Refactoring
header:
pattern: "^(\\w*)\\:\\s(.*)$"
pattern_maps:
- Type
- Subject
notes:
keywords:
- BREAKING CHANGE
93 changes: 93 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
<a name="unreleased"></a>
## [Unreleased]


<a name="v0.1.0"></a>
## v0.1.0 - 2023-08-21
### Build
- add necessary steps for building ds cdn delivery

### Chore
- tailwindcss intellisense config setup and readme update
- remove all .css global files and rewrite styles to tailwind
- update main page text
- update readme
- add required node version
- change dark theme class name to make tailwind dark mode styling possible
- setup tailwind config based on figma selleo design system
- README.md update
- add spacing config
- adjust config for selleo repo
- adjust texts & move structure
- add tailwind support and monorepo hanlding
- rename components

### Docs
- add pr template
- add CONTRIBUTING.MD

### Feat
- remove more section and move mode switcher to the app header ([#91](https://github.com/Selleo/design-system/issues/91))
- add components showcase page ([#75](https://github.com/Selleo/design-system/issues/75))
- add icons page
- add submenus to the sidebar
- add colors page ([#73](https://github.com/Selleo/design-system/issues/73))
- add search input component and page for it ([#77](https://github.com/Selleo/design-system/issues/77))
- add selleo logos page ([#74](https://github.com/Selleo/design-system/issues/74))
- introduce preview page for sample dashboard layout
- introduce mobile page template with header component
- introduce preview page for new header component
- introduce mobile page template with header component
- introduce preview page for new header component
- introduce mobile page template with header component
- introduce preview page for new header component
- introduce preview switch tabs ([#70](https://github.com/Selleo/design-system/issues/70))
- Add Avatars components ([#16](https://github.com/Selleo/design-system/issues/16))
- add all variants of login page ([#63](https://github.com/Selleo/design-system/issues/63))
- add new favicon
- add copy button to code blocks
- add how to use section with cdn link
- add input component ([#17](https://github.com/Selleo/design-system/issues/17))
- add tab components with active and hover state
- add select page with examples from figma design system
- add sidebar page with example from figma design system ([#9](https://github.com/Selleo/design-system/issues/9))
- add upload-area component ([#14](https://github.com/Selleo/design-system/issues/14))
- add new variants with icons to the button preview page ([#49](https://github.com/Selleo/design-system/issues/49))
- add icon button page with examples from figma design system ([#47](https://github.com/Selleo/design-system/issues/47))
- design system checkbox page with example ([#7](https://github.com/Selleo/design-system/issues/7))
- add paragraph component
- kicker component
- hero component
- Add Headers with styling
- add design system button variants ([#4](https://github.com/Selleo/design-system/issues/4))
- add and use sofia-pro font
- add github repo contributors in footer
- add Description component
- introduce Preview component

### Fix
- add missing items in the Components section in the sidebar
- input outline focus on safari
- add missing logo page in the sidebar
- build error
- input styles
- spacing in preview component
- remove empty text sidebar item
- change tailwind arbitrary values to shared config values
- eslint config next plugin parser error
- change baseUrl
- wrong docs app name i package.json
- md usage instead of mdx in edit link

### Refactor
- astro preview component
- remove unneccessary tags and add styles to a Card
- change colors to design-system palette and add list of tabs
- cleanup
- move spacing config to shared

### Style
- change copy to clipboard icon appearance


[Unreleased]: https://github.com/Selleo/design-system/compare/v0.1.0...HEAD
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -171,3 +171,7 @@ To publish packages to a private npm organization scope, **remove** the followin
- "access": "public"
- },
```

## Keep the changelog

[How to use changelog?](https://github.com/Selleo/templates/tree/main/changelog)