build: use @electron-ci/dev-root for package.json default (#49154)

This commit is contained in:
John Kleinschmidt
2025-12-09 14:49:12 -05:00
committed by GitHub
parent 33f6942565
commit bab6bd3dae
3 changed files with 69 additions and 68 deletions

View File

@@ -13,6 +13,7 @@ import { createGitHubTokenStrategy } from '../github-token';
import { ELECTRON_ORG, ELECTRON_REPO, ElectronReleaseRepo, NIGHTLY_REPO } from '../types';
const rootPackageJson = JSON.parse(fs.readFileSync(path.resolve(__dirname, '../../../package.json'), 'utf-8'));
rootPackageJson.name = 'electron';
if (!process.env.ELECTRON_NPM_OTP) {
console.error('Please set ELECTRON_NPM_OTP');