chore: Add security doc to package scaffold
MODIFY
scripts/get-versions.sh
scripts/get-versions.sh
@@ -5,7 +5,7 @@ set -ueo pipefail
WORKDIR=${1:-.}
cd -- "$WORKDIR"
-yarn workspaces --json info |
+yarn workspaces --json info --silent |
jq -r '.data | fromjson | .[].location | "\(.)/package.json"' |
xargs jq '{key: .name, value: "^\(.version)"}' |
jq --slurp from_entries

MODIFY
scripts/repackage.sh
scripts/repackage.sh
@@ -131,6 +131,7 @@ git cat-file blob "$NEWPKGJSONHASH" > "$PKGJSON"
cp skel/index.d.ts packages/"$NAME"/index.d.ts
cp skel/jsconfig.json packages/"$NAME"/jsconfig.json
+cp skel/SECURITY.md packages/"$NAME"/SECURITY.md
cp LICENSE packages/"$NAME"/LICENSE
touch packages/"$NAME"/README.md
touch packages/"$NAME"/NEWS.md

chore: Add security doc to package scaffold