-
Notifications
You must be signed in to change notification settings - Fork 313
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: typescript infrastructure and few components conversion (#1797)
* feat: typescript * fix: prettier * fix: copy ts migrated .js.flow files to es so that parent projects get tricked * chore(avatar): typescript conversion * feat: typescript support for prettier and eslint BREAKING CHANGE: Peer deps have been updated and added. * chore: upgrading to new @box/frontend * fix: merge conflicts * fix: tsconfig should list its own path relative to this current project. See microsoft/TypeScript#25430
- Loading branch information
1 parent
8b553db
commit d04ce54
Showing
75 changed files
with
4,403 additions
and
1,586 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
declare module '*.md' { | ||
const content: string; | ||
export = content; | ||
} | ||
|
||
declare function takeScreenshot(id: string): void; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,10 @@ | ||
// Place your settings in this file to overwrite default and user settings. | ||
{ | ||
"typescript.validate.enable": false, | ||
"typescript.format.enable": false, | ||
"flow.useNPMPackagedFlow": true, | ||
"flow.enabled": true, | ||
"javascript.validate.enable": false, | ||
"prettier.printWidth": 120, | ||
"prettier.tabWidth": 4, | ||
"prettier.singleQuote": true | ||
"typescript.validate.enable": true, | ||
"editor.codeActionsOnSave": { | ||
"source.fixAll.eslint": true | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.