Skip to content

Commit

Permalink
fix: add contrib only to ory network sdk
Browse files Browse the repository at this point in the history
  • Loading branch information
aeneasr committed Jan 2, 2025
1 parent a0fda48 commit ae8cf27
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions scripts/generate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,10 @@ typescript_fetch () {
--git-host github.com \
-c ./config/client/typescript-fetch.yml.proc.yml

echo "Adding contrib files to barrel export..."
echo "export * from './contrib';" >> "${dir}/src/index.ts"
if [ $project == "client" ]; then
echo "Adding contrib files"
echo "export * from './contrib';" >> "${dir}/src/index.ts"
fi

file="${dir}/package.json"
jq -r ".author = "'"'"Ory Corp"'"'" | .license = "'"'"Apache-2.0"'"' "${file}" \
Expand Down

0 comments on commit ae8cf27

Please sign in to comment.