Skip to content

Commit

Permalink
chore: Convert to .ts files
Browse files Browse the repository at this point in the history
  • Loading branch information
ibgreen committed Nov 5, 2021
1 parent 7c07010 commit 70b7e20
Show file tree
Hide file tree
Showing 17 changed files with 18 additions and 183 deletions.
3 changes: 0 additions & 3 deletions modules/bench/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,6 @@
"dist",
"src"
],
"scripts": {
"post-build": "tsc"
},
"dependencies": {
"@babel/runtime": "^7.0.0",
"probe.gl": "3.5.0-alpha.1"
Expand Down
10 changes: 0 additions & 10 deletions modules/bench/tsconfig.json

This file was deleted.

3 changes: 0 additions & 3 deletions modules/main/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,6 @@
"browser": {
"asciify-image": false
},
"scripts": {
"post-build": "tsc"
},
"dependencies": {
"@babel/runtime": "^7.0.0",
"@probe.gl/stats": "3.5.0-alpha.1"
Expand Down
13 changes: 0 additions & 13 deletions modules/main/tsconfig.json

This file was deleted.

3 changes: 0 additions & 3 deletions modules/react-bench/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,6 @@
"dist",
"src"
],
"scripts": {
"post-build": "tsc"
},
"dependencies": {
"@babel/runtime": "^7.0.0",
"css-loader": "^2.1.1",
Expand Down
10 changes: 0 additions & 10 deletions modules/react-bench/tsconfig.json

This file was deleted.

10 changes: 0 additions & 10 deletions modules/seer/tsconfig.json

This file was deleted.

9 changes: 2 additions & 7 deletions modules/stats-widget/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,17 +21,12 @@
"src"
],
"sideEffects": false,
"scripts": {
"post-build": "tsc -b tsconfig.json"
},
"dependencies": {
"@babel/runtime": "^7.0.0"
"@babel/runtime": "^7.0.0",
"probe.gl": "3.5.0-alpha.1"
},
"peerDependencies": {
"@probe.gl/stats": "3.4.1"
},
"devDependencies": {
"@probe.gl/stats": "3.4.1"
},
"gitHead": "95541d68783bfd50cbaf9b2a15b3cb41f1ff8284"
}
13 changes: 0 additions & 13 deletions modules/stats-widget/tsconfig.json

This file was deleted.

3 changes: 0 additions & 3 deletions modules/stats/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,6 @@
"dist",
"src"
],
"scripts": {
"post-build": "tsc -b tsconfig.json"
},
"dependencies": {
"@babel/runtime": "^7.0.0"
},
Expand Down
10 changes: 0 additions & 10 deletions modules/stats/tsconfig.json

This file was deleted.

15 changes: 0 additions & 15 deletions modules/test-utils/tsconfig.json

This file was deleted.

3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@
"scripts": {
"bootstrap": "PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true yarn && ocular-bootstrap",
"clean": "ocular-clean",
"build": "ocular-clean && lerna run pre-build && ocular-build && tsc -b tsconfig.build.json",
"post-build": "ocular-clean && lerna run post-build",
"build": "ocular-clean && ocular-build",
"lint": "tsc && ocular-lint",
"publish": "ocular-publish",
"test": "ocular-test",
Expand Down
15 changes: 0 additions & 15 deletions tsconfig.build.json

This file was deleted.

25 changes: 12 additions & 13 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,21 +8,20 @@
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"noEmit": true,
// "baseUrl" should be provided if "paths" are provided
"baseUrl": ".",
"paths": {
"@probe.gl/core": ["modules/core/src"],
"@probe.gl/core/test": ["modules/core/test"],
"@probe.gl/bench": ["modules/bench/src"],
"@probe.gl/bench/test": ["modules/bench/test"],
"@probe.gl/seer": ["modules/seer/src"],
"@probe.gl/seer/test": ["modules/seer/test"],
"@probe.gl/stats": ["modules/stats/src"],
"@probe.gl/stats/test": ["modules/stats/test"],
"@probe.gl/stats-widget": ["modules/stats-widget/src"],
"@probe.gl/stats-widget/test": ["modules/stats-widget/test"],
"@probe.gl/test-utils": ["modules/test-utils/src"],
"@probe.gl/test-utils/test": ["modules/test-utils/test"],
"@probe.gl/core/*": ["modules/core/src/*"],
"@probe.gl/core/test/*": ["modules/core/test/*"],
"@probe.gl/bench/*": ["modules/bench/src/*"],
"@probe.gl/bench/test/*": ["modules/bench/test/*"],
"@probe.gl/seer/*": ["modules/seer/src/*"],
"@probe.gl/seer/test/*": ["modules/seer/test/*"],
"@probe.gl/stats/*": ["modules/stats/src/*"],
"@probe.gl/stats/test/*": ["modules/stats/test/*"],
"@probe.gl/stats-widget/*": ["modules/stats-widget/src/*"],
"@probe.gl/stats-widget/test/*": ["modules/stats-widget/test/*"],
"@probe.gl/test-utils/*": ["modules/test-utils/src/*"],
"@probe.gl/test-utils/test/*": ["modules/test-utils/test/*"],
"test": ["test"]
}
},
Expand Down
25 changes: 0 additions & 25 deletions tsconfig.modules.json

