rstudio-update-electron

Upgrade Electron with exact version pinning and test validation in RStudio.

5.0k|1.2k|Updated Dec 7, 2010
One-click install
npx skills add https://github.com/rstudio/rstudio --skill rstudio-update-electron
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: rstudio-update-electron
Source: https://github.com/rstudio/rstudio/tree/main/.claude/skills/rstudio-update-electron
Command: npx skills add https://github.com/rstudio/rstudio --skill rstudio-update-electron

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps maintain consistency by updating the Electron dependency across the RStudio codebase, ensuring exact version pinning and compatibility.

Core Features & Use Cases

  • Update the Electron version in the repository's dependency declarations and documentation.
  • Pin the exact Electron version in package.json and package-lock.json to prevent accidental upgrades.
  • Validate the update by running installation and tests to ensure CI compatibility.

Quick Start

Provide the target Electron version (for example, 39.8.4) and follow the update steps to pin the version and run tests.

Frequently Asked Questions about rstudio-update-electron

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I update Electron across the RStudio codebase?

To update Electron across the RStudio codebase, pin the exact version in package.json, package-lock.json, and NEWS.md, then validate by running tests in src/node/desktop to ensure CI compatibility.

How do I safely pin an exact Electron version in npm package files?

Safely pin an exact Electron version by updating package.json and package-lock.json with the target version number, preventing accidental upgrades and ensuring dependency consistency across the repository.

Why do I need to update package-lock.json when bumping the Electron version?

Updating package-lock.json when bumping the Electron version locks the exact dependency tree, prevents accidental upgrades, and maintains CI-safe checks across the repository environment.

What tests should I run after an Electron version bump in RStudio?

After an Electron version bump in RStudio, run tests in the src/node/desktop directory to verify installation, validate compatibility, and ensure CI-safe checks pass.

Does updating Electron require modifying the RStudio NEWS.md file?

Yes, updating Electron requires modifying the RStudio NEWS.md file to document the change, alongside updating package.json and package-lock.json to keep dependency declarations and documentation consistent.

What is the exact npm install syntax for pinning a specific Electron version?

The exact npm install syntax for pinning a specific Electron version specifies the target version number to update package.json and package-lock.json, preventing accidental upgrades and ensuring precise version pinning.