MCPcopy
hub / github.com/CesiumGS/cesium / getVersion

Function getVersion

scripts/build.js:29–33  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

27const packageJsonPath = path.join(projectRoot, "package.json");
28
29export async function getVersion() {
30 const data = await readFile(packageJsonPath, "utf8");
31 const { version } = JSON.parse(data);
32 return version;
33}
34
35async function getCopyrightHeader() {
36 const copyrightHeaderTemplate = await readFile(

Callers 5

buildSandcastleAppFunction · 0.90
getCopyrightHeaderFunction · 0.85
createCesiumJsFunction · 0.85
createCombinedSpecListFunction · 0.85
createIndexJsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…