Skip to content

Releases: dprint/dprint-plugin-typescript

0.68.4

25 May 21:45
Compare
Choose a tag to compare

Install

Install and setup dprint.

Then in your project's dprint configuration file:

  1. Specify the plugin url in the "plugins" array.
  2. Ensure .ts, .tsx, .js, .jsx, .mjs, .cjs file extensions are matched in an "includes" pattern.
  3. Add a "typescript" configuration property if desired.
    {
      // ...etc...
      "typescript": {
        // TypeScript & JavaScript config goes here
      },
      "includes": [
        "**/*.{ts,tsx,js,jsx,mjs,cjs}"
      ],
      "excludes": [
        "**/node_modules"
      ],
      "plugins": [
        "https://plugins.dprint.dev/typescript-0.68.4.wasm"
      ]
    }

JS Formatting API

0.68.3

20 May 17:40
Compare
Choose a tag to compare

Install

Install and setup dprint.

Then in your project's dprint configuration file:

  1. Specify the plugin url in the "plugins" array.
  2. Ensure .ts, .tsx, .js, .jsx, .mjs, .cjs file extensions are matched in an "includes" pattern.
  3. Add a "typescript" configuration property if desired.
    {
      // ...etc...
      "typescript": {
        // TypeScript & JavaScript config goes here
      },
      "includes": [
        "**/*.{ts,tsx,js,jsx,mjs,cjs}"
      ],
      "excludes": [
        "**/node_modules"
      ],
      "plugins": [
        "https://plugins.dprint.dev/typescript-0.68.3.wasm"
      ]
    }

JS Formatting API

0.68.2

30 Apr 22:52
Compare
Choose a tag to compare

Install

Install and setup dprint.

Then in your project's dprint configuration file:

  1. Specify the plugin url in the "plugins" array.
  2. Ensure .ts, .tsx, .js, .jsx, .mjs, .cjs file extensions are matched in an "includes" pattern.
  3. Add a "typescript" configuration property if desired.
    {
      // ...etc...
      "typescript": {
        // TypeScript & JavaScript config goes here
      },
      "includes": [
        "**/*.{ts,tsx,js,jsx,mjs,cjs}"
      ],
      "excludes": [
        "**/node_modules"
      ],
      "plugins": [
        "https://plugins.dprint.dev/typescript-0.68.2.wasm"
      ]
    }

JS Formatting API

0.68.1

30 Apr 21:18
Compare
Choose a tag to compare

Install

Install and setup dprint.

Then in your project's dprint configuration file:

  1. Specify the plugin url in the "plugins" array.
  2. Ensure .ts, .tsx, .js, .jsx, .mjs, .cjs file extensions are matched in an "includes" pattern.
  3. Add a "typescript" configuration property if desired.
    {
      // ...etc...
      "typescript": {
        // TypeScript & JavaScript config goes here
      },
      "includes": [
        "**/*.{ts,tsx,js,jsx,mjs,cjs}"
      ],
      "excludes": [
        "**/node_modules"
      ],
      "plugins": [
        "https://plugins.dprint.dev/typescript-0.68.1.wasm"
      ]
    }

JS Formatting API

0.68.0

18 Apr 02:05
Compare
Choose a tag to compare

Breaking Changes

  • Uses 2 space indents by default to align with Deno and Prettier.
    • If you want the old default, add "indentWidth": 4 to your config.

Install

Install and setup dprint.

Then in your project's dprint configuration file:

  1. Specify the plugin url in the "plugins" array.
  2. Ensure .ts, .tsx, .js, .jsx, .mjs, .cjs file extensions are matched in an "includes" pattern.
  3. Add a "typescript" configuration property if desired.
    {
      // ...etc...
      "typescript": {
        // TypeScript & JavaScript config goes here
      },
      "includes": [
        "**/*.{ts,tsx,js,jsx,mjs,cjs}"
      ],
      "excludes": [
        "**/node_modules"
      ],
      "plugins": [
        "https://plugins.dprint.dev/typescript-0.68.0.wasm"
      ]
    }