This file was deleted.

31 changes: 3 additions & 28 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2252,23 +2252,6 @@
dependencies:
"@types/node" ">= 8"

"@probe.gl/stats@3.4.1":
version "3.4.1"
resolved "https://registry.yarnpkg.com/@probe.gl/stats/-/stats-3.4.1.tgz#5bc0ec5f87ae3195c22a98363e9c15031fbfe8e8"
integrity sha512-1Ol5cH8MQqIrGNgU4NCBj2cw1qiXYfHP1QCFX+u/xyrvgwLkPrOGkdSYMzw4VKTjJzNae4i7urOTf2m2hduZzQ==
dependencies:
"@babel/runtime" "^7.0.0"

"@probe.gl/test-utils@^3.0.2":
version "3.4.1"
resolved "https://registry.yarnpkg.com/@probe.gl/test-utils/-/test-utils-3.4.1.tgz#d82d9e345945f8d361bc4460fb18a7844877b43c"
integrity sha512-Ur2w/Kb7NChNZTVks9J2xRr82FNnMkuSM9knyIP5ceY0l0kffmvOloE6Bnw1craCbH6oEuCakYm3SOh38tKKMQ==
dependencies:
"@babel/runtime" "^7.0.0"
pixelmatch "^4.0.2"
probe.gl "3.4.1"
puppeteer "*"

"@sindresorhus/is@^0.14.0":
version "0.14.0"
resolved "https://registry.yarnpkg.com/@sindresorhus/is/-/is-0.14.0.tgz#9fb3a3cf3132328151f353de4632e01e52102bea"
Expand Down Expand Up @@ -3845,9 +3828,9 @@ camelcase@^5.0.0, camelcase@^5.2.0, camelcase@^5.3.1:
integrity sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==

caniuse-lite@^1.0.30001219, caniuse-lite@^1.0.30001261:
version "1.0.30001278"
resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001278.tgz"
integrity sha512-mpF9KeH8u5cMoEmIic/cr7PNS+F5LWBk0t2ekGT60lFf0Wq+n9LspAj0g3P+o7DQhD3sUdlMln4YFAWhFYn9jg==
version "1.0.30001265"
resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001265.tgz"
integrity sha512-YzBnspggWV5hep1m9Z6sZVLOt7vrju8xWooFAgN6BA5qvy98qPAPb7vNUzypFaoh2pb3vlfzbDO8tB57UPGbtw==

caseless@~0.11.0:
version "0.11.0"
Expand Down Expand Up @@ -10471,14 +10454,6 @@ private@^0.1.8:
resolved "https://registry.yarnpkg.com/private/-/private-0.1.8.tgz#2381edb3689f7a53d653190060fcf822d2f368ff"
integrity sha512-VvivMrbvd2nKkiG38qjULzlc+4Vx4wm/whI9pQD35YrARNnhxeiRktSOhSukRLFNlzg6Br/cJPet5J/u19r/mg==

probe.gl@3.4.1:
version "3.4.1"
resolved "https://registry.yarnpkg.com/probe.gl/-/probe.gl-3.4.1.tgz#88d8629fbac5a627049d6fdc6b8c364d56f00815"
integrity sha512-k/6YoZr6cBwnFpQLs/s4yZ8cCxapQzRrxl16EQg1b2wYXLlerDJ4PkNoQ3YDN9yu3Jcipipr+Avy1GRpyBF6ZA==
dependencies:
"@babel/runtime" "^7.0.0"
"@probe.gl/stats" "3.4.1"

process-nextick-args@~2.0.0:
version "2.0.1"
resolved "https://registry.yarnpkg.com/process-nextick-args/-/process-nextick-args-2.0.1.tgz#7820d9b16120cc55ca9ae7792680ae7dba6d7fe2"
Expand Down

0 comments on commit 70b7e20

Please sign in to comment.