-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathworkspaceCliCommands.txt
More file actions
33 lines (20 loc) · 1.17 KB
/
workspaceCliCommands.txt
File metadata and controls
33 lines (20 loc) · 1.17 KB
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
yarn config set "strict-ssl" false &&
npx create-nx-workspace@latest --preset react --appName=web-app --style=styled-components --interactive=false --packageManager=yarn --nx-cloud=false mentor-mee &&
cd mentor-mee/ &&
yarn add -D json-server concurrently @types/node &&
jq '.scripts["mock-server"] = "json-server --port 3004 --watch ./mock/mentor-mee-mock.json"' package.json > package-temp.json &&
mv package-temp.json package.json &&
nx generate @nrwl/workspace:library --name=core-state --buildable &&
nx generate @nrwl/workspace:library --name=core-types --buildable &&
nx generate @nrwl/workspace:library --name=core-data --buildable &&
nx generate @nrwl/workspace:library --name=ui-login --buildable &&
nx g @nrwl/react:library --name=core-ui --buildable &&
nx g @nrwl/react:library --name=core-hooks --buildable &&
yarn add @mui/material@^5.5.0 @mui/icons-material@^5.5.0 @mui/styled-engine-sc@^5.4.2 @emotion/react@^11.9.0 @emotion/styled@^11.8.1 polished@^4.1.4 &&
yarn add react-router-dom@^6.3.0 &&
yarn add axios &&
yarn add redux-saga@^1.1.3
yarn add rxjs@^7.5.5 &&
yarn add @reduxjs/toolkit@^1.8.1 &&
yarn add react-redux@^8.0.1 &&
yarn config set "strict-ssl" true