Repository navigation
Add publish --from-pack-dir packed artifact - #2063
Conversation
🦋 Changeset detectedLatest commit: b0d13e0 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #2063 +/- ##
==========================================
+ Coverage 82.98% 85.23% +2.25%
==========================================
Files 66 66
Lines 2504 2520 +16
Branches 681 695 +14
==========================================
+ Hits 2078 2148 +70
+ Misses 383 344 -39
+ Partials 43 28 -15 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
publish --from packed artifactpublish --from-pack-dir packed artifact
There was a problem hiding this comment.
Should this be named publishCommand.test.ts or simply index.test.ts to reflect the file being tested?
There was a problem hiding this comment.
I agree, this was messy - I moved those tests
| const child = | ||
| publishTool.name === "pnpm" | ||
| ? exec("pnpm", ["publish", ...publishFlags], { | ||
| ? exec("pnpm", ["publish", opts.target, ...publishFlags], { |
There was a problem hiding this comment.
Could we do a path.relative for the opts.target here so that it's passed a relative path or empty string? It probably doesn't matter technically, but it feels better to me to call the command as if how one would call manually in practice.
There was a problem hiding this comment.
sure, I pushed out such change
No description provided.