From 544be6ca3864bfce4cfa473ebfb136500322ccc2 Mon Sep 17 00:00:00 2001 From: qbart Date: Mon, 21 Aug 2023 13:38:20 +0200 Subject: [PATCH] chore: Add changelog --- .chglog/CHANGELOG.tpl.md | 49 +++++++++++++++++++++ .chglog/config.yml | 27 ++++++++++++ CHANGELOG.md | 93 ++++++++++++++++++++++++++++++++++++++++ README.md | 4 ++ 4 files changed, 173 insertions(+) create mode 100755 .chglog/CHANGELOG.tpl.md create mode 100755 .chglog/config.yml create mode 100644 CHANGELOG.md diff --git a/.chglog/CHANGELOG.tpl.md b/.chglog/CHANGELOG.tpl.md new file mode 100755 index 0000000..389e978 --- /dev/null +++ b/.chglog/CHANGELOG.tpl.md @@ -0,0 +1,49 @@ +{{ if .Versions -}} + +## [Unreleased] + +{{ if .Unreleased.CommitGroups -}} +{{ range .Unreleased.CommitGroups -}} +### {{ .Title }} +{{ range .Commits -}} +- {{ if .Scope }}**{{ .Scope }}:** {{ end }}{{ .Subject }} +{{ end }} +{{ end -}} +{{ end -}} +{{ end -}} + +{{ range .Versions }} + +## {{ 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 -}} \ No newline at end of file diff --git a/.chglog/config.yml b/.chglog/config.yml new file mode 100755 index 0000000..94de67c --- /dev/null +++ b/.chglog/config.yml @@ -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 \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..3e35eab --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,93 @@ + +## [Unreleased] + + + +## 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 diff --git a/README.md b/README.md index d694273..dbe19a6 100644 --- a/README.md +++ b/README.md @@ -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)