Skip to content

Commit 5303688

Browse files
authored
fix: Bump TypeScript to fix Ember builds and release (#2811)
* Make ember public * Bump typescript to latest version
1 parent 37e0be6 commit 5303688

File tree

20 files changed

+30
-23
lines changed

20 files changed

+30
-23
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@
44

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

7+
## 5.21.1
8+
9+
- [ember] fix: Make the package public and fix the build by bumping TypeScript to v3.9
10+
711
## 5.21.0
812

913
- [all] feat: Convert `sentry-javascript` to `ESLint` (#2786)

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
"size-limit": "^4.5.5",
6262
"ts-jest": "^24.0.2",
6363
"typedoc": "^0.14.2",
64-
"typescript": "3.6.5"
64+
"typescript": "3.9.7"
6565
},
6666
"resolutions": {
6767
"**/agent-base": "5"

packages/angular/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
"npm-run-all": "^4.1.2",
3232
"prettier": "1.17.0",
3333
"rimraf": "^2.6.3",
34-
"typescript": "3.6.5"
34+
"typescript": "3.9.7"
3535
},
3636
"scripts": {
3737
"build": "run-p build:es5 build:esm",

packages/apm/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
"rollup-plugin-node-resolve": "^4.2.3",
3838
"rollup-plugin-terser": "^4.0.4",
3939
"rollup-plugin-typescript2": "^0.21.0",
40-
"typescript": "3.6.5"
40+
"typescript": "3.9.7"
4141
},
4242
"scripts": {
4343
"build": "run-p build:es5 build:esm build:bundle",

packages/browser/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
"rollup-plugin-terser": "^4.0.4",
5252
"rollup-plugin-typescript2": "^0.21.0",
5353
"sinon": "^7.3.2",
54-
"typescript": "3.6.5",
54+
"typescript": "3.9.7",
5555
"webpack": "^4.30.0"
5656
},
5757
"scripts": {

packages/core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"npm-run-all": "^4.1.2",
3030
"prettier": "1.17.0",
3131
"rimraf": "^2.6.3",
32-
"typescript": "3.6.5"
32+
"typescript": "3.9.7"
3333
},
3434
"scripts": {
3535
"build": "run-p build:es5 build:esm",

packages/ember/package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@
99
"keywords": [
1010
"ember-addon"
1111
],
12+
"publishConfig": {
13+
"access": "public"
14+
},
1215
"directories": {
1316
"doc": "doc",
1417
"test": "tests"
@@ -71,7 +74,7 @@
7174
"loader.js": "^4.7.0",
7275
"npm-run-all": "^4.1.5",
7376
"qunit-dom": "^1.2.0",
74-
"typescript": "3.6.5"
77+
"typescript": "3.9.7"
7578
},
7679
"engines": {
7780
"node": "10.* || >= 12"

packages/eslint-config-sdk/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
},
3535
"devDependencies": {
3636
"eslint": "7.6.0",
37-
"typescript": "3.6.5"
37+
"typescript": "3.9.7"
3838
},
3939
"scripts": {
4040
"link:yarn": "yarn link",

packages/eslint-plugin-sdk/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"devDependencies": {
2525
"mocha": "^6.2.0",
2626
"prettier": "1.17.0",
27-
"typescript": "3.6.5"
27+
"typescript": "3.9.7"
2828
},
2929
"scripts": {
3030
"link:yarn": "yarn link",

packages/gatsby/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
"npm-run-all": "^4.1.2",
4040
"prettier": "1.17.0",
4141
"rimraf": "^2.6.3",
42-
"typescript": "3.6.5"
42+
"typescript": "3.9.7"
4343
},
4444
"scripts": {
4545
"build": "run-p build:es5 build:esm",

packages/hub/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"npm-run-all": "^4.1.2",
2828
"prettier": "1.17.0",
2929
"rimraf": "^2.6.3",
30-
"typescript": "3.6.5"
30+
"typescript": "3.9.7"
3131
},
3232
"scripts": {
3333
"build": "run-p build:es5 build:esm",

packages/integrations/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"rollup-plugin-node-resolve": "^4.2.3",
3434
"rollup-plugin-terser": "^4.0.4",
3535
"rollup-plugin-typescript2": "^0.21.0",
36-
"typescript": "3.6.5"
36+
"typescript": "3.9.7"
3737
},
3838
"scripts": {
3939
"build": "run-p build:es5 build:esm build:bundle",

packages/minimal/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"npm-run-all": "^4.1.2",
2828
"prettier": "1.17.0",
2929
"rimraf": "^2.6.3",
30-
"typescript": "3.6.5"
30+
"typescript": "3.9.7"
3131
},
3232
"scripts": {
3333
"build": "run-p build:es5 build:esm",

packages/node/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
"npm-run-all": "^4.1.2",
3939
"prettier": "1.17.0",
4040
"rimraf": "^2.6.3",
41-
"typescript": "3.6.5"
41+
"typescript": "3.9.7"
4242
},
4343
"scripts": {
4444
"build": "run-p build:es5 build:esm",

packages/react/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
"react-test-renderer": "^16.13.1",
5656
"redux": "^4.0.5",
5757
"rimraf": "^2.6.3",
58-
"typescript": "3.6.5"
58+
"typescript": "3.9.7"
5959
},
6060
"scripts": {
6161
"build": "run-p build:es5 build:esm",

packages/tracing/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
"rollup-plugin-node-resolve": "^4.2.3",
4040
"rollup-plugin-terser": "^4.0.4",
4141
"rollup-plugin-typescript2": "^0.21.0",
42-
"typescript": "3.6.5"
42+
"typescript": "3.9.7"
4343
},
4444
"scripts": {
4545
"build": "run-p build:es5 build:esm build:bundle",

packages/types/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"eslint": "7.6.0",
2121
"npm-run-all": "^4.1.2",
2222
"prettier": "1.17.0",
23-
"typescript": "3.6.5"
23+
"typescript": "3.9.7"
2424
},
2525
"scripts": {
2626
"build": "run-p build:es5 build:esm",

packages/utils/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"npm-run-all": "^4.1.2",
2828
"prettier": "1.17.0",
2929
"rimraf": "^2.6.3",
30-
"typescript": "3.6.5"
30+
"typescript": "3.9.7"
3131
},
3232
"scripts": {
3333
"build": "run-p build:es5 build:esm",

packages/utils/src/misc.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,14 +48,14 @@ const fallbackGlobalObject = {};
4848
*
4949
* @returns Global scope object
5050
*/
51-
export function getGlobalObject<T>(): T & SentryGlobal {
51+
export function getGlobalObject<T>(): T & typeof globalThis & SentryGlobal {
5252
return (isNodeEnv()
5353
? global
5454
: typeof window !== 'undefined'
5555
? window
5656
: typeof self !== 'undefined'
5757
? self
58-
: fallbackGlobalObject) as T & SentryGlobal;
58+
: fallbackGlobalObject) as T & typeof globalThis & SentryGlobal;
5959
}
6060

6161
/**

yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18206,10 +18206,10 @@ [email protected]:
1820618206
resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.2.4.tgz#c585cb952912263d915b462726ce244ba510ef3d"
1820718207
integrity sha512-0RNDbSdEokBeEAkgNbxJ+BLwSManFy9TeXz8uW+48j/xhEXv1ePME60olyzw2XzUqUBNAYFeJadIqAgNqIACwg==
1820818208

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

1821418214
ua-parser-js@^0.7.18:
1821518215
version "0.7.21"

0 commit comments

Comments
 (0)