chore: run preflight checks

This commit is contained in:
mkorwel
2025-10-24 09:45:50 -07:00
parent 6b7a1150b5
commit 48a04d2d2d
2 changed files with 5 additions and 5 deletions
+3 -1
View File
@@ -287,6 +287,7 @@ General contributors who only use the public `npmjs.org` registry may not need
to perform this setup.
This project uses a hybrid registry model:
- Production packages (e.g., `@google/gemini-cli`) are published to `npmjs.org`.
- Pre-release and development packages (e.g., `@google-gemini/gemini-cli`) are
published to **GitHub Packages**.
@@ -309,7 +310,8 @@ This command will:
2. **Back up** your existing `~/.npmrc` to `~/.npmrc.bak` if a backup doesn't
already exist.
3. **Overwrite** your `~/.npmrc` with the correct configuration to pull
packages from both `npmjs.org` and `npm.pkg.github.com` based on their scope.
packages from both `npmjs.org` and `npm.pkg.github.com` based on their
scope.
After running this, you can install packages from both registries without any
further configuration. If your GitHub token expires, you can simply run the
+2 -4
View File
@@ -109,9 +109,7 @@ function setupNpmrc() {
fs.writeFileSync(npmrcPath, newContent);
console.log(`✅ Successfully configured your ~/.npmrc file.`);
console.log(
'You can now install both production and pre-release packages.',
);
console.log('You can now install both production and pre-release packages.');
}
setupNpmrc();
setupNpmrc();