diff --git a/packages/cli/snap-tests-global/command-publish-npm10/snap.txt b/packages/cli/snap-tests-global/command-publish-npm10/snap.txt index 6c0d0ca7ec..092741a23e 100644 --- a/packages/cli/snap-tests-global/command-publish-npm10/snap.txt +++ b/packages/cli/snap-tests-global/command-publish-npm10/snap.txt @@ -1,2 +1,29 @@ +> vp pm publish --help # should show help +Usage: vp pm publish [OPTIONS] [TARBALL|FOLDER] [-- ...] + +Publish package to registry + +Arguments: + [TARBALL|FOLDER] Tarball or folder to publish + [PASS_THROUGH_ARGS]... Additional arguments + +Options: + --dry-run Preview without publishing + --tag Publish tag + --access Access level (public/restricted) + --otp One-time password for authentication + --no-git-checks Skip git checks + --publish-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 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@ diff --git a/packages/cli/snap-tests-global/command-publish-npm10/steps.json b/packages/cli/snap-tests-global/command-publish-npm10/steps.json index fb390f356f..c92bf18dc2 100644 --- a/packages/cli/snap-tests-global/command-publish-npm10/steps.json +++ b/packages/cli/snap-tests-global/command-publish-npm10/steps.json @@ -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)" ] } diff --git a/packages/cli/snap-tests-global/command-publish-yarn1/snap.txt b/packages/cli/snap-tests-global/command-publish-yarn1/snap.txt index c0bbc9a3b4..3383ee14ea 100644 --- a/packages/cli/snap-tests-global/command-publish-yarn1/snap.txt +++ b/packages/cli/snap-tests-global/command-publish-yarn1/snap.txt @@ -1,2 +1,29 @@ +> vp pm publish --help # should show help +Usage: vp pm publish [OPTIONS] [TARBALL|FOLDER] [-- ...] + +Publish package to registry + +Arguments: + [TARBALL|FOLDER] Tarball or folder to publish + [PASS_THROUGH_ARGS]... Additional arguments + +Options: + --dry-run Preview without publishing + --tag Publish tag + --access Access level (public/restricted) + --otp One-time password for authentication + --no-git-checks Skip git checks + --publish-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 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@ diff --git a/packages/cli/snap-tests-global/command-publish-yarn1/steps.json b/packages/cli/snap-tests-global/command-publish-yarn1/steps.json index fb390f356f..c92bf18dc2 100644 --- a/packages/cli/snap-tests-global/command-publish-yarn1/steps.json +++ b/packages/cli/snap-tests-global/command-publish-yarn1/steps.json @@ -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)" ] } diff --git a/packages/cli/snap-tests-global/command-publish-yarn4/snap.txt b/packages/cli/snap-tests-global/command-publish-yarn4/snap.txt index d5143b5500..1481962a99 100644 --- a/packages/cli/snap-tests-global/command-publish-yarn4/snap.txt +++ b/packages/cli/snap-tests-global/command-publish-yarn4/snap.txt @@ -1,2 +1,29 @@ +> vp pm publish --help # should show help +Usage: vp pm publish [OPTIONS] [TARBALL|FOLDER] [-- ...] + +Publish package to registry + +Arguments: + [TARBALL|FOLDER] Tarball or folder to publish + [PASS_THROUGH_ARGS]... Additional arguments + +Options: + --dry-run Preview without publishing + --tag Publish tag + --access Access level (public/restricted) + --otp One-time password for authentication + --no-git-checks Skip git checks + --publish-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 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@ diff --git a/packages/cli/snap-tests-global/command-publish-yarn4/steps.json b/packages/cli/snap-tests-global/command-publish-yarn4/steps.json index fb390f356f..c92bf18dc2 100644 --- a/packages/cli/snap-tests-global/command-publish-yarn4/steps.json +++ b/packages/cli/snap-tests-global/command-publish-yarn4/steps.json @@ -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)" ] }