tegaki 0.4.0 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/dist/index.d.mts +1 -1
- package/package.json +1 -1
- package/src/types.test.ts +9 -2
- package/src/types.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# tegaki
|
|
2
2
|
|
|
3
|
+
## 0.5.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`dc581bf`](https://github.com/KurtGokhan/tegaki/commit/dc581bf2e68324ba810c01aea3b7d5c646462a42) Thanks [@KurtGokhan](https://github.com/KurtGokhan)! - Fix font bundle types and make sure they are assignable to the expected type.
|
|
8
|
+
|
|
3
9
|
## 0.4.0
|
|
4
10
|
|
|
5
11
|
### Minor Changes
|
package/dist/index.d.mts
CHANGED
package/package.json
CHANGED
package/src/types.test.ts
CHANGED
|
@@ -1,8 +1,15 @@
|
|
|
1
|
-
import { describe, test } from 'bun:test';
|
|
2
|
-
import
|
|
1
|
+
import { describe, expectTypeOf, test } from 'bun:test';
|
|
2
|
+
import font from 'tegaki/fonts/tangerine';
|
|
3
|
+
import type { TegakiBundle, TegakiEffects } from './types.ts';
|
|
3
4
|
|
|
4
5
|
function assertType<const E extends TegakiEffects<E>>(_value: E) {}
|
|
5
6
|
|
|
7
|
+
describe.skip('TegakiEffects', () => {
|
|
8
|
+
test('ensure font assignable', () => {
|
|
9
|
+
expectTypeOf(font).toExtend<TegakiBundle>();
|
|
10
|
+
});
|
|
11
|
+
});
|
|
12
|
+
|
|
6
13
|
describe.skip('TegakiEffects', () => {
|
|
7
14
|
test('known key with config', () => {
|
|
8
15
|
assertType({ glow: { radius: 5 } });
|