taon 19.0.6 → 19.0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (219) hide show
  1. package/README.md +175 -175
  2. package/bin/start.js +279 -279
  3. package/bin/taon +6 -6
  4. package/bin/taon-debug +5 -5
  5. package/bin/taon-debug-brk +5 -5
  6. package/browser/README.md +24 -24
  7. package/browser/fesm2022/taon.mjs +4040 -4072
  8. package/browser/fesm2022/taon.mjs.map +1 -1
  9. package/browser/lib/base-classes/base-angular-service.d.ts +14 -0
  10. package/browser/lib/base-classes/base-custom-repository.d.ts +4 -0
  11. package/browser/lib/base-classes/base-entity.d.ts +9 -0
  12. package/browser/lib/base-classes/base-injector.d.ts +15 -9
  13. package/browser/lib/base-classes/base-repository.d.ts +27 -13
  14. package/browser/lib/base-classes/base.d.ts +8 -4
  15. package/browser/lib/create-context.d.ts +2 -1
  16. package/browser/lib/endpoint-context.d.ts +6 -5
  17. package/browser/lib/index.d.ts +7 -6
  18. package/browser/package.json +1 -1
  19. package/cli.js.map +1 -1
  20. package/client/README.md +24 -24
  21. package/client/fesm2022/taon.mjs +4040 -4072
  22. package/client/fesm2022/taon.mjs.map +1 -1
  23. package/client/lib/base-classes/base-angular-service.d.ts +14 -0
  24. package/client/lib/base-classes/base-custom-repository.d.ts +4 -0
  25. package/client/lib/base-classes/base-entity.d.ts +9 -0
  26. package/client/lib/base-classes/base-injector.d.ts +15 -9
  27. package/client/lib/base-classes/base-repository.d.ts +27 -13
  28. package/client/lib/base-classes/base.d.ts +8 -4
  29. package/client/lib/create-context.d.ts +2 -1
  30. package/client/lib/endpoint-context.d.ts +6 -5
  31. package/client/lib/index.d.ts +7 -6
  32. package/client/package.json +1 -1
  33. package/index.js.map +1 -1
  34. package/lib/base-classes/base-abstract-entity.js.map +1 -1
  35. package/lib/base-classes/base-angular-service.d.ts +10 -0
  36. package/lib/base-classes/base-angular-service.js +19 -0
  37. package/lib/base-classes/base-angular-service.js.map +1 -0
  38. package/lib/base-classes/base-class.js.map +1 -1
  39. package/lib/base-classes/base-context.js.map +1 -1
  40. package/lib/base-classes/base-controller.js.map +1 -1
  41. package/lib/base-classes/base-crud-controller.js.map +1 -1
  42. package/lib/base-classes/base-custom-repository.d.ts +3 -0
  43. package/lib/base-classes/base-custom-repository.js +19 -0
  44. package/lib/base-classes/base-custom-repository.js.map +1 -0
  45. package/lib/base-classes/base-entity.d.ts +10 -1
  46. package/lib/base-classes/base-entity.js +13 -2
  47. package/lib/base-classes/base-entity.js.map +1 -1
  48. package/lib/base-classes/base-injector.d.ts +15 -9
  49. package/lib/base-classes/base-injector.js +19 -17
  50. package/lib/base-classes/base-injector.js.map +1 -1
  51. package/lib/base-classes/base-migration.js.map +1 -1
  52. package/lib/base-classes/base-provider.js.map +1 -1
  53. package/lib/base-classes/base-repository.d.ts +25 -12
  54. package/lib/base-classes/base-repository.js +32 -80
  55. package/lib/base-classes/base-repository.js.map +1 -1
  56. package/lib/base-classes/base-subscriber-for-entity.js.map +1 -1
  57. package/lib/base-classes/base-subscriber.d.ts +4 -0
  58. package/lib/base-classes/base-subscriber.js +25 -0
  59. package/lib/base-classes/base-subscriber.js.map +1 -0
  60. package/lib/base-classes/base.d.ts +8 -4
  61. package/lib/base-classes/base.js +9 -5
  62. package/lib/base-classes/base.js.map +1 -1
  63. package/lib/build-info._auto-generated_.d.ts +1 -1
  64. package/lib/build-info._auto-generated_.js +1 -1
  65. package/lib/build-info._auto-generated_.js.map +1 -1
  66. package/lib/constants.js.map +1 -1
  67. package/lib/context-db-migrations.js.map +1 -1
  68. package/lib/create-context.d.ts +1 -0
  69. package/lib/create-context.js +1 -5
  70. package/lib/create-context.js.map +1 -1
  71. package/lib/decorators/classes/controller-decorator.js.map +1 -1
  72. package/lib/decorators/classes/entity-decorator.js.map +1 -1
  73. package/lib/decorators/classes/migration-decorator.js.map +1 -1
  74. package/lib/decorators/classes/provider-decorator.js.map +1 -1
  75. package/lib/decorators/classes/repository-decorator.js.map +1 -1
  76. package/lib/decorators/classes/subscriber-decorator.js.map +1 -1
  77. package/lib/decorators/http/http-decorators.js.map +1 -1
  78. package/lib/decorators/http/http-methods-decorators.js.map +1 -1
  79. package/lib/decorators/http/http-params-decorators.js.map +1 -1
  80. package/lib/dependency-injection/di-container.js.map +1 -1
  81. package/lib/endpoint-context.d.ts +8 -5
  82. package/lib/endpoint-context.js +170 -179
  83. package/lib/endpoint-context.js.map +1 -1
  84. package/lib/entity-process.js.map +1 -1
  85. package/lib/env.js.map +1 -1
  86. package/lib/formly/formly-group-wrapper-component.js.map +1 -1
  87. package/lib/formly/formly-repeat-component.js.map +1 -1
  88. package/lib/formly/formly.models.js.map +1 -1
  89. package/lib/formly/fromly.js.map +1 -1
  90. package/lib/formly/type-from-entity.js.map +1 -1
  91. package/lib/get-response-value.js.map +1 -1
  92. package/lib/helpers/class-helpers.js.map +1 -1
  93. package/lib/helpers/taon-helpers.js.map +1 -1
  94. package/lib/index._auto-generated_.js.map +1 -1
  95. package/lib/index.d.ts +7 -6
  96. package/lib/index.js +11 -10
  97. package/lib/index.js.map +1 -1
  98. package/lib/inject.js +3 -1
  99. package/lib/inject.js.map +1 -1
  100. package/lib/models.js.map +1 -1
  101. package/lib/orm.d.ts +15 -2
  102. package/lib/orm.js +41 -3
  103. package/lib/orm.js.map +1 -1
  104. package/lib/realtime/realtime-client.js.map +1 -1
  105. package/lib/realtime/realtime-core.js.map +1 -1
  106. package/lib/realtime/realtime-server.js.map +1 -1
  107. package/lib/realtime/realtime-strategy/index.js.map +1 -1
  108. package/lib/realtime/realtime-strategy/realtime-abstract-mock.d.ts +10 -0
  109. package/lib/realtime/realtime-strategy/realtime-abstract-mock.js +214 -0
  110. package/lib/realtime/realtime-strategy/realtime-abstract-mock.js.map +1 -0
  111. package/lib/realtime/realtime-strategy/realtime-strategy-ipc-models/index.d.ts +0 -0
  112. package/lib/realtime/realtime-strategy/realtime-strategy-ipc-models/index.js +5 -0
  113. package/lib/realtime/realtime-strategy/realtime-strategy-ipc-models/index.js.map +1 -0
  114. package/lib/realtime/realtime-strategy/realtime-strategy-ipc-models/realtime-strategy-ipc-main-namespace.d.ts +22 -0
  115. package/lib/realtime/realtime-strategy/realtime-strategy-ipc-models/realtime-strategy-ipc-main-namespace.js +139 -0
  116. package/lib/realtime/realtime-strategy/realtime-strategy-ipc-models/realtime-strategy-ipc-main-namespace.js.map +1 -0
  117. package/lib/realtime/realtime-strategy/realtime-strategy-ipc-models/realtime-strategy-ipc-main-wrapper.d.ts +16 -0
  118. package/lib/realtime/realtime-strategy/realtime-strategy-ipc-models/realtime-strategy-ipc-main-wrapper.js +68 -0
  119. package/lib/realtime/realtime-strategy/realtime-strategy-ipc-models/realtime-strategy-ipc-main-wrapper.js.map +1 -0
  120. package/lib/realtime/realtime-strategy/realtime-strategy-ipc-models/realtime-strategy-ipc-renderer-namespace.d.ts +10 -0
  121. package/lib/realtime/realtime-strategy/realtime-strategy-ipc-models/realtime-strategy-ipc-renderer-namespace.js +56 -0
  122. package/lib/realtime/realtime-strategy/realtime-strategy-ipc-models/realtime-strategy-ipc-renderer-namespace.js.map +1 -0
  123. package/lib/realtime/realtime-strategy/realtime-strategy-ipc-models/realtime-strategy-ipc-renderer-wrapper.d.ts +10 -0
  124. package/lib/realtime/realtime-strategy/realtime-strategy-ipc-models/realtime-strategy-ipc-renderer-wrapper.js +50 -0
  125. package/lib/realtime/realtime-strategy/realtime-strategy-ipc-models/realtime-strategy-ipc-renderer-wrapper.js.map +1 -0
  126. package/lib/realtime/realtime-strategy/realtime-strategy-ipc-models/realtime-strategy-ipc.models.d.ts +13 -0
  127. package/lib/realtime/realtime-strategy/realtime-strategy-ipc-models/realtime-strategy-ipc.models.js +3 -0
  128. package/lib/realtime/realtime-strategy/realtime-strategy-ipc-models/realtime-strategy-ipc.models.js.map +1 -0
  129. package/lib/realtime/realtime-strategy/realtime-strategy-ipc.js.map +1 -1
  130. package/lib/realtime/realtime-strategy/realtime-strategy-mock-models/index.d.ts +2 -0
  131. package/lib/realtime/realtime-strategy/realtime-strategy-mock-models/index.js +6 -0
  132. package/lib/realtime/realtime-strategy/realtime-strategy-mock-models/index.js.map +1 -0
  133. package/lib/realtime/realtime-strategy/realtime-strategy-mock-models/realtime-strategy-mock-client.d.ts +16 -0
  134. package/lib/realtime/realtime-strategy/realtime-strategy-mock-models/realtime-strategy-mock-client.js +54 -0
  135. package/lib/realtime/realtime-strategy/realtime-strategy-mock-models/realtime-strategy-mock-client.js.map +1 -0
  136. package/lib/realtime/realtime-strategy/realtime-strategy-mock-models/realtime-strategy-mock-namespaces.d.ts +17 -0
  137. package/lib/realtime/realtime-strategy/realtime-strategy-mock-models/realtime-strategy-mock-namespaces.js +52 -0
  138. package/lib/realtime/realtime-strategy/realtime-strategy-mock-models/realtime-strategy-mock-namespaces.js.map +1 -0
  139. package/lib/realtime/realtime-strategy/realtime-strategy-mock-models/realtime-strategy-mock-server.d.ts +11 -0
  140. package/lib/realtime/realtime-strategy/realtime-strategy-mock-models/realtime-strategy-mock-server.js +39 -0
  141. package/lib/realtime/realtime-strategy/realtime-strategy-mock-models/realtime-strategy-mock-server.js.map +1 -0
  142. package/lib/realtime/realtime-strategy/realtime-strategy-mock-models/realtime-strategy-mock-socket.d.ts +13 -0
  143. package/lib/realtime/realtime-strategy/realtime-strategy-mock-models/realtime-strategy-mock-socket.js +46 -0
  144. package/lib/realtime/realtime-strategy/realtime-strategy-mock-models/realtime-strategy-mock-socket.js.map +1 -0
  145. package/lib/realtime/realtime-strategy/realtime-strategy-mock-models/realtime-strategy-mock.models.d.ts +11 -0
  146. package/lib/realtime/realtime-strategy/realtime-strategy-mock-models/realtime-strategy-mock.models.js +3 -0
  147. package/lib/realtime/realtime-strategy/realtime-strategy-mock-models/realtime-strategy-mock.models.js.map +1 -0
  148. package/lib/realtime/realtime-strategy/realtime-strategy-mock.js.map +1 -1
  149. package/lib/realtime/realtime-strategy/realtime-strategy-socket-io.js.map +1 -1
  150. package/lib/realtime/realtime-strategy/realtime-strategy.js.map +1 -1
  151. package/lib/realtime/realtime-subs-manager.js.map +1 -1
  152. package/lib/realtime/realtime.models.js.map +1 -1
  153. package/lib/storage.js.map +1 -1
  154. package/lib/symbols.js.map +1 -1
  155. package/lib/ui/directives/firedev-inject-html.directive.d.ts +6 -0
  156. package/lib/ui/directives/firedev-long-press.directive.d.ts +22 -0
  157. package/lib/ui/directives/index.js +2 -2
  158. package/lib/ui/directives/index.js.map +1 -1
  159. package/lib/ui/directives/view-mode.js.map +1 -1
  160. package/lib/ui/index.js +2 -2
  161. package/lib/ui/index.js.map +1 -1
  162. package/lib/ui/taon-admin-mode-configuration/components/taon-admin-edit-mode/index.d.ts +2 -0
  163. package/lib/ui/taon-admin-mode-configuration/components/taon-admin-edit-mode/index.js +5 -0
  164. package/lib/ui/taon-admin-mode-configuration/components/taon-admin-edit-mode/index.js.map +1 -0
  165. package/lib/ui/taon-admin-mode-configuration/components/taon-admin-edit-mode/taon-admin-edit-mode.component.d.ts +29 -0
  166. package/lib/ui/taon-admin-mode-configuration/components/taon-admin-edit-mode/taon-admin-edit-mode.module.d.ts +2 -0
  167. package/lib/ui/taon-admin-mode-configuration/components/taon-db-admin/index.d.ts +1 -0
  168. package/lib/ui/taon-admin-mode-configuration/components/taon-db-admin/index.js +5 -0
  169. package/lib/ui/taon-admin-mode-configuration/components/taon-db-admin/index.js.map +1 -0
  170. package/lib/ui/taon-admin-mode-configuration/components/taon-db-admin/taon-db-admin.component.d.ts +8 -0
  171. package/lib/ui/taon-admin-mode-configuration/components/taon-file-general-opt/index.d.ts +2 -0
  172. package/lib/ui/taon-admin-mode-configuration/components/taon-file-general-opt/index.js +5 -0
  173. package/lib/ui/taon-admin-mode-configuration/components/taon-file-general-opt/index.js.map +1 -0
  174. package/lib/ui/taon-admin-mode-configuration/components/taon-file-general-opt/taon-file-general-opt.component.d.ts +13 -0
  175. package/lib/ui/taon-admin-mode-configuration/components/taon-file-general-opt/taon-file-general-opt.module.d.ts +2 -0
  176. package/lib/ui/taon-admin-mode-configuration/index.js +2 -2
  177. package/lib/ui/taon-admin-mode-configuration/index.js.map +1 -1
  178. package/lib/ui/taon-admin-mode-configuration/models/taon-admin-mode-tabs.d.ts +5 -0
  179. package/lib/ui/taon-admin-mode-configuration/models/taon-admin-mode-tabs.js +3 -0
  180. package/lib/ui/taon-admin-mode-configuration/models/taon-admin-mode-tabs.js.map +1 -0
  181. package/lib/ui/taon-admin-mode-configuration/taon-admin-control.service.d.ts +14 -0
  182. package/lib/ui/taon-admin-mode-configuration/taon-admin-mode-configuration.module.d.ts +2 -0
  183. package/lib/ui/taon-admin-mode-configuration/taon-admin.models.js.map +1 -1
  184. package/lib/ui/taon-github-fork-me-corner/index.js +2 -2
  185. package/lib/ui/taon-github-fork-me-corner/index.js.map +1 -1
  186. package/lib/ui/taon-github-fork-me-ribbon/index.js +2 -2
  187. package/lib/ui/taon-github-fork-me-ribbon/index.js.map +1 -1
  188. package/lib/ui/taon-notifications/index.js.map +1 -1
  189. package/lib/ui/taon-notifications/taon-notifications.models.js +2 -2
  190. package/lib/ui/taon-notifications/taon-notifications.models.js.map +1 -1
  191. package/lib/ui/taon-progress-bar/index.js +2 -2
  192. package/lib/ui/taon-progress-bar/index.js.map +1 -1
  193. package/lib/ui/taon-session-passcode/index.js +2 -2
  194. package/lib/ui/taon-session-passcode/index.js.map +1 -1
  195. package/lib/ui/taon-table/index.js +2 -2
  196. package/lib/ui/taon-table/index.js.map +1 -1
  197. package/lib/ui/taon.models.js.map +1 -1
  198. package/lib/ui/toan-full-material.module.d.ts +2 -0
  199. package/lib/validators.js.map +1 -1
  200. package/migrations/index.js.map +1 -1
  201. package/migrations/migrations_index._auto-generated_.js.map +1 -1
  202. package/old-app .js.map +1 -1
  203. package/package.json +1 -1
  204. package/playground.js.map +1 -1
  205. package/tmp-environment.json +3 -3
  206. package/websql/README.md +24 -24
  207. package/websql/fesm2022/taon.mjs +4771 -4745
  208. package/websql/fesm2022/taon.mjs.map +1 -1
  209. package/websql/lib/base-classes/base-angular-service.d.ts +14 -0
  210. package/websql/lib/base-classes/base-custom-repository.d.ts +4 -0
  211. package/websql/lib/base-classes/base-entity.d.ts +9 -0
  212. package/websql/lib/base-classes/base-injector.d.ts +15 -9
  213. package/websql/lib/base-classes/base-repository.d.ts +25 -12
  214. package/websql/lib/base-classes/base.d.ts +8 -4
  215. package/websql/lib/create-context.d.ts +2 -1
  216. package/websql/lib/endpoint-context.d.ts +8 -5
  217. package/websql/lib/index.d.ts +7 -6
  218. package/websql/lib/orm.d.ts +15 -2
  219. package/websql/package.json +1 -1
