Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move to TypeScript #745

Merged
merged 68 commits into from
Jan 30, 2019
Merged
Show file tree
Hide file tree
Changes from 60 commits
Commits
Show all changes
68 commits
Select commit Hold shift + click to select a range
8c63933
Add `typescript` package
CvX Jan 24, 2019
29f863c
Move JS files to the new `src` directory
CvX Jan 24, 2019
b18aca2
Move css files to a separate directory
CvX Jan 24, 2019
ead4e24
Add initial tsconfig.json
CvX Jan 24, 2019
44441e1
Rename js files to ts and fix imports
CvX Jan 24, 2019
09ca441
Remove `use strict` from js files
CvX Jan 24, 2019
78e2a73
Fix imports
CvX Jan 24, 2019
33039b6
Fix CSS insertion
CvX Jan 24, 2019
61270e8
Fix some TypeScript errors
CvX Jan 24, 2019
d6478b7
Move facebook-locales require() to the top and convert it to an import
CvX Jan 24, 2019
a78de92
Convert remaining requires
CvX Jan 24, 2019
a0d6caa
Add `@types/element-ready`
CvX Jan 24, 2019
b9b4807
Simplify ipcRenderer import
CvX Jan 24, 2019
75faac3
Add `@types/electron-is-dev`
CvX Jan 24, 2019
402a2e0
Simplify electron import in menu.ts
CvX Jan 24, 2019
3498c7f
Simplify path and fs imports in menu.ts
CvX Jan 24, 2019
b651d94
Add type information to menu.ts
CvX Jan 24, 2019
c218ef7
Don’t return any value in `showRestartDialog`
CvX Jan 24, 2019
bab77bd
Add type information in util.ts
CvX Jan 24, 2019
b70ee2b
Add type information to notifications-isolated.ts
CvX Jan 24, 2019
87a046d
Add `@types/electron-store`
CvX Jan 24, 2019
b8ca827
Add type information to config.ts
CvX Jan 24, 2019
d656dc3
Simplify `path` import in emoji.ts
CvX Jan 24, 2019
842ea35
Decrease defaults nesting in config
CvX Jan 24, 2019
c4f9170
Add type information to emoji.ts and config.ts
CvX Jan 24, 2019
e8a88e9
Add type information to tray.ts
CvX Jan 24, 2019
6bf3fe7
Simplify path import in index.ts
CvX Jan 24, 2019
ec4084c
Simplify fs imports in index.ts
CvX Jan 24, 2019
9bd02da
Add x and y type info to lastWindowState in config
CvX Jan 24, 2019
767863e
Add type information to browser.ts
CvX Jan 24, 2019
fe28b05
Fix a TS warning in touch-bar.ts
CvX Jan 24, 2019
a8f2ad0
Add type information to index.ts
CvX Jan 24, 2019
fd3604a
Fix TS errors in index.ts
CvX Jan 24, 2019
b4a6c07
Run `tsc` before linting
CvX Jan 24, 2019
1853cbe
Restore original “build/files” in package.json
CvX Jan 24, 2019
f516ae6
Run `tsc` before `pack`, `dist`, and `publish-snap` scripts
CvX Jan 24, 2019
8307597
Merge branch 'master' into typescript
CvX Jan 24, 2019
a82ccb0
Add `@typescript-eslint/eslint-plugin` and `eslint-config-xo-typescript`
CvX Jan 24, 2019
d4083a2
Bump eslint-formatter-pretty
CvX Jan 24, 2019
0be6577
Whitespace fixes
CvX Jan 24, 2019
f68bd0b
Import whole `path` module instead of named imports
CvX Jan 24, 2019
ae71ba8
Fix all xo errors
CvX Jan 25, 2019
adf039e
Fix TS errors
CvX Jan 25, 2019
73fe7bb
Prettier pass (`npx xo --fix`)
CvX Jan 25, 2019
31ace5a
Fix more TS errors
CvX Jan 25, 2019
9e3a53d
Always await async functions
CvX Jan 25, 2019
54001ac
Resolve the remaining TS tasks
CvX Jan 25, 2019
f14bc6a
Target “esnext”
CvX Jan 25, 2019
7634581
Use Conversation type in `ipcMain.on('conversations’)`
CvX Jan 25, 2019
1a3040e
Add an explaination to Notification constructor
CvX Jan 25, 2019
179287f
Don’t require `updateMenu` to return any value
CvX Jan 25, 2019
d3291a1
Replace `any` types with `unknown`
CvX Jan 25, 2019
7debc50
Fix type
CvX Jan 25, 2019
088108d
Rename `src` directory to `source`
CvX Jan 25, 2019
eba8ab3
Update tsconfig.json
sindresorhus Jan 25, 2019
c822a3f
Update .gitignore
sindresorhus Jan 25, 2019
6fc1f45
Update package.json
sindresorhus Jan 25, 2019
f70f533
Remove downlevelIteration settings from tsconfig
CvX Jan 25, 2019
d00b795
Convert all imports to the standard syntax
CvX Jan 25, 2019
2f3f225
Update package.json
sindresorhus Jan 28, 2019
ad01691
Update electron-dl
CvX Jan 27, 2019
a9b86f1
Update electron-context-menu
CvX Jan 27, 2019
c17d524
Fix BrowserWindow icon type
CvX Jan 28, 2019
cbd78df
Import all Electron types
CvX Jan 28, 2019
2d600db
Don’t import whole electron module.
CvX Jan 29, 2019
cb0c5c3
Update electron-debug
CvX Jan 29, 2019
8f7b248
Update electron-util
CvX Jan 30, 2019
ea8c326
Merge branch 'master' into typescript
CvX Jan 30, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
node_modules
yarn.lock
/dist
/dist-js
57 changes: 0 additions & 57 deletions config.js

This file was deleted.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
36 changes: 0 additions & 36 deletions notifications-isolated.js

This file was deleted.

Loading