Skip to content

Commit

Permalink
fix: Bump TypeScript to fix Ember builds and release (#2811)
Browse files Browse the repository at this point in the history
* Make ember public

* Bump typescript to latest version
  • Loading branch information
kamilogorek authored Aug 12, 2020
1 parent 37e0be6 commit 5303688
Show file tree
Hide file tree
Showing 20 changed files with 30 additions and 23 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@

- "You miss 100 percent of the chances you don't take. — Wayne Gretzky" — Michael Scott

## 5.21.1

- [ember] fix: Make the package public and fix the build by bumping TypeScript to v3.9

## 5.21.0

- [all] feat: Convert `sentry-javascript` to `ESLint` (#2786)
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
"size-limit": "^4.5.5",
"ts-jest": "^24.0.2",
"typedoc": "^0.14.2",
"typescript": "3.6.5"
"typescript": "3.9.7"
},
"resolutions": {
"**/agent-base": "5"
Expand Down
2 changes: 1 addition & 1 deletion packages/angular/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"npm-run-all": "^4.1.2",
"prettier": "1.17.0",
"rimraf": "^2.6.3",
"typescript": "3.6.5"
"typescript": "3.9.7"
},
"scripts": {
"build": "run-p build:es5 build:esm",
Expand Down
2 changes: 1 addition & 1 deletion packages/apm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"rollup-plugin-node-resolve": "^4.2.3",
"rollup-plugin-terser": "^4.0.4",
"rollup-plugin-typescript2": "^0.21.0",
"typescript": "3.6.5"
"typescript": "3.9.7"
},
"scripts": {
"build": "run-p build:es5 build:esm build:bundle",
Expand Down
2 changes: 1 addition & 1 deletion packages/browser/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
"rollup-plugin-terser": "^4.0.4",
"rollup-plugin-typescript2": "^0.21.0",
"sinon": "^7.3.2",
"typescript": "3.6.5",
"typescript": "3.9.7",
"webpack": "^4.30.0"
},
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"npm-run-all": "^4.1.2",
"prettier": "1.17.0",
"rimraf": "^2.6.3",
"typescript": "3.6.5"
"typescript": "3.9.7"
},
"scripts": {
"build": "run-p build:es5 build:esm",
Expand Down
5 changes: 4 additions & 1 deletion packages/ember/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@
"keywords": [
"ember-addon"
],
"publishConfig": {
"access": "public"
},
"directories": {
"doc": "doc",
"test": "tests"
Expand Down Expand Up @@ -71,7 +74,7 @@
"loader.js": "^4.7.0",
"npm-run-all": "^4.1.5",
"qunit-dom": "^1.2.0",
"typescript": "3.6.5"
"typescript": "3.9.7"
},
"engines": {
"node": "10.* || >= 12"
Expand Down
2 changes: 1 addition & 1 deletion packages/eslint-config-sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
},
"devDependencies": {
"eslint": "7.6.0",
"typescript": "3.6.5"
"typescript": "3.9.7"
},
"scripts": {
"link:yarn": "yarn link",
Expand Down
2 changes: 1 addition & 1 deletion packages/eslint-plugin-sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"devDependencies": {
"mocha": "^6.2.0",
"prettier": "1.17.0",
"typescript": "3.6.5"
"typescript": "3.9.7"
},
"scripts": {
"link:yarn": "yarn link",
Expand Down
2 changes: 1 addition & 1 deletion packages/gatsby/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"npm-run-all": "^4.1.2",
"prettier": "1.17.0",
"rimraf": "^2.6.3",
"typescript": "3.6.5"
"typescript": "3.9.7"
},
"scripts": {
"build": "run-p build:es5 build:esm",
Expand Down
2 changes: 1 addition & 1 deletion packages/hub/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"npm-run-all": "^4.1.2",
"prettier": "1.17.0",
"rimraf": "^2.6.3",
"typescript": "3.6.5"
"typescript": "3.9.7"
},
"scripts": {
"build": "run-p build:es5 build:esm",
Expand Down
2 changes: 1 addition & 1 deletion packages/integrations/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"rollup-plugin-node-resolve": "^4.2.3",
"rollup-plugin-terser": "^4.0.4",
"rollup-plugin-typescript2": "^0.21.0",
"typescript": "3.6.5"
"typescript": "3.9.7"
},
"scripts": {
"build": "run-p build:es5 build:esm build:bundle",
Expand Down
2 changes: 1 addition & 1 deletion packages/minimal/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"npm-run-all": "^4.1.2",
"prettier": "1.17.0",
"rimraf": "^2.6.3",
"typescript": "3.6.5"
"typescript": "3.9.7"
},
"scripts": {
"build": "run-p build:es5 build:esm",
Expand Down
2 changes: 1 addition & 1 deletion packages/node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"npm-run-all": "^4.1.2",
"prettier": "1.17.0",
"rimraf": "^2.6.3",
"typescript": "3.6.5"
"typescript": "3.9.7"
},
"scripts": {
"build": "run-p build:es5 build:esm",
Expand Down
2 changes: 1 addition & 1 deletion packages/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
"react-test-renderer": "^16.13.1",
"redux": "^4.0.5",
"rimraf": "^2.6.3",
"typescript": "3.6.5"
"typescript": "3.9.7"
},
"scripts": {
"build": "run-p build:es5 build:esm",
Expand Down
2 changes: 1 addition & 1 deletion packages/tracing/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"rollup-plugin-node-resolve": "^4.2.3",
"rollup-plugin-terser": "^4.0.4",
"rollup-plugin-typescript2": "^0.21.0",
"typescript": "3.6.5"
"typescript": "3.9.7"
},
"scripts": {
"build": "run-p build:es5 build:esm build:bundle",
Expand Down
2 changes: 1 addition & 1 deletion packages/types/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"eslint": "7.6.0",
"npm-run-all": "^4.1.2",
"prettier": "1.17.0",
"typescript": "3.6.5"
"typescript": "3.9.7"
},
"scripts": {
"build": "run-p build:es5 build:esm",
Expand Down
2 changes: 1 addition & 1 deletion packages/utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"npm-run-all": "^4.1.2",
"prettier": "1.17.0",
"rimraf": "^2.6.3",
"typescript": "3.6.5"
"typescript": "3.9.7"
},
"scripts": {
"build": "run-p build:es5 build:esm",
Expand Down
4 changes: 2 additions & 2 deletions packages/utils/src/misc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,14 +48,14 @@ const fallbackGlobalObject = {};
*
* @returns Global scope object
*/
export function getGlobalObject<T>(): T & SentryGlobal {
export function getGlobalObject<T>(): T & typeof globalThis & SentryGlobal {
return (isNodeEnv()
? global
: typeof window !== 'undefined'
? window
: typeof self !== 'undefined'
? self
: fallbackGlobalObject) as T & SentryGlobal;
: fallbackGlobalObject) as T & typeof globalThis & SentryGlobal;
}

/**
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -18206,10 +18206,10 @@ [email protected]:
resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.2.4.tgz#c585cb952912263d915b462726ce244ba510ef3d"
integrity sha512-0RNDbSdEokBeEAkgNbxJ+BLwSManFy9TeXz8uW+48j/xhEXv1ePME60olyzw2XzUqUBNAYFeJadIqAgNqIACwg==

typescript@3.6.5:
version "3.6.5"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.6.5.tgz#dae20114a7b4ff4bd642db9c8c699f2953e8bbdb"
integrity sha512-BEjlc0Z06ORZKbtcxGrIvvwYs5hAnuo6TKdNFL55frVDlB+na3z5bsLhFaIxmT+dPWgBIjMo6aNnTOgHHmHgiQ==
typescript@3.9.7:
version "3.9.7"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.9.7.tgz#98d600a5ebdc38f40cb277522f12dc800e9e25fa"
integrity sha512-BLbiRkiBzAwsjut4x/dsibSTB6yWpwT5qWmC2OfuCg3GgVQCSgMs4vEctYPhsaGtd0AeuuHMkjZ2h2WG8MSzRw==

ua-parser-js@^0.7.18:
version "0.7.21"
Expand Down

0 comments on commit 5303688

Please sign in to comment.