Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

Commit 1534a63

Browse files
committed
format readme
1 parent 5dfc641 commit 1534a63

File tree

1 file changed

+17
-14
lines changed

1 file changed

+17
-14
lines changed

Diff for: README.md

+17-14
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
1.
1010

11-
```bash
11+
```sh
1212
$ nvm use || nvm install
1313
$ yarn
1414
```
@@ -21,7 +21,7 @@ import { Compiler, WebpackPluginInstance as Plugin } from 'webpack';
2121

2222
## Running the app
2323

24-
```bash
24+
```sh
2525
# development
2626
$ yarn start
2727

@@ -34,7 +34,7 @@ $ yarn start:prod
3434

3535
## Test
3636

37-
```bash
37+
```sh
3838
# unit tests
3939
$ yarn test
4040

@@ -49,15 +49,15 @@ $ yarn test:cov
4949

5050
1.
5151

52-
```bash
52+
```sh
5353
$ nvm use node
5454
```
5555

5656
### [NestJs and Fastify](https://docs.nestjs.com/techniques/performance)
5757

5858
1.
5959

60-
```bash
60+
```sh
6161
$ npm i -g @nestjs/cli
6262
$ nest new myapp
6363
$ cd myapp
@@ -90,7 +90,7 @@ bootstrap();
9090

9191
1.
9292

93-
```bash
93+
```sh
9494
$ yarn add next react react-dom
9595
$ yarn add -D @types/react-dom @types/react
9696
$ mkdir -p src/client/pages
@@ -142,7 +142,7 @@ import { Compiler, WebpackPluginInstance as Plugin } from 'webpack';
142142

143143
1.
144144

145-
```bash
145+
```sh
146146
$ yarn add -D eslint-plugin-react eslint-import-resolver-typescript eslint-config-airbnb eslint-plugin-jsx-a11y eslint-plugin-import eslint-plugin-react-hooks
147147
```
148148

@@ -246,7 +246,7 @@ module.exports = {
246246

247247
1.
248248

249-
```bash
249+
```sh
250250
$ yarn remove ts-jest
251251
$ yarn add -D @next/env @babel/core babel-jest
252252
```
@@ -295,7 +295,7 @@ module.exports = {
295295

296296
5. create symbolic link of `babel.config.js` to `src/client/babel.config.js`
297297

298-
```bash
298+
```sh
299299
$ ln -sf "$(pwd)/babel.config.js" "$(pwd)/src/client"
300300
```
301301

@@ -313,7 +313,7 @@ loadEnvConfig(join(__dirname, '../src/client'));
313313

314314
1.
315315

316-
```bash
316+
```sh
317317
$ yarn add @emotion/react
318318
$ yarn add -D @emotion/babel-plugin @emotion/eslint-plugin @emotion/jest
319319
```
@@ -377,8 +377,11 @@ expect.extend(matchers);
377377

378378
### [Redux-Toolkit](https://redux-toolkit.js.org/)
379379

380-
1. ```sh
381-
yarn add react-redux @reduxjs/toolkit next-redux-wrapper
382-
yarn add -D @types/react-redux @types/webpack-env
383-
```
380+
1.
381+
382+
```sh
383+
$ yarn add react-redux @reduxjs/toolkit next-redux-wrapper
384+
$ yarn add -D @types/react-redux @types/webpack-env
385+
```
386+
384387
2. create custom `rootReducer`, `makeStore`, `wrapper` similar to ones in files `src/features/redux/reducers.tsx` and `src/features/redux/store.tsx` and apply them in `src/pages/_app.tsx`

0 commit comments

Comments
 (0)