We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3596149 commit d375686Copy full SHA for d375686
packages/nx-plugin/src/internal/versions.ts
@@ -16,6 +16,10 @@ export const cpCliVersion = loadPackageJson(
16
path.join(projectsFolder, 'models'),
17
).version;
18
19
+/**
20
+ * Load the package.json file from the given folder path.
21
+ * @param folderPath
22
+ */
23
function loadPackageJson(folderPath: string): PackageJson {
24
return readJsonFile<PackageJson>(path.join(folderPath, 'package.json'));
25
}
0 commit comments