JS Formatting API

0.67.1

15 Apr 13:04
Compare
Choose a tag to compare

Install

Install and setup dprint.

Then in your project's dprint configuration file:

  1. Specify the plugin url in the "plugins" array.
  2. Ensure .ts, .tsx, .js, .jsx, .mjs, .cjs file extensions are matched in an "includes" pattern.
  3. Add a "typescript" configuration property if desired.
    {
      // ...etc...
      "typescript": {
        // TypeScript & JavaScript config goes here
      },
      "includes": [
        "**/*.{ts,tsx,js,jsx,mjs,cjs}"
      ],
      "excludes": [
        "**/node_modules"
      ],
      "plugins": [
        "https://plugins.dprint.dev/typescript-0.67.1.wasm"
      ]
    }

JS Formatting API

0.67.0

08 Apr 00:16
Compare
Choose a tag to compare

Install

Install and setup dprint.

Then in your project's dprint configuration file:

  1. Specify the plugin url in the "plugins" array.
  2. Ensure .ts, .tsx, .js, .jsx, .mjs, .cjs file extensions are matched in an "includes" pattern.
  3. Add a "typescript" configuration property if desired.
    {
      // ...etc...
      "typescript": {
        // TypeScript & JavaScript config goes here
      },
      "includes": [
        "**/*.{ts,tsx,js,jsx,mjs,cjs}"
      ],
      "excludes": [
        "**/node_modules"
      ],
      "plugins": [
        "https://plugins.dprint.dev/typescript-0.67.0.wasm"
      ]
    }

JS Formatting API

0.66.0

29 Mar 01:15
Compare
Choose a tag to compare

Install

Install and setup dprint.

Then in your project's dprint configuration file:

  1. Specify the plugin url in the "plugins" array.
  2. Ensure .ts, .tsx, .js, .jsx, .mjs, .cjs file extensions are matched in an "includes" pattern.
  3. Add a "typescript" configuration property if desired.
    {
      // ...etc...
      "typescript": {
        // TypeScript & JavaScript config goes here
      },
      "includes": [
        "**/*.{ts,tsx,js,jsx,mjs,cjs}"
      ],
      "excludes": [
        "**/node_modules"
      ],
      "plugins": [
        "https://plugins.dprint.dev/typescript-0.66.0.wasm"
      ]
    }

JS Formatting API

0.65.1

21 Mar 18:55
Compare
Choose a tag to compare

Install

Install and setup dprint.

Then in your project's dprint configuration file:

  1. Specify the plugin url in the "plugins" array.
  2. Ensure .ts, .tsx, .js, .jsx, .mjs, .cjs file extensions are matched in an "includes" pattern.
  3. Add a "typescript" configuration property if desired.
    {
      // ...etc...
      "typescript": {
        // TypeScript & JavaScript config goes here
      },
      "includes": [
        "**/*.{ts,tsx,js,jsx,mjs,cjs}"
      ],
      "excludes": [
        "**/node_modules"
      ],
      "plugins": [
        "https://plugins.dprint.dev/typescript-0.65.1.wasm"
      ]
    }

JS Formatting API

0.65.0

21 Mar 18:41
Compare
Choose a tag to compare

Install

Install and setup dprint.

Then in your project's dprint configuration file:

  1. Specify the plugin url in the "plugins" array.
  2. Ensure .ts, .tsx, .js, .jsx, .mjs, .cjs file extensions are matched in an "includes" pattern.
  3. Add a "typescript" configuration property if desired.
    {
      // ...etc...
      "typescript": {
        // TypeScript & JavaScript config goes here
      },
      "includes": [
        "**/*.{ts,tsx,js,jsx,mjs,cjs}"
      ],
      "excludes": [
        "**/node_modules"
      ],
      "plugins": [
        "https://plugins.dprint.dev/typescript-0.65.0.wasm"
      ]
    }

JS Formatting API