-
Notifications
You must be signed in to change notification settings - Fork 80
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor!: bundle with rollup + typescript, remove UMD export (#410)
* chore: configure changesets (#411) * chore: bundle with rollup + typescript * test: move tests out of src folder * test: fix bundles snapshot test * test: fix bundle tests * test: fix bundle size tests * chore: use @total-typescript/tsconfig * test: fix test coverage * test: use jest.config.ts * xx * test: migrate bundle unit test to vitest * test: migrate snapshot tests to vitest * fix: test coverage config * test: fine tune coverage setup * docs: update readme
- Loading branch information
1 parent
37aca01
commit 3bfb426
Showing
35 changed files
with
7,602 additions
and
14,599 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'react-minimal-pie-chart': major | ||
--- | ||
|
||
UMD export removed |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'react-minimal-pie-chart': major | ||
--- | ||
|
||
Package compiled in ES6. Consuming JS engines should be able to interpret features like arrow functions and const. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'react-minimal-pie-chart': major | ||
--- | ||
|
||
`svg-partial-circle` unbundled and imported via plain import |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,6 +9,7 @@ dist | |
types | ||
coverage | ||
storybook-static | ||
*-temp.json | ||
|
||
# Trailing dotted files | ||
!.all-contributorsrc | ||
|
File renamed without changes.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
declare module '@schwingbat/relative-angle'; | ||
|
||
type Point = { | ||
x: number; | ||
y: number; | ||
}; | ||
|
||
export function degrees(objectCoords: Point, targetCoords: Point): number; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import 'vitest'; | ||
|
||
interface CustomMatchers<R = unknown> { | ||
toEqualWithRoundingError: (expected: number) => R; | ||
} | ||
|
||
declare module 'vitest' { | ||
interface Assertion<T = any> extends CustomMatchers<T> {} | ||
interface AsymmetricMatchersContaining extends CustomMatchers {} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.