Skip to content

Add dev container and migrate to pnpm#28

Merged
rickstaa merged 7 commits intomainfrom
feat/add-dev-container
Apr 3, 2026
Merged

Add dev container and migrate to pnpm#28
rickstaa merged 7 commits intomainfrom
feat/add-dev-container

Conversation

@rickstaa
Copy link
Copy Markdown
Member

@rickstaa rickstaa commented Apr 3, 2026

Summary

  • Add a dev container configuration for consistent development environments
  • Migrate from npm to pnpm 10 for improved supply chain security (lockfile-only installs by default)
  • Add .env.example, .nvmrc, and simplified README setup instructions

Stacked on #26

Test plan

  • Verify dev container builds and starts correctly
  • Verify pnpm install and pnpm run dev work
  • Verify .env.example documents all required variables
  • Verify pnpm run build succeeds

🤖 Generated with Claude Code

rickstaa and others added 7 commits April 3, 2026 12:38
Adds a VS Code dev container to isolate development from the host filesystem,
protecting against compromised npm packages accessing credentials. Migrates
from npm to pnpm with frozen-lockfile, ignore-scripts, and
only-built-dependencies=[] enforced via .npmrc.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
corepack enable needs root to symlink into /usr/local/bin/

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Remove only-built-dependencies from .npmrc (redundant with ignore-scripts)
and global pnpm config from devcontainer (redundant with project .npmrc).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
pnpm 10 blocks dependency install scripts by default, making .npmrc
with ignore-scripts redundant. Remove .npmrc, bump to pnpm 10.33.0,
use 22-bookworm image, and simplify README.

Aligns with livepeer/explorer#616.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Align with livepeer/explorer README style.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@vercel
Copy link
Copy Markdown

vercel bot commented Apr 3, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
website Ready Ready Preview, Comment Apr 3, 2026 10:39am

Request Review

Base automatically changed from refactor/optimise-ecosystem-images to main April 3, 2026 16:13
@rickstaa rickstaa merged commit 33a1f21 into main Apr 3, 2026
3 checks passed
@rickstaa rickstaa deleted the feat/add-dev-container branch April 3, 2026 16:26
adamsoffer added a commit that referenced this pull request Apr 9, 2026
…r source

This post wasn't on blog.livepeer.org — it was originally published by
Doug Petkanics on Mirror.xyz in Nov 2023 and added directly to the new
site in PR #28 when the blog system was introduced. Like the 6 Ghost
posts, the original PR ran the source through an LLM instead of
transcribing it verbatim: the post shrunk from ~9000 chars to ~5500
chars (40% condensed), with the conversational tone flattened, entire
paragraphs dropped (Livepeer Innovators DAO mention, the "That's it"
reality check, the O's/D's closing), and the inline "Livepeer Treasury
Proposal Form" screenshot removed.

Restores the body character-exact against the Mirror source (verified
6985/6985 chars, zero divergences) and pulls the inline screenshot from
Mirror's CDN into public/images/blog/using-the-livepeer-community-treasury/.
Frontmatter preserved as-is.

Mirror source recovered via Wayback Machine since mirror.xyz is
Cloudflare-protected.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants