Release Notes
This document contains release notes for the expressive-code-twoslash package.
For more information, see the CHANGELOG file
- #103
3ddf10fThanks @Adammatthiesen! - Fixes Twoslasher instance creation
-
#52
c2baab2Thanks @ackzell! - # Adding support for Twoslash VueA new
"vue"entry to thelanguagesoption was added. The plugin will now determine which instance ofcreateTwoSlasherto use: the TS one or the Vue one. -
#67
4d62166Thanks @Adammatthiesen! - Refactor tsconfig and module imports -
#70
42cefd7Thanks @Adammatthiesen! - Introduces new css-js-gen package for stylesheet creation, and improves CSS styles -
#80
00f9cadThanks @Adammatthiesen! - Adds support for Twoslash EslintAdds a new Eslint option for defining types of codeblocks.
Example usage:
```ts eslintconst unused = 1;type Foo = {bar: string;};```This will cause two eslint errors as annotations in the code
-
#83
29af860Thanks @Adammatthiesen! - Finally enables Twoslash’s VFS and showEmit functionality! -
#61
405cc6dThanks @Adammatthiesen! - Moves to TSDown compiler -
#58
03e0848Thanks @Adammatthiesen! - Cleans up defaults, and modernizes Twoslash config -
#87
88ba6b2Thanks @Adammatthiesen! - Migrate to@ec-ts/twoslashto provide ESM-only functionality to comply with Astro/Vite -
#90
6160023Thanks @renovate! - fix(deps): update dependency @typescript-eslint/parser to ^8.56.1 -
#91
d5482feThanks @Adammatthiesen! - Improves codeblock processing to ensure extra lines that don’t exist in the twoslash output do not make it to the final output. -
#79
b323683Thanks @Adammatthiesen! - Extends support for Twoslash vue to allow passing custom options to the Vue Twoslasher function -
#63
3b579ffThanks @Adammatthiesen! - Reworks popup script generation -
#69
0c4c1d0Thanks @Adammatthiesen! - Improves popup script for loading and handling popup event handlers -
#59
d2b34b4Thanks @Adammatthiesen! - Updates dependency configuration to rely on pnpm catalogs -
#60
5e33470Thanks @Adammatthiesen! - lint -
Updated dependencies [
88ba6b2,21c4812,640d7dd,abfea45,8159e57,4d62166,6dfe89a,42cefd7]: -
Includes: @ec-ts/twoslash@1.0.0, css-js-gen@1.1.0, @ec-ts/twoslash-vue@1.0.0
- #47
1d29cdbThanks @lishaduck! - fix: line on type extractions
- #45
0f5af0aThanks @Adammatthiesen! - Update styles to allow error blocks with longer messages to actually wrap correctly
- #43
b6ac7c2Thanks @Adammatthiesen! - Update styling for typescript errors.
- #40
54112edThanks @Adammatthiesen! - Update Peer dependencies to allow newer versions
- #37
73e28e2Thanks @Adammatthiesen! - Update expressive-code to0.40
-
#32
b094bb2Thanks @IMax153! - Ensure Twoslash popup documentation uses the configured code font-family for inline code -
#35
68e8569Thanks @Adammatthiesen! - fix line height size -
#35
68e8569Thanks @Adammatthiesen! - Remove unused style that referenced Starlight
-
#28
f8d2c4cThanks @Adammatthiesen! - Move expressive-code from a normal dependency to a peerDependency -
1493d18Thanks @Adammatthiesen! - fix styleoverrides type
- #26
506b145Thanks @Adammatthiesen! - Remove frame box shadow from docs popup
- #24
a1644f7Thanks @Adammatthiesen! - Fix box shadow on twoslash code type info section
-
#23
171ae90Thanks @Adammatthiesen! - More CSS cleanup, and organize code -
#21
178ae11Thanks @Adammatthiesen! - Fix: Small CSS issue for mobile devices
- #19
31a47d3Thanks @Adammatthiesen! - Add codeblock and type processing to Hover/Static annotations
- #17
8c1413aThanks @Adammatthiesen! - Remove usage of CDN for FloatingUI
- #14
596bfbfThanks @Adammatthiesen! - Update popups and popup script handling
- #12
7e4711dThanks @Adammatthiesen! - Refactor code to be simpiler and small CSS tweaks- Add Twoslash includes map
- Pass user defined Twoslash options to
createTwoslasher() - Remove excess functions and move code back to main EC function
- Add link color styles inside of Hover/Static docs
- #10
d761cccThanks @Adammatthiesen! - fix small css issue
- #7
7f43232Thanks @Adammatthiesen! - Various CSS cleanup, and better annotation building
- #4
e613aa9Thanks @Adammatthiesen! - Update readme, and package.json
- #2
969e231Thanks @Adammatthiesen! - Cleanup styles, apply bug fixes, and more cleanup!
- Add support for Code Completions and cleanup CSS and Code
- fix jsDoc
- Initial release