build: use @electron-ci/dev-root for package.json default

(cherry picked from commit bab6bd3dae)
This commit is contained in:
John Kleinschmidt
2026-01-06 14:28:32 -05:00
parent 9e7ef66ecb
commit 95cd5641dd
3 changed files with 66 additions and 65 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');