Skip to content

Commit

Permalink
Build assets before publish (#259)
Browse files Browse the repository at this point in the history
  • Loading branch information
spenserblack authored Nov 14, 2024
1 parent ccbc88e commit a0b3efc
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
6 changes: 6 additions & 0 deletions HACKING.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,9 @@ pnpm run -w lint-fix
```shell
pnpm run -w build
```

## Publishing

```shell
pnpm publish -r
```
3 changes: 2 additions & 1 deletion packages/html/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
"dist"
],
"scripts": {
"build": "tsc"
"build": "tsc",
"prepublishOnly": "tsc"
},
"bugs": {
"url": "https://github.com/spenserblack/steamdown/issues"
Expand Down
3 changes: 2 additions & 1 deletion packages/steamdown/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
"dist"
],
"scripts": {
"build": "tsc"
"build": "tsc",
"prepublishOnly": "tsc"
},
"bugs": {
"url": "https://github.com/spenserblack/steamdown/issues"
Expand Down

0 comments on commit a0b3efc

Please sign in to comment.