diff --git a/.github/workflows/gh-release.yaml b/.github/workflows/gh-release.yaml index 94216d13..7314097f 100644 --- a/.github/workflows/gh-release.yaml +++ b/.github/workflows/gh-release.yaml @@ -46,7 +46,7 @@ jobs: fi # this will be the NPM dist-tag - GIT_ID=$(echo "${REF}" | sed 's/[^a-zA-Z0-9_-]/-/g') + GIT_ID=$(echo "${REF}" | sed 's/[^a-zA-Z0-9-]/-/g') # run 'lerna version' to get next prerelease yarn -s lerna version prerelease --no-git-tag-version --preid $GIT_ID --ignore-scripts --exact --yes diff --git a/.github/workflows/npm-publish-canary.yaml b/.github/workflows/npm-publish-canary.yaml index 93d57dde..f630dda4 100644 --- a/.github/workflows/npm-publish-canary.yaml +++ b/.github/workflows/npm-publish-canary.yaml @@ -55,7 +55,7 @@ jobs: fi # this will be the NPM dist-tag - GIT_ID=$(echo "${REF}" | sed 's/[^a-zA-Z0-9_-]/-/g') + GIT_ID=$(echo "${REF}" | sed 's/[^a-zA-Z0-9-]/-/g') # run 'lerna version' to get next prerelease yarn -s lerna version prerelease --no-git-tag-version --preid $GIT_ID --ignore-scripts --exact --yes diff --git a/lerna.json b/lerna.json index da73518c..c4c17bbe 100644 --- a/lerna.json +++ b/lerna.json @@ -1,4 +1,4 @@ { "$schema": "node_modules/lerna/schemas/lerna-schema.json", - "version": "0.0.63" + "version": "0.0.64" } diff --git a/packages/cli-common/package.json b/packages/cli-common/package.json index 750fb490..0b48cf55 100644 --- a/packages/cli-common/package.json +++ b/packages/cli-common/package.json @@ -1,6 +1,6 @@ { "name": "@preevy/cli-common", - "version": "0.0.63", + "version": "0.0.64", "description": "Common library for the Preevy CLI and plugins", "type": "module", "main": "dist/index.js", @@ -14,7 +14,7 @@ "dependencies": { "@inquirer/prompts": "^3.3.0", "@oclif/core": "^3.15.1", - "@preevy/core": "0.0.63", + "@preevy/core": "0.0.64", "chalk": "^4.1.2", "iter-tools-es": "^7.5.3", "lodash-es": "^4.17.21" diff --git a/packages/cli/README.md b/packages/cli/README.md index edecaf8c..6afb960e 100644 --- a/packages/cli/README.md +++ b/packages/cli/README.md @@ -11,6 +11,7 @@ Preevy is a CLI tool for easily creating preview environments for your Docker Co * [Usage](#usage) * [Commands](#commands) +* [Command Topics](#command-topics) # Usage @@ -19,7 +20,7 @@ $ npm install -g preevy $ preevy COMMAND running command... $ preevy (--version) -preevy/0.0.63 darwin-arm64 node-v18.19.0 +preevy/0.0.64 darwin-arm64 node-v18.19.1 $ preevy --help [COMMAND] USAGE $ preevy COMMAND @@ -28,1079 +29,21 @@ USAGE # Commands -* [`preevy down`](#preevy-down) -* [`preevy help [COMMANDS]`](#preevy-help-commands) -* [`preevy init [PROFILE-ALIAS]`](#preevy-init-profile-alias) -* [`preevy login`](#preevy-login) -* [`preevy logs [SERVICES]`](#preevy-logs-services) -* [`preevy ls`](#preevy-ls) -* [`preevy profile config update`](#preevy-profile-config-update) -* [`preevy profile config view`](#preevy-profile-config-view) -* [`preevy profile cp`](#preevy-profile-cp) -* [`preevy profile create NAME URL`](#preevy-profile-create-name-url) -* [`preevy profile current`](#preevy-profile-current) -* [`preevy profile import LOCATION`](#preevy-profile-import-location) -* [`preevy profile key [TYPE]`](#preevy-profile-key-type) -* [`preevy profile link`](#preevy-profile-link) -* [`preevy profile ls`](#preevy-profile-ls) -* [`preevy profile rm NAME`](#preevy-profile-rm-name) -* [`preevy profile use NAME`](#preevy-profile-use-name) -* [`preevy purge`](#preevy-purge) -* [`preevy ssh ENVID`](#preevy-ssh-envid) -* [`preevy up [SERVICE]`](#preevy-up-service) -* [`preevy urls [SERVICE] [PORT]`](#preevy-urls-service-port) -* [`preevy version`](#preevy-version) +# Command Topics + +* [`preevy down`](docs/down.md) - Delete preview environments +* [`preevy env`](docs/env.md) - Show metadata for a preview environment +* [`preevy env-id`](docs/env-id.md) - Show the Preevy environment ID for the current Compose project +* [`preevy help`](docs/help.md) - Display help for preevy. +* [`preevy init`](docs/init.md) - Initialize or import a new profile +* [`preevy login`](docs/login.md) - Login to the Livecycle SaaS +* [`preevy logs`](docs/logs.md) - Show logs for an existing environment +* [`preevy ls`](docs/ls.md) - List preview environments +* [`preevy profile`](docs/profile.md) - View and update profile configuration +* [`preevy purge`](docs/purge.md) - Delete all cloud provider machines and potentially other resources +* [`preevy ssh`](docs/ssh.md) - Execute a command or start an interactive shell inside an environment +* [`preevy up`](docs/up.md) - Bring up a preview environment +* [`preevy urls`](docs/urls.md) - Show urls for an existing environment +* [`preevy version`](docs/version.md) - Show Preevy version -## `preevy down` - -Delete preview environments - -``` -USAGE - $ preevy down [--json] [-D] [-f ] [--system-compose-file ] [--project-directory ] - [-p ] [--enable-plugin ] [--disable-plugin ] [--profile ] [-d - lightsail|gce|azure|kube-pod] [--lightsail-region ] [--gce-project-id ] [--gce-zone ] - [--azure-region ] [--azure-subscription-id ] [--kube-pod-namespace ] [--kube-pod-kubeconfig - ] [--kube-pod-context ] [--lightsail-availability-zone ] [--lightsail-bundle-id - nano_2_0|micro_2_0|small_2_0|medium_2_0|large_2_0|xlarge_2_0|2xlarge_2_0] [--gce-machine-type ] - [--azure-vm-size ] [--kube-pod-template ] [--kube-pod-server-side-apply] [--kube-pod-storage-class - ] [--kube-pod-storage-size ] [--id ] [--force] [--wait] [--github-token ] [--github-repo - ] [--github-pull-request ] [--github-pr-comment-template-file ] [--github-add-build-cache] - [--github-pr-comment-enabled auto|no|always] - -FLAGS - -d, --driver=