Commit graph

1634 commits

Author SHA1 Message Date
Jordan Eldredge
be3b024b0b Fix regression in getTimeStr
When we switched getTimeObj to return strings, our sketchy zero check started to fail. Luckily our tests caught it!
2018-09-17 17:04:05 -07:00
Jordan Eldredge
bc7766efe1 Teach ESLint and Jest about .tsx 2018-09-17 17:04:05 -07:00
Jordan Eldredge
3279033196 Convert ContextMenu and ContextMenuTarget to typescriptThis is the first component to use a connected component 2018-09-17 17:04:05 -07:00
Jordan Eldredge
d85d689539 Type MiniTime.js 2018-09-17 17:04:05 -07:00
Jordan Eldredge
082db5f3e2 Type passthrough props 2018-09-17 17:04:05 -07:00
Jordan Eldredge
49c50887d8 Convert some non-connected components to Typescript 2018-09-17 17:04:05 -07:00
Jordan Eldredge
71b0ed79b1 Convert Character component to Typescript 2018-09-17 17:04:05 -07:00
Jordan Eldredge
1ec6a886b8 Convert all reducers to typescript 2018-09-17 17:04:05 -07:00
Jordan Eldredge
bf2544e25b Convert utils.js to utils.ts 2018-09-17 17:04:05 -07:00
Jordan Eldredge
a3dd307e61 Allow the library webpack build to see .tsx files 2018-09-17 17:04:05 -07:00
Jordan Eldredge
54a894da54 Allow webpack to see .tsx files 2018-09-17 17:04:05 -07:00
Jordan Eldredge
ea3ae78833 Format tsconfig.json 2018-09-17 17:04:05 -07:00
Jordan Eldredge
b68ae54d78 Format display.ts 2018-09-17 17:04:05 -07:00
Jordan Eldredge
58e77832be Format types.ts 2018-09-17 17:04:05 -07:00
Jordan Eldredge
0819c10ac2 Improve typing of skin info 2018-09-17 17:04:05 -07:00
Jordan Eldredge
30ca4af6d8 Allow library build to work with Typescript 2018-09-17 17:04:05 -07:00
Jordan Eldredge
25b3678aae Make skin data a bit more correct 2018-09-17 17:04:05 -07:00
Jordan Eldredge
4f8a9a7065 Pass dummy data object in SET_SKIN_DATA in test to reset skin 2018-09-17 17:04:05 -07:00
Jordan Eldredge
1af57575d3 Allow Jest to process .ts files 2018-09-17 17:04:05 -07:00
Jordan Eldredge
670c0ba508 More type progress 2018-09-17 17:04:05 -07:00
Jordan Eldredge
bd1b4709d4 Convert UserInput reducer to TypeScript 2018-09-17 17:04:05 -07:00
Jordan Eldredge
b2359c6b5a Convert media reducer to Typescript 2018-09-17 17:04:05 -07:00
Jordan Eldredge
24835e4f8f Format typescript files with Prettier 2018-09-17 17:04:05 -07:00
Jordan Eldredge
b6e020ea12 Teach ESLint import rule about typescript files 2018-09-17 17:04:05 -07:00
Jordan Eldredge
a276ffb518 Convert first files to TypeScript 2018-09-17 17:04:05 -07:00
Jordan Eldredge
c98143aedc Upgrade react and redux 2018-09-11 06:46:07 -07:00
Jordan Eldredge
2c2ee5faab
Refactor PresetOverlay to be easier to understand (#652)
* Refactor PresetOverlay to be easier to understand

* Clean up stray semi
2018-09-11 06:45:50 -07:00
Jordan Eldredge
2eeff16121 Add press entry 2018-09-10 06:16:20 -07:00
Jordan Eldredge
c174808eed Add a few more press articles 2018-09-09 21:48:02 -07:00
Jordan Eldredge
f8f9463baa Format index.d.ts with Prettier 2018-09-09 21:47:23 -07:00
jberg
bc7c5bffaf Load local MilkDrop preset directory (#637) 2018-09-07 22:13:48 -07:00
Jordan Eldredge
244bcad5fe Add a few more press mentions 2018-09-04 08:21:20 -07:00
Jordan Eldredge
758f45e5a7 Add Dutch press link 2018-09-04 08:02:52 -07:00
Jordan Eldredge
7f958cc13b Upgrade Prettier 2018-09-04 08:02:40 -07:00
Jordan Eldredge
bb941c912e Add more press articles 2018-09-04 06:44:08 -07:00
Jordan Eldredge
1f73293390 Add more press links 2018-09-02 10:24:57 -07:00
Jordan Eldredge
b84049344d Remove module.exports
This was originally removed in https://github.com/captbaritone/webamp/pull/648

And accidentally re-added in https://github.com/captbaritone/webamp/pull/639 due to a bad rebase.
2018-09-02 09:18:16 -07:00
Jordan Eldredge
1bdb7d6345
Inject lazy dependencies (#639)
Still TODO Find a nice way to expose WebampLazy as:

```JavaScript
import WebampLazy from 'webamp/lazy';
```
2018-09-02 09:01:51 -07:00
Isaiah Odhner
6591c98b40 Fix typos 2018-08-30 15:51:11 -07:00
Jordan Eldredge
baca3d650b
Upgrade all the Babel (#648)
* Upgrade all the Babel

* Generate reports when we deploy

* Remove extra export
2018-08-30 06:24:19 -07:00
Jordan Eldredge
48a31c5501 Update integration snapshots to include peaks 2018-08-30 05:04:39 -07:00
Jordan Eldredge
c0e72ab31a Generate reports when we deploy 2018-08-29 20:36:41 -07:00
Jordan Eldredge
3b9eb810cb Add typescript to yarn.lock 2018-08-28 16:53:54 -07:00
Jordan Eldredge
e9ff9befd7 Fix webamp.onTrackDidChange, by actually passing the action to the event emitter 2018-08-28 16:53:54 -07:00
Jordan Eldredge
695d077335 Add missing media status 2018-08-28 16:45:20 -07:00
Jordan Eldredge
ce3ceb5320 Add more press links 2018-08-28 16:45:20 -07:00
Jordan Eldredge
07a2443acc Handle screenshot 404 and don't require pressing enter 2018-08-28 16:45:20 -07:00
Jordan Eldredge
2e28d90dc1 Add comment to minimal example 2018-08-28 16:45:20 -07:00
Jakub Ďuraš
118c1ff305 Typescript cli (#647)
* Add tsconfig.json and static module resolution for ts

* Add trailing newline to tsconfig

* Change tsc module to commonjs to support .json import

* Add tsc as dependency and to scripts
2018-08-28 16:45:03 -07:00
Jakub Ďuraš
2a7427dd00 Add basic TypeScript type definitions (#643)
* Add basic TypeScript type definitions

* Update track URL type definitions

* Add index.d.ts to files published to the NPM
2018-08-25 07:07:48 -07:00