Skip to content

chore(deps-dev): bump ts-morph from 27.0.2 to 28.0.0 in /docs#2240

Open
dependabot[bot] wants to merge 1 commit into
stagingfrom
dependabot/npm_and_yarn/docs/staging/ts-morph-28.0.0
Open

chore(deps-dev): bump ts-morph from 27.0.2 to 28.0.0 in /docs#2240
dependabot[bot] wants to merge 1 commit into
stagingfrom
dependabot/npm_and_yarn/docs/staging/ts-morph-28.0.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github May 12, 2026

Copy link
Copy Markdown
Contributor

Bumps ts-morph from 27.0.2 to 28.0.0.

Release notes

Sourced from ts-morph's releases.

28.0.0

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

Commits
Maintainer changes

This version was pushed to npm by GitHub Actions, a new releaser for ts-morph since your current version.


@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels May 12, 2026
@greptile-apps

greptile-apps Bot commented May 12, 2026

Copy link
Copy Markdown

Greptile Summary

This PR bumps the ts-morph dev dependency in docs/ from ^27.0.2 to ^28.0.0. The new major version bundles TypeScript 6.0, which carries breaking language-level changes, but the only consumer in this repo (docs/scripts/generate-entity-documentation.ts) uses only stable AST-walking APIs (Project, ClassDeclaration, PropertyDeclaration) that are unaffected.

  • Upgrades ts-morph to the TypeScript-6.0-backed release; no application or backend code is touched.
  • The doc-generation script's usage pattern (reading decorators, property types, JSDoc) aligns with APIs that have no breaking changes in this release.

Confidence Score: 5/5

Safe to merge — single-file dev dependency bump isolated to the docs build toolchain.

The change touches only a devDependency used exclusively by the entity-documentation generation script. The script's API surface (Project, ClassDeclaration, PropertyDeclaration, decorator/type/JSDoc accessors) is unchanged in ts-morph 28.0.0; the TypeScript 6.0 breaking changes in this release are at the language level and do not affect these AST-walking calls.

No files require special attention.

Important Files Changed

Filename Overview
docs/package.json Bumps ts-morph from ^27.0.2 to ^28.0.0 in devDependencies; the consuming script uses only stable Project/ClassDeclaration/PropertyDeclaration APIs that are unaffected by the TypeScript 6.0 breaking changes bundled in this release.

Flowchart

%%{init: {'theme': 'neutral'}}%%
flowchart TD
    A["npm run gen:entities"] --> B["tsx scripts/generate-entity-documentation.ts"]
    B --> C["ts-morph Project\n(^28.0.0 → bundles TS 6.0)"]
    C --> D["addSourceFilesAtPaths\npackages/backend-common/src/entities/**/*.entity.ts"]
    D --> E["ClassDeclaration / PropertyDeclaration\nAPIs: getDecorators, getType, getJsDocs"]
    E --> F["generateMarkdown()"]
    F --> G["docs/development/application-structure/postgres.md"]
Loading

Reviews (2): Last reviewed commit: "chore(deps-dev): bump ts-morph from 27.0..." | Re-trigger Greptile

Bumps [ts-morph](https://github.com/dsherret/ts-morph) from 27.0.2 to 28.0.0.
- [Release notes](https://github.com/dsherret/ts-morph/releases)
- [Commits](dsherret/ts-morph@27.0.2...28.0.0)

---
updated-dependencies:
- dependency-name: ts-morph
  dependency-version: 28.0.0
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/docs/staging/ts-morph-28.0.0 branch from d4813ff to 9d15860 Compare June 8, 2026 07:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants