Skip to content

Conversation

JohT
Copy link
Owner

@JohT JohT commented Nov 1, 2024

⚙️ Optimization

  • [Breaking] Rename RESOLVES_TO to IS_IMPLEMENTED_IN for Typescript modules. The new relationships IS_IMPLEMENTED_IN is much clearer and less generic than the previous RESOLVES_TO. For TS:ExternalModule nodes that match a TS:Module e.g. because of an identical globalFqn property, it is now straight forward to think of another project using an external module that is also included within the same Graph database as an internal module which actually represents its implementation.

  • Improve naming of external Typescript nodes. Now, an issue is fixed where external declarations were named like their module. Additionally, external modules get a more expressive name property in cases where the globalFqn looks like one of these examples:

    • ".../moduleName/src/index.ts"
    • ".../moduleName/dist/types/index.d.ts"
    • ".../moduleName/types/index.d.ts"
    • ".../moduleName/dist/types/src/index.d.ts"
  • Link matching declarations by their names and modules. Now, there is a new IS_IMPLEMENTED_IN relationship between external and internal declarations if their names and modules match.

  • Migrate to Miniforge since Mambaforge is deprecated. Details see: Sunsetting Mambaforge

🛠 Fix

📖 Documentation

  • Support analyze parameters in getting started examples. Now, it is much easier to get started by just executing one script while still having the opportunity with additional command line arguments to exclude Python and Node.js dependent reports or just explore the data manually.

@JohT JohT self-assigned this Nov 1, 2024
@JohT JohT force-pushed the feature/improve-external-modules-and-declarations-naming branch from 11b0bb9 to 16cedf5 Compare November 1, 2024 08:45
@JohT JohT marked this pull request as ready for review November 1, 2024 08:45
@JohT JohT force-pushed the feature/improve-external-modules-and-declarations-naming branch 3 times, most recently from 2cf6997 to dfed199 Compare November 4, 2024 18:00
@JohT JohT force-pushed the feature/improve-external-modules-and-declarations-naming branch from dfed199 to e5b7600 Compare November 4, 2024 18:32
@JohT JohT merged commit ff3a390 into main Nov 4, 2024
6 checks passed
@JohT JohT deleted the feature/improve-external-modules-and-declarations-naming branch November 4, 2024 19:10
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.

1 participant