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

0.1.0 • 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" --serviceKey="your-service-account-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_SERVICE_KEY environment variable to avoid passing the serviceKey flag.

Contributing

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

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

Dependencies (3)

Dev Dependencies (5)

Package Sidebar

Install

npm i @hyperdx/cli

Weekly Downloads

348

Version

0.1.0

License

MIT

Unpacked Size

2.22 MB

Total Files

16

Last publish

Collaborators

  • ernest_hyperdx
  • mikeshi42
  • wrn14897