sourcemaps.io icon indicating copy to clipboard operation
sourcemaps.io copied to clipboard

Extract validator to CLI

Open OliverJAsh opened this issue 7 years ago • 5 comments

It would be fantastic if you could extract the validator part of this service out into a CLI, so it can be used without needing files to be internet accessible

There is this project https://github.com/ben-ng/sourcemap-validator, however I get vastly different results when using this.

OliverJAsh avatar Sep 27 '17 17:09 OliverJAsh

I agree. I would love to be able to hook it up in CI to ensure no source map issues.

danschultzer avatar Jan 24 '18 18:01 danschultzer

Just saw that sentry-cli does it, though it's only during upload: https://github.com/getsentry/sentry-cli/blob/f1e2073fc9ba048f845cfda6161edc558d23a4e4/docs/releases.rst#managing-release-artifacts

danschultzer avatar Jan 24 '18 22:01 danschultzer

Hey, totally agree – and somehow I missed this issue months ago 😅

benvinegar avatar Jan 31 '18 18:01 benvinegar

however I get vastly different results when using this.

@OliverJAsh – uh, better results, I hope? 😊

What are we missing?

benvinegar avatar Jul 01 '18 01:07 benvinegar

Hi, is it possible to validate source map by CLI without upload?

krutoo avatar Jan 23 '23 07:01 krutoo