Commit f007b3f
authored
Migrate codebase to TypeScript and update configurations (facebook#4381)
* refactor: migrate JavaScript files to TypeScript and update configurations
* refactor: update import statements to use single quotes and enhance linting configurations
* refactor: update ESLint configuration to use TypeScript parser and convert PrismTheme to ES module export
* refactor: update lint:format script to include JSX and TypeScript file extensions
* refactor: update prettier script to include JSX and TypeScript file extensions
* refactor: update TypeScript configurations and improve type annotations in blog components
* refactor: remove broken hover effect from clean button in custom theme styles
* refactor: fix metadata usage in DocsRating and improve TypeScript types in various components
* refactor: adjust TypeScript type declaration for global `ga` function in DocsRating
* refactor: simplify Section component props using React.PropsWithChildren
* refactor: add TypeScript types for Google Analytics and clean up global declaration in DocsRating
* refactor: enhance TypeScript types for user authentication and streamline related components
* refactor: update Prettier commands in package.json for improved file matching
* refactor: update Prettier command in package.json for improved TypeScript file matching
* refactor: update Prettier commands in package.json for improved file matching
* refactor: update Prettier command for improved file matching and standardize package versions
* set json extension on prettier config file1 parent 7f6f2ee commit f007b3f
File tree
59 files changed
+1463
-830
lines changed- docs
- plugins
- remark-lint-no-dead-urls
- remark-snackplayer
- website
- core
- src
- css
- pages
- Home
- CallToAction
- Community
- Framework
- Hero
- Native
- Platforms
- Watch
- components
- SectionTitle
- Section
- ThemeImage
- theme
- Badge
- BlogSidebar
- Desktop
- Mobile
- Blog/Components/Author
- BoxLink
- DocVersionBanner
- Icon
- Android
- Apple
- ExternalLink
- TV
- VisionOS
- Web
- Windows
- MDXComponents
- PlatformSupport
- versioned_docs/version-0.76
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
59 files changed
+1463
-830
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
| 48 | + | |
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| |||
File renamed without changes.
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
9 | 11 | | |
10 | 12 | | |
11 | 13 | | |
| |||
123 | 125 | | |
124 | 126 | | |
125 | 127 | | |
126 | | - | |
| 128 | + | |
File renamed without changes.
0 commit comments