Skip to content

Commit

Permalink
chore: Fix publish pipeline of @swc/html
Browse files Browse the repository at this point in the history
  • Loading branch information
kdy1 committed Aug 28, 2024
1 parent e373fd1 commit e05272f
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 16 deletions.
1 change: 1 addition & 0 deletions .github/workflows/publish-npm-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -538,6 +538,7 @@ jobs:
working-directory: ./packages/${{ inputs.package }}
run: |
./scripts/cli_artifacts.sh
ls -R ./artifacts
ls -R ./artifacts_cli
npm run artifacts
Expand Down
29 changes: 13 additions & 16 deletions packages/html/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,22 +21,19 @@
"url": "https://github.com/swc-project/swc/issues"
},
"napi": {
"name": "swc-html",
"triples": {
"defaults": true,
"targets": [
"x86_64-apple-darwin",
"x86_64-pc-windows-msvc",
"x86_64-unknown-linux-gnu",
"x86_64-unknown-linux-musl",
"i686-pc-windows-msvc",
"armv7-unknown-linux-gnueabihf",
"aarch64-unknown-linux-gnu",
"aarch64-apple-darwin",
"aarch64-unknown-linux-musl",
"aarch64-pc-windows-msvc"
]
}
"binaryName": "swc-html",
"targets": [
"x86_64-apple-darwin",
"x86_64-pc-windows-msvc",
"x86_64-unknown-linux-gnu",
"x86_64-unknown-linux-musl",
"i686-pc-windows-msvc",
"armv7-unknown-linux-gnueabihf",
"aarch64-unknown-linux-gnu",
"aarch64-apple-darwin",
"aarch64-unknown-linux-musl",
"aarch64-pc-windows-msvc"
]
},
"publishConfig": {
"registry": "https://registry.npmjs.org/",
Expand Down

0 comments on commit e05272f

Please sign in to comment.