Skip to content

Commit 6e69752

Browse files
committed
Add version number to Typescript project
1 parent fb6063e commit 6e69752

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cypher/Typescript_Enrichment/Link_projects_to_npm_packages.cypher

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ MATCH (npmPackage:NPM:Package)
2525
// Set the "relativeFileDirectory" on the npm package to the relative directory
2626
// that contains the package.json file
2727
SET npmPackage.relativeFileDirectory = relativeNpmPackageDirectory
28+
,project.version = npmPackage.version
2829
RETURN count(*) AS numberOfCreatedNpmPackageRelationships
2930
// Detailed results for debugging
3031
//RETURN npmPackage.fileName AS npmPackageFileName

0 commit comments

Comments
 (0)