Files
lexical/scripts/shared/readMonorepoPackageJson.js
2024-04-25 16:17:31 -06:00

17 lines
420 B
JavaScript

/**
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
*/
// @ts-check
'use strict';
const fs = require('fs-extra');
const path = require('node:path');
module.exports = function readMonorepoPackageJson() {
return fs.readJsonSync(path.resolve(__dirname, '../../package.json'));
};