Skip to content

Commit 05e59b4

Browse files
committed
chore(react): remove rollup
1 parent feeb6ba commit 05e59b4

File tree

5 files changed

+9
-172
lines changed

5 files changed

+9
-172
lines changed

packages/react/package.json

Lines changed: 6 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@
1616
"access": "public"
1717
},
1818
"dependencies": {
19-
"@sentry/browser": "5.16.0-beta.5",
20-
"@sentry/types": "5.16.0-beta.5",
21-
"@sentry/utils": "^5.15.5",
19+
"@sentry/browser": "5.16.0",
20+
"@sentry/types": "5.16.0",
21+
"@sentry/utils": "5.16.0",
2222
"hoist-non-react-statics": "^3.3.2",
2323
"tslib": "^1.9.3"
2424
},
@@ -38,20 +38,12 @@
3838
"react-dom": "^16.0.0",
3939
"react-test-renderer": "^16.13.1",
4040
"rimraf": "^2.6.3",
41-
"rollup": "^1.10.1",
42-
"rollup-plugin-commonjs": "^9.3.4",
43-
"rollup-plugin-license": "^0.8.1",
44-
"rollup-plugin-node-resolve": "^4.2.3",
45-
"rollup-plugin-terser": "^4.0.4",
46-
"rollup-plugin-typescript2": "^0.21.0",
4741
"tslint": "^5.16.0",
4842
"tslint-react": "^5.0.0",
4943
"typescript": "^3.5.1"
5044
},
5145
"scripts": {
52-
"build": "run-p build:es5 build:esm build:bundle",
53-
"build:bundle": "rollup --config",
54-
"build:bundle:watch": "rollup --config --watch",
46+
"build": "run-p build:es5 build:esm",
5547
"build:es5": "tsc -p tsconfig.build.json",
5648
"build:esm": "tsc -p tsconfig.esm.json",
5749
"build:watch": "run-p build:watch:es5 build:watch:esm",
@@ -60,11 +52,11 @@
6052
"clean": "rimraf dist coverage build esm",
6153
"link:yarn": "yarn link",
6254
"lint": "run-s lint:prettier lint:tslint",
63-
"lint:prettier": "prettier-check \"{src,test}/**/*.ts\"",
55+
"lint:prettier": "prettier-check \"{src,test}/**/*.{ts,tsx}\"",
6456
"lint:tslint": "tslint -t stylish -p .",
6557
"lint:tslint:json": "tslint --format json -p . | tee lint-results.json",
6658
"fix": "run-s fix:tslint fix:prettier",
67-
"fix:prettier": "prettier --write \"{src,test}/**/*.ts\"",
59+
"fix:prettier": "prettier --write \"{src,test}/**/*.{ts,tsx}\"",
6860
"fix:tslint": "tslint --fix -t stylish -p .",
6961
"test": "jest",
7062
"test:watch": "jest --watch"

packages/react/rollup.config.js

Lines changed: 0 additions & 141 deletions
This file was deleted.

packages/react/src/index.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
11
export * from '@sentry/browser';
22

3-
import { Profiler, withProfiler } from './profiler';
4-
5-
export { Profiler, withProfiler };
3+
export { Profiler, withProfiler } from './profiler';

packages/react/src/profiler.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,8 @@ const getInitActivity = (componentDisplayName: string): number | null => {
5454
return activity;
5555
}
5656

57-
logger.warn(`Unable to profile component ${componentDisplayName} due to invalid Tracing Integration`);
57+
logger.warn(`Unable to profile component ${componentDisplayName} due to invalid Tracing Integration.`);
58+
logger.warn(`Please make sure to setup the Tracing integration.`);
5859
return null;
5960
};
6061

yarn.lock

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1092,19 +1092,6 @@
10921092
universal-user-agent "^2.0.0"
10931093
url-template "^2.0.8"
10941094

1095-
1096-
version "5.15.5"
1097-
resolved "https://registry.yarnpkg.com/@sentry/types/-/types-5.15.5.tgz#16c97e464cf09bbd1d2e8ce90d130e781709076e"
1098-
integrity sha512-F9A5W7ucgQLJUG4LXw1ZIy4iLevrYZzbeZ7GJ09aMlmXH9PqGThm1t5LSZlVpZvUfQ2rYA8NU6BdKJSt7B5LPw==
1099-
1100-
"@sentry/utils@^5.15.5":
1101-
version "5.15.5"
1102-
resolved "https://registry.yarnpkg.com/@sentry/utils/-/utils-5.15.5.tgz#dec1d4c79037c4da08b386f5d34409234dcbfb15"
1103-
integrity sha512-Nl9gl/MGnzSkuKeo3QaefoD/OJrFLB8HmwQ7HUbTXb6E7yyEzNKAQMHXGkwNAjbdYyYbd42iABP6Y5F/h39NtA==
1104-
dependencies:
1105-
"@sentry/types" "5.15.5"
1106-
tslib "^1.9.3"
1107-
11081095
"@sinonjs/commons@^1", "@sinonjs/commons@^1.4.0":
11091096
version "1.4.0"
11101097
resolved "https://registry.yarnpkg.com/@sinonjs/commons/-/commons-1.4.0.tgz#7b3ec2d96af481d7a0321252e7b1c94724ec5a78"

0 commit comments

Comments
 (0)