Repository navigation
ci: publish @base44/platform PR previews - #320
Merged
Merged
Conversation
Matrix the preview job over packages. @base44/sdk still previews on every PR; @base44/platform only when the PR touches packages/platform/. Each package gets its own PR comment, keyed by a hidden marker; the SDK keeps its existing header so open PRs update the comment they already have. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
🚀 Package Preview Available!Install this PR's preview build with npm: npm i @base44-preview/sdk@0.8.53-pr.320.9f08a7aPrefer not to change any import paths? Install using npm alias so your code still imports npm i "@base44/sdk@npm:@base44-preview/sdk@0.8.53-pr.320.9f08a7a"Or add it to your {
"dependencies": {
"@base44/sdk": "npm:@base44-preview/sdk@0.8.53-pr.320.9f08a7a"
}
}
Preview published to npm registry — try new features instantly! |
netanelgilad
approved these changes
Oct 12, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
changesjob picks the packages to preview:@base44/sdkon every PR (unchanged),@base44/platformonly when the PR touchespackages/platform/.publish-previewruns as a matrix over those packages and publishes@base44-preview/<package>@<version>-pr.<N>.<sha>. The name-mismatch safety checks andpackage.jsonrestore are unchanged.<!-- package-preview:<package> -->marker, with install/alias commands for the right package (e.g.npm i "@base44/platform@npm:@base44-preview/platform@…"). The SDK keeps its existing header, so open PRs update their current comment instead of getting a second one. The comment lookup now reads 100 comments per page instead of 30.Setup
@base44-preview/platformexists on npm (placeholder0.0.0).@base44-preview/platform→ repobase44/javascript-sdk, workflowpreview-publish.yml.Test plan
check_wix_proxy_steps.pypasses (file stays in the publish exemption).["sdk"],feat/platform-server-webhooks→["sdk","platform"].@base44-preview/platformand posts its own comment.🤖 Generated with Claude Code