Skip to content

chore: update dependency ts-morph to v28#95

Open
renovate[bot] wants to merge 1 commit intomainfrom
renovate/ts-morph-28.x
Open

chore: update dependency ts-morph to v28#95
renovate[bot] wants to merge 1 commit intomainfrom
renovate/ts-morph-28.x

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented Apr 24, 2026

This PR contains the following updates:

Package Change Age Confidence
ts-morph 24.0.028.0.0 age confidence

Release Notes

dsherret/ts-morph (ts-morph)

v28.0.0

Compare Source

What's Changed

Note there are some breaking changes due to TypeScript 6.0. Read more here: https://devblogs.microsoft.com/typescript/announcing-typescript-6-0/

As part of this release, structures can now be printed to a string using the printStructure function.

import { printStructure, StructureKind } from "ts-morph";

const code = printStructure({
  kind: StructureKind.Class,
  name: "MyClass",
  isExported: true,
  properties: [{ name: "myProp", type: "string" }],
  methods: [{
    name: "myMethod",
    parameters: [{ name: "param", type: "number" }],
    returnType: "void",
  }],
});
console.log(code);

Outputs:

export class MyClass {
  myProp: string;

  myMethod(param: number): void {
  }
}

New Contributors

Full Changelog: dsherret/ts-morph@27.0.2...28.0.0

v27.0.2

Compare Source

What's Changed

  • Fixes the npm publish in order to get the fixes in from 27.0.1

Full Changelog: dsherret/ts-morph@27.0.1...27.0.2

v27.0.0

Compare Source

What's Changed

New Contributors

Full Changelog: dsherret/ts-morph@26.0.0...27.0.0

v26.0.0

Compare Source

What's Changed

  • feat: TypeScript 5.8 #​1628
  • fix: Improve comma appending logic to handle nested template literals correctly by @​kingston in #​1630
  • fix(bootstrap): ignore dist-deno folder for npm publish #​1610
  • feat: npm publish with provenance #​1634

New Contributors

Full Changelog: dsherret/ts-morph@25.0.1...26.0.0

v25.0.1

Compare Source

Bug Fixes

v25.0.0

Compare Source

What's Changed

  • feat: TypeScript 5.7.2 #​1594
  • fix: switch back to fast-glob for stability #​1595
  • fix: properly insert async keyword in arrow function #​1597
  • fix: throw descriptive error when inserting variable statement with no declarations #​1598
  • fix: removing last named import/export should not remove or change declaration #​1599

Full Changelog: dsherret/ts-morph@24.0.0...25.0.0


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants