No known key found for this signature in database
GPG Key ID: 51D5A407BFCE64A9
5 changed files with 4016 additions and 73 deletions
-
28.circleci/config.yml
-
175.github/release-template.hbs
-
66.releaserc.js
-
14package.json
-
3806yarn.lock
@ -0,0 +1,175 @@ |
|||
{{#if compareUrl}} |
|||
# [v{{nextRelease.version}}]({{compareUrl}}) ({{datetime "UTC:yyyy-mm-dd"}}) |
|||
{{else}} |
|||
# v{{nextRelease.version}} ({{datetime "UTC:yyyy-mm-dd"}}) |
|||
{{/if}} |
|||
|
|||
{{#with commits}} |
|||
{{#if sparkles}} |
|||
## ✨ New Features |
|||
{{#each sparkles}} |
|||
- {{> commitTemplate}} |
|||
{{/each}} |
|||
{{/if}} |
|||
|
|||
{{#if bug}} |
|||
## 🐛 Bug Fixes |
|||
{{#each bug}} |
|||
- {{> commitTemplate}} |
|||
{{/each}} |
|||
{{/if}} |
|||
|
|||
{{#if lipstick}} |
|||
## 💄 Style and UI updates |
|||
{{#each lipstick}} |
|||
- {{> commitTemplate}} |
|||
{{/each}} |
|||
{{/if}} |
|||
|
|||
{{#if ambulance}} |
|||
## 🚑 Critical Hotfixes |
|||
{{#each ambulance}} |
|||
- {{> commitTemplate}} |
|||
{{/each}} |
|||
{{/if}} |
|||
|
|||
{{#if lock}} |
|||
## 🔒 Security Issues |
|||
{{#each lock}} |
|||
- {{> commitTemplate}} |
|||
{{/each}} |
|||
{{/if}} |
|||
|
|||
{{#if boom}} |
|||
## 💥 Breaking Changes |
|||
{{#each boom}} |
|||
- {{> commitTemplate}} |
|||
{{/each}} |
|||
{{/if}} |
|||
|
|||
{{#if zap}} |
|||
## ⚡ Improved performance |
|||
{{#each zap}} |
|||
- {{> commitTemplate}} |
|||
{{/each}} |
|||
{{/if}} |
|||
|
|||
{{#if apple}} |
|||
## 🍎 Fixed something on macOS |
|||
{{#each apple}} |
|||
- {{> commitTemplate}} |
|||
{{/each}} |
|||
{{/if}} |
|||
|
|||
{{#if penguin}} |
|||
## 🐧 Fixed something on Linux |
|||
{{#each penguin}} |
|||
- {{> commitTemplate}} |
|||
{{/each}} |
|||
{{/if}} |
|||
|
|||
{{#if checkered_flag}} |
|||
## 🏁 Fixed something on Windows |
|||
{{#each checkered_flag}} |
|||
- {{> commitTemplate}} |
|||
{{/each}} |
|||
{{/if}} |
|||
|
|||
{{#if robot}} |
|||
## 🤖 Fixed something on Android |
|||
{{#each robot}} |
|||
- {{> commitTemplate}} |
|||
{{/each}} |
|||
{{/if}} |
|||
|
|||
{{#if green_apple}} |
|||
## 🍏 Fixed something on iOS |
|||
{{#each green_apple}} |
|||
- {{> commitTemplate}} |
|||
{{/each}} |
|||
{{/if}} |
|||
|
|||
{{#if chart_with_upwards_trend}} |
|||
## 📈 Added analytics or tracking |
|||
{{#each chart_with_upwards_trend}} |
|||
- {{> commitTemplate}} |
|||
{{/each}} |
|||
{{/if}} |
|||
|
|||
{{#if globe_with_meridians}} |
|||
## 🌐 Internationalization and localization work |
|||
{{#each globe_with_meridians}} |
|||
- {{> commitTemplate}} |
|||
{{/each}} |
|||
{{/if}} |
|||
|
|||
{{#if alien}} |
|||
## 👽 Update code due to external API changes |
|||
{{#each alien}} |
|||
- {{> commitTemplate}} |
|||
{{/each}} |
|||
{{/if}} |
|||
|
|||
{{#if wheelchair}} |
|||
## ♿ Improved accessibility. |
|||
{{#each wheelchair}} |
|||
- {{> commitTemplate}} |
|||
{{/each}} |
|||
{{/if}} |
|||
|
|||
{{#if loud_sound}} |
|||
## 🔊 Added logs |
|||
{{#each loud_sound}} |
|||
- {{> commitTemplate}} |
|||
{{/each}} |
|||
{{/if}} |
|||
|
|||
{{#if mute}} |
|||
## 🔇 Removed logs |
|||
{{#each mute}} |
|||
- {{> commitTemplate}} |
|||
{{/each}} |
|||
{{/if}} |
|||
|
|||
{{#if mag}} |
|||
## 🔍 Improved SEO |
|||
{{#each mag}} |
|||
- {{> commitTemplate}} |
|||
{{/each}} |
|||
{{/if}} |
|||
|
|||
{{#if children_crossing}} |
|||
## 🚸 Improved user experience / usability |
|||
{{#each children_crossing}} |
|||
- {{> commitTemplate}} |
|||
{{/each}} |
|||
{{/if}} |
|||
|
|||
{{#if speech_balloon}} |
|||
## 💬 Updated text and literals |
|||
{{#each speech_balloon}} |
|||
- {{> commitTemplate}} |
|||
{{/each}} |
|||
{{/if}} |
|||
|
|||
{{#if iphone}} |
|||
## 📱 Worked on responsive design |
|||
{{#each iphone}} |
|||
- {{> commitTemplate}} |
|||
{{/each}} |
|||
{{/if}} |
|||
|
|||
{{#if pencil2}} |
|||
## ✏️ Fixed typos |
|||
{{#each pencil2}} |
|||
- {{> commitTemplate}} |
|||
{{/each}} |
|||
{{/if}} |
|||
|
|||
{{#if bento}} |
|||
## 🍱 Added or updated assets |
|||
{{#each bento}} |
|||
- {{> commitTemplate}} |
|||
{{/each}} |
|||
{{/if}} |
|||
{{/with}} |
|||
@ -0,0 +1,66 @@ |
|||
const { readFileSync } = require('fs'); |
|||
const path = require('path'); |
|||
|
|||
const releaseTemplate = readFileSync(path.join('.github', 'release-template.hbs')); |
|||
|
|||
module.exports = { |
|||
plugins: [ |
|||
[ |
|||
'semantic-release-gitmoji', |
|||
{ |
|||
releaseRules: { |
|||
major: [':boom:'], |
|||
minor: [':sparkles:'], |
|||
patch: [ |
|||
':bug:', |
|||
':ambulance:', |
|||
':lipstick:', |
|||
':lock:', |
|||
':zap:', |
|||
':apple:', |
|||
':penguin:', |
|||
':checkered_flag:', |
|||
':robot:', |
|||
':green_apple:', |
|||
':chart_with_upwards_trend:', |
|||
':globe_with_meridians:', |
|||
':alien:', |
|||
':wheelchair:', |
|||
':loud_sound:', |
|||
':mute:', |
|||
':mag:', |
|||
':children_crossing:', |
|||
':speech_balloon:', |
|||
':iphone:', |
|||
':pencil2:', |
|||
':bento:', |
|||
], |
|||
}, |
|||
releaseNotes: { |
|||
template: releaseTemplate, |
|||
}, |
|||
}, |
|||
], |
|||
[ |
|||
'@semantic-release/exec', |
|||
{ |
|||
prepareCmd: 'yarn update-readme', |
|||
}, |
|||
], |
|||
'@semantic-release/github', |
|||
'@semantic-release/npm', |
|||
[ |
|||
'@semantic-release/changelog', |
|||
{ |
|||
changelogFile: 'CHANGELOG.md', |
|||
}, |
|||
], |
|||
[ |
|||
'@semantic-release/git', |
|||
{ |
|||
assets: ['CHANGELOG.md', 'package.json', 'README.md'], |
|||
message: ':bookmark: ${nextRelease.version}\n\n${nextRelease.notes}', |
|||
}, |
|||
], |
|||
], |
|||
}; |
|||
3806
yarn.lock
File diff suppressed because it is too large
View File
File diff suppressed because it is too large
View File
Write
Preview
Loading…
Cancel
Save
Reference in new issue