@hyperdx/cli
TypeScript icon, indicating that this package has built-in type declarations

0.0.1 • Public • Published

Command Line Interface for HyperDX

Uploading source maps to HyperDX

In your build pipeline, you will need to run the CLI tool. Here's how to run it:

npx @hyperdx/cli upload-sourcemaps --path="/path/to/sourcemaps" --apiKey="your-api-key"

You can also add this as an npm script

// In package.json

{
  "scripts": {
    "upload-sourcemaps": "npx @hyperdx/cli upload-sourcemaps --path=\"/path/to/sourcemaps\""
  }
}

Optionally, you can set the HYPERDX_API_ACCESS_KEY environment variable to avoid passing the apiKey flag.

Contributing

You can test your changes locally by running the following commands:

yarn build
node dist/index.js upload ...

Readme

Keywords

none

Package Sidebar

Install

npm i @hyperdx/cli

Weekly Downloads

208

Version

0.0.1

License

MIT

Unpacked Size

2.22 MB

Total Files

15

Last publish

Collaborators

  • ernest_hyperdx
  • mikeshi42
  • wrn14897