Skip to content

Commit

Permalink
chore(react): remove rollup
Browse files Browse the repository at this point in the history
  • Loading branch information
AbhiPrasad committed Jun 2, 2020
1 parent feeb6ba commit 05e59b4
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 172 deletions.
20 changes: 6 additions & 14 deletions packages/react/package.json
Expand Up @@ -16,9 +16,9 @@
"access": "public"
},
"dependencies": {
"@sentry/browser": "5.16.0-beta.5",
"@sentry/types": "5.16.0-beta.5",
"@sentry/utils": "^5.15.5",
"@sentry/browser": "5.16.0",
"@sentry/types": "5.16.0",
"@sentry/utils": "5.16.0",
"hoist-non-react-statics": "^3.3.2",
"tslib": "^1.9.3"
},
Expand All @@ -38,20 +38,12 @@
"react-dom": "^16.0.0",
"react-test-renderer": "^16.13.1",
"rimraf": "^2.6.3",
"rollup": "^1.10.1",
"rollup-plugin-commonjs": "^9.3.4",
"rollup-plugin-license": "^0.8.1",
"rollup-plugin-node-resolve": "^4.2.3",
"rollup-plugin-terser": "^4.0.4",
"rollup-plugin-typescript2": "^0.21.0",
"tslint": "^5.16.0",
"tslint-react": "^5.0.0",
"typescript": "^3.5.1"
},
"scripts": {
"build": "run-p build:es5 build:esm build:bundle",
"build:bundle": "rollup --config",
"build:bundle:watch": "rollup --config --watch",
"build": "run-p build:es5 build:esm",
"build:es5": "tsc -p tsconfig.build.json",
"build:esm": "tsc -p tsconfig.esm.json",
"build:watch": "run-p build:watch:es5 build:watch:esm",
Expand All @@ -60,11 +52,11 @@
"clean": "rimraf dist coverage build esm",
"link:yarn": "yarn link",
"lint": "run-s lint:prettier lint:tslint",
"lint:prettier": "prettier-check \"{src,test}/**/*.ts\"",
"lint:prettier": "prettier-check \"{src,test}/**/*.{ts,tsx}\"",
"lint:tslint": "tslint -t stylish -p .",
"lint:tslint:json": "tslint --format json -p . | tee lint-results.json",
"fix": "run-s fix:tslint fix:prettier",
"fix:prettier": "prettier --write \"{src,test}/**/*.ts\"",
"fix:prettier": "prettier --write \"{src,test}/**/*.{ts,tsx}\"",
"fix:tslint": "tslint --fix -t stylish -p .",
"test": "jest",
"test:watch": "jest --watch"
Expand Down
141 changes: 0 additions & 141 deletions packages/react/rollup.config.js

This file was deleted.

4 changes: 1 addition & 3 deletions packages/react/src/index.ts
@@ -1,5 +1,3 @@
export * from '@sentry/browser';

import { Profiler, withProfiler } from './profiler';

export { Profiler, withProfiler };
export { Profiler, withProfiler } from './profiler';
3 changes: 2 additions & 1 deletion packages/react/src/profiler.tsx
Expand Up @@ -54,7 +54,8 @@ const getInitActivity = (componentDisplayName: string): number | null => {
return activity;
}

logger.warn(`Unable to profile component ${componentDisplayName} due to invalid Tracing Integration`);
logger.warn(`Unable to profile component ${componentDisplayName} due to invalid Tracing Integration.`);
logger.warn(`Please make sure to setup the Tracing integration.`);
return null;
};

Expand Down
13 changes: 0 additions & 13 deletions yarn.lock
Expand Up @@ -1092,19 +1092,6 @@
universal-user-agent "^2.0.0"
url-template "^2.0.8"

"@sentry/types@5.15.5":
version "5.15.5"
resolved "https://registry.yarnpkg.com/@sentry/types/-/types-5.15.5.tgz#16c97e464cf09bbd1d2e8ce90d130e781709076e"
integrity sha512-F9A5W7ucgQLJUG4LXw1ZIy4iLevrYZzbeZ7GJ09aMlmXH9PqGThm1t5LSZlVpZvUfQ2rYA8NU6BdKJSt7B5LPw==

"@sentry/utils@^5.15.5":
version "5.15.5"
resolved "https://registry.yarnpkg.com/@sentry/utils/-/utils-5.15.5.tgz#dec1d4c79037c4da08b386f5d34409234dcbfb15"
integrity sha512-Nl9gl/MGnzSkuKeo3QaefoD/OJrFLB8HmwQ7HUbTXb6E7yyEzNKAQMHXGkwNAjbdYyYbd42iABP6Y5F/h39NtA==
dependencies:
"@sentry/types" "5.15.5"
tslib "^1.9.3"

"@sinonjs/commons@^1", "@sinonjs/commons@^1.4.0":
version "1.4.0"
resolved "https://registry.yarnpkg.com/@sinonjs/commons/-/commons-1.4.0.tgz#7b3ec2d96af481d7a0321252e7b1c94724ec5a78"
Expand Down

0 comments on commit 05e59b4

Please sign in to comment.