taon 19.0.68 → 19.0.73
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.
- package/README.md +34 -44
- package/browser/fesm2022/taon.mjs +120 -98
- package/browser/fesm2022/taon.mjs.map +1 -1
- package/browser/lib/base-classes/base-abstract-entity.d.ts +3 -3
- package/browser/lib/base-classes/base-class.d.ts +1 -1
- package/browser/lib/base-classes/base-context.d.ts +2 -2
- package/browser/lib/base-classes/base-controller.d.ts +2 -2
- package/browser/lib/base-classes/base-crud-controller.d.ts +4 -4
- package/browser/lib/base-classes/base-custom-repository.d.ts +2 -2
- package/browser/lib/base-classes/base-entity.d.ts +3 -3
- package/browser/lib/base-classes/base-file-upload.middleware.d.ts +2 -2
- package/browser/lib/base-classes/base-injector.d.ts +6 -6
- package/browser/lib/base-classes/base-middleware.d.ts +3 -3
- package/browser/lib/base-classes/base-migration.d.ts +2 -2
- package/browser/lib/base-classes/base-provider.d.ts +2 -2
- package/browser/lib/base-classes/base-repository.d.ts +3 -3
- package/browser/lib/base-classes/base-subscriber-for-entity.d.ts +2 -2
- package/browser/lib/base-classes/base.d.ts +11 -11
- package/browser/lib/config/method-config.d.ts +2 -2
- package/browser/lib/decorators/http/http-methods-decorators.d.ts +2 -2
- package/browser/lib/endpoint-context.d.ts +2 -2
- package/browser/lib/index.d.ts +10 -10
- package/browser/lib/models.d.ts +4 -0
- package/browser/package.json +1 -1
- package/lib/base-classes/base-abstract-entity.d.ts +3 -3
- package/lib/base-classes/base-abstract-entity.js +7 -7
- package/lib/base-classes/base-abstract-entity.js.map +1 -1
- package/lib/base-classes/base-class.d.ts +1 -1
- package/lib/base-classes/base-class.js +3 -3
- package/lib/base-classes/base-class.js.map +1 -1
- package/lib/base-classes/base-context.d.ts +2 -2
- package/lib/base-classes/base-context.js +6 -6
- package/lib/base-classes/base-context.js.map +1 -1
- package/lib/base-classes/base-controller.d.ts +2 -2
- package/lib/base-classes/base-controller.js +8 -8
- package/lib/base-classes/base-controller.js.map +1 -1
- package/lib/base-classes/base-crud-controller.d.ts +4 -4
- package/lib/base-classes/base-crud-controller.js +19 -19
- package/lib/base-classes/base-crud-controller.js.map +1 -1
- package/lib/base-classes/base-custom-repository.d.ts +2 -2
- package/lib/base-classes/base-custom-repository.js +6 -6
- package/lib/base-classes/base-custom-repository.js.map +1 -1
- package/lib/base-classes/base-entity.d.ts +3 -3
- package/lib/base-classes/base-entity.js +5 -5
- package/lib/base-classes/base-entity.js.map +1 -1
- package/lib/base-classes/base-file-upload.middleware.d.ts +2 -2
- package/lib/base-classes/base-file-upload.middleware.js +6 -6
- package/lib/base-classes/base-file-upload.middleware.js.map +1 -1
- package/lib/base-classes/base-injector.d.ts +6 -6
- package/lib/base-classes/base-injector.js +4 -4
- package/lib/base-classes/base-injector.js.map +1 -1
- package/lib/base-classes/base-middleware.d.ts +3 -3
- package/lib/base-classes/base-middleware.js +3 -3
- package/lib/base-classes/base-middleware.js.map +1 -1
- package/lib/base-classes/base-migration.d.ts +2 -2
- package/lib/base-classes/base-migration.js +5 -5
- package/lib/base-classes/base-migration.js.map +1 -1
- package/lib/base-classes/base-provider.d.ts +2 -2
- package/lib/base-classes/base-provider.js +3 -3
- package/lib/base-classes/base-provider.js.map +1 -1
- package/lib/base-classes/base-repository.d.ts +3 -3
- package/lib/base-classes/base-repository.js +10 -10
- package/lib/base-classes/base-repository.js.map +1 -1
- package/lib/base-classes/base-subscriber-for-entity.d.ts +2 -2
- package/lib/base-classes/base-subscriber-for-entity.js +6 -6
- package/lib/base-classes/base-subscriber-for-entity.js.map +1 -1
- package/lib/base-classes/base.d.ts +11 -11
- package/lib/base-classes/base.js +12 -12
- package/lib/base-classes/base.js.map +1 -1
- package/lib/build-info._auto-generated_.d.ts +1 -1
- package/lib/build-info._auto-generated_.js +1 -1
- package/lib/config/method-config.d.ts +2 -2
- package/lib/context-db-migrations.js.map +1 -1
- package/lib/decorators/http/http-methods-decorators.d.ts +2 -2
- package/lib/endpoint-context.d.ts +2 -2
- package/lib/endpoint-context.js +24 -23
- package/lib/endpoint-context.js.map +1 -1
- package/lib/entity-process.js +1 -1
- package/lib/entity-process.js.map +1 -1
- package/lib/index.d.ts +10 -10
- package/lib/index.js +17 -14
- package/lib/index.js.map +1 -1
- package/lib/inject.js +1 -1
- package/lib/inject.js.map +1 -1
- package/lib/models.d.ts +4 -0
- package/lib/models.js +23 -1
- package/lib/models.js.map +1 -1
- package/lib/realtime/realtime-client.js.map +1 -1
- package/lib/ui/index.js +2 -2
- package/lib/ui/taon-admin-mode-configuration/index.js +2 -2
- package/package.json +2 -11
- package/websql/fesm2022/taon.mjs +128 -106
- package/websql/fesm2022/taon.mjs.map +1 -1
- package/websql/lib/base-classes/base-abstract-entity.d.ts +3 -3
- package/websql/lib/base-classes/base-class.d.ts +1 -1
- package/websql/lib/base-classes/base-context.d.ts +2 -2
- package/websql/lib/base-classes/base-controller.d.ts +2 -2
- package/websql/lib/base-classes/base-crud-controller.d.ts +4 -4
- package/websql/lib/base-classes/base-custom-repository.d.ts +2 -2
- package/websql/lib/base-classes/base-entity.d.ts +3 -3
- package/websql/lib/base-classes/base-file-upload.middleware.d.ts +2 -2
- package/websql/lib/base-classes/base-injector.d.ts +6 -6
- package/websql/lib/base-classes/base-middleware.d.ts +3 -3
- package/websql/lib/base-classes/base-migration.d.ts +2 -2
- package/websql/lib/base-classes/base-provider.d.ts +2 -2
- package/websql/lib/base-classes/base-repository.d.ts +3 -3
- package/websql/lib/base-classes/base-subscriber-for-entity.d.ts +2 -2
- package/websql/lib/base-classes/base.d.ts +11 -11
- package/websql/lib/config/method-config.d.ts +2 -2
- package/websql/lib/decorators/http/http-methods-decorators.d.ts +2 -2
- package/websql/lib/endpoint-context.d.ts +2 -2
- package/websql/lib/index.d.ts +10 -10
- package/websql/lib/models.d.ts +4 -0
- package/websql/package.json +1 -1
- package/lib/decorators/classes/controller-config.d.ts +0 -20
- package/lib/decorators/classes/controller-config.js +0 -21
- package/lib/decorators/classes/controller-config.js.map +0 -1
- package/lib/decorators/classes/controller-options.d.ts +0 -16
- package/lib/decorators/classes/controller-options.js +0 -20
- package/lib/decorators/classes/controller-options.js.map +0 -1
package/README.md
CHANGED
|
@@ -6,70 +6,69 @@ TAON **T**ypescript **A**ngular **O**rm **N**ode )
|
|
|
6
6
|
|
|
7
7
|
( ALPHA VERSION - For early testing and feedback only. )
|
|
8
8
|
|
|
9
|
-
**Taon** 🔥🔥🔥 is a
|
|
9
|
+
**Taon** 🔥🔥🔥 is a:<br>
|
|
10
|
+
1. **CLI** <br>
|
|
11
|
+
2. **Framework**<br>
|
|
12
|
+
3. **Cloud**<br>
|
|
13
|
+
|
|
14
|
+
<br>
|
|
15
|
+
for building/testing/deploying modern:<br>
|
|
16
|
+
<br>
|
|
10
17
|
|
|
11
18
|
\+
|
|
12
19
|
[TypesScript](https://www.typescriptlang.org/) isomorphic libraries/backends/frontends
|
|
13
20
|
|
|
14
21
|
\+
|
|
15
|
-
[Angular](https://angular.io/) libraries and PWA
|
|
22
|
+
[Angular](https://angular.io/) libraries and PWA apps
|
|
16
23
|
|
|
17
24
|
\+ Databases with Orm ([TypeORM](https://typeorm.io/)) <br>
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
25
|
+
- [sql.js](https://sql.js.org)<br>
|
|
26
|
+
-> local development mode<br>
|
|
27
|
+
-> local development with backend in browser mode (WEBSQL) <br>
|
|
28
|
+
-> production dockerized mode <br>
|
|
29
|
+
-> production backend in browser mode (WEBSQL) <br>
|
|
30
|
+
- [mysql](https://www.mysql.com/)
|
|
31
|
+
-> production dockerized mode (NOT READY YET) <br>
|
|
21
32
|
|
|
22
33
|
\+
|
|
23
|
-
[NodeJS](https://nodejs.org/en/) backends
|
|
24
|
-
|
|
34
|
+
[NodeJS](https://nodejs.org/en/) backends deployable on any server with on command
|
|
35
|
+
|
|
25
36
|
\+
|
|
26
37
|
[Electron](https://www.electronjs.org/) desktop apps
|
|
27
38
|
|
|
28
39
|
\+
|
|
29
|
-
[Ionic](https://www.electronjs.org/) mobile apps
|
|
40
|
+
[Ionic](https://www.electronjs.org/) mobile apps (NOT READY YET)
|
|
30
41
|
|
|
31
42
|
\+
|
|
32
43
|
[Visual Studio Code](https://www.electronjs.org/) plugins
|
|
33
44
|
|
|
34
|
-
\+ Documentation:<br>
|
|
45
|
+
\+ Documentation websites with:<br>
|
|
35
46
|
- [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
|
-
|
|
47
|
+
- [Storybook](https://storybook.js.org/docs/get-started/angular) ui elements documentation (NOT READY YET)<br>
|
|
48
|
+
- [Compodoc](https://compodoc.app/) docs from comments (NOT READY YET) <br>
|
|
49
|
+
|
|
50
|
+
|
|
40
51
|
|
|
41
52
|
**[READ DOCUMENTATION](https://taon.dev/#/docs)**
|
|
42
53
|
|
|
43
54
|
### Initial requirements of taon
|
|
44
55
|
1. Installed git
|
|
45
|
-
(on windows only supported [gitbash](https://gitforwindows.org) or [
|
|
56
|
+
(on windows only supported [gitbash](https://gitforwindows.org) or [pwsh](https://github.com/PowerShell/PowerShell))
|
|
46
57
|
|
|
47
58
|
2. Increased watchers limit (only on linux):
|
|
48
59
|
```bash
|
|
49
60
|
echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p
|
|
50
61
|
```
|
|
51
|
-
3. Installed [python3](https://www.python.org/downloads/release/python-3123/)
|
|
52
|
-
and [mkdocs](https://www.mkdocs.org/user-guide/installation/):<br>
|
|
53
62
|
|
|
54
|
-
Windwos/Linux
|
|
55
|
-
```bash
|
|
56
|
-
pip3 install mkdocs
|
|
57
|
-
pip3 install mkdocs-material --user
|
|
58
|
-
```
|
|
59
|
-
MacOs
|
|
60
|
-
```bash
|
|
61
|
-
brew install mkdocs
|
|
62
|
-
brew install mkdocs-material
|
|
63
|
-
```
|
|
64
63
|
|
|
65
64
|
## Supported OS-es:
|
|
66
|
-
- Win10, Win11 (gitbash)
|
|
67
|
-
- MacOS
|
|
65
|
+
- Win10, Win11 (gitbash, pwsh)
|
|
66
|
+
- MacOS
|
|
68
67
|
- Linux
|
|
69
68
|
|
|
70
69
|
|
|
71
70
|
## Required version of NodeJS
|
|
72
|
-
- Windows 10/11
|
|
71
|
+
- Windows 10/11 >= v18
|
|
73
72
|
- MacOS: >= v18
|
|
74
73
|
- Linux: >= v18
|
|
75
74
|
|
|
@@ -86,7 +85,7 @@ that are being shared across all taon projects.
|
|
|
86
85
|
|
|
87
86
|
```bash
|
|
88
87
|
npm uninstall -g taon
|
|
89
|
-
rm -rf ~/.taon # taon local
|
|
88
|
+
rm -rf ~/.taon # taon local repositories, databases, settings, caches.
|
|
90
89
|
```
|
|
91
90
|
|
|
92
91
|
|
|
@@ -97,14 +96,10 @@ rm -rf ~/.taon # taon local packages repository
|
|
|
97
96
|
+ main cli / code structuring tool
|
|
98
97
|
- taon-core https://github.com/darekf77/tnp-core
|
|
99
98
|
+ essential/core helpers for all projects
|
|
100
|
-
- taon-class-helpers https://github.com/darekf77/typescript-class-helpers
|
|
101
|
-
+ helpers for OOP class names based
|
|
102
|
-
- taon-config https://github.com/darekf77/tnp-config
|
|
103
|
-
+ config/models for general purpose
|
|
104
|
-
- taon-cli https://github.com/darekf77/tnp-cli
|
|
105
|
-
+ helpers/abstraction for global cli tools NodeJS based
|
|
106
99
|
- taon-helpers https://github.com/darekf77/tnp-helpers
|
|
107
100
|
+ extended core helpers
|
|
101
|
+
- taon-rest https://github.com/darekf77/ng2-rest
|
|
102
|
+
+ easy rest api
|
|
108
103
|
- taon-json https://github.com/darekf77/json10
|
|
109
104
|
+ handle JSON in better way
|
|
110
105
|
- taon-logger https://github.com/darekf77/ng2-logger
|
|
@@ -113,25 +108,20 @@ rm -rf ~/.taon # taon local packages repository
|
|
|
113
108
|
+ TypeOrm fork
|
|
114
109
|
- taon-type-sql https://github.com/darekf77/taon-type-sql
|
|
115
110
|
+ strongly type sql
|
|
116
|
-
- taon-rest https://github.com/darekf77/ng2-rest
|
|
117
|
-
+ easy rest api
|
|
118
111
|
- taon-incremental-watcher https://github.com/darekf77/incremental-compiler
|
|
119
112
|
+ abstraction for incremental builders NodeJS based
|
|
120
113
|
- taon-storage https://github.com/darekf77/taon-storage
|
|
121
114
|
+ ts decorators based storage solution
|
|
122
115
|
- taon-walk-object https://github.com/darekf77/lodash-walk-object
|
|
123
116
|
+ iterate over deep properties in object
|
|
124
|
-
|
|
117
|
+
- taon-class-helpers https://github.com/darekf77/typescript-class-helpers
|
|
118
|
+
+ helpers for OOP class names based
|
|
125
119
|
|
|
126
120
|
|
|
127
121
|
## Global npm dependencies installed with taon
|
|
128
122
|
Installation happens when you first time use taon
|
|
129
123
|
```jsonc
|
|
130
124
|
[
|
|
131
|
-
// zip extractor.. no needed anymore (WILL BE REMOVED SOON FROM GLOBAL DEPSS)
|
|
132
|
-
{ name: 'extract-zip', version: '1.6.7' },
|
|
133
|
-
// check version of your nodejs
|
|
134
|
-
{ name: 'check-node-version' },
|
|
135
125
|
// alternative not npx ( it wil not download package from npm if is not installed )
|
|
136
126
|
{ name: 'npm-run', version: '4.1.2' },
|
|
137
127
|
//handy for removing files
|
|
@@ -152,7 +142,7 @@ Installation happens when you first time use taon
|
|
|
152
142
|
{ name: 'jest' },
|
|
153
143
|
// run ts like js
|
|
154
144
|
{ name: 'ts-node' },
|
|
155
|
-
//
|
|
145
|
+
// fork of vsce package without npm dependencies restrictions
|
|
156
146
|
{ name: 'taon-vsce' },
|
|
157
147
|
// analyze you final bundle
|
|
158
148
|
{ name: 'webpack-bundle-analyzer' }
|