taon 19.0.18 → 19.0.19
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 +176 -176
- package/bin/start.js +279 -279
- package/bin/taon +6 -6
- package/bin/taon-debug +5 -5
- package/bin/taon-debug-brk +5 -5
- package/browser/README.md +24 -24
- package/browser/fesm2022/taon.mjs +59 -59
- package/browser/fesm2022/taon.mjs.map +1 -1
- package/browser/package.json +1 -1
- package/cli.js.map +1 -1
- package/client/README.md +24 -24
- package/client/fesm2022/taon.mjs +59 -59
- package/client/fesm2022/taon.mjs.map +1 -1
- package/client/package.json +1 -1
- package/env.d.ts +3 -0
- package/environments/angular-node-app/env.angular-node-app.__.d.ts +3 -0
- package/environments/angular-node-app/env.angular-node-app.dev.d.ts +3 -0
- package/environments/angular-node-app/env.angular-node-app.localhost.d.ts +3 -0
- package/environments/angular-node-app/env.angular-node-app.prod.d.ts +3 -0
- package/environments/angular-node-app/env.angular-node-app.stage.d.ts +3 -0
- package/environments/docs-webapp/env.docs-webapp.__.d.ts +3 -0
- package/environments/electron-app/env.electron-app.__.d.ts +3 -0
- package/environments/electron-app/env.electron-app.prod.d.ts +3 -0
- package/environments/mobile-app/env.mobile-app.__.d.ts +3 -0
- package/environments/mobile-app/env.mobile-app.prod.d.ts +3 -0
- package/environments/npm-lib-and-cli-tool/env.npm-lib-and-cli-tool.__.d.ts +3 -0
- package/environments/npm-lib-and-cli-tool/env.npm-lib-and-cli-tool.prod.d.ts +3 -0
- package/environments/vscode-plugin/env.vscode-plugin.__.d.ts +6 -0
- package/environments/vscode-plugin/env.vscode-plugin.prod.d.ts +4 -0
- package/index.js.map +1 -1
- package/lib/base-classes/base-abstract-entity.js.map +1 -1
- package/lib/base-classes/base-angular-service.js.map +1 -1
- package/lib/base-classes/base-class.js.map +1 -1
- package/lib/base-classes/base-context.js.map +1 -1
- package/lib/base-classes/base-controller.js.map +1 -1
- package/lib/base-classes/base-crud-controller.js.map +1 -1
- package/lib/base-classes/base-custom-repository.js.map +1 -1
- package/lib/base-classes/base-entity.js.map +1 -1
- package/lib/base-classes/base-injector.js.map +1 -1
- package/lib/base-classes/base-migration.js.map +1 -1
- package/lib/base-classes/base-provider.js.map +1 -1
- package/lib/base-classes/base-repository.js.map +1 -1
- package/lib/base-classes/base-subscriber-for-entity.js.map +1 -1
- 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/build-info._auto-generated_.js.map +1 -1
- package/lib/constants.js.map +1 -1
- package/lib/context-db-migrations.js.map +1 -1
- package/lib/create-context.js.map +1 -1
- package/lib/decorators/classes/controller-decorator.js.map +1 -1
- package/lib/decorators/classes/entity-decorator.js.map +1 -1
- package/lib/decorators/classes/migration-decorator.js.map +1 -1
- package/lib/decorators/classes/provider-decorator.js.map +1 -1
- package/lib/decorators/classes/repository-decorator.js.map +1 -1
- package/lib/decorators/classes/subscriber-decorator.js.map +1 -1
- package/lib/decorators/http/http-decorators.js.map +1 -1
- package/lib/decorators/http/http-methods-decorators.js.map +1 -1
- package/lib/decorators/http/http-params-decorators.js.map +1 -1
- package/lib/dependency-injection/di-container.js.map +1 -1
- package/lib/endpoint-context.js.map +1 -1
- package/lib/entity-process.js.map +1 -1
- package/lib/env.js.map +1 -1
- package/lib/formly/formly-group-wrapper-component.js.map +1 -1
- package/lib/formly/formly-repeat-component.js.map +1 -1
- package/lib/formly/formly.models.js.map +1 -1
- package/lib/formly/fromly.js.map +1 -1
- package/lib/formly/type-from-entity.js.map +1 -1
- package/lib/get-response-value.js.map +1 -1
- package/lib/helpers/class-helpers.js.map +1 -1
- package/lib/helpers/taon-helpers.js.map +1 -1
- package/lib/index._auto-generated_.js.map +1 -1
- package/lib/index.js.map +1 -1
- package/lib/inject.js.map +1 -1
- package/lib/models.js.map +1 -1
- package/lib/orm.js.map +1 -1
- package/lib/realtime/realtime-client.js.map +1 -1
- package/lib/realtime/realtime-core.js.map +1 -1
- package/lib/realtime/realtime-server.js.map +1 -1
- package/lib/realtime/realtime-strategy/index.js.map +1 -1
- package/lib/realtime/realtime-strategy/realtime-strategy-ipc.js.map +1 -1
- package/lib/realtime/realtime-strategy/realtime-strategy-mock.js.map +1 -1
- package/lib/realtime/realtime-strategy/realtime-strategy-socket-io.js.map +1 -1
- package/lib/realtime/realtime-strategy/realtime-strategy.js.map +1 -1
- package/lib/realtime/realtime-subs-manager.js.map +1 -1
- package/lib/realtime/realtime.models.js.map +1 -1
- package/lib/storage.js.map +1 -1
- package/lib/symbols.js.map +1 -1
- package/lib/ui/directives/index.js +2 -2
- package/lib/ui/directives/index.js.map +1 -1
- package/lib/ui/directives/view-mode.js.map +1 -1
- package/lib/ui/index.js +2 -2
- package/lib/ui/index.js.map +1 -1
- package/lib/ui/taon-admin-mode-configuration/index.js +1 -1
- package/lib/ui/taon-admin-mode-configuration/index.js.map +1 -1
- package/lib/ui/taon-admin-mode-configuration/taon-admin.models.js.map +1 -1
- package/lib/ui/taon-github-fork-me-corner/index.js +2 -2
- package/lib/ui/taon-github-fork-me-corner/index.js.map +1 -1
- package/lib/ui/taon-github-fork-me-ribbon/index.js +2 -2
- package/lib/ui/taon-github-fork-me-ribbon/index.js.map +1 -1
- package/lib/ui/taon-notifications/index.js.map +1 -1
- package/lib/ui/taon-notifications/taon-notifications.models.js +2 -2
- package/lib/ui/taon-notifications/taon-notifications.models.js.map +1 -1
- package/lib/ui/taon-progress-bar/index.js +2 -2
- package/lib/ui/taon-progress-bar/index.js.map +1 -1
- package/lib/ui/taon-session-passcode/index.js +2 -2
- package/lib/ui/taon-session-passcode/index.js.map +1 -1
- package/lib/ui/taon-table/index.js +2 -2
- package/lib/ui/taon-table/index.js.map +1 -1
- package/lib/ui/taon.models.js.map +1 -1
- package/lib/validators.js.map +1 -1
- package/migrations/index.js.map +1 -1
- package/migrations/migrations_index._auto-generated_.js.map +1 -1
- package/old-app .js.map +1 -1
- package/package.json +1 -1
- package/playground.js.map +1 -1
- package/tmp-environment.json +6 -6
- package/websql/README.md +24 -24
- package/websql/fesm2022/taon.mjs +59 -59
- package/websql/fesm2022/taon.mjs.map +1 -1
- package/websql/package.json +1 -1
- package/lib/base-classes/base-subscriber.d.ts +0 -4
- package/lib/base-classes/base-subscriber.js +0 -25
- package/lib/base-classes/base-subscriber.js.map +0 -1
- package/lib/realtime/realtime-strategy/realtime-strategy-ipc-models/index.d.ts +0 -0
- package/lib/realtime/realtime-strategy/realtime-strategy-ipc-models/index.js +0 -5
- package/lib/realtime/realtime-strategy/realtime-strategy-ipc-models/index.js.map +0 -1
- package/lib/realtime/realtime-strategy/realtime-strategy-ipc-models/realtime-strategy-ipc-main-namespace.d.ts +0 -22
- package/lib/realtime/realtime-strategy/realtime-strategy-ipc-models/realtime-strategy-ipc-main-namespace.js +0 -139
- package/lib/realtime/realtime-strategy/realtime-strategy-ipc-models/realtime-strategy-ipc-main-namespace.js.map +0 -1
- package/lib/realtime/realtime-strategy/realtime-strategy-ipc-models/realtime-strategy-ipc-main-wrapper.d.ts +0 -16
- package/lib/realtime/realtime-strategy/realtime-strategy-ipc-models/realtime-strategy-ipc-main-wrapper.js +0 -68
- package/lib/realtime/realtime-strategy/realtime-strategy-ipc-models/realtime-strategy-ipc-main-wrapper.js.map +0 -1
- package/lib/realtime/realtime-strategy/realtime-strategy-ipc-models/realtime-strategy-ipc-renderer-namespace.d.ts +0 -10
- package/lib/realtime/realtime-strategy/realtime-strategy-ipc-models/realtime-strategy-ipc-renderer-namespace.js +0 -56
- package/lib/realtime/realtime-strategy/realtime-strategy-ipc-models/realtime-strategy-ipc-renderer-namespace.js.map +0 -1
- package/lib/realtime/realtime-strategy/realtime-strategy-ipc-models/realtime-strategy-ipc-renderer-wrapper.d.ts +0 -10
- package/lib/realtime/realtime-strategy/realtime-strategy-ipc-models/realtime-strategy-ipc-renderer-wrapper.js +0 -50
- package/lib/realtime/realtime-strategy/realtime-strategy-ipc-models/realtime-strategy-ipc-renderer-wrapper.js.map +0 -1
- package/lib/realtime/realtime-strategy/realtime-strategy-ipc-models/realtime-strategy-ipc.models.d.ts +0 -13
- package/lib/realtime/realtime-strategy/realtime-strategy-ipc-models/realtime-strategy-ipc.models.js +0 -3
- package/lib/realtime/realtime-strategy/realtime-strategy-ipc-models/realtime-strategy-ipc.models.js.map +0 -1
- package/lib/realtime/realtime-strategy/realtime-strategy-mock-models/index.d.ts +0 -2
- package/lib/realtime/realtime-strategy/realtime-strategy-mock-models/index.js +0 -6
- package/lib/realtime/realtime-strategy/realtime-strategy-mock-models/index.js.map +0 -1
- package/lib/realtime/realtime-strategy/realtime-strategy-mock-models/realtime-strategy-mock-client.d.ts +0 -16
- package/lib/realtime/realtime-strategy/realtime-strategy-mock-models/realtime-strategy-mock-client.js +0 -54
- package/lib/realtime/realtime-strategy/realtime-strategy-mock-models/realtime-strategy-mock-client.js.map +0 -1
- package/lib/realtime/realtime-strategy/realtime-strategy-mock-models/realtime-strategy-mock-namespaces.d.ts +0 -17
- package/lib/realtime/realtime-strategy/realtime-strategy-mock-models/realtime-strategy-mock-namespaces.js +0 -52
- package/lib/realtime/realtime-strategy/realtime-strategy-mock-models/realtime-strategy-mock-namespaces.js.map +0 -1
- package/lib/realtime/realtime-strategy/realtime-strategy-mock-models/realtime-strategy-mock-server.d.ts +0 -11
- package/lib/realtime/realtime-strategy/realtime-strategy-mock-models/realtime-strategy-mock-server.js +0 -39
- package/lib/realtime/realtime-strategy/realtime-strategy-mock-models/realtime-strategy-mock-server.js.map +0 -1
- package/lib/realtime/realtime-strategy/realtime-strategy-mock-models/realtime-strategy-mock-socket.d.ts +0 -13
- package/lib/realtime/realtime-strategy/realtime-strategy-mock-models/realtime-strategy-mock-socket.js +0 -46
- package/lib/realtime/realtime-strategy/realtime-strategy-mock-models/realtime-strategy-mock-socket.js.map +0 -1
- package/lib/realtime/realtime-strategy/realtime-strategy-mock-models/realtime-strategy-mock.models.d.ts +0 -11
- package/lib/realtime/realtime-strategy/realtime-strategy-mock-models/realtime-strategy-mock.models.js +0 -3
- package/lib/realtime/realtime-strategy/realtime-strategy-mock-models/realtime-strategy-mock.models.js.map +0 -1
- package/lib/ui/directives/firedev-inject-html.directive.d.ts +0 -6
- package/lib/ui/directives/firedev-long-press.directive.d.ts +0 -22
- package/lib/ui/taon-admin-mode-configuration/components/taon-admin-edit-mode/index.d.ts +0 -2
- package/lib/ui/taon-admin-mode-configuration/components/taon-admin-edit-mode/index.js +0 -5
- package/lib/ui/taon-admin-mode-configuration/components/taon-admin-edit-mode/index.js.map +0 -1
- package/lib/ui/taon-admin-mode-configuration/components/taon-admin-edit-mode/taon-admin-edit-mode.component.d.ts +0 -29
- package/lib/ui/taon-admin-mode-configuration/components/taon-admin-edit-mode/taon-admin-edit-mode.module.d.ts +0 -2
- package/lib/ui/taon-admin-mode-configuration/components/taon-db-admin/index.d.ts +0 -1
- package/lib/ui/taon-admin-mode-configuration/components/taon-db-admin/index.js +0 -5
- package/lib/ui/taon-admin-mode-configuration/components/taon-db-admin/index.js.map +0 -1
- package/lib/ui/taon-admin-mode-configuration/components/taon-db-admin/taon-db-admin.component.d.ts +0 -8
- package/lib/ui/taon-admin-mode-configuration/components/taon-file-general-opt/index.d.ts +0 -2
- package/lib/ui/taon-admin-mode-configuration/components/taon-file-general-opt/index.js +0 -5
- package/lib/ui/taon-admin-mode-configuration/components/taon-file-general-opt/index.js.map +0 -1
- package/lib/ui/taon-admin-mode-configuration/components/taon-file-general-opt/taon-file-general-opt.component.d.ts +0 -13
- package/lib/ui/taon-admin-mode-configuration/components/taon-file-general-opt/taon-file-general-opt.module.d.ts +0 -2
- package/lib/ui/taon-admin-mode-configuration/models/taon-admin-mode-tabs.d.ts +0 -5
- package/lib/ui/taon-admin-mode-configuration/models/taon-admin-mode-tabs.js +0 -3
- package/lib/ui/taon-admin-mode-configuration/models/taon-admin-mode-tabs.js.map +0 -1
- package/lib/ui/taon-admin-mode-configuration/taon-admin-control.service.d.ts +0 -14
- package/lib/ui/taon-admin-mode-configuration/taon-admin-mode-configuration.module.d.ts +0 -2
- package/lib/ui/toan-full-material.module.d.ts +0 -2
package/README.md
CHANGED
|
@@ -1,176 +1,176 @@
|
|
|
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
|
-
( ALPHA VERSION - For early testing and feedback only. )
|
|
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. Installed git
|
|
45
|
-
(on windows only supported [gitbash](https://gitforwindows.org) or [new powershell pwsh](https://github.com/PowerShell/PowerShell))
|
|
46
|
-
|
|
47
|
-
2. Increased watchers limit (only on linux):
|
|
48
|
-
```bash
|
|
49
|
-
echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p
|
|
50
|
-
```
|
|
51
|
-
3. Installed [python3](https://www.python.org/downloads/release/python-3123/)
|
|
52
|
-
and [mkdocs](https://www.mkdocs.org/user-guide/installation/):<br>
|
|
53
|
-
|
|
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
|
-
|
|
65
|
-
## Supported OS-es:
|
|
66
|
-
- Win10, Win11 (gitbash)
|
|
67
|
-
- MacOS
|
|
68
|
-
- Linux
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
## Required version of NodeJS
|
|
72
|
-
- Windows 10/11 (gitbash,pwsh): >= v18
|
|
73
|
-
- MacOS: >= v18
|
|
74
|
-
- Linux: >= v18
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
## How to install taon
|
|
78
|
-
```
|
|
79
|
-
npm i -g taon
|
|
80
|
-
```
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
## How to uninstall taon from local machine
|
|
84
|
-
Taon stores a big global container (in ~/.taon) for npm packages <br>
|
|
85
|
-
that are being shared across all taon projects.
|
|
86
|
-
|
|
87
|
-
```bash
|
|
88
|
-
npm uninstall -g taon
|
|
89
|
-
rm -rf ~/.taon # taon local packages repository
|
|
90
|
-
```
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
## Projects that are part of taon.dev:
|
|
94
|
-
- taon https://github.com/darekf77/taon
|
|
95
|
-
+ framework library
|
|
96
|
-
- tnp https://github.com/darekf77/tnp
|
|
97
|
-
+ main cli / code structuring tool
|
|
98
|
-
- taon-core https://github.com/darekf77/tnp-core
|
|
99
|
-
+ 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
|
-
- taon-helpers https://github.com/darekf77/tnp-helpers
|
|
107
|
-
+ extended core helpers
|
|
108
|
-
- taon-json https://github.com/darekf77/json10
|
|
109
|
-
+ handle JSON in better way
|
|
110
|
-
- taon-logger https://github.com/darekf77/ng2-logger
|
|
111
|
-
+ logging in isomorphic apps
|
|
112
|
-
- taon-typeorm https://github.com/darekf77/taon-typeorm
|
|
113
|
-
+ TypeOrm fork
|
|
114
|
-
- taon-type-sql https://github.com/darekf77/taon-type-sql
|
|
115
|
-
+ strongly type sql
|
|
116
|
-
- taon-rest https://github.com/darekf77/ng2-rest
|
|
117
|
-
+ easy rest api
|
|
118
|
-
- taon-incremental-watcher https://github.com/darekf77/incremental-compiler
|
|
119
|
-
+ abstraction for incremental builders NodeJS based
|
|
120
|
-
- taon-storage https://github.com/darekf77/taon-storage
|
|
121
|
-
+ ts decorators based storage solution
|
|
122
|
-
- taon-walk-object https://github.com/darekf77/lodash-walk-object
|
|
123
|
-
+ iterate over deep properties in object
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
## Global npm dependencies installed with taon
|
|
128
|
-
Installation happens when you first time use taon
|
|
129
|
-
```jsonc
|
|
130
|
-
[
|
|
131
|
-
// tool for minifying js (WILL EB REMOVED SOON FROM GLOBAL DEPS)
|
|
132
|
-
{ name: 'ncc', version: '0.36.0', installName: '@vercel/ncc' },
|
|
133
|
-
// zip extractor.. no needed anymore (WILL EB REMOVED SOON FROM GLOBAL DEPS)
|
|
134
|
-
{ name: 'extract-zip', version: '1.6.7' },
|
|
135
|
-
// copy catalogs (WILL EB REMOVED SOON FROM GLOBAL DEPS)
|
|
136
|
-
{ name: 'cpr' },
|
|
137
|
-
// check version of your nodejs
|
|
138
|
-
{ name: 'check-node-version' },
|
|
139
|
-
// alternative not npx ( it wil not download package from npm if is not installed )
|
|
140
|
-
{ name: 'npm-run', version: '4.1.2' },
|
|
141
|
-
//handy for removing files
|
|
142
|
-
{ name: 'rimraf', version: '3.0.2' },
|
|
143
|
-
//handy for recreating catalogs
|
|
144
|
-
{ name: 'mkdirp' },
|
|
145
|
-
// rename files in build (WILL EB REMOVED SOON FROM GLOBAL DEPS)
|
|
146
|
-
{ name: 'renamer', version: '2.0.1' },
|
|
147
|
-
// run/watch node server (WILL EB REMOVED SOON FROM GLOBAL DEPS)
|
|
148
|
-
{ name: 'nodemon' },
|
|
149
|
-
// check circural deps (WILL EB REMOVED SOON FROM GLOBAL DEPS)
|
|
150
|
-
{ name: 'madge' },
|
|
151
|
-
// package manager
|
|
152
|
-
{ name: 'yarn' },
|
|
153
|
-
// https server with --base-href
|
|
154
|
-
{ name: 'taon-http-server' },
|
|
155
|
-
// code formatter
|
|
156
|
-
{ name: 'prettier' },
|
|
157
|
-
// process killer
|
|
158
|
-
{ name: 'fkill', installName: 'fkill-cli' },
|
|
159
|
-
// for unit tests runner (WILL EB REMOVED SOON FROM GLOBAL DEPS)
|
|
160
|
-
{ name: 'mocha' },
|
|
161
|
-
// for unit tests runner
|
|
162
|
-
{ name: 'jest' },
|
|
163
|
-
// run ts code directly
|
|
164
|
-
{ name: 'ts-node' },
|
|
165
|
-
// oficial vsce package striped out from some restrictions
|
|
166
|
-
{ name: 'taon-vsce' },
|
|
167
|
-
// analyze you final bundle (WILL EB REMOVED SOON FROM GLOBAL DEPS)
|
|
168
|
-
{ name: 'webpack-bundle-analyzer' },
|
|
169
|
-
// strip types from TypeScript
|
|
170
|
-
{ name: 'babel', installName: 'babel-cli' },
|
|
171
|
-
// create js bundle that are not human readable (WILL EB REMOVED SOON FROM GLOBAL DEPS)
|
|
172
|
-
{ name: 'javascript-obfuscator', version: '4' },
|
|
173
|
-
// minify js (WILL EB REMOVED SOON FROM GLOBAL DEPS)
|
|
174
|
-
{ name: 'uglifyjs', installName: 'uglify-js' },
|
|
175
|
-
]
|
|
176
|
-
```
|
|
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
|
+
( ALPHA VERSION - For early testing and feedback only. )
|
|
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. Installed git
|
|
45
|
+
(on windows only supported [gitbash](https://gitforwindows.org) or [new powershell pwsh](https://github.com/PowerShell/PowerShell))
|
|
46
|
+
|
|
47
|
+
2. Increased watchers limit (only on linux):
|
|
48
|
+
```bash
|
|
49
|
+
echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p
|
|
50
|
+
```
|
|
51
|
+
3. Installed [python3](https://www.python.org/downloads/release/python-3123/)
|
|
52
|
+
and [mkdocs](https://www.mkdocs.org/user-guide/installation/):<br>
|
|
53
|
+
|
|
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
|
+
|
|
65
|
+
## Supported OS-es:
|
|
66
|
+
- Win10, Win11 (gitbash)
|
|
67
|
+
- MacOS
|
|
68
|
+
- Linux
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
## Required version of NodeJS
|
|
72
|
+
- Windows 10/11 (gitbash,pwsh): >= v18
|
|
73
|
+
- MacOS: >= v18
|
|
74
|
+
- Linux: >= v18
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
## How to install taon
|
|
78
|
+
```
|
|
79
|
+
npm i -g taon
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
## How to uninstall taon from local machine
|
|
84
|
+
Taon stores a big global container (in ~/.taon) for npm packages <br>
|
|
85
|
+
that are being shared across all taon projects.
|
|
86
|
+
|
|
87
|
+
```bash
|
|
88
|
+
npm uninstall -g taon
|
|
89
|
+
rm -rf ~/.taon # taon local packages repository
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
## Projects that are part of taon.dev:
|
|
94
|
+
- taon https://github.com/darekf77/taon
|
|
95
|
+
+ framework library
|
|
96
|
+
- tnp https://github.com/darekf77/tnp
|
|
97
|
+
+ main cli / code structuring tool
|
|
98
|
+
- taon-core https://github.com/darekf77/tnp-core
|
|
99
|
+
+ 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
|
+
- taon-helpers https://github.com/darekf77/tnp-helpers
|
|
107
|
+
+ extended core helpers
|
|
108
|
+
- taon-json https://github.com/darekf77/json10
|
|
109
|
+
+ handle JSON in better way
|
|
110
|
+
- taon-logger https://github.com/darekf77/ng2-logger
|
|
111
|
+
+ logging in isomorphic apps
|
|
112
|
+
- taon-typeorm https://github.com/darekf77/taon-typeorm
|
|
113
|
+
+ TypeOrm fork
|
|
114
|
+
- taon-type-sql https://github.com/darekf77/taon-type-sql
|
|
115
|
+
+ strongly type sql
|
|
116
|
+
- taon-rest https://github.com/darekf77/ng2-rest
|
|
117
|
+
+ easy rest api
|
|
118
|
+
- taon-incremental-watcher https://github.com/darekf77/incremental-compiler
|
|
119
|
+
+ abstraction for incremental builders NodeJS based
|
|
120
|
+
- taon-storage https://github.com/darekf77/taon-storage
|
|
121
|
+
+ ts decorators based storage solution
|
|
122
|
+
- taon-walk-object https://github.com/darekf77/lodash-walk-object
|
|
123
|
+
+ iterate over deep properties in object
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
## Global npm dependencies installed with taon
|
|
128
|
+
Installation happens when you first time use taon
|
|
129
|
+
```jsonc
|
|
130
|
+
[
|
|
131
|
+
// tool for minifying js (WILL EB REMOVED SOON FROM GLOBAL DEPS)
|
|
132
|
+
{ name: 'ncc', version: '0.36.0', installName: '@vercel/ncc' },
|
|
133
|
+
// zip extractor.. no needed anymore (WILL EB REMOVED SOON FROM GLOBAL DEPS)
|
|
134
|
+
{ name: 'extract-zip', version: '1.6.7' },
|
|
135
|
+
// copy catalogs (WILL EB REMOVED SOON FROM GLOBAL DEPS)
|
|
136
|
+
{ name: 'cpr' },
|
|
137
|
+
// check version of your nodejs
|
|
138
|
+
{ name: 'check-node-version' },
|
|
139
|
+
// alternative not npx ( it wil not download package from npm if is not installed )
|
|
140
|
+
{ name: 'npm-run', version: '4.1.2' },
|
|
141
|
+
//handy for removing files
|
|
142
|
+
{ name: 'rimraf', version: '3.0.2' },
|
|
143
|
+
//handy for recreating catalogs
|
|
144
|
+
{ name: 'mkdirp' },
|
|
145
|
+
// rename files in build (WILL EB REMOVED SOON FROM GLOBAL DEPS)
|
|
146
|
+
{ name: 'renamer', version: '2.0.1' },
|
|
147
|
+
// run/watch node server (WILL EB REMOVED SOON FROM GLOBAL DEPS)
|
|
148
|
+
{ name: 'nodemon' },
|
|
149
|
+
// check circural deps (WILL EB REMOVED SOON FROM GLOBAL DEPS)
|
|
150
|
+
{ name: 'madge' },
|
|
151
|
+
// package manager
|
|
152
|
+
{ name: 'yarn' },
|
|
153
|
+
// https server with --base-href
|
|
154
|
+
{ name: 'taon-http-server' },
|
|
155
|
+
// code formatter
|
|
156
|
+
{ name: 'prettier' },
|
|
157
|
+
// process killer
|
|
158
|
+
{ name: 'fkill', installName: 'fkill-cli' },
|
|
159
|
+
// for unit tests runner (WILL EB REMOVED SOON FROM GLOBAL DEPS)
|
|
160
|
+
{ name: 'mocha' },
|
|
161
|
+
// for unit tests runner
|
|
162
|
+
{ name: 'jest' },
|
|
163
|
+
// run ts code directly
|
|
164
|
+
{ name: 'ts-node' },
|
|
165
|
+
// oficial vsce package striped out from some restrictions
|
|
166
|
+
{ name: 'taon-vsce' },
|
|
167
|
+
// analyze you final bundle (WILL EB REMOVED SOON FROM GLOBAL DEPS)
|
|
168
|
+
{ name: 'webpack-bundle-analyzer' },
|
|
169
|
+
// strip types from TypeScript
|
|
170
|
+
{ name: 'babel', installName: 'babel-cli' },
|
|
171
|
+
// create js bundle that are not human readable (WILL EB REMOVED SOON FROM GLOBAL DEPS)
|
|
172
|
+
{ name: 'javascript-obfuscator', version: '4' },
|
|
173
|
+
// minify js (WILL EB REMOVED SOON FROM GLOBAL DEPS)
|
|
174
|
+
{ name: 'uglifyjs', installName: 'uglify-js' },
|
|
175
|
+
]
|
|
176
|
+
```
|