Skip to content

Commit

Permalink
fix(package): include openapi specification to package distribution
Browse files Browse the repository at this point in the history
  • Loading branch information
xutyxd committed Sep 29, 2024
1 parent 0a846e8 commit 85b5bc6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ tmp
/server
/package/cjs
/package/mjs
package/openapi
test
src/openapi/specification.json
src/openapi/specification.d.ts
Expand Down
4 changes: 3 additions & 1 deletion scripts/package/fixup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,6 @@ cat >package/mjs/package.json <<!EOF
{
"type": "module"
}
!EOF
!EOF

mkdir -p package/openapi && cp src/openapi/specification* package/openapi

0 comments on commit 85b5bc6

Please sign in to comment.