Skip to content

Commit

Permalink
Create create-package
Browse files Browse the repository at this point in the history
  • Loading branch information
Miguelzamora13 authored Oct 17, 2023
1 parent a6fc14e commit 8459cc7
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions scripts/create-package
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#!/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

0 comments on commit 8459cc7

Please sign in to comment.