package/README.md CHANGED
@@ -1,175 +1,175 @@
1
- <p style="text-align: center;"><img src="./images/logo-header-bold-taon.png" ></p>
2
-
3
- <!-- cspell: disable-next-line -->
4
- TAON **T**ypescript **A**ngular **O**rm **N**ode )
5
-
6
-
7
- ( BETA VERSION - MAJOR REFACTOR IN PROGRESS )
8
-
9
- **Taon** 🔥🔥🔥 is a solution (**global cli tool** & **framework** & **cloud**) for
10
-
11
- \+
12
- [TypesScript](https://www.typescriptlang.org/) isomorphic libraries/backends/frontends
13
-
14
- \+
15
- [Angular](https://angular.io/) libraries and PWA-s
16
-
17
- \+ Databases with Orm ([TypeORM](https://typeorm.io/)) <br>
18
- - [sql.js](https://sql.js.org) - NodeJs Server Mode <br>
19
- - [sql.js](https://sql.js.org) - WEBSQL Server Mode (backend in browser) <br>
20
- - [mysql](https://www.mysql.com/) - Mysql Server Mode (inside docker) <br>
21
-
22
- \+
23
- [NodeJS](https://nodejs.org/en/) backends
24
-
25
- \+
26
- [Electron](https://www.electronjs.org/) desktop apps
27
-
28
- \+
29
- [Ionic](https://www.electronjs.org/) mobile apps
30
-
31
- \+
32
- [Visual Studio Code](https://www.electronjs.org/) plugins
33
-
34
- \+ Documentation:<br>
35
- - [MkDocs](https://www.mkdocs.org/) beautifull material wrapper for *.md docs files <br>
36
- - [Storybook](https://storybook.js.org/docs/get-started/angular) ui elements documentation <br>
37
- - [Compodoc](https://compodoc.app/) docs from comments <br>
38
-
39
- backend/frontend **[*isomorphic](https://en.wikipedia.org/wiki/Isomorphic_JavaScript)** apps/libs.
40
-
41
- **[READ DOCUMENTATION](https://taon.dev/#/docs)**
42
-
43
- ### Initial requirements of taon
44
- 1. Git (gitbash [https://gitforwindows.org](https://gitforwindows.org) on windows)
45
-
46
- 2. Increased watchers limit (only on linux):
47
- ```bash
48
- echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p
49
- ```
50
- 3. Installed [python3](https://www.python.org/downloads/release/python-3123/)
51
- and [mkdocs](https://www.mkdocs.org/user-guide/installation/):<br>
52
-
53
- Windwos/Linux
54
- ```bash
55
- pip3 install mkdocs
56
- pip3 install mkdocs-material --user
57
- ```
58
- MacOs
59
- ```bash
60
- brew install mkdocs
61
- brew install mkdocs-material
62
- ```
63
-
64
- ## Supported OS-es:
65
- - Win10, Win11 (gitbash)
66
- - MacOS
67
- - Linux
68
-
69
-
70
- ## Required version of NodeJS
71
- - Windows 10/11 (gitbash): >= v18
72
- - MacOS: >= v18
73
- - Linux: >= v18
74
-
75
-
76
- ## How to install taon
77
- ```
78
- npm i -g taon
79
- ```
80
-
81
-
82
- ## How to uninstall taon from local machine
83
- Taon stores a big global container (in ~/.taon) for npm packages <br>
84
- that are being shared across all taon projects.
85
-
86
- ```bash
87
- npm uninstall -g taon
88
- rm -rf ~/.taon # taon local packages repository
89
- ```
90
-
91
-
92
- ## Projects that are part of taon.dev:
93
- - taon https://github.com/darekf77/taon
94
- + framework library
95
- - tnp https://github.com/darekf77/tnp
96
- + main cli / code structuring tool
97
- - taon-core https://github.com/darekf77/tnp-core
98
- + essential/core helpers for all projects
99
- - taon-class-helpers https://github.com/darekf77/typescript-class-helpers
100
- + helpers for OOP class names based
101
- - taon-config https://github.com/darekf77/tnp-config
102
- + config/models for general purpose
103
- - taon-cli https://github.com/darekf77/tnp-cli
104
- + helpers/abstraction for global cli tools NodeJS based
105
- - taon-helpers https://github.com/darekf77/tnp-helpers
106
- + extended core helpers
107
- - taon-json https://github.com/darekf77/json10
108
- + handle JSON in better way
109
- - taon-logger https://github.com/darekf77/ng2-logger
110
- + logging in isomorphic apps
111
- - taon-typeorm https://github.com/darekf77/taon-typeorm
112
- + TypeOrm fork
113
- - taon-type-sql https://github.com/darekf77/taon-type-sql
114
- + strongly type sql
115
- - taon-rest https://github.com/darekf77/ng2-rest
116
- + easy rest api
117
- - taon-incremental-watcher https://github.com/darekf77/incremental-compiler
118
- + abstraction for incremental builders NodeJS based
119
- - taon-storage https://github.com/darekf77/taon-storage
120
- + ts decorators based storage solution
121
- - taon-walk-object https://github.com/darekf77/lodash-walk-object
122
- + iterate over deep properties in object
123
-
124
-
125
-
126
- ## Global npm dependencies installed with taon
127
- Installation happens when you first time use taon
128
- ```jsonc
129
- [
130
- // tool for minifying js (WILL EB REMOVED SOON FROM GLOBAL DEPS)
131
- { name: 'ncc', version: '0.36.0', installName: '@vercel/ncc' },
132
- // zip extractor.. no needed anymore (WILL EB REMOVED SOON FROM GLOBAL DEPS)
133
- { name: 'extract-zip', version: '1.6.7' },
134
- // copy catalogs (WILL EB REMOVED SOON FROM GLOBAL DEPS)
135
- { name: 'cpr' },
136
- // check version of your nodejs
137
- { name: 'check-node-version' },
138
- // alternative not npx ( it wil not download package from npm if is not installed )
139
- { name: 'npm-run', version: '4.1.2' },
140
- //handy for removing files
141
- { name: 'rimraf', version: '3.0.2' },
142
- //handy for recreating catalogs
143
- { name: 'mkdirp' },
144
- // rename files in build (WILL EB REMOVED SOON FROM GLOBAL DEPS)
145
- { name: 'renamer', version: '2.0.1' },
146
- // run/watch node server (WILL EB REMOVED SOON FROM GLOBAL DEPS)
147
- { name: 'nodemon' },
148
- // check circural deps (WILL EB REMOVED SOON FROM GLOBAL DEPS)
149
- { name: 'madge' },
150
- // package manager
151
- { name: 'yarn' },
152
- // https server with --base-href
153
- { name: 'taon-http-server' },
154
- // code formatter
155
- { name: 'prettier' },
156
- // process killer
157
- { name: 'fkill', installName: 'fkill-cli' },
158
- // for unit tests runner (WILL EB REMOVED SOON FROM GLOBAL DEPS)
159
- { name: 'mocha' },
160
- // for unit tests runner
161
- { name: 'jest' },
162
- // run ts code directly
163
- { name: 'ts-node' },
164
- // oficial vsce package striped out from some restrictions
165
- { name: 'taon-vsce' },
166
- // analyze you final bundle (WILL EB REMOVED SOON FROM GLOBAL DEPS)
167
- { name: 'webpack-bundle-analyzer' },
168
- // strip types from TypeScript
169
- { name: 'babel', installName: 'babel-cli' },
170
- // create js bundle that are not human readable (WILL EB REMOVED SOON FROM GLOBAL DEPS)
171
- { name: 'javascript-obfuscator', version: '4' },
172
- // minify js (WILL EB REMOVED SOON FROM GLOBAL DEPS)
173
- { name: 'uglifyjs', installName: 'uglify-js' },
174
- ]
175
- ```
1
+ <p style="text-align: center;"><img src="./images/logo-header-bold-taon.png" ></p>
2
+
3
+ <!-- cspell: disable-next-line -->
4
+ TAON **T**ypescript **A**ngular **O**rm **N**ode )
5
+
6
+
7
+ ( BETA VERSION - MAJOR REFACTOR IN PROGRESS )
8
+
9
+ **Taon** 🔥🔥🔥 is a solution (**global cli tool** & **framework** & **cloud**) for
10
+
11
+ \+
12
+ [TypesScript](https://www.typescriptlang.org/) isomorphic libraries/backends/frontends
13
+
14
+ \+
15
+ [Angular](https://angular.io/) libraries and PWA-s
16
+
17
+ \+ Databases with Orm ([TypeORM](https://typeorm.io/)) <br>
18
+ - [sql.js](https://sql.js.org) - NodeJs Server Mode <br>
19
+ - [sql.js](https://sql.js.org) - WEBSQL Server Mode (backend in browser) <br>
20
+ - [mysql](https://www.mysql.com/) - Mysql Server Mode (inside docker) <br>
21
+
22
+ \+
23
+ [NodeJS](https://nodejs.org/en/) backends
24
+
25
+ \+
26
+ [Electron](https://www.electronjs.org/) desktop apps
27
+
28
+ \+
29
+ [Ionic](https://www.electronjs.org/) mobile apps
30
+
31
+ \+
32
+ [Visual Studio Code](https://www.electronjs.org/) plugins
33
+
34
+ \+ Documentation:<br>
35
+ - [MkDocs](https://www.mkdocs.org/) beautifull material wrapper for *.md docs files <br>
36
+ - [Storybook](https://storybook.js.org/docs/get-started/angular) ui elements documentation <br>
37
+ - [Compodoc](https://compodoc.app/) docs from comments <br>
38
+
39
+ backend/frontend **[*isomorphic](https://en.wikipedia.org/wiki/Isomorphic_JavaScript)** apps/libs.
40
+
41
+ **[READ DOCUMENTATION](https://taon.dev/#/docs)**
42
+
43
+ ### Initial requirements of taon
44
+ 1. Git (gitbash [https://gitforwindows.org](https://gitforwindows.org) on windows)
45
+
46
+ 2. Increased watchers limit (only on linux):
47
+ ```bash
48
+ echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p
49
+ ```
50
+ 3. Installed [python3](https://www.python.org/downloads/release/python-3123/)
51
+ and [mkdocs](https://www.mkdocs.org/user-guide/installation/):<br>
52
+
53
+ Windwos/Linux
54
+ ```bash
55
+ pip3 install mkdocs
56
+ pip3 install mkdocs-material --user
57
+ ```
58
+ MacOs
59
+ ```bash
60
+ brew install mkdocs
61
+ brew install mkdocs-material
62
+ ```
63
+
64
+ ## Supported OS-es:
65
+ - Win10, Win11 (gitbash)
66
+ - MacOS
67
+ - Linux
68
+
69
+
70
+ ## Required version of NodeJS
71
+ - Windows 10/11 (gitbash): >= v18
72
+ - MacOS: >= v18
73
+ - Linux: >= v18
74
+
75
+
76
+ ## How to install taon
77
+ ```
78
+ npm i -g taon
79
+ ```
80
+
81
+
82
+ ## How to uninstall taon from local machine
83
+ Taon stores a big global container (in ~/.taon) for npm packages <br>
84
+ that are being shared across all taon projects.
85
+
86
+ ```bash
87
+ npm uninstall -g taon
88
+ rm -rf ~/.taon # taon local packages repository
89
+ ```
90
+
91
+
92
+ ## Projects that are part of taon.dev:
93
+ - taon https://github.com/darekf77/taon
94
+ + framework library
95
+ - tnp https://github.com/darekf77/tnp
96
+ + main cli / code structuring tool
97
+ - taon-core https://github.com/darekf77/tnp-core
98
+ + essential/core helpers for all projects
99
+ - taon-class-helpers https://github.com/darekf77/typescript-class-helpers
100
+ + helpers for OOP class names based
101
+ - taon-config https://github.com/darekf77/tnp-config
102
+ + config/models for general purpose
103
+ - taon-cli https://github.com/darekf77/tnp-cli
104
+ + helpers/abstraction for global cli tools NodeJS based
105
+ - taon-helpers https://github.com/darekf77/tnp-helpers
106
+ + extended core helpers
107
+ - taon-json https://github.com/darekf77/json10
108
+ + handle JSON in better way
109
+ - taon-logger https://github.com/darekf77/ng2-logger
110
+ + logging in isomorphic apps
111
+ - taon-typeorm https://github.com/darekf77/taon-typeorm
112
+ + TypeOrm fork
113
+ - taon-type-sql https://github.com/darekf77/taon-type-sql
114
+ + strongly type sql
115
+ - taon-rest https://github.com/darekf77/ng2-rest
116
+ + easy rest api
117
+ - taon-incremental-watcher https://github.com/darekf77/incremental-compiler
118
+ + abstraction for incremental builders NodeJS based
119
+ - taon-storage https://github.com/darekf77/taon-storage
120
+ + ts decorators based storage solution
121
+ - taon-walk-object https://github.com/darekf77/lodash-walk-object
122
+ + iterate over deep properties in object
123
+
124
+
125
+
126
+ ## Global npm dependencies installed with taon
127
+ Installation happens when you first time use taon
128
+ ```jsonc
129
+ [
130
+ // tool for minifying js (WILL EB REMOVED SOON FROM GLOBAL DEPS)
131
+ { name: 'ncc', version: '0.36.0', installName: '@vercel/ncc' },
132
+ // zip extractor.. no needed anymore (WILL EB REMOVED SOON FROM GLOBAL DEPS)
133
+ { name: 'extract-zip', version: '1.6.7' },
134
+ // copy catalogs (WILL EB REMOVED SOON FROM GLOBAL DEPS)
135
+ { name: 'cpr' },
136
+ // check version of your nodejs
137
+ { name: 'check-node-version' },
138
+ // alternative not npx ( it wil not download package from npm if is not installed )
139
+ { name: 'npm-run', version: '4.1.2' },
140
+ //handy for removing files
141
+ { name: 'rimraf', version: '3.0.2' },
142
+ //handy for recreating catalogs
143
+ { name: 'mkdirp' },
144
+ // rename files in build (WILL EB REMOVED SOON FROM GLOBAL DEPS)
145
+ { name: 'renamer', version: '2.0.1' },
146
+ // run/watch node server (WILL EB REMOVED SOON FROM GLOBAL DEPS)
147
+ { name: 'nodemon' },
148
+ // check circural deps (WILL EB REMOVED SOON FROM GLOBAL DEPS)
149
+ { name: 'madge' },
150
+ // package manager
151
+ { name: 'yarn' },
152
+ // https server with --base-href
153
+ { name: 'taon-http-server' },
154
+ // code formatter
155
+ { name: 'prettier' },
156
+ // process killer
157
+ { name: 'fkill', installName: 'fkill-cli' },
158
+ // for unit tests runner (WILL EB REMOVED SOON FROM GLOBAL DEPS)
159
+ { name: 'mocha' },
160
+ // for unit tests runner
161
+ { name: 'jest' },
162
+ // run ts code directly
163
+ { name: 'ts-node' },
164
+ // oficial vsce package striped out from some restrictions
165
+ { name: 'taon-vsce' },
166
+ // analyze you final bundle (WILL EB REMOVED SOON FROM GLOBAL DEPS)
167
+ { name: 'webpack-bundle-analyzer' },
168
+ // strip types from TypeScript
169
+ { name: 'babel', installName: 'babel-cli' },
170
+ // create js bundle that are not human readable (WILL EB REMOVED SOON FROM GLOBAL DEPS)
171
+ { name: 'javascript-obfuscator', version: '4' },
172
+ // minify js (WILL EB REMOVED SOON FROM GLOBAL DEPS)
173
+ { name: 'uglifyjs', installName: 'uglify-js' },
174
+ ]
175
+ ```