Skip to content

Commit

Permalink
fix package type
Browse files Browse the repository at this point in the history
  • Loading branch information
joyqi committed Dec 8, 2022
1 parent f0f06db commit b80f3ba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ jobs:
${{steps.get-versions.outputs.pkg}} run build
tmp=$(mktemp)
jq --arg version "${{ github.event.release.tag_name }}" '.version = $version' package.json > $tmp
mv $tmp package.json
jq 'del(.type)' $tmp > package.json
echo version=$(jq -r '.version' package.json) >> $GITHUB_OUTPUT
- name: Publish
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"removeComments": true,
"declarationDir": "lib/types",
"strict": true,
"allowSyntheticDefaultImports": true,
"esModuleInterop": true,
"skipLibCheck": true
},
"exclude": ["node_modules", "**/*.spec.ts", "lib"]
Expand Down

0 comments on commit b80f3ba

Please sign in to comment.