Skip to content

Commit f3d87cd

Browse files
committed
Bump version to 1.0.0
1 parent 4c70a9b commit f3d87cd

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

CHANGELOG.md

+8
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
## 1.0.0
2+
3+
###    🚨 Breaking Changes
4+
5+
* 💥 Add ESM/CJS package compatibility.
6+
7+
This new major release [adds support for ESM](https://github.com/HiDeoo/intro.js-react/pull/104) to the published package while preserving CJS compatibility. The `main/module/exports` fields in `package.json` are now pointing to new artifacts: `dist/esm/index.mjs` which is an ESM file that most modern tooling should pick up, `dist/cjs/index.cjs` which is a CJS file and `dist/esm/index.js` which is a copy of the ESM file with a `.js` extension to support Webpack 4. Thanks to [@lewisl9029](https://github.com/lewisl9029) for the contribution.
8+
19
## 0.7.1
210

311
* Update TypeScript `onBeforeChange` return type to support promises.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "intro.js-react",
3-
"version": "0.7.1",
3+
"version": "1.0.0",
44
"description": "Intro.js React Wrapper",
55
"main": "dist/cjs/index.js",
66
"module": "dist/esm/index.js",

0 commit comments

Comments
 (0)