This repository was archived by the owner on Jan 16, 2022. It is now read-only.
Commit 6b5d0b7
feat: migrating flow to typescript (#47)
This PR convert the code base to Typescript, the changes are the following:
- migrate code base to Typescript (3.4.x)
- enable `eslint` and `@typescript-eslint/eslint-plugin` (warnings still need to be addressed in future pull request
- update relevant dependencies for this PR (linting, etc)
- enable `bundlezise` (it was disabled for some reason)
* refactor: refactoring to typescript
* refactor: migrating to typescript
* refactor: applied feedbacks
* fix: fixed conflicts
* refactored: changed registry
* refactor: updated registry & removed unnecessary lib
* fix: fixed registry ur
* fix: fixed page load
* refactor: refactored footer wip
* refactor: converting to ts..wip
* refactor: converting to ts. wip
* refactor: converting to ts. wip
* refactor: converting to ts
* refactor: converting to ts
* fix: fixed load errors
* refactor: converted files to ts
* refactor: removed flow from tests
* fix: removed transpiled files
* refactor: added ts-ignore
* fix: fixed errors
* fix: fixed types
* fix: fixing jest import -.-
* fix: fixing lint errors
* fix: fixing lint errors
* fix: fixed lint errors
* refactor: removed unnecessary tsconfig's config
* fix: fixing errors
* fix: fixed warning
* fix: fixed test
* refactor: wip
* refactor: wip
* refactor: wip
* fix: fixing tests: wip
* wip
* wip
* fix: fixed search test
* wip
* fix: fixing lint errors
* fix: re-added stylelint
* refactor: updated stylelint script
* fix: fixed: 'styles.js' were found.
* fix: fixed Search tests
* chore: enable eslint
eslint needs expecitely to know which file has to lint, by default is JS, in this case we need also ts,tsx files eslint . --ext .js,.ts
* chore: vcode eslint settings
* chore: restore eslint previous conf
* chore: clean jest config
* chore: fix eslint warnings
* chore: eslint errors cleared
chore: clean warnings
chore: remove github actions test phases
chore: remove dupe rule
* chore: update handler name
* chore: restore logo from img to url css prop
- loading images with css is more performant than using img html tags, switching this might be a breaking change
- restore no-empty-source seems the linting do not accept false
- update snapshots
- remove @material-ui/styles
* chore: update stylelint linting
* chore: update stylelint linting
* chore: fix a mistake on move tabs to a function
* chore: eanble bundlezie
* chore: use default_executor in circleci
* chore: update readme1 parent 7d17644 commit 6b5d0b7
File tree
358 files changed
+4737
-58438
lines changed- .circleci
- .github
- .vscode
- config
- flow-typed/npm
- @material-ui
- core
- autosuggest-highlight
- jest
- unit
- components
- __mocks__
- store
- lib
- scripts
- src
- App
- components
- ActionBar
- Author
- __snapshots__
- AutoComplete
- CopyToClipBoard
- __snapshots__
- Dependencies
- DetailContainer
- DetailSidebar
- Developers
- Dist
- Engines
- img
- Header
- __snapshots__
- Help
- __snapshots__
- Icon
- __snapshots__
- img
- Install
- __snapshots__
- img
- Label
- __snapshots__
- Layout
- Link
- __snapshots__
- Loading
- __snapshots__
- Login
- __snapshots__
- Logo
- __snapshots__
- img
- NoItems
- __snapshots__
- NotFound
- __snapshots__
- img
- PackageList
- Package
- Readme
- __snapshots__
- RegistryInfoContent
- RegistryInfoDialog
- Repository
- __snapshots__
- img
- Search
- __snapshots__
- Spinner
- __snapshots__
- Tag
- __snapshots__
- TextField
- __snapshots__
- UpLinks
- __snapshots__
- Versions
- __snapshots__
- icons
- pages
- home
- version
- styles
- template
- utils
- styles
- webui
- components
- AutoComplete
- CopyToClipBoard
- Dependencies
- DetailContainer
- DetailSidebar
- Header
- Icon
- Label
- Link
- NoItems
- PackageList
- Package
- Readme
- RegistryInfoContent
- RegistryInfoDialog
- Search
- Spinner
- Tag
- UpLinks
- Versions
- icons
- pages
- home
- version
- utils
- styles
- test
- types
- unit
- components
- __mocks__
- __snapshots__
- store
- tools
- types
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
358 files changed
+4737
-58438
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
3 | 5 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
79 | 87 | | |
80 | 88 | | |
81 | 89 | | |
| |||
84 | 92 | | |
85 | 93 | | |
86 | 94 | | |
87 | | - | |
| 95 | + | |
88 | 96 | | |
89 | 97 | | |
90 | 98 | | |
| |||
156 | 164 | | |
157 | 165 | | |
158 | 166 | | |
159 | | - | |
| 167 | + | |
160 | 168 | | |
161 | 169 | | |
162 | 170 | | |
163 | 171 | | |
164 | 172 | | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
165 | 177 | | |
166 | 178 | | |
167 | 179 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | 3 | | |
5 | | - | |
6 | | - | |
7 | | - | |
| 4 | + | |
| 5 | + | |
8 | 6 | | |
9 | 7 | | |
10 | 8 | | |
11 | 9 | | |
12 | | - | |
13 | 10 | | |
14 | 11 | | |
15 | 12 | | |
16 | | - | |
17 | | - | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | 2 | | |
11 | | - | |
12 | | - | |
13 | | - | |
| 3 | + | |
| 4 | + | |
14 | 5 | | |
15 | 6 | | |
16 | | - | |
17 | 7 | | |
18 | 8 | | |
19 | 9 | | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
20 | 17 | | |
21 | 18 | | |
22 | | - | |
23 | | - | |
24 | | - | |
| 19 | + | |
25 | 20 | | |
26 | 21 | | |
27 | | - | |
28 | 22 | | |
29 | | - | |
30 | | - | |
31 | 23 | | |
32 | | - | |
33 | 24 | | |
34 | 25 | | |
35 | 26 | | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | 27 | | |
46 | | - | |
47 | | - | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
48 | 47 | | |
49 | 48 | | |
50 | 49 | | |
| |||
88 | 87 | | |
89 | 88 | | |
90 | 89 | | |
| 90 | + | |
91 | 91 | | |
92 | | - | |
| 92 | + | |
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
| |||
106 | 106 | | |
107 | 107 | | |
108 | 108 | | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | 109 | | |
125 | 110 | | |
126 | | - | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
127 | 123 | | |
128 | 124 | | |
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | | - | |
130 | | - | |
131 | | - | |
132 | | - | |
133 | | - | |
134 | | - | |
135 | | - | |
136 | | - | |
137 | | - | |
138 | | - | |
139 | | - | |
140 | | - | |
141 | | - | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | | - | |
146 | | - | |
147 | | - | |
148 | | - | |
149 | | - | |
150 | | - | |
151 | | - | |
152 | | - | |
153 | | - | |
154 | | - | |
155 | | - | |
156 | | - | |
157 | | - | |
158 | | - | |
159 | | - | |
160 | | - | |
161 | | - | |
162 | | - | |
163 | | - | |
164 | 1 | | |
165 | 2 | | |
166 | 3 | | |
| |||
0 commit comments