Commit 00a3261
Refactor: Rewrite loaders folder in typescript (#1485)
* ts highlight
* ts highlightCode md
* ts noAutoLink
* ts slugger
* ts remove Doclets
* ts sortProps
* ts getName from filepath
* ts chunkiy
* fix props loader
* ts filter components examples
* ts requireIt
* ts expand default component
* ts getast
* ts getAllContentPages
* ts getComponentFiles
* ts get files from sections
* ts get patterns from section
* ts getExamples
* ts getImports
* ts getComponents
* ts getComponents
* ts getSctions
* ts getProps
* before starting the loaders
* update hasExamples type
* update types
* fix some types
* type fix
* update getProps
* fix typings for default Example
* fix types for defaultExamples
* ts props loader
* type fix sanitizeConfig
* last type fixes
* ts examples loader
* ts styleguide loader
* finish the job
* remove custom eslintrc
* generate the types
* avoid exporting test specs
* run tsc om src omly
* remove unused space
* remove flow from ci
* remove compilation of types on publish
* rollbalk changes to bin
* remove useless types
* remove oops test file
* Use standard Array.isArray instead of lodash
Co-Authored-By: Artem Sapegin <[email protected]>
* fix typechecks1 parent 708ca07 commit 00a3261
File tree
106 files changed
+1010
-777
lines changed- src
- client/rsg-components
- Arguments
- Argument
- Editor
- JsDoc
- Markdown/Checkbox
- Name
- Para
- Pathline
- Table
- Text
- ToolbarButton
- Type
- slots
- loaders
- __tests__
- utils
- __tests__
- __snapshots__
- scripts
- schemas
- utils
- typings
- dependencies
- test
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
106 files changed
+1010
-777
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
42 | 41 | | |
43 | 42 | | |
44 | 43 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
| 107 | + | |
107 | 108 | | |
| 109 | + | |
108 | 110 | | |
109 | 111 | | |
110 | 112 | | |
| 113 | + | |
111 | 114 | | |
112 | 115 | | |
113 | 116 | | |
| |||
172 | 175 | | |
173 | 176 | | |
174 | 177 | | |
175 | | - | |
176 | 178 | | |
| 179 | + | |
177 | 180 | | |
178 | 181 | | |
179 | 182 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | 4 | | |
6 | 5 | | |
7 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | 4 | | |
6 | 5 | | |
7 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
| 38 | + | |
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
| 8 | + | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
| |||
File renamed without changes.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | | - | |
6 | 4 | | |
7 | 5 | | |
8 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | 4 | | |
6 | 5 | | |
7 | 6 | | |
| |||
0 commit comments