@sentry/wasm 6.18.2 → 6.19.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.
- package/package.json +9 -7
- package/rollup.config.js +3 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sentry/wasm",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.19.2",
|
|
4
4
|
"description": "Support for WASM.",
|
|
5
5
|
"repository": "git://github.com/getsentry/sentry-javascript.git",
|
|
6
6
|
"homepage": "https://github.com/getsentry/sentry-javascript/tree/master/packages/wasm",
|
|
@@ -16,8 +16,8 @@
|
|
|
16
16
|
"access": "public"
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"@sentry/browser": "6.
|
|
20
|
-
"@sentry/types": "6.
|
|
19
|
+
"@sentry/browser": "6.19.2",
|
|
20
|
+
"@sentry/types": "6.19.2",
|
|
21
21
|
"tslib": "^1.9.3"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
@@ -29,17 +29,20 @@
|
|
|
29
29
|
"puppeteer": "^5.5.0"
|
|
30
30
|
},
|
|
31
31
|
"scripts": {
|
|
32
|
-
"build": "run-p build:cjs build:esm build:bundle",
|
|
32
|
+
"build": "run-p build:cjs build:esm build:bundle build:types",
|
|
33
33
|
"build:bundle": "rollup --config",
|
|
34
34
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
35
|
-
"build:dev": "run-s build:cjs build:esm",
|
|
35
|
+
"build:dev": "run-s build:cjs build:esm build:types",
|
|
36
36
|
"build:es5": "yarn build:cjs # *** backwards compatibility - remove in v7 ***",
|
|
37
37
|
"build:esm": "tsc -p tsconfig.esm.json",
|
|
38
|
-
"build:
|
|
38
|
+
"build:types": "tsc -p tsconfig.types.json",
|
|
39
|
+
"build:watch": "run-p build:cjs:watch build:esm:watch build:types:watch",
|
|
39
40
|
"build:cjs:watch": "tsc -p tsconfig.cjs.json --watch",
|
|
40
41
|
"build:dev:watch": "run-s build:watch",
|
|
41
42
|
"build:es5:watch": "yarn build:cjs:watch # *** backwards compatibility - remove in v7 ***",
|
|
42
43
|
"build:esm:watch": "tsc -p tsconfig.esm.json --watch",
|
|
44
|
+
"build:types:watch": "tsc -p tsconfig.types.json --watch",
|
|
45
|
+
"build:npm": "npm pack",
|
|
43
46
|
"circularDepCheck": "madge --circular src/index.ts",
|
|
44
47
|
"clean": "rimraf dist esm coverage *.js.map *.d.ts",
|
|
45
48
|
"fix": "run-s fix:eslint fix:prettier",
|
|
@@ -49,7 +52,6 @@
|
|
|
49
52
|
"lint": "run-s lint:prettier lint:eslint",
|
|
50
53
|
"lint:eslint": "eslint . --cache --cache-location '../../eslintcache/' --format stylish",
|
|
51
54
|
"lint:prettier": "prettier --check \"{src,test}/**/*.ts\"",
|
|
52
|
-
"pack": "npm pack",
|
|
53
55
|
"test": "node test/scripts/ensure-browser-bundle.js && cross-env PORT=1337 jest",
|
|
54
56
|
"test:watch": "jest --watch"
|
|
55
57
|
},
|
package/rollup.config.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { makeBaseBundleConfig,
|
|
1
|
+
import { makeBaseBundleConfig, makeConfigVariants } from '../../rollup.config';
|
|
2
2
|
|
|
3
3
|
const baseBundleConfig = makeBaseBundleConfig({
|
|
4
4
|
input: 'src/index.ts',
|
|
5
5
|
isAddOn: true,
|
|
6
6
|
jsVersion: 'es5',
|
|
7
7
|
licenseTitle: '@sentry/wasm',
|
|
8
|
-
outputFileBase: '
|
|
8
|
+
outputFileBase: 'wasm',
|
|
9
9
|
});
|
|
10
10
|
|
|
11
|
-
export default
|
|
11
|
+
export default makeConfigVariants(baseBundleConfig);
|