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

Commit 4b3cb93

Browse files
authored
Emit ESM and CJS, built with rollup (#121)
* Build with rollup * Add a build step * Add a tsconfig.build * Use `NodeNext` rather than `nodenext`. * Add `module` and `typings` properties
1 parent 1230248 commit 4b3cb93

7 files changed

+627
-3
lines changed

.github/workflows/push.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ jobs:
2121
run: npm install
2222
- name: lint
2323
run: npm run lint
24+
- name: build
25+
run: npm run build
2426
- name: compile typescript
2527
run: npx tsc
2628
- name: test

CHANGELOG.md

+12
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [20.0.0]
11+
12+
### Changed
13+
14+
- We now emit CommonJS and ESM modules. The ESM and CJS are now found, respecively, in the `dist/esm` and `dist/cjs` directories.
15+
16+
## [19.0.0]
17+
18+
### Changed
19+
20+
- Updated dependencies. No user-visible changes are expected.
21+
1022
## [18.0.0]
1123

1224
### Removed

0 commit comments

Comments
 (0)