Releases: dprint/dprint-plugin-typescript
Releases · dprint/dprint-plugin-typescript
0.95.5
Changes
- No changes. Just a deno_ast API upgrade.
Install
Then in your project's dprint configuration file:
- Specify the plugin url in the
"plugins"
array (can be done viadprint config add typescript
). - Add a
"typescript"
configuration property if desired.
JS Formatting API
- JS Formatter - Browser/Deno and Node
- npm package
0.95.4
Changes
- fix: allow expression to be used as key-value pair or block in embedded css (#712)
- fix: handle backslashes in embedded template language reasonably (#714)
Install
Then in your project's dprint configuration file:
- Specify the plugin url in the
"plugins"
array (can be done viadprint config add typescript
). - Add a
"typescript"
configuration property if desired.{ // ...etc... "typescript": { // TypeScript & JavaScript config goes here }, "excludes": [ "**/node_modules" ], "plugins": [ "https://plugins.dprint.dev/typescript-0.95.4.wasm" ] }
JS Formatting API
- JS Formatter - Browser/Deno and Node
- npm package
0.95.3
Changes
- feat: allow external formatter to cause formatting error (#710)
Install
Then in your project's dprint configuration file:
- Specify the plugin url in the
"plugins"
array (can be done viadprint config add typescript
). - Add a
"typescript"
configuration property if desired.{ // ...etc... "typescript": { // TypeScript & JavaScript config goes here }, "excludes": [ "**/node_modules" ], "plugins": [ "https://plugins.dprint.dev/typescript-0.95.3.wasm" ] }
JS Formatting API
- JS Formatter - Browser/Deno and Node
- npm package
0.95.2
Changes
- fix: upgrade to swc_ecma_parser 12 (#711)
Install
Then in your project's dprint configuration file:
- Specify the plugin url in the
"plugins"
array (can be done viadprint config add typescript
). - Add a
"typescript"
configuration property if desired.{ // ...etc... "typescript": { // TypeScript & JavaScript config goes here }, "excludes": [ "**/node_modules" ], "plugins": [ "https://plugins.dprint.dev/typescript-0.95.2.wasm" ] }
JS Formatting API
- JS Formatter - Browser/Deno and Node
- npm package
0.95.1
Changes
- fix: external formatter should be able to handle tab characters (#708)
Install
Then in your project's dprint configuration file:
- Specify the plugin url in the
"plugins"
array (can be done viadprint config add typescript
). - Add a
"typescript"
configuration property if desired.{ // ...etc... "typescript": { // TypeScript & JavaScript config goes here }, "excludes": [ "**/node_modules" ], "plugins": [ "https://plugins.dprint.dev/typescript-0.95.1.wasm" ] }
JS Formatting API
- JS Formatter - Browser/Deno and Node
- npm package
0.95.0
Changes
- feat: support formatting of languages embedded in tagged template literals (Rust API Only) (#701)
- fix: upgrade to swc_parser 11.1.3 (#706)
Install
Then in your project's dprint configuration file:
- Specify the plugin url in the
"plugins"
array (can be done viadprint config add typescript
). - Add a
"typescript"
configuration property if desired.{ // ...etc... "typescript": { // TypeScript & JavaScript config goes here }, "excludes": [ "**/node_modules" ], "plugins": [ "https://plugins.dprint.dev/typescript-0.95.0.wasm" ] }
JS Formatting API
- JS Formatter - Browser/Deno and Node
- npm package
0.94.0
Changes
- bump node version
- feat: support TsImportCallOptions (#702)
Install
Then in your project's dprint configuration file:
- Specify the plugin url in the
"plugins"
array (can be done viadprint config add typescript
). - Add a
"typescript"
configuration property if desired.{ // ...etc... "typescript": { // TypeScript & JavaScript config goes here }, "excludes": [ "**/node_modules" ], "plugins": [ "https://plugins.dprint.dev/typescript-0.94.0.wasm" ] }
JS Formatting API
- JS Formatter - Browser/Deno and Node
- npm package
0.93.4
Changes
Install
Then in your project's dprint configuration file:
- Specify the plugin url in the
"plugins"
array (can be done viadprint config add typescript
). - Add a
"typescript"
configuration property if desired.{ // ...etc... "typescript": { // TypeScript & JavaScript config goes here }, "excludes": [ "**/node_modules" ], "plugins": [ "https://plugins.dprint.dev/typescript-0.93.4.wasm" ] }
JS Formatting API
- JS Formatter - Browser/Deno and Node
- npm package
0.93.3
Changes
- feat: ability to format a file at a specific indentation level (#689)
Install
Then in your project's dprint configuration file:
- Specify the plugin url in the
"plugins"
array (can be done viadprint config add typescript
). - Add a
"typescript"
configuration property if desired.{ // ...etc... "typescript": { // TypeScript & JavaScript config goes here }, "excludes": [ "**/node_modules" ], "plugins": [ "https://plugins.dprint.dev/typescript-0.93.3.wasm" ] }
JS Formatting API
- JS Formatter - Browser/Deno and Node
- npm package
0.93.2
Changes
- fix: handle jsx ignore container followed by jsx text (#681)
Install
Then in your project's dprint configuration file:
- Specify the plugin url in the
"plugins"
array (can be done viadprint config add typescript
). - Add a
"typescript"
configuration property if desired.{ // ...etc... "typescript": { // TypeScript & JavaScript config goes here }, "excludes": [ "**/node_modules" ], "plugins": [ "https://plugins.dprint.dev/typescript-0.93.2.wasm" ] }
JS Formatting API
- JS Formatter - Browser/Deno and Node
- npm package