Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions packages/cli/snap-tests-global/command-publish-npm10/snap.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,29 @@
> vp pm publish --help # should show help
Usage: vp pm publish [OPTIONS] [TARBALL|FOLDER] [-- <PASS_THROUGH_ARGS>...]

Publish package to registry

Arguments:
[TARBALL|FOLDER] Tarball or folder to publish
[PASS_THROUGH_ARGS]... Additional arguments

Options:
--dry-run Preview without publishing
--tag <TAG> Publish tag
--access <ACCESS> Access level (public/restricted)
--otp <OTP> One-time password for authentication
--no-git-checks Skip git checks
--publish-branch <BRANCH> Set the branch name to publish from
--report-summary Save publish summary
--provenance Publish with provenance
--force Force publish
--json Output in JSON format
-r, --recursive Publish all workspace packages
--filter <PATTERN> Filter packages in monorepo
-h, --help Print help

Documentation: https://viteplus.dev/guide/install


> vp pm publish --dry-run -- --loglevel error # should preview publish without actually publishing (uses npm publish --dry-run)
+ command-publish-npm10@<semver>
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"commands": [
"vp pm publish --help # should show help",
"vp pm publish --dry-run -- --loglevel error # should preview publish without actually publishing (uses npm publish --dry-run)"
]
}
27 changes: 27 additions & 0 deletions packages/cli/snap-tests-global/command-publish-yarn1/snap.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,29 @@
> vp pm publish --help # should show help
Usage: vp pm publish [OPTIONS] [TARBALL|FOLDER] [-- <PASS_THROUGH_ARGS>...]

Publish package to registry

Arguments:
[TARBALL|FOLDER] Tarball or folder to publish
[PASS_THROUGH_ARGS]... Additional arguments

Options:
--dry-run Preview without publishing
--tag <TAG> Publish tag
--access <ACCESS> Access level (public/restricted)
--otp <OTP> One-time password for authentication
--no-git-checks Skip git checks
--publish-branch <BRANCH> Set the branch name to publish from
--report-summary Save publish summary
--provenance Publish with provenance
--force Force publish
--json Output in JSON format
-r, --recursive Publish all workspace packages
--filter <PATTERN> Filter packages in monorepo
-h, --help Print help

Documentation: https://viteplus.dev/guide/install


> vp pm publish --dry-run -- --loglevel error # should preview publish without actually publishing (uses npm publish --dry-run)
+ command-publish-yarn1@<semver>
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"commands": [
"vp pm publish --help # should show help",
"vp pm publish --dry-run -- --loglevel error # should preview publish without actually publishing (uses npm publish --dry-run)"
]
}
27 changes: 27 additions & 0 deletions packages/cli/snap-tests-global/command-publish-yarn4/snap.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,29 @@
> vp pm publish --help # should show help
Usage: vp pm publish [OPTIONS] [TARBALL|FOLDER] [-- <PASS_THROUGH_ARGS>...]

Publish package to registry

Arguments:
[TARBALL|FOLDER] Tarball or folder to publish
[PASS_THROUGH_ARGS]... Additional arguments

Options:
--dry-run Preview without publishing
--tag <TAG> Publish tag
--access <ACCESS> Access level (public/restricted)
--otp <OTP> One-time password for authentication
--no-git-checks Skip git checks
--publish-branch <BRANCH> Set the branch name to publish from
--report-summary Save publish summary
--provenance Publish with provenance
--force Force publish
--json Output in JSON format
-r, --recursive Publish all workspace packages
--filter <PATTERN> Filter packages in monorepo
-h, --help Print help

Documentation: https://viteplus.dev/guide/install


> vp pm publish --dry-run -- --loglevel error # should preview publish without actually publishing (uses npm publish --dry-run)
+ command-publish-yarn4@<semver>
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"commands": [
"vp pm publish --help # should show help",
"vp pm publish --dry-run -- --loglevel error # should preview publish without actually publishing (uses npm publish --dry-run)"
]
}
Loading