Socket
Book a DemoInstallSign in
Socket

@recordreplay/sourcemap-upload-cli

Package Overview
Dependencies
Maintainers
5
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@recordreplay/sourcemap-upload-cli

A CLI application for uploading sourcemaps to Replay for use while replaying recordings.

latest
Source
npmnpm
Version
0.1.1
Version published
Weekly downloads
20
900%
Maintainers
5
Weekly downloads
 
Created
Source

@recordreplay/sourcemap-upload-cli

Provides a CLI application that allows uploading production sourcemaps to Replay's servers so that they can be used when viewing recordings.

replay-sourcemap-upload CLI command

The CLI command replay-sourcemap-upload [opts] <paths...> has the following options:

  • <paths>: (Required) A set of files or directories to search for generated files and sourcemap files.
  • --group: (Required) To allow for tracking and browsing of maps that have been uploaded, we require uploaded names to have an overall group name associated with them. This could for instance be a version number, or commit hash.
  • --key: The API key to use when connecting to Replay's servers. Defaults to process.env.RECORD_REPLAY_API_KEY.
  • --root: Set the directory that relative paths should be computed with respect to. The relative path of sourcemaps is included in the uploaded entry, and will be visible in the uploaded-asset UI, so this can be used to strip off unimportant directories in the build path. Defaults to process.cwd().
  • --ignore: Provide an ignore pattern for files to ignore when searching for sourcemap-related data. This may be passed multiple times to ignore multiple things.
  • --quiet: Tell the CLI to output nothing to stdout. Errors will still log to stderr.
  • --verbose: Output additional information about the sourcemap map search.
  • --dry-run: Run all of the local processing and searching for maps, but skip uploading them.
  • --extensions: The comma-separated set of file extensions to search for sourcemap-related data. Defaults to ".js,.map".

FAQs

Package last updated on 17 Jun 2021

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