Skip to content

Commit

Permalink
fix: Export TypeScript types (#85)
Browse files Browse the repository at this point in the history
* fix: Export types

* docs: add changeset
  • Loading branch information
Marabyte authored Jul 19, 2024
1 parent b91007a commit 0387fa3
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/soft-spiders-poke.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@sardine/colour": patch
---

Export TypeScript types
3 changes: 3 additions & 0 deletions .github/workflows/publish-rc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@ jobs:
- name: Build package
run: npm run build

- name: Export types
run: npm run types:emit

- name: Build for unpkg
run: npx esbuild ./dist/index.mjs --minify --outfile=./dist/index.min.js

Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@ jobs:
- name: Build package
run: npm run build

- name: Export types
run: npm run types:emit

- name: Build for unpkg
run: npx esbuild ./dist/index.mjs --minify --outfile=./dist/index.min.js

Expand Down

0 comments on commit 0387fa3

Please sign in to comment.