File tree 3 files changed +9
-4
lines changed
3 files changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -25,9 +25,16 @@ Clone the repository:
25
25
git clone --depth 1 git@github.com:alioguzhan/react-typescript-library.git
26
26
```
27
27
28
+ Rename the cloned folder to your library/component name:
29
+
30
+ ```
31
+ mv react-typescript-library my-react-lib
32
+ ```
33
+
28
34
Install the deps:
29
35
30
36
``` bash
37
+ cd my-react-lib
31
38
yarn install
32
39
```
33
40
Original file line number Diff line number Diff line change 1
1
import { render } from '@testing-library/react' ;
2
- import React from 'react' ;
3
2
import Main from '../index' ;
4
3
5
4
describe ( 'My Component' , ( ) => {
Original file line number Diff line number Diff line change 1
1
{
2
2
"out" : " docs" ,
3
- "inputFiles " : " ./src" ,
4
- "mode " : " modules " ,
3
+ "entryPoints " : [ " ./src" ] ,
4
+ "exclude " : " **/**/*+(.spec|.test).** " ,
5
5
"theme" : " default" ,
6
- "excludeNotExported" : true ,
7
6
"includeVersion" : true ,
8
7
"categorizeByGroup" : true
9
8
}
You can’t perform that action at this time.
0 commit comments