You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// intentionally not including `optionalDependencies` or `bundleDependencies` because at the time of writing they are not used for any of the frameworks we support
94
-
]
83
+
letpackageJsonString;
84
+
85
+
try{
86
+
packageJsonString=readFileSync(filePath,"utf-8");
87
+
}catch(e){
88
+
logger.error(`Could not read package.json at ${filePath}`);
logger.error(`Could not parse package.json at ${filePath}`);
97
+
returnnewSet();
98
+
}
99
+
100
+
return(
101
+
[
102
+
"dependencies",
103
+
"devDependencies",
104
+
"peerDependencies",
105
+
// intentionally not including `optionalDependencies` or `bundleDependencies` because at the time of writing they are not used for any of the frameworks we support
0 commit comments