feat: auth/stars API, collections and publish routes, star/author migrations
This commit is contained in:
parent
43cf0e277d
commit
65820d4ef9
43 changed files with 2008 additions and 408 deletions
10
scripts/check-no-emdash.sh
Executable file
10
scripts/check-no-emdash.sh
Executable file
|
|
@ -0,0 +1,10 @@
|
|||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
# check for em dash - use hyphen instead
|
||||
if grep -r $'\xe2\x80\x94' --exclude-dir=.git --exclude-dir=target --exclude-dir=node_modules --exclude-dir=.svelte-kit -n . 2>&1 | grep -q $'\xe2\x80\x94'; then
|
||||
echo "ERROR: Found em dash - use hyphen instead"
|
||||
grep -r $'\xe2\x80\x94' --exclude-dir=.git --exclude-dir=target --exclude-dir=node_modules --exclude-dir=.svelte-kit -n . 2>&1
|
||||
exit 1
|
||||
else
|
||||
echo "OK: no em dash found"
|
||||
fi
|
||||
Loading…
Add table
Add a link
Reference in a new issue