File tree 2 files changed +6
-10
lines changed
2 files changed +6
-10
lines changed Original file line number Diff line number Diff line change @@ -18,6 +18,8 @@ Fork, then clone the repo:
18
18
git clone https://github.com/your-username/redux-toolkit.git
19
19
```
20
20
21
+ Then run ` yarn ` from the parent directory.
22
+
21
23
### Building
22
24
23
25
Running the ` build ` task will create both a CommonJS module-per-module build and a UMD build.
@@ -31,19 +33,13 @@ npm run build
31
33
To run the tests:
32
34
33
35
```
34
- npm run test
36
+ yarn test
35
37
```
36
38
37
39
To continuously watch and run tests, run the following:
38
40
39
41
```
40
- npm test -- --watch
41
- ```
42
-
43
- To perform linting with ` eslint ` , run the following:
44
-
45
- ```
46
- npm run lint
42
+ yarn test --watch
47
43
```
48
44
49
45
### New Features
Original file line number Diff line number Diff line change 45
45
"test" : " yarn test:packages" ,
46
46
"build:examples" : " yarn workspaces foreach --include '@reduxjs/*' --include '@examples-query-react/*' -vtp run build" ,
47
47
"build:docs" : " yarn workspace website run build" ,
48
- "dev:docs" : " yarn workspace website run start" ,
49
48
"build:packages" : " yarn workspaces foreach --include '@reduxjs/*' --include '@rtk-query/*' --topological-dev run build" ,
50
- "test:packages" : " yarn workspaces foreach --include '@reduxjs/*' --include '@rtk-query/*' run test"
49
+ "test:packages" : " yarn workspaces foreach --include '@reduxjs/*' --include '@rtk-query/*' run test" ,
50
+ "dev:docs" : " yarn workspace website run start"
51
51
}
52
52
}
You can’t perform that action at this time.
0 commit comments