@sentry/bundler-plugin-core 4.1.0 → 4.2.0

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.
@@ -49,7 +49,9 @@ export type SentryBuildPluginManager = {
49
49
  /**
50
50
  * Uploads sourcemaps using the "Debug ID" method. This function takes a list of build artifact paths that will be uploaded
51
51
  */
52
- uploadSourcemaps(buildArtifactPaths: string[]): Promise<void>;
52
+ uploadSourcemaps(buildArtifactPaths: string[], opts?: {
53
+ prepareArtifacts?: boolean;
54
+ }): Promise<void>;
53
55
  /**
54
56
  * Will delete artifacts based on the passed `sourcemaps.filesToDeleteAfterUpload` option.
55
57
  */
@@ -1 +1 @@
1
- {"version":3,"file":"build-plugin-manager.d.ts","sourceRoot":"","sources":["../../src/build-plugin-manager.ts"],"names":[],"mappings":"AAaA,OAAO,EAAE,iBAAiB,EAAyC,MAAM,mBAAmB,CAAC;AAC7F,OAAO,EAAgB,MAAM,EAAE,MAAM,UAAU,CAAC;AAMhD,OAAO,EAAE,OAAO,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAKvD,MAAM,MAAM,wBAAwB,GAAG;IACrC;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,iBAAiB,EAAE,iBAAiB,CAAC;IACrC;;;OAGG;IACH,uCAAuC,EAAE,mBAAmB,CAAC;IAC7D;;OAEG;IAEH,cAAc,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAExC;;OAEG;IACH,SAAS,EAAE;QACT;;WAEG;QACH,gCAAgC,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC;KACnD,CAAC;IAEF;;;;;;;;OAQG;IACH,aAAa,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IAE/B;;;;;;OAMG;IACH,cAAc,CAAC,kBAAkB,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAE5D;;OAEG;IACH,gBAAgB,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EAAE;QAAE,gBAAgB,CAAC,EAAE,OAAO,CAAA;KAAE,GACpC,OAAO,CAAC,IAAI,CAAC,CAAC;IAEjB;;OAEG;IACH,eAAe,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IAEjC,gCAAgC,EAAE,MAAM,MAAM,IAAI,CAAC;CACpD,CAAC;AAiBF;;;;GAIG;AACH,wBAAgB,8BAA8B,CAC5C,WAAW,EAAE,OAAO,EACpB,wBAAwB,EAAE;IACxB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;CACtB,GACA,wBAAwB,CAkpB1B"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sentry/bundler-plugin-core",
3
- "version": "4.1.0",
3
+ "version": "4.2.0",
4
4
  "description": "Sentry Bundler Plugin Core",
5
5
  "repository": "git://github.com/getsentry/sentry-javascript-bundler-plugins.git",
6
6
  "homepage": "https://github.com/getsentry/sentry-javascript-bundler-plugins/tree/main/packages/bundler-plugin-core",
@@ -33,7 +33,7 @@
33
33
  "module": "dist/esm/index.mjs",
34
34
  "types": "dist/types/index.d.ts",
35
35
  "scripts": {
36
- "build": "rimraf ./out && run-p build:rollup build:types",
36
+ "build": "premove ./out && run-p build:rollup build:types",
37
37
  "build:watch": "run-p build:rollup:watch build:types:watch",
38
38
  "build:rollup": "rollup --config rollup.config.js",
39
39
  "build:rollup:watch": "rollup --config rollup.config.js --watch --no-watch.clearScreen",
@@ -45,15 +45,15 @@
45
45
  "check:types:test": "tsc --project ./test/tsconfig.json --noEmit",
46
46
  "clean": "run-s clean:build",
47
47
  "clean:all": "run-p clean clean:deps",
48
- "clean:build": "rimraf ./dist *.tgz",
49
- "clean:deps": "rimraf node_modules",
48
+ "clean:build": "premove ./dist *.tgz",
49
+ "clean:deps": "premove node_modules",
50
50
  "test": "jest",
51
51
  "lint": "eslint ./src ./test",
52
52
  "fix": "eslint ./src ./test --format stylish --fix"
53
53
  },
54
54
  "dependencies": {
55
55
  "@babel/core": "^7.18.5",
56
- "@sentry/babel-plugin-component-annotate": "4.1.0",
56
+ "@sentry/babel-plugin-component-annotate": "4.2.0",
57
57
  "@sentry/cli": "^2.51.0",
58
58
  "dotenv": "^16.3.1",
59
59
  "find-up": "^5.0.0",
@@ -68,8 +68,8 @@
68
68
  "@rollup/plugin-json": "4.1.0",
69
69
  "@rollup/plugin-node-resolve": "13.3.0",
70
70
  "@rollup/plugin-replace": "^4.0.0",
71
- "@sentry-internal/eslint-config": "4.1.0",
72
- "@sentry-internal/sentry-bundler-plugin-tsconfig": "4.1.0",
71
+ "@sentry-internal/eslint-config": "4.2.0",
72
+ "@sentry-internal/sentry-bundler-plugin-tsconfig": "4.2.0",
73
73
  "@sentry/core": "8.30.0",
74
74
  "@sentry/types": "8.30.0",
75
75
  "@sentry/utils": "8.30.0",
@@ -79,7 +79,7 @@
79
79
  "@types/node": "^18.6.3",
80
80
  "eslint": "^8.18.0",
81
81
  "jest": "^28.1.1",
82
- "rimraf": "^3.0.2",
82
+ "premove": "^4.0.0",
83
83
  "rollup": "2.75.7",
84
84
  "typescript": "^4.7.4"
85
85
  },