Announcing pkg.pr.new
Blog post from StackBlitz
Pkg.pr.new is a newly introduced GitHub app designed to streamline the process of obtaining instant preview releases of packages for developers, particularly aiding in the testing and validation of changes in project main branches and pull requests. This tool reduces the friction typically associated with testing unreleased changes by allowing developers to publish preview packages to a temporary npm-compatible registry, accessible via unique URLs based on git commit hashes or GitHub PR numbers. By integrating smoothly with existing GitHub workflows, pkg.pr.new facilitates immediate builds and continuous releases without complicated setups, enhancing the feedback loop essential for web development. It also includes features such as single-click, secure reproductions using templates and StackBlitz playgrounds, mitigating security risks associated with running code from unknown authors. The open-source project, supported by Cloudflare’s data infrastructure for scalability, has been embraced by several notable projects and communities, reflecting its utility in the open-source ecosystem.