1
0
Fork 0
toolkit/scripts/create-package

13 lines
225 B
Plaintext
Raw Normal View History

2019-04-22 15:54:05 +00:00
#!/usr/bin/env bash
set -eo pipefail
name=$1
if [[ -z "$name" ]]; then
>&2 echo "Usage: npm run new-package [name]"
exit 1
fi
npx lerna create @actions/$name
cp packages/core/tsconfig.json packages/$name/tsconfig.json