🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@chargebee/wingman-upload-screenshots

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@chargebee/wingman-upload-screenshots

Upload Wingman preview screenshots to S3 and invalidate CloudFront.

latest
npmnpm
Version
0.1.0
Version published
Maintainers
1
Created
Source

@chargebee/wingman-upload-screenshots

Upload preview screenshots to S3 and invalidate the matching CloudFront screenshots path.

npx @chargebee/wingman-upload-screenshots <screenshot-path> [more-screenshot-paths...]

The command reads the preview version from PREVIEW_VERSION, VERSION, or .preview-version in the current working directory.

Environment

Required AWS credentials are resolved by the AWS SDK credential chain. For local use, export:

export AWS_ACCESS_KEY_ID=<your key>
export AWS_SECRET_ACCESS_KEY=<your secret>
export AWS_DEFAULT_REGION=us-east-1

Optional overrides:

  • S3_BUCKET, default ui-previews
  • S3_PREFIX, default app-static-assets/cb-vue/<preview-version>/screenshots
  • SCREENSHOT_BASE_URL, default https://d28dyyxyym0o97.cloudfront.net
  • CF_DISTRIBUTION, default E2KIAG19CFHQD7
  • SKIP_CF_INVALIDATION=1 to skip CloudFront invalidation
  • PREVIEW_VERSION_FILE, default .preview-version

FAQs

Package last updated on 14 Jul 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts