Skip to content

Commit 43e582d

Browse files
committed
Add external dependencies reports for Typescript
1 parent 2840096 commit 43e582d

File tree

2 files changed

+1534
-0
lines changed

2 files changed

+1534
-0
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
// Exploring external Typescript dependencies
2+
3+
MATCH (file:TS)
4+
WHERE file.globalFqn IS NOT NULL
5+
RETURN labels(file)[0..4] AS nodeType
6+
,(file.globalFqn contains '/node_modules/') AS isNodeModule
7+
,count(*) AS numberOfNodes
8+
,collect(DISTINCT file.globalFqn)[0..9] AS examples
9+
ORDER BY nodeType ASC, numberOfNodes DESC

0 commit comments

Comments
 (0)