Skip to content

Commit

Permalink
feat: hybrid bundles - esm + cjs (#10)
Browse files Browse the repository at this point in the history
* feat: hybrid bundles - esm + cjs

* fix: fix paths to combinators

* fix: do not re-export combinators at root

* fix: adjust release flow

* chore: ditch `ts-node`
  • Loading branch information
norskeld authored Nov 15, 2021
1 parent ae5d112 commit 5987ad7
Show file tree
Hide file tree
Showing 13 changed files with 877 additions and 51 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Use Node 14
- name: Use Node
uses: actions/setup-node@v2
with:
node-version: '14'
Expand All @@ -25,5 +25,6 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: |
npm run build:release
npm set-script prepare "echo husky install"
npm run build
npm run release
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- name: Build, Test & Coverage
run: |
npm run build
npm run test:with-coverage
npm run test:coverage
- name: Coveralls
uses: coverallsapp/github-action@master
with:
Expand Down
9 changes: 2 additions & 7 deletions .releaserc.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,8 @@
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
[
"@semantic-release/changelog",
{
"changelogFile": "CHANGELOG.md"
}
],
"@semantic-release/npm",
["@semantic-release/changelog", { "changelogFile": "CHANGELOG.md" }],
["@semantic-release/npm", { "pkgRoot": "dist" }],
[
"@semantic-release/git",
{
Expand Down
Loading

0 comments on commit 5987ad7

Please sign in to comment.