1
0
Fork 0
mirror of https://github.com/actions/toolkit synced 2025-05-09 08:33:00 +00:00
toolkit/scripts/create-package
2019-04-22 11:54:05 -04:00

13 lines
No EOL
224 B
Bash
Executable file

#!/usr/bin/env bash
set -eo pipefail
name=$1
if [[ -z "$name" ]]; then
>&2 echo "Usage: npm run new-package [name]"
exit 1
fi
lerna create @actions/$name
cp packages/toolkit/tsconfig.json packages/$name/tsconfig.json