Monorepo 的项目设计

1C:\USERS\SUEY\DESKTOP\RAPID
2|   .eslintignore
3|   .eslintrc.js
4|   .gitignore
5|   .npmrc
6|   .prettierignore
7|   .prettierrc.js
8|   commitlint.config.js
9|   jest.config.ts
10|   package.json
11|   pnpm-lock.yaml
12|   pnpm-workspace.yaml
13|   README.md
14|   tsconfig.json
15|
16+---.husky
17+---.idea
18+---.vscode
19+---apps
20|   +---app
21|   |   |   dev-app-update.yml
22|   |   |   electron-builder.yml
23|   |   |   electron.vite.config.ts
24|   |   |   package.json
25|   |   |   rspack.ts
26|   |   |   tsconfig.json
27|   |   |   tsconfig.node.json
28|   |   |
29|   |   +---builder
30|   |   +---desktop-node
31|   |   |   |   package.json
32|   |   |   |   rspack.config.ts
33|   |   |   |   tsconfig.json
34|   |   |   |   tsconfig.main.json
35|   |   |   |   tsconfig.main.tsbuildinfo
36|   |   |   |   tsconfig.node.json
37|   |   |   |   tsconfig.node.tsbuildinfo
38|   |   |   |   tsconfig.tsbuildinfo
39|   |   |   |
40|   |   |   \---src
41|   |   |       |   index.tsx
42|   |   |       |   setupApp.ts
43|   |   |       |   setupService.ts
44|   |   |       |
45|   |   |       +---business
46|   |   |       |
47|   |   |       +---config
48|   |   |       |
49|   |   |       +---core
50|   |   |       |   |
51|   |   |       |   +---common
52|   |   |       |   |
53|   |   |       |   +---exceptions
54|   |   |       |   |
55|   |   |       |   +---filters
56|   |   |       |   |
57|   |   |       |   +---request
58|   |   |       |   |
59|   |   |       |   \---shell
60|   |   |       |
61|   |   |       +---ipc
62|   |   |       |
63|   |   |       +---server
64|   |   |       |
65|   |   |       +---service
66|   |   |       |
67|   |   |       \---store
68|   |   |
69|   |   +---desktop-preload
70|   |   |   |   autoExpose.ts
71|   |   |   |   index.tsx
72|   |   |   |   package.json
73|   |   |   |   preload.d.ts
74|   |   |   |   rspack.config.ts
75|   |   |   |   tsconfig.json
76|   |   |   |   tsconfig.node.json
77|   |   |   |   tsconfig.node.tsbuildinfo
78|   |   |   |   tsconfig.preload.json
79|   |   |   |   tsconfig.preload.tsbuildinfo
80|   |   |   |   tsconfig.tsbuildinfo
81|   |   |   |
82|   |   |   \
83|   |   |
84|   |   +---desktop-web
85|   |   |   |   index.html
86|   |   |   |   package.json
87|   |   |   |   rsbuild.config.ts
88|   |   |   |   tsconfig.json
89|   |   |   |   tsconfig.node.json
90|   |   |   |   tsconfig.node.tsbuildinfo
91|   |   |   |   tsconfig.web.json
92|   |   |   |   tsconfig.web.tsbuildinfo
93|   |   |   |   vite.config.ts
94|   |   |   |
95|   |   |   +---public
96|   |   |   |
97|   |   |   \---src
98|   |   |       |   app.module.scss
99|   |   |       |   app.module.scss.d.ts
100|   |   |       |   app.tsx
101|   |   |       |   index.tsx
102|   |   |       |
103|   |   |       +---@types
104|   |   |       |
105|   |   |       +---actions
106|   |   |       |
107|   |   |       +---api
108|   |   |       |
109|   |   |       +---assets
110|   |   |       |
111|   |   |       +---components
112|   |   |       |
113|   |   |       +---features
114|   |   |       |
115|   |   |       +---hooks
116|   |   |       |
117|   |   |       +---layout
118|   |   |       |
119|   |   |       +---menus
120|   |   |       |
121|   |   |       +---pages
122|   |   |       |
123|   |   |       +---plugins
124|   |   |       |
125|   |   |       +---router
126|   |   |       |
127|   |   |       +---scss
128|   |   |       |
129|   |   |       \---themes
130|   |   |
131|   |   +---framework
132|   |   |   |   index.tsx
133|   |   |   |   package.json
134|   |   |   |   process.ts
135|   |   |   |   tsconfig.json
136|   |   |   |   tsconfig.tsbuildinfo
137|   |   |   |
138|   |   |   +---core
139|   |   |   |
140|   |   |   +---exception
141|   |   |   |
142|   |   |   +---filter
143|   |   |   |
144|   |   |   +---ipc
145|   |   |   |
146|   |   |   +---logger
147|   |   |   |
148|   |   |   \
149|   |   |
150|   |   +---out
151|   |   |   +---main
152|   |   |   |
153|   |   |   +---preload
154|   |   |   |
155|   |   |   \---renderer
156|   |   |
157|   |   +---resources
158|   |   |
159|   |   \---scripts
160|   +---docs
161|   |   |   .npmrc
162|   |   |   env.d.ts
163|   |   |   index.css
164|   |   |   package.json
165|   |   |   rspress.config.ts
166|   |   |   tsconfig.json
167|   |   |   typedoc.json
168|   |   |   vite.config.ts
169|   |   |
170|   |   +---docs
171|   |   |   +---public
172|   |   |   |       icon.ico
173|   |   |   |       icon.png
174|   |   |   |
175|   |   |   \---v1
176|   |   |       |   index.mdx
177|   |   |       |   _meta.json
178|   |   |       |
179|   |   |       +---document
180|   |   |       |       index.mdx
181|   |   |       |
182|   |   |       +---learn
183|   |   |       |   |   _meta.json
184|   |   |       |   |
185|   |   |       |   +---dependencies
186|   |   |       |   |       dependencies.mdx
187|   |   |       |   |       devDependencies.mdx
188|   |   |       |   |       index.mdx
189|   |   |       |   |       _meta.json
190|   |   |       |   |
191|   |   |       |   +---installation
192|   |   |       |   |       install.md
193|   |   |       |   |       _meta.json
194|   |   |       |   |
195|   |   |       |   +---menus
196|   |   |       |   |       index.mdx
197|   |   |       |   |       _meta.json
198|   |   |       |   |
199|   |   |       |   +---start
200|   |   |       |   |       introduce.mdx
201|   |   |       |   |       quickStart.mdx
202|   |   |       |   |       _meta.json
203|   |   |       |   |
204|   |   |       |   +---structure
205|   |   |       |   |       app.md
206|   |   |       |   |       git.md
207|   |   |       |   |       typescript.md
208|   |   |       |   |       _meta.json
209|   |   |       |   |
210|   |   |       |   \---technology
211|   |   |       |           core.md
212|   |   |       |           manage.md
213|   |   |       |           structure.md
214|   |   |       |           test.md
215|   |   |       |           typescript.md
216|   |   |       |           web-ui.md
217|   |   |       |           _meta.json
218|   |   |       |
219|   |   |       \---specification
220|   |   |               typescript.mdx
221|   |   |               _meta.json
222|   |   |
223|   |   +---node_modules
224|   |   |   +---.bin
225|   |   |   |       acorn
226|   |   |   |       acorn.CMD
227|   |   |   |       acorn.ps1
228|   |   |   |       browserslist
229|   |   |   |       browserslist.CMD
230|   |   |   |       browserslist.ps1
231|   |   |   |       rsbuild
232|   |   |   |       rsbuild.CMD
233|   |   |   |       rsbuild.ps1
234|   |   |   |       rspress
235|   |   |   |       rspress.CMD
236|   |   |   |       rspress.ps1
237|   |   |   |       webpack
238|   |   |   |       webpack.CMD
239|   |   |   |       webpack.ps1
240|   |   |   |
241|   |   |   +---.rspress
242|   |   |   |   \---runtime
243|   |   |   |           virtual-global-components.js
244|   |   |   |           virtual-global-styles.js
245|   |   |   |           virtual-i18n-text.js
246|   |   |   |           virtual-prism-languages.js
247|   |   |   |           virtual-routes.js
248|   |   |   |           virtual-search-hooks.js
249|   |   |   |           virtual-search-index-hash.js
250|   |   |   |           virtual-site-data.mjs
251|   |   |   |
252|   |   |   +---@rapid
253|   |   |   |   +---config
254|   |   |   |   |   |   electron-main.ts
255|   |   |   |   |   |   electron-web.ts
256|   |   |   |   |   |   package.json
257|   |   |   |   |   |   structure.ts
258|   |   |   |   |   |   tsconfig.json
259|   |   |   |   |   |   tsconfig.node.json
260|   |   |   |   |   |   tsconfig.node.tsbuildinfo
261|   |   |   |   |   |   tsconfig.tsbuildinfo
262|   |   |   |   |   |   tsconfig.web.json
263|   |   |   |   |   |   tsconfig.web.tsbuildinfo
264|   |   |   |   |   |
265|   |   |   |   |   +---@types
266|   |   |   |   |   |       index.d.ts
267|   |   |   |   |   |       module.d.ts
268|   |   |   |   |   |
269|   |   |   |   |   +---constants
270|   |   |   |   |   |       config.ts
271|   |   |   |   |   |       index.tsx
272|   |   |   |   |   |       others.ts
273|   |   |   |   |   |       store.ts
274|   |   |   |   |   |       systemInfo.ts
275|   |   |   |   |   |
276|   |   |   |   |   \---resources
277|   |   |   |   |           index.tsx
278|   |   |   |   |
279|   |   |   |   +---libs
280|   |   |   |   +---libs-web
281|   |   |   |   |   |   index.tsx
282|   |   |   |   |   |   package.json
283|   |   |   |   |   |   tsconfig.json
284|   |   |   |   |   |   tsconfig.tsbuildinfo
285|   |   |   |   |   |
286|   |   |   |   |   +---@types
287|   |   |   |   |   |       index.d.ts
288|   |   |   |   |   |       router.d.ts
289|   |   |   |   |   |
290|   |   |   |   |   +---common
291|   |   |   |   |   |       clipboard.ts
292|   |   |   |   |   |       common.test.ts
293|   |   |   |   |   |       common.ts
294|   |   |   |   |   |       dom.ts
295|   |   |   |   |   |       index.tsx
296|   |   |   |   |   |
297|   |   |   |   |   +---components
298|   |   |   |   |   |   +---IMessage
299|   |   |   |   |   |   |       index.tsx
300|   |   |   |   |   |   |
301|   |   |   |   |   |   +---Redirect
302|   |   |   |   |   |   |       index.tsx
303|   |   |   |   |   |   |
304|   |   |   |   |   |   \---Subfield
305|   |   |   |   |   |           index.module.scss
306|   |   |   |   |   |           index.module.scss.d.ts
307|   |   |   |   |   |           index.tsx
308|   |   |   |   |   |
309|   |   |   |   |   +---hooks
310|   |   |   |   |   |       index.tsx
311|   |   |   |   |   |       useAsyncEffect.tsx
312|   |   |   |   |   |       useColumns.tsx
313|   |   |   |   |   |       useDebounce.tsx
314|   |   |   |   |   |       useDependencies.tsx
315|   |   |   |   |   |       useEventListener.tsx
316|   |   |   |   |   |       useModalAttrs.tsx
317|   |   |   |   |   |       useOverScreenSize.tsx
318|   |   |   |   |   |       usePagination.tsx
319|   |   |   |   |   |       useReactive.tsx
320|   |   |   |   |   |       useRefresh.tsx
321|   |   |   |   |   |       useTableAttrs.tsx
322|   |   |   |   |   |       useWindowSize.tsx
323|   |   |   |   |   |
324|   |   |   |   |   +---router
325|   |   |   |   |   |
326|   |   |   |   |   \---styled
327|   |   |   |   |
328|   |   |   |   \---validates
329|   |   |   |       |   index.tsx
330|   |   |   |       |   package.json
331|   |   |   |       |   tsconfig.json
332|   |   |   |       |   tsconfig.tsbuildinfo
333|   |   |   |       |
334|   |   |   |       \---node_modules
335|   |   |   |
336|   |   |   \---rspress
337|   |   |       |   config.ts
338|   |   |       |   LICENSE
339|   |   |       |   package.json
340|   |   |       |   README.md
341|   |   |       |   runtime.ts
342|   |   |       |   theme.ts
343|   |   |       |
344|   |   |       +---bin
345|   |   |       |       rspress.js
346|   |   |       |
347|   |   |       +---dist
348|   |   |       |       index.d.ts
349|   |   |       |       index.js
350|   |   |       |
351|   |   |       \
352|   |   |
353|   |   +---src
354|   |   |   \---components
355|   |   |       +---Footer
356|   |   |       |       index.module.scss
357|   |   |       |       index.tsx
358|   |   |       |
359|   |   |       \---Home
360|   |   |               index.tsx
361|   |   |
362|   |   \---theme
363|   |           global.css
364|   |           index.tsx
365|   |
366|   \---website
367|       |   .env.dev
368|       |   .env.prod
369|       |   .gitignore
370|       |   auto.ps1
371|       |   components.d.ts
372|       |   index.html
373|       |   package.json
374|       |   pnpm-lock.yaml
375|       |   rsbuild.config.ts
376|       |   tsconfig.json
377|       |   vite.config.ts
378|       |   vite.config.util.ts
379|       |
380|
381+---packages
382|   +---config
383|   |   |   electron-main.ts
384|   |   |   electron-web.ts
385|   |   |   package.json
386|   |   |   structure.ts
387|   |   |   tsconfig.json
388|   |   |   tsconfig.node.json
389|   |   |   tsconfig.node.tsbuildinfo
390|   |   |   tsconfig.tsbuildinfo
391|   |   |   tsconfig.web.json
392|   |   |   tsconfig.web.tsbuildinfo
393|   |   |
394|   |   +---@types
395|   |   |
396|   |   +---constants
397|   |   |
398|   |   \---resources
399|   |
400|   +---libs-web
401|   |   |
402|   |   +---@types
403|   |   |
404|   |   +---common
405|   |   |
406|   |   +---components
407|   |   |   +---IMessage
408|   |   |   |
409|   |   |   +---Redirect
410|   |   |   |
411|   |   |   \---Subfield
412|   |   |
413|   |   +---hooks
414|   |   |
415|   |   +---router
416|   |   |
417|   |   \---styled
418|   |
419|   \---validates
420|       |   index.tsx
421|       |   package.json
422|       |   tsconfig.json
423|       |   tsconfig.tsbuildinfo
424|       |
425|       \
426\---put
427    |   package.json
428    |   putAll.ts
429    |   putDocs.ts
430    |   putWebsite.ts
431    |   tsconfig.json
432    |
433    \---libs