Skip to content

Conversation

@JohT
Copy link
Owner

@JohT JohT commented Oct 22, 2024

🚀 Feature

  • Link NPM dependencies to their packages if possible. Enhancing the data from jqassistant-npm-plugin, package dependencies are now linked to the package they are declared in (if it exists). This makes it easier to navigate by using (NPM:Dependency)-[:IS_DESCRIBED_IN_NPM_PACKAGE]->(NPM:Package).
  • Improve project name to distinguish multiple tsconfigs. A Typescript project can have multiple configuration files for example to treat tests differently. Gathering the name solely from the directory name leads to some TS:Project nodes having the same name. Now, the name of the configuration is appended to the name in parentheses. So you can clearly see if a TS:Project is for example representing the tests.
  • 🥳 Improve RESOLVES_TO link from external to internal modules. Now, every method to link external to internal modules is separately listed in the result. The existing methods had been improved. A new method that links them using npm package name (including namespace) is added. Additionally, external dependency file extensions are "normalized" to be able to detect the link between a Typescript declaration d.ts to its counterpart, e.g. .ts and to link transpiled .js files from dist folders to their counterpart.

⚙️ Optimization

@JohT JohT self-assigned this Oct 22, 2024
@JohT JohT force-pushed the feature/improve-external-to-internal-typescript-module-links branch from 1145eff to 7b5706b Compare October 23, 2024 05:52
@JohT JohT force-pushed the feature/improve-external-to-internal-typescript-module-links branch from ffcd776 to 0c54770 Compare October 23, 2024 19:13
@JohT JohT force-pushed the feature/improve-external-to-internal-typescript-module-links branch from 0c54770 to 28db6d2 Compare October 23, 2024 20:37
@JohT JohT force-pushed the feature/improve-external-to-internal-typescript-module-links branch from 28db6d2 to 85bc48a Compare October 24, 2024 06:23
@JohT JohT marked this pull request as ready for review October 25, 2024 05:39
@JohT JohT merged commit a655b01 into main Oct 25, 2024
5 checks passed
@JohT JohT deleted the feature/improve-external-to-internal-typescript-module-links branch October 25, 2024 05:39
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