Skip to content

Conversation

@jtomaszewski
Copy link

Summary

  • Add GitHub Action workflow for pkg.pr.new preview releases
  • Add root-level build script for npm workspaces
  • Add repository field to core package.json (enables compact URLs)

Setup required

Install the pkg.pr.new GitHub App on this repository to activate preview publishing.

How it works

On every PR and push to main, the workflow will:

  1. Build all workspace packages
  2. Publish preview packages to pkg.pr.new
  3. Comment on the PR with installation instructions

🤖 Generated with Claude Code

**Created `.github/workflows/publish-preview.yml`** - A new GitHub Action workflow that:
- Triggers on pull requests and pushes to main
- Builds all workspace packages
- Publishes preview packages using pkg.pr.new with compact URLs

**Updated `package.json` (root)** - Added a root-level `build` script for npm workspaces.

**Updated `packages/core/package.json`** - Added the `repository` field (other packages already had it) to enable the `--compact` flag for shorter URLs.

**Next step**: Install the [pkg.pr.new GitHub App](https://github.com/apps/pkg-pr-new) on the repository to activate the preview publishing.
@jtomaszewski jtomaszewski force-pushed the vk/e199-add-https-pkg-pr branch from bae9700 to 657efe4 Compare December 3, 2025 01:06
@pkg-pr-new
Copy link

pkg-pr-new bot commented Dec 3, 2025

Open in StackBlitz

npm i https://pkg.pr.new/fullstackhouse/nestjs-inbox-outbox/@nestixis/nestjs-inbox-outbox@3
npm i https://pkg.pr.new/fullstackhouse/nestjs-inbox-outbox/@nestixis/nestjs-inbox-outbox-mikroorm-driver@3
npm i https://pkg.pr.new/fullstackhouse/nestjs-inbox-outbox/@nestixis/nestjs-inbox-outbox-typeorm-driver@3

commit: 0869485

@jtomaszewski jtomaszewski merged commit 4535a73 into main Dec 3, 2025
4 checks passed
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