惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Recent Commits to openclaw:main
Recent Commits to openclaw:main
L
LangChain Blog
月光博客
月光博客
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
博客园 - 【当耐特】
宝玉的分享
宝玉的分享
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
Last Week in AI
Last Week in AI
人人都是产品经理
人人都是产品经理
博客园_首页
T
Tailwind CSS Blog
P
Proofpoint News Feed
雷峰网
雷峰网
D
Darknet – Hacking Tools, Hacker News & Cyber Security
IT之家
IT之家
V
Vulnerabilities – Threatpost
阮一峰的网络日志
阮一峰的网络日志
C
CERT Recently Published Vulnerability Notes
Attack and Defense Labs
Attack and Defense Labs
S
Schneier on Security
Security Archives - TechRepublic
Security Archives - TechRepublic
L
Lohrmann on Cybersecurity
V
Visual Studio Blog
云风的 BLOG
云风的 BLOG
WordPress大学
WordPress大学
The Register - Security
The Register - Security
N
Netflix TechBlog - Medium
Hugging Face - Blog
Hugging Face - Blog
Project Zero
Project Zero
博客园 - 叶小钗
F
Full Disclosure
大猫的无限游戏
大猫的无限游戏
Latest news
Latest news
S
SegmentFault 最新的问题
C
Cyber Attacks, Cyber Crime and Cyber Security
Google Online Security Blog
Google Online Security Blog
Recorded Future
Recorded Future
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
Hacker News - Newest:
Hacker News - Newest: "LLM"
腾讯CDC
L
LINUX DO - 最新话题
Google DeepMind News
Google DeepMind News
P
Privacy International News Feed
I
InfoQ
F
Fortinet All Blogs
Vercel News
Vercel News
H
Hackread – Cybersecurity News, Data Breaches, AI and More
T
Threatpost
T
Tenable Blog
B
Blog RSS Feed

StackBlitz Blog

Cloudflare is now backing pkg.pr.new’s data infrastructure! Bolt 100K Open Source Fund ViteConf 2024 was a blast Unbundling the JavaScript ecosystem StackBlitz is joining the Open Source Pledge Announcing TutorialKit: Interactive tutorials in the browser Get ready for ViteConf 2024 StackBlitz welcomes Ari Perkkiö, core team member of Vitest Catch us at Figma Config WebContainers and the future of web dev (interview with Jòan Varvenne) Open Source at StackBlitz Avoiding CORS issues with this one simple trick How to document design system components What is Vite (and why is it so popular)? Improving the developer experience of enterprise design systems Flow state: Why fragmented thinking is worse than any interruption What is Storybook? An Overview for Developers The Self-Rendering Eval Shirt Starters Upgrade: WebContainers and Vite Putting the Dev in Figma’s Dev Mode Announcing StackBlitz Self-hosted Building Together in Illinois 5 lessons design systems teams can learn from open-source maintainers Announcing Native Language Support in WebContainers Introducing StackBlitz Teams ViteConf is back! Bringing Sharp to WebAssembly and WebContainers npm, yarn and pnpm are now supported natively in WebContainers The Atomic Waltz: Unraveling WebAssembly Issues in V8 and SpiderMonkey WebContainers now run on Safari, iOS, and iPadOS Now I am become the Destroyer of Threads WebContainer API is here. StackBlitz September 2022 Update StackBlitz August 2022 Update StackBlitz July 2022 Update Introducing: Collections and Social Previews! Down the caching-hole: adventures in Announcing ViteConf StackBlitz June 2022 Update The Fox and the Bolt: Bringing WebContainers to Firefox WebContainers are now supported in Firefox on desktop and Android StackBlitz May 2022 Update StackBlitz April 2022 Update Cloudflare and StackBlitz partner to bring Cloudflare Workers to your browser Powering over 2M developers a month, StackBlitz has raised $7.9M StackBlitz March 2022 Update Announcement: WebContainers are out of beta in Chromium StackBlitz has joined the Bytecode Alliance StackBlitz February 2022 Update Bringing WebContainers to all Browsers: a call to action for COEP Credentialless Cross-Browser support with Cross-Origin isolation StackBlitz welcomes Patak, core maintainer of Vite Chasing Memory Bugs through V8 and WebAssembly Remix v1 has landed, and it runs on WebContainers SvelteKit is now fully supported in WebContainers We Shopify partners with StackBlitz to bring Hydrogen development in-browser StackBlitz September 2021 Update Introducing Vite.new Templates! Announcing WebContainers Astro support! 🛰 Introducing: SQLite3 support in WebContainers! 🧪 StackBlitz July 2021 Update StackBlitz June 2021 Update Introducing WebContainers: Run Node.js natively in your browser Interactive Docs: The new norm for Remote Work
Announcing pkg.pr.new
Mohammad Bagher Abiyat Founder of tinylibs. Member of pmndrs and · 2024-06-27 · via StackBlitz Blog

Announcing pkg.pr.new

We’re excited to introduce pkg.pr.new, a GitHub app to get instant preview releases of your packages. It allows your contributors and users to test continuous releases of each commit in your project’s main branches and on every Pull Request!

We built pkg.pr.new to provide developers with a faster way to work together to test and validate changes. Currently, there is a lot of friction in testing a PR or an unreleased change in the main branch of a project. The user needs to clone the repository, build the package, and modify the target reproduction or project. This slows down the process of identifying and fixing issues.

With pkg.pr.new, you can immediately gather feedback to check the impact of your changes. We, web developers, understand the importance of a smooth and quick feedback loop (that’s why we love Vite, too!)

Once configured in a repository, pkg.pr.new publishes preview releases to a temporary registry for every commit, allowing you to access and test fixes right away in your local projects or online StackBlitz minimal reproductions. This tool is especially valuable for avoiding regressions, ensuring that changes work correctly before they are released.

Using a pkg.pr.new package

What is pkg.pr.new?

pkg.pr.new uses a CLI and GitHub Actions to publish unreleased packages to a temporary npm-compatible registry. It provides instant access to preview packages with a unique URL structure that allows you to easily use them in your projects.

A preview package can be accessed by its git commit hash:

npm i https://pkg.pr.new/tinybench@a832a55

Or using the GitHub PR number directly

npm i https://pkg.pr.new/valtio@906

One Click, Secure Reproductions

pkg.pr.new goes beyond publishing your package previews. You can define templates for your project, so your users can try out the packages in ready-to-use examples. Links to StackBlitz playgrounds will be included in the PR comment so your users can test it with a single click in a browser tab.

Opening a template from a pkg.pr.new comment

Apart from avoiding the need to do local configuration to try a pull request, these templates run in a secure sandbox in a browser tab avoiding the security risks of running code from unknown authors in other contributor’s machines.

Getting Started

Setting up pkg.pr.new is easy. After installing our GitHub app, you’ll be able to trigger continuous releases by running: npx pkg-pr-new publish from your GitHub actions setup. Follow the Setup guide in our docs to get pkg.pr.new previews for your packages today.

Why pkg.pr.new?

  • Instant Builds: Get immediate preview packages of your changes as soon as you make a commit or a pull request.
  • GitHub Workflows Friendly: Easily integrates with your existing GitHub workflows.
  • No Configuration: Works out of the box. No complicated setup required.
  • Single Command: A simple command is all it takes to publish your package.
  • Pull Request Comments: Automatically add helpful comments to your pull requests.

pkg.pr.new is Open Source, with its development led by @asleMammadam and @AmirSakhravi. We’re grateful to the projects that have already adopted the project for their invaluable feedback:

Radix VueViteBiomeValtioNuxtHubQwik UIQwik

If you’re part of their communities, you probably have already seen and used pkg.pr.new package previews. We hope you’ll also enjoy our continuous releases! Get involved and share your feedback with us after you try them out!