See how a minor change to your commit message style can make a difference.
Tip
Take a look at git-conventional-commits , a CLI util to ensure these conventions, determine version and generate changelogs
// useful links: | |
// custom easing by Lochie (x.com/lochieaxon): https://www.easing.dev | |
// motion-primitives by Ibelick (x.com/Ibelick): https://motion-primitives.com/docs | |
// The Magic of Clip Path article by Emil Kowalski (x.com/emilkowalski_): https://emilkowal.ski/ui/the-magic-of-clip-path | |
// we use same transition for every element to make it look consistent | |
const transition: Transition = { | |
duration: 2.5, | |
// custom easing from https://www.easing.dev | |
ease: [0.175, 0.885, 0.32, 1], |
See how a minor change to your commit message style can make a difference.
Tip
Take a look at git-conventional-commits , a CLI util to ensure these conventions, determine version and generate changelogs
function slugify(string) { | |
const a = 'àáâäæãåāăąçćčđďèéêëēėęěğǵḧîïíīįìıİłḿñńǹňôöòóœøōõőṕŕřßśšşșťțûüùúūǘůűųẃẍÿýžźż·/_,:;' | |
const b = 'aaaaaaaaaacccddeeeeeeeegghiiiiiiiilmnnnnoooooooooprrsssssttuuuuuuuuuwxyyzzz------' | |
const p = new RegExp(a.split('').join('|'), 'g') | |
return string.toString().toLowerCase() | |
.replace(/\s+/g, '-') // Replace spaces with - | |
.replace(p, c => b.charAt(a.indexOf(c))) // Replace special characters | |
.replace(/&/g, '-and-') // Replace & with 'and' | |
.replace(/[^\w\-]+/g, '') // Remove all non-word characters |
defaults write com.apple.dock size-immutable -bool true; killall Dock |
export class EventEmitter<Events, K = keyof Events|symbol> { | |
addListener(event: K, listener: (...args: any[]) => void): this; | |
on(event: K, listener: (...args: any[]) => void): this; | |
once(event: K, listener: (...args: any[]) => void): this; | |
removeListener(event: K, listener: (...args: any[]) => void): this; | |
removeAllListeners(event?: K): this; | |
setMaxListeners(n: number): this; | |
getMaxListeners(): number; | |
listeners(event: K): Function[]; | |
emit(event: K, ...args: any[]): boolean; |
1. list all remote tags | |
git ls-remote --tags | |
2. delete local tag | |
git tag -d V_1_0_1 | |
3. push tag deletion to remote | |
git push origin :refs/tags/V_1_0_1 | |
4. tag local branch again |