Description
Issue
What kind of change does this PR introduce? (check at least one)
const fs = require('fs'); | |
const path = require('path'); | |
const targetDir = './your_folder'; // Replace with your target folder | |
// Regular expression pattern to match files by YYYY_MM_DD.md format | |
const filePattern = /^\d{4}_\d{2}_\d{2}\.md$/; | |
// Get a list of all files in the target folder | |
fs.readdir(targetDir, (err, files) => { |
#!/usr/bin/env bash | |
org_head=$(git rev-parse HEAD) | |
printf "Deploying updates to GitHub...\033[0m\n" | |
printf "\033[0;32mDeploying commit $org_head of '🔒 vaults' \n\033[0m" | |
## Commit and push | |
if [[ `git status --porcelain` ]]; then | |
git add . |
module.exports = { | |
staticDirs: ['../public'], | |
stories: ['../src/components/**/stories.tsx'], | |
addons: [ | |
'@storybook/addon-links', | |
'@storybook/addon-essentials', | |
'storybook-addon-next-router', | |
{ | |
/** | |
* NOTE: fix Storybook issue with PostCSS@8 |
nvm
via Homebrew$ brew install nvm
#!/usr/bin/env bash | |
set -euo pipefail | |
org_head=$(git rev-parse HEAD) | |
printf "Deploying updates to GitHub...\033[0m\n" | |
printf "\033[0;32mDeploying commit $org_head of '🧠 braindump' \n\033[0m" | |
## Commit and push | |
if [[ `git status --porcelain` ]]; then |
class Stack { | |
constructor() { | |
this.items = []; | |
} | |
push(elements) { | |
this.items.push(elements); | |
} | |
pop() { |
See how a minor change to your commit message style can make a difference. Examples
Have a look at CLI util git-conventional-commits to ensure this conventions and generate changelogs