bugwatch-cli 0.5.0 → 0.5.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  initProject
3
- } from "./chunk-TI67SCUE.js";
3
+ } from "./chunk-NKQH22HJ.js";
4
4
  import {
5
5
  DEFAULT_API_URL,
6
6
  DEFAULT_URL_PREFIX,
@@ -12,7 +12,7 @@ import {
12
12
  isCiToken,
13
13
  isDeprecatedUploadToken,
14
14
  uploadSourceMaps
15
- } from "./chunk-TIAPESCR.js";
15
+ } from "./chunk-WHSSABPJ.js";
16
16
 
17
17
  // src/main.ts
18
18
  import { parseArgs } from "util";
@@ -2,7 +2,7 @@ import {
2
2
  DEFAULT_API_URL,
3
3
  UsageError,
4
4
  VERSION
5
- } from "./chunk-TIAPESCR.js";
5
+ } from "./chunk-WHSSABPJ.js";
6
6
 
7
7
  // src/init.ts
8
8
  import { execFile, spawn } from "child_process";
@@ -11,7 +11,7 @@ import { readFile, writeFile } from "fs/promises";
11
11
  import { dirname, join, posix, relative, resolve, sep } from "path";
12
12
  var MARKER_FILE = ".bugwatch.json";
13
13
  var DEFAULT_INGEST_URL = `${DEFAULT_API_URL}/api/ingest`;
14
- var SDK_VERSION_RANGE = "^0.5.0";
14
+ var SDK_VERSION_RANGE = "^0.7.0";
15
15
  var FETCH_TIMEOUT_MS = 9e4;
16
16
  var SLOW_NOTICE_MS = 5e3;
17
17
  var SETUP_CODE = /^bws_[0-9a-f]{32}$/;
@@ -26,7 +26,7 @@ function formatSummary(summary, { dryRun, release, files }) {
26
26
  }
27
27
 
28
28
  // src/version.ts
29
- var VERSION = "0.5.0";
29
+ var VERSION = "0.5.2";
30
30
 
31
31
  // src/upload.ts
32
32
  import { open, readdir, readFile, stat, unlink } from "fs/promises";
package/dist/cli.js CHANGED
@@ -1,9 +1,9 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  main
4
- } from "./chunk-A3FVZYMN.js";
5
- import "./chunk-TI67SCUE.js";
6
- import "./chunk-TIAPESCR.js";
4
+ } from "./chunk-4ADC7XIS.js";
5
+ import "./chunk-NKQH22HJ.js";
6
+ import "./chunk-WHSSABPJ.js";
7
7
 
8
8
  // src/cli.ts
9
9
  main(process.argv.slice(2)).then((code) => {
package/dist/index.d.ts CHANGED
@@ -219,6 +219,6 @@ declare function addImport(text: string, spec: string): string | null;
219
219
  declare function initProject(options: InitOptions): Promise<InitReport>;
220
220
 
221
221
  /** Keep in sync with package.json (a test checks it). */
222
- declare const VERSION = "0.5.0";
222
+ declare const VERSION = "0.5.2";
223
223
 
224
224
  export { CONCURRENCY, type CliSetup, DEFAULT_API_URL, DEFAULT_INGEST_URL, DEFAULT_URL_PREFIX, type FileResult, type Framework, type InitOptions, type InitReport, MARKER_FILE, MAX_MAP_BYTES, MAX_RETRIES, type Outcome, type PackageManager, type PlannedUpload, STOP_CODES, UPLOAD_TOKEN_DEPRECATED, type UploadOptions, type UploadReport, type UploadSummary, UsageError, VERSION, addImport, detectFramework, detectPackageManager, findMapOwners, findSourceMaps, formatBytes, formatResult, formatSummary, importSpecifier, initProject, installCommand, isCiToken, isCssMap, isDeprecatedUploadToken, mapName, planUploads, projectProblem, releaseProblem, remoteRepo, replaceApiKey, sdkTooOld, sendableMapFile, setupCodeProblem, sourceMappingUrlOf, uploadSourceMaps, urlPrefixProblem };
package/dist/index.js CHANGED
@@ -11,7 +11,7 @@ import {
11
11
  replaceApiKey,
12
12
  sdkTooOld,
13
13
  setupCodeProblem
14
- } from "./chunk-TI67SCUE.js";
14
+ } from "./chunk-NKQH22HJ.js";
15
15
  import {
16
16
  CONCURRENCY,
17
17
  DEFAULT_API_URL,
@@ -38,7 +38,7 @@ import {
38
38
  sourceMappingUrlOf,
39
39
  uploadSourceMaps,
40
40
  urlPrefixProblem
41
- } from "./chunk-TIAPESCR.js";
41
+ } from "./chunk-WHSSABPJ.js";
42
42
  export {
43
43
  CONCURRENCY,
44
44
  DEFAULT_API_URL,
package/dist/main.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  main
3
- } from "./chunk-A3FVZYMN.js";
4
- import "./chunk-TI67SCUE.js";
5
- import "./chunk-TIAPESCR.js";
3
+ } from "./chunk-4ADC7XIS.js";
4
+ import "./chunk-NKQH22HJ.js";
5
+ import "./chunk-WHSSABPJ.js";
6
6
  export {
7
7
  main
8
8
  };
package/dist/vite.js CHANGED
@@ -7,7 +7,7 @@ import {
7
7
  isCiToken,
8
8
  isDeprecatedUploadToken,
9
9
  uploadSourceMaps
10
- } from "./chunk-TIAPESCR.js";
10
+ } from "./chunk-WHSSABPJ.js";
11
11
 
12
12
  // src/vite.ts
13
13
  import { resolve } from "path";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bugwatch-cli",
3
- "version": "0.5.0",
3
+ "version": "0.5.2",
4
4
  "description": "Set up Bugwatch in your app and upload source maps from CI (CLI and Vite plugin)",
5
5
  "type": "module",
6
6
  "bin": {