Skip to content

Commit

Permalink
feat: Update @sentry deps (#99)
Browse files Browse the repository at this point in the history
* feat: Update all deps

* fix: Seperate release integration test

* feat: Update travis
  • Loading branch information
HazAT authored Nov 14, 2018
1 parent a6b6f92 commit 60563d1
Show file tree
Hide file tree
Showing 14 changed files with 284 additions and 197 deletions.
10 changes: 5 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ before_install:
matrix:
include:
- script:
- yarn
- yarn build
- yarn test
- yarn codecov
- yarn
- yarn build
- yarn test
- yarn codecov

- language: objective-c
osx_image: xcode9.2
osx_image: xcode9.4
script: .travis/deploy.sh
after_success:
- npm install -g @zeus-ci/cli
Expand Down
3 changes: 1 addition & 2 deletions __tests__/conversion.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
import * as fs from 'fs';
import * as path from 'path';

describe('JS conversion check', () => {
test('Do not require @sentry/browser', () => {
const content = fs.readFileSync('dist/js/sentry-cordova.bundle.js');
// expect(content.toString().match(/^[^\*]*@sentry\/browser/gm)).toBeFalsy();
expect(content.toString().match(/require\(/)).toBeFalsy();
expect(content.toString().match(/ require\(/)).toBeFalsy();
});
});
59 changes: 29 additions & 30 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,37 +24,36 @@
],
"description": "Official Sentry SDK for Cordova",
"dependencies": {
"@sentry/browser": "4.0.0-beta.12",
"@sentry/core": "4.0.0-beta.12",
"@sentry/hub": "4.0.0-beta.12",
"@sentry/minimal": "4.0.0-beta.12",
"@sentry/types": "4.0.0-beta.12",
"@sentry/utils": "4.0.0-beta.12",
"@sentry/wizard": "^0.10.0"
"@sentry/browser": "~4.3.0",
"@sentry/core": "~4.3.0",
"@sentry/minimal": "~4.3.0",
"@sentry/types": "~4.3.0",
"@sentry/utils": "~4.3.0",
"@sentry/wizard": "^0.12.1"
},
"devDependencies": {
"@sentry/typescript": "4.0.0-beta.12",
"@sentry/typescript": "^4.0.0",
"@types/cordova": "0.0.34",
"@types/jest": "^22.2.3",
"@types/node": "^9.6.5",
"codecov": "^3.0.0",
"jest": "^22.4.3",
"npm-run-all": "^4.1.2",
"prettier": "^1.12.1",
"@types/jest": "^23.3.8",
"@types/node": "^10.12.1",
"codecov": "^3.1.0",
"jest": "^23.6.0",
"npm-run-all": "^4.1.3",
"prettier": "^1.14.3",
"prettier-check": "^2.0.0",
"raven-js": "^3.24.1",
"replace-in-file": "^3.4.0",
"raven-js": "^3.27.0",
"replace-in-file": "^3.4.2",
"rimraf": "^2.6.2",
"rollup": "^0.58.0",
"rollup-plugin-commonjs": "^9.1.0",
"rollup-plugin-node-resolve": "^3.3.0",
"rollup-plugin-typescript2": "^0.13.0",
"rollup-plugin-uglify": "^3.0.0",
"ts-jest": "^22.4.4",
"tslint": "^5.9.1",
"tslint-config-prettier": "^1.10.0",
"tslint-eslint-rules": "^5.1.0",
"typescript": "^2.8.1",
"rollup": "^0.66.6",
"rollup-plugin-commonjs": "^9.2.0",
"rollup-plugin-node-resolve": "^3.4.0",
"rollup-plugin-typescript2": "^0.17.2",
"rollup-plugin-uglify": "^6.0.0",
"ts-jest": "^23.10.4",
"tslint": "^5.11.0",
"tslint-config-prettier": "^1.15.0",
"tslint-eslint-rules": "^5.4.0",
"typescript": "^3.1.4",
"vrsource-tslint-rules": "^5.8.2"
},
"scripts": {
Expand All @@ -63,9 +62,8 @@
"build": "run-s clean build:typescript build:bundle",
"clean": "rimraf dist coverage",
"jest": "jest",
"test:browser": "run-s build jest",
"test:watch": "jest --watch --notify",
"test": "run-s test:browser",
"test:watch": "jest --watch",
"test": "jest",
"codecov": "codecov",
"lint": "run-s lint:prettier lint:tslint",
"lint:prettier": "prettier-check \"{src,test}/**/*.ts\"",
Expand All @@ -82,13 +80,14 @@
"testURL": "http://localhost/",
"globals": {
"ts-jest": {
"tsConfigFile": "./tsconfig.json"
"tsConfig": "./tsconfig.json"
}
},
"collectCoverage": true,
"transform": {
"^.+\\.tsx?$": "ts-jest"
},
"notify": false,
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$",
"moduleFileExtensions": [
"ts",
Expand Down
2 changes: 1 addition & 1 deletion rollup.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import commonjs from 'rollup-plugin-commonjs';
import uglify from 'rollup-plugin-uglify';
import { uglify } from 'rollup-plugin-uglify';
import resolve from 'rollup-plugin-node-resolve';
import typescript from 'rollup-plugin-typescript2';

Expand Down
Loading

0 comments on commit 60563d1

Please sign in to comment.