Skip to content
This repository has been archived by the owner on Jan 15, 2025. It is now read-only.

Commit

Permalink
Emit ESM and CJS, built with rollup (#121)
Browse files Browse the repository at this point in the history
* Build with rollup

* Add a build step

* Add a tsconfig.build

* Use `NodeNext` rather than `nodenext`.

* Add `module` and `typings` properties
  • Loading branch information
jessealama authored Nov 15, 2024
1 parent 1230248 commit 4b3cb93
Show file tree
Hide file tree
Showing 7 changed files with 627 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ jobs:
run: npm install
- name: lint
run: npm run lint
- name: build
run: npm run build
- name: compile typescript
run: npx tsc
- name: test
Expand Down
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [20.0.0]

### Changed

- We now emit CommonJS and ESM modules. The ESM and CJS are now found, respecively, in the `dist/esm` and `dist/cjs` directories.

## [19.0.0]

### Changed

- Updated dependencies. No user-visible changes are expected.

## [18.0.0]

### Removed
Expand Down
Loading

0 comments on commit 4b3cb93

Please sign in to comment.