rstudio-update-nodejs

Update pinned Node.js versions across the RStudio codebase.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill automates the process of updating pinned Node.js versions across the RStudio codebase, handling both build-time and installed versions, validating changes, and deploying binaries to S3 while opening a PR.

Core Features & Use Cases

  • Update the pinned Node.js versions across build-time (RSTUDIO_NODE_VERSION) and installed (RSTUDIO_INSTALLED_NODE_VERSION) across multiple files.
  • Upload updated binaries to S3, verify the install, and ensure consistency before opening a PR.
  • Create a feature branch with clear messaging for the version changes and handle both single-version and multi-version updates.

Quick Start

Update both build-time and installed Node.js versions across the RStudio repository.

Frequently Asked Questions about rstudio-update-nodejs

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

FAQPage Schema
How do I update Node.js versions across the RStudio codebase?▼

Updating Node.js versions across the RStudio codebase involves modifying pinned build-time and installed binaries in files like cmake/globals.cmake and environment scripts, followed by automated validation to ensure consistency.

What is the best way to automate Node.js version updates and S3 binary uploads?▼

Automating Node.js version updates requires validating AWS credentials, uploading updated binaries to S3, verifying the installer, and generating a pull request with clear branch messaging for the version changes.

Do I need AWS credentials to automate Node.js binary uploads for RStudio?▼

Yes, AWS credentials are required for automated Node.js binary uploads, as the process relies on S3 for hosting the updated binaries and validating the installer before opening a pull request.

Can I update both build-time and installed Node.js versions simultaneously?▼

Yes, the automated update process handles both single-version and multi-version updates, simultaneously modifying RSTUDIO_NODE_VERSION and RSTUDIO_INSTALLED_NODE_VERSION across the repository.

Why does updating Node.js versions require modifying cmake files and environment scripts?▼

Updating Node.js versions requires modifying cmake/globals.cmake and environment scripts because these files pin the build-time and installed binary versions used by the continuous integration and release workflows.

What are the limitations of automated Node.js version management for RStudio?▼

Automated Node.js version management is limited to the RStudio repository structure, specifically targeting cmake/globals.cmake, environment scripts, and S3 release workflows, and requires pre-configured AWS credentials for binary deployment.