Skip to content

Commit bdc4934

Browse files
committed
pkg: release v1.1.0-alpha.1 -- native TypeScript
- the API surface is entirely backward-compatible, hence why this is releasing as SemVer minor - first official release of the TypeScript rewrite - this has been on the `main` branch for a few years (c.f. ecb0374 et al), but had not been released until now - as it is natively in TS now, `@types/react-signature-canvas` is no longer necessary - please file an issue if there are any problems with the typings! this is released as an `alpha` just in case! - as it is natively in TS now, the build process needed quite a lot of updating - it's now built with Rollup (as this is a library, not an app) and various plugins (some of which I help maintain, like `rollup-plugin-typescript2`) instead of Webpack v1 from like a ~decade ago (did Rollup even exist back then?) - there is now a native ESM build and a UMD build for backward-compatibility - _note_: the UMD build may be removed at a later date during a SemVer major update/breaking change - please file an issue if there are any problems with the build / distribution! this is released as an `alpha` just in case!
1 parent 672c2d3 commit bdc4934

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<!-- releases / versioning -->
99
[![package-json](https://img.shields.io/github/package-json/v/agilgur5/react-signature-canvas.svg)](https://npmjs.org/package/react-signature-canvas)
1010
[![releases](https://img.shields.io/github/tag-pre/agilgur5/react-signature-canvas.svg)](https://github.com/agilgur5/react-signature-canvas/releases)
11-
[![commits](https://img.shields.io/github/commits-since/agilgur5/react-signature-canvas/v1.0.5.svg)](https://github.com/agilgur5/react-signature-canvas/commits/main)
11+
[![commits](https://img.shields.io/github/commits-since/agilgur5/react-signature-canvas/latest.svg)](https://github.com/agilgur5/react-signature-canvas/commits/main)
1212
<br><!-- downloads -->
1313
[![dt](https://img.shields.io/npm/dt/react-signature-canvas.svg)](https://npmjs.org/package/react-signature-canvas)
1414
[![dy](https://img.shields.io/npm/dy/react-signature-canvas.svg)](https://npmjs.org/package/react-signature-canvas)

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-signature-canvas",
3-
"version": "1.0.5",
3+
"version": "1.1.0-alpha.1",
44
"description": "A React wrapper component around signature_pad. 100% test coverage, types, examples, & more. Unopinionated and heavily updated fork of react-signature-pad",
55
"source": "src/index.tsx",
66
"main": "dist/index.umd.min.js",

0 commit comments

Comments
 (0)