Skip to content

Setup Notes

Chris Webb edited this page Apr 15, 2022 · 4 revisions

This page contains a log of relevant actions taken in setting up this application

Local Dev

lint-staged

lint-staged can inadvertently delete unstaged work during certain situation where a commit fails checks. Always stage changes before running a commit, and in rare circumstances where this happens work can be retrieved via this command:

gitk --all $( git fsck --no-reflog | awk '/dangling commit/ {print $3}' )

Storybook

Mock Service Worker

npx msw init public/

Usage Example: https://storybook.js.org/addons/msw-storybook-addon/

Demo Stories

Deleted on this commit: https://github.com/fsjsd/frontend-patterns/pull/21/commits/8a78c4c66753b98edef1ce8a3d530a51d6272a2e

Clone this wiki locally