Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

7x: Typescript update #6091

Merged
merged 13 commits into from
Mar 21, 2025
Merged

7x: Typescript update #6091

merged 13 commits into from
Mar 21, 2025

Conversation

mjfwebb
Copy link
Contributor

@mjfwebb mjfwebb commented Mar 14, 2025

Description

  • Updates the old version of @tsconfig/16 with an updated @tsconfig/22 (matching the engines in package.json of "node": ">=22.0.0")
  • Updates tsconfig to retain the previous production build configuration which was essentially:
        "module": "CommonJS",
        "target": "es2021",
        "moduleResolution": "node10"
  • Updates Typescript to 5.8.2
  • Addresses new errors raised during this update. Please see individual commits for errors raised.

Complexity

Low

Copy link

changeset-bot bot commented Mar 14, 2025

⚠️ No Changeset found

Latest commit: 613798d

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@mjfwebb mjfwebb changed the base branch from dev to 7.x March 14, 2025 16:36
mjfwebb added 11 commits March 21, 2025 13:48
This fixes the error:

Cannot find module '@graphql-tools/utils/typings/types' or its corresponding type declarations.
This fixes:

Property 'description' will overwrite the base property in 'GraphElement'. If this is intentional, add an initializer. Otherwise, add a 'declare' modifier or remove the redundant declaration.
This fixes:

Relative import paths need explicit file extensions in EcmaScript imports when '--moduleResolution' is 'node16' or 'nodenext'.
This fixes:

Property 'name' will overwrite the base property in 'Neo4jGraphQLError'. If this is intentional, add an initializer. Otherwise, add a 'declare' modifier or remove the redundant declaration.
@mjfwebb mjfwebb force-pushed the mjfwebb/7x-ts-update branch from 42e0b6c to 9063bac Compare March 21, 2025 12:48
darrellwarde
darrellwarde previously approved these changes Mar 21, 2025
@mjfwebb mjfwebb merged commit 04a2f8c into neo4j:7.x Mar 21, 2025
35 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants