taon 21.0.55 → 21.0.56
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 +159 -159
- package/bin/start.js +17 -17
- package/bin/taon +5 -5
- package/bin/taon-debug +5 -5
- package/bin/taon-debug-brk +4 -4
- package/browser/README.md +24 -24
- package/browser/fesm2022/taon-browser.mjs.map +1 -1
- package/browser/package.json +1 -1
- package/browser-prod/README.md +24 -24
- package/browser-prod/fesm2022/taon-browser.mjs.map +1 -1
- package/browser-prod/package.json +1 -1
- package/lib/build-info._auto-generated_.d.ts +1 -1
- package/lib/build-info._auto-generated_.js +1 -1
- package/lib/package.json +1 -1
- package/lib/realtime/realtime-strategy/realtime-strategy-socket-io.js.map +1 -1
- package/lib/ui/index.js +2 -2
- package/lib/ui/taon-admin-mode-configuration/index.js +2 -2
- package/lib-prod/base-classes/base-abstract-entity.d.ts +7 -0
- package/lib-prod/base-classes/base-abstract-entity.js +32 -9
- package/lib-prod/base-classes/base-abstract-entity.js.map +1 -0
- package/lib-prod/base-classes/base-angular-service.d.ts +27 -0
- package/lib-prod/base-classes/base-angular-service.js +8 -3
- package/lib-prod/base-classes/base-angular-service.js.map +1 -0
- package/lib-prod/base-classes/base-class.d.ts +15 -0
- package/lib-prod/base-classes/base-class.js +15 -10
- package/lib-prod/base-classes/base-class.js.map +1 -0
- package/lib-prod/base-classes/base-context.d.ts +20 -0
- package/lib-prod/base-classes/base-context.js +13 -9
- package/lib-prod/base-classes/base-context.js.map +1 -0
- package/lib-prod/base-classes/base-controller.d.ts +84 -0
- package/lib-prod/base-classes/base-controller.js +45 -26
- package/lib-prod/base-classes/base-controller.js.map +1 -0
- package/lib-prod/base-classes/base-crud-controller.d.ts +28 -0
- package/lib-prod/base-classes/base-crud-controller.js +104 -50
- package/lib-prod/base-classes/base-crud-controller.js.map +1 -0
- package/lib-prod/base-classes/base-custom-repository.d.ts +3 -0
- package/lib-prod/base-classes/base-custom-repository.js +16 -6
- package/lib-prod/base-classes/base-custom-repository.js.map +1 -0
- package/lib-prod/base-classes/base-electron-service.d.ts +0 -0
- package/lib-prod/base-classes/base-electron-service.js +1 -0
- package/lib-prod/base-classes/base-electron-service.js.map +1 -0
- package/lib-prod/base-classes/base-entity.d.ts +16 -0
- package/lib-prod/base-classes/base-entity.js +16 -6
- package/lib-prod/base-classes/base-entity.js.map +1 -0
- package/lib-prod/base-classes/base-file-upload.middleware.d.ts +14 -0
- package/lib-prod/base-classes/base-file-upload.middleware.js +24 -14
- package/lib-prod/base-classes/base-file-upload.middleware.js.map +1 -0
- package/lib-prod/base-classes/base-injector.d.ts +67 -0
- package/lib-prod/base-classes/base-injector.js +27 -13
- package/lib-prod/base-classes/base-injector.js.map +1 -0
- package/lib-prod/base-classes/base-middleware.d.ts +38 -0
- package/lib-prod/base-classes/base-middleware.js +7 -2
- package/lib-prod/base-classes/base-middleware.js.map +1 -0
- package/lib-prod/base-classes/base-migration.d.ts +11 -0
- package/lib-prod/base-classes/base-migration.js +12 -7
- package/lib-prod/base-classes/base-migration.js.map +1 -0
- package/lib-prod/base-classes/base-provider.d.ts +8 -0
- package/lib-prod/base-classes/base-provider.js +7 -2
- package/lib-prod/base-classes/base-provider.js.map +1 -0
- package/lib-prod/base-classes/base-repository.d.ts +272 -0
- package/lib-prod/base-classes/base-repository.js +38 -21
- package/lib-prod/base-classes/base-repository.js.map +1 -0
- package/lib-prod/base-classes/base-subscriber-for-entity.d.ts +81 -0
- package/lib-prod/base-classes/base-subscriber-for-entity.js +16 -6
- package/lib-prod/base-classes/base-subscriber-for-entity.js.map +1 -0
- package/lib-prod/base-classes/base.d.ts +1 -0
- package/lib-prod/base-classes/base.js +3 -1
- package/lib-prod/base-classes/base.js.map +1 -0
- package/lib-prod/build-info._auto-generated_.d.ts +24 -0
- package/lib-prod/build-info._auto-generated_.js +10 -6
- package/lib-prod/build-info._auto-generated_.js.map +1 -0
- package/lib-prod/config/controller-config.d.ts +21 -0
- package/lib-prod/config/controller-config.js +9 -3
- package/lib-prod/config/controller-config.js.map +1 -0
- package/lib-prod/config/controller-options.d.ts +16 -0
- package/lib-prod/config/controller-options.js +7 -2
- package/lib-prod/config/controller-options.js.map +1 -0
- package/lib-prod/config/method-config.d.ts +39 -0
- package/lib-prod/config/method-config.js +6 -1
- package/lib-prod/config/method-config.js.map +1 -0
- package/lib-prod/config/param-config.d.ts +8 -0
- package/lib-prod/config/param-config.js +6 -1
- package/lib-prod/config/param-config.js.map +1 -0
- package/lib-prod/constants.d.ts +9 -0
- package/lib-prod/constants.js +6 -7
- package/lib-prod/constants.js.map +1 -0
- package/lib-prod/context-db-migrations.d.ts +17 -0
- package/lib-prod/context-db-migrations.js +76 -70
- package/lib-prod/context-db-migrations.js.map +1 -0
- package/lib-prod/create-context.d.ts +78 -0
- package/lib-prod/create-context.js +19 -13
- package/lib-prod/create-context.js.map +1 -0
- package/lib-prod/decorators/classes/controller-decorator.d.ts +5 -0
- package/lib-prod/decorators/classes/controller-decorator.js +10 -6
- package/lib-prod/decorators/classes/controller-decorator.js.map +1 -0
- package/lib-prod/decorators/classes/entity-decorator.d.ts +19 -0
- package/lib-prod/decorators/classes/entity-decorator.js +31 -16
- package/lib-prod/decorators/classes/entity-decorator.js.map +1 -0
- package/lib-prod/decorators/classes/middleware-decorator.d.ts +8 -0
- package/lib-prod/decorators/classes/middleware-decorator.js +15 -9
- package/lib-prod/decorators/classes/middleware-decorator.js.map +1 -0
- package/lib-prod/decorators/classes/migration-decorator.d.ts +7 -0
- package/lib-prod/decorators/classes/migration-decorator.js +14 -8
- package/lib-prod/decorators/classes/migration-decorator.js.map +1 -0
- package/lib-prod/decorators/classes/provider-decorator.d.ts +7 -0
- package/lib-prod/decorators/classes/provider-decorator.js +14 -8
- package/lib-prod/decorators/classes/provider-decorator.js.map +1 -0
- package/lib-prod/decorators/classes/repository-decorator.d.ts +7 -0
- package/lib-prod/decorators/classes/repository-decorator.js +14 -8
- package/lib-prod/decorators/classes/repository-decorator.js.map +1 -0
- package/lib-prod/decorators/classes/subscriber-decorator.d.ts +8 -0
- package/lib-prod/decorators/classes/subscriber-decorator.js +15 -8
- package/lib-prod/decorators/classes/subscriber-decorator.js.map +1 -0
- package/lib-prod/decorators/decorator-abstract-opt.d.ts +3 -0
- package/lib-prod/decorators/decorator-abstract-opt.js +6 -1
- package/lib-prod/decorators/decorator-abstract-opt.js.map +1 -0
- package/lib-prod/decorators/http/http-decorators.d.ts +3 -0
- package/lib-prod/decorators/http/http-decorators.js +6 -2
- package/lib-prod/decorators/http/http-decorators.js.map +1 -0
- package/lib-prod/decorators/http/http-methods-decorators.d.ts +70 -0
- package/lib-prod/decorators/http/http-methods-decorators.js +22 -12
- package/lib-prod/decorators/http/http-methods-decorators.js.map +1 -0
- package/lib-prod/decorators/http/http-params-decorators.d.ts +8 -0
- package/lib-prod/decorators/http/http-params-decorators.js +15 -7
- package/lib-prod/decorators/http/http-params-decorators.js.map +1 -0
- package/lib-prod/dependency-injection/di-container.d.ts +5 -0
- package/lib-prod/dependency-injection/di-container.js +7 -2
- package/lib-prod/dependency-injection/di-container.js.map +1 -0
- package/lib-prod/endpoint-context-storage.d.ts +11 -0
- package/lib-prod/endpoint-context-storage.js +11 -4
- package/lib-prod/endpoint-context-storage.js.map +1 -0
- package/lib-prod/endpoint-context.d.ts +197 -0
- package/lib-prod/endpoint-context.js +458 -433
- package/lib-prod/endpoint-context.js.map +1 -0
- package/lib-prod/entity-process.d.ts +39 -0
- package/lib-prod/entity-process.js +77 -61
- package/lib-prod/entity-process.js.map +1 -0
- package/lib-prod/env/env.angular-node-app.d.ts +64 -0
- package/lib-prod/env/env.angular-node-app.js +69 -64
- package/lib-prod/env/env.angular-node-app.js.map +1 -0
- package/lib-prod/env/env.docs-webapp.d.ts +64 -0
- package/lib-prod/env/env.docs-webapp.js +69 -64
- package/lib-prod/env/env.docs-webapp.js.map +1 -0
- package/lib-prod/env/env.electron-app.d.ts +64 -0
- package/lib-prod/env/env.electron-app.js +69 -64
- package/lib-prod/env/env.electron-app.js.map +1 -0
- package/lib-prod/env/env.mobile-app.d.ts +64 -0
- package/lib-prod/env/env.mobile-app.js +69 -64
- package/lib-prod/env/env.mobile-app.js.map +1 -0
- package/lib-prod/env/env.npm-lib-and-cli-tool.d.ts +64 -0
- package/lib-prod/env/env.npm-lib-and-cli-tool.js +69 -64
- package/lib-prod/env/env.npm-lib-and-cli-tool.js.map +1 -0
- package/lib-prod/env/env.vscode-plugin.d.ts +64 -0
- package/lib-prod/env/env.vscode-plugin.js +69 -64
- package/lib-prod/env/env.vscode-plugin.js.map +1 -0
- package/lib-prod/env/index.d.ts +6 -0
- package/lib-prod/env/index.js +23 -6
- package/lib-prod/env/index.js.map +1 -0
- package/lib-prod/express-types.d.ts +1 -0
- package/lib-prod/express-types.js +3 -1
- package/lib-prod/express-types.js.map +1 -0
- package/lib-prod/formly/formly.models.d.ts +1 -0
- package/lib-prod/formly/formly.models.js +3 -1
- package/lib-prod/formly/formly.models.js.map +1 -0
- package/lib-prod/formly/fromly.d.ts +16 -0
- package/lib-prod/formly/fromly.js +33 -29
- package/lib-prod/formly/fromly.js.map +1 -0
- package/lib-prod/formly/type-from-entity.d.ts +20 -0
- package/lib-prod/formly/type-from-entity.js +24 -15
- package/lib-prod/formly/type-from-entity.js.map +1 -0
- package/lib-prod/get-response-value.d.ts +6 -0
- package/lib-prod/get-response-value.js +6 -1
- package/lib-prod/get-response-value.js.map +1 -0
- package/lib-prod/global-state/taon-global-state/index.d.ts +5 -0
- package/lib-prod/global-state/taon-global-state/index.js +22 -5
- package/lib-prod/global-state/taon-global-state/index.js.map +1 -0
- package/lib-prod/global-state/taon-global-state/taon-global-state.abstract.context.d.ts +19 -0
- package/lib-prod/global-state/taon-global-state/taon-global-state.abstract.context.js +18 -14
- package/lib-prod/global-state/taon-global-state/taon-global-state.abstract.context.js.map +1 -0
- package/lib-prod/global-state/taon-global-state/taon-global-state.constants.d.ts +2 -0
- package/lib-prod/global-state/taon-global-state/taon-global-state.constants.js +7 -3
- package/lib-prod/global-state/taon-global-state/taon-global-state.constants.js.map +1 -0
- package/lib-prod/global-state/taon-global-state/taon-global-state.controller.d.ts +11 -0
- package/lib-prod/global-state/taon-global-state/taon-global-state.controller.js +38 -19
- package/lib-prod/global-state/taon-global-state/taon-global-state.controller.js.map +1 -0
- package/lib-prod/global-state/taon-global-state/taon-global-state.entity.d.ts +7 -0
- package/lib-prod/global-state/taon-global-state/taon-global-state.entity.js +41 -12
- package/lib-prod/global-state/taon-global-state/taon-global-state.entity.js.map +1 -0
- package/lib-prod/global-state/taon-global-state/taon-global-state.middleware.d.ts +3 -0
- package/lib-prod/global-state/taon-global-state/taon-global-state.middleware.js +16 -6
- package/lib-prod/global-state/taon-global-state/taon-global-state.middleware.js.map +1 -0
- package/lib-prod/global-state/taon-global-state/taon-global-state.models.d.ts +28 -0
- package/lib-prod/global-state/taon-global-state/taon-global-state.models.js +7 -3
- package/lib-prod/global-state/taon-global-state/taon-global-state.models.js.map +1 -0
- package/lib-prod/global-state/taon-global-state/taon-global-state.provider.d.ts +3 -0
- package/lib-prod/global-state/taon-global-state/taon-global-state.provider.js +16 -6
- package/lib-prod/global-state/taon-global-state/taon-global-state.provider.js.map +1 -0
- package/lib-prod/global-state/taon-global-state/taon-global-state.repository.d.ts +9 -0
- package/lib-prod/global-state/taon-global-state/taon-global-state.repository.js +23 -16
- package/lib-prod/global-state/taon-global-state/taon-global-state.repository.js.map +1 -0
- package/lib-prod/global-state/taon-global-state/taon-global-state.subscriber.d.ts +7 -0
- package/lib-prod/global-state/taon-global-state/taon-global-state.subscriber.js +20 -13
- package/lib-prod/global-state/taon-global-state/taon-global-state.subscriber.js.map +1 -0
- package/lib-prod/global-state/taon-global-state/taon-global-state.utils.d.ts +2 -0
- package/lib-prod/global-state/taon-global-state/taon-global-state.utils.js +8 -3
- package/lib-prod/global-state/taon-global-state/taon-global-state.utils.js.map +1 -0
- package/lib-prod/global-state/taon-transaction-registry/index.d.ts +10 -0
- package/lib-prod/global-state/taon-transaction-registry/index.js +27 -10
- package/lib-prod/global-state/taon-transaction-registry/index.js.map +1 -0
- package/lib-prod/global-state/taon-transaction-registry/taon-transaction-registry.abstract.context.d.ts +19 -0
- package/lib-prod/global-state/taon-transaction-registry/taon-transaction-registry.abstract.context.js +20 -16
- package/lib-prod/global-state/taon-transaction-registry/taon-transaction-registry.abstract.context.js.map +1 -0
- package/lib-prod/global-state/taon-transaction-registry/taon-transaction-registry.constants.d.ts +2 -0
- package/lib-prod/global-state/taon-transaction-registry/taon-transaction-registry.constants.js +5 -1
- package/lib-prod/global-state/taon-transaction-registry/taon-transaction-registry.constants.js.map +1 -0
- package/lib-prod/global-state/taon-transaction-registry/taon-transaction-registry.controller.d.ts +9 -0
- package/lib-prod/global-state/taon-transaction-registry/taon-transaction-registry.controller.js +33 -18
- package/lib-prod/global-state/taon-transaction-registry/taon-transaction-registry.controller.js.map +1 -0
- package/lib-prod/global-state/taon-transaction-registry/taon-transaction-registry.entity.d.ts +12 -0
- package/lib-prod/global-state/taon-transaction-registry/taon-transaction-registry.entity.js +55 -14
- package/lib-prod/global-state/taon-transaction-registry/taon-transaction-registry.entity.js.map +1 -0
- package/lib-prod/global-state/taon-transaction-registry/taon-transaction-registry.middleware.d.ts +3 -0
- package/lib-prod/global-state/taon-transaction-registry/taon-transaction-registry.middleware.js +16 -6
- package/lib-prod/global-state/taon-transaction-registry/taon-transaction-registry.middleware.js.map +1 -0
- package/lib-prod/global-state/taon-transaction-registry/taon-transaction-registry.models.d.ts +6 -0
- package/lib-prod/global-state/taon-transaction-registry/taon-transaction-registry.models.js +6 -2
- package/lib-prod/global-state/taon-transaction-registry/taon-transaction-registry.models.js.map +1 -0
- package/lib-prod/global-state/taon-transaction-registry/taon-transaction-registry.provider.d.ts +3 -0
- package/lib-prod/global-state/taon-transaction-registry/taon-transaction-registry.provider.js +16 -6
- package/lib-prod/global-state/taon-transaction-registry/taon-transaction-registry.provider.js.map +1 -0
- package/lib-prod/global-state/taon-transaction-registry/taon-transaction-registry.repository.d.ts +9 -0
- package/lib-prod/global-state/taon-transaction-registry/taon-transaction-registry.repository.js +20 -13
- package/lib-prod/global-state/taon-transaction-registry/taon-transaction-registry.repository.js.map +1 -0
- package/lib-prod/global-state/taon-transaction-registry/taon-transaction-registry.subscriber.d.ts +7 -0
- package/lib-prod/global-state/taon-transaction-registry/taon-transaction-registry.subscriber.js +20 -13
- package/lib-prod/global-state/taon-transaction-registry/taon-transaction-registry.subscriber.js.map +1 -0
- package/lib-prod/global-state/taon-transaction-registry/taon-transaction-registry.utils.d.ts +2 -0
- package/lib-prod/global-state/taon-transaction-registry/taon-transaction-registry.utils.js +5 -1
- package/lib-prod/global-state/taon-transaction-registry/taon-transaction-registry.utils.js.map +1 -0
- package/lib-prod/helpers/class-helpers.d.ts +22 -0
- package/lib-prod/helpers/class-helpers.js +78 -60
- package/lib-prod/helpers/class-helpers.js.map +1 -0
- package/lib-prod/helpers/clone-obj.d.ts +1 -0
- package/lib-prod/helpers/clone-obj.js +12 -7
- package/lib-prod/helpers/clone-obj.js.map +1 -0
- package/lib-prod/helpers/taon-helpers.d.ts +16 -0
- package/lib-prod/helpers/taon-helpers.js +36 -21
- package/lib-prod/helpers/taon-helpers.js.map +1 -0
- package/lib-prod/index._auto-generated_.d.ts +0 -0
- package/lib-prod/index._auto-generated_.js +2 -1
- package/lib-prod/index._auto-generated_.js.map +1 -0
- package/lib-prod/index.d.ts +230 -0
- package/lib-prod/index.js +94 -73
- package/lib-prod/index.js.map +1 -0
- package/lib-prod/inject.d.ts +4 -0
- package/lib-prod/inject.js +9 -4
- package/lib-prod/inject.js.map +1 -0
- package/lib-prod/migrations/index.d.ts +1 -0
- package/lib-prod/migrations/index.js +18 -1
- package/lib-prod/migrations/index.js.map +1 -0
- package/lib-prod/migrations/migrations_index._auto-generated_.d.ts +0 -0
- package/lib-prod/migrations/migrations_index._auto-generated_.js +1 -0
- package/lib-prod/migrations/migrations_index._auto-generated_.js.map +1 -0
- package/lib-prod/models.d.ts +255 -0
- package/lib-prod/models.js +53 -14
- package/lib-prod/models.js.map +1 -0
- package/lib-prod/orm/columns.d.ts +32 -0
- package/lib-prod/orm/columns.js +70 -22
- package/lib-prod/orm/columns.js.map +1 -0
- package/lib-prod/orm/index.d.ts +1 -0
- package/lib-prod/orm/index.js +18 -1
- package/lib-prod/orm/index.js.map +1 -0
- package/lib-prod/package.json +1 -1
- package/lib-prod/realtime/realtime-client.d.ts +41 -0
- package/lib-prod/realtime/realtime-client.js +30 -24
- package/lib-prod/realtime/realtime-client.js.map +1 -0
- package/lib-prod/realtime/realtime-core.d.ts +40 -0
- package/lib-prod/realtime/realtime-core.js +51 -26
- package/lib-prod/realtime/realtime-core.js.map +1 -0
- package/lib-prod/realtime/realtime-server.d.ts +43 -0
- package/lib-prod/realtime/realtime-server.js +34 -28
- package/lib-prod/realtime/realtime-server.js.map +1 -0
- package/lib-prod/realtime/realtime-strategy/index.d.ts +4 -0
- package/lib-prod/realtime/realtime-strategy/index.js +21 -4
- package/lib-prod/realtime/realtime-strategy/index.js.map +1 -0
- package/lib-prod/realtime/realtime-strategy/realtime-strategy-ipc.d.ts +80 -0
- package/lib-prod/realtime/realtime-strategy/realtime-strategy-ipc.js +41 -24
- package/lib-prod/realtime/realtime-strategy/realtime-strategy-ipc.js.map +1 -0
- package/lib-prod/realtime/realtime-strategy/realtime-strategy-mock.d.ts +14 -0
- package/lib-prod/realtime/realtime-strategy/realtime-strategy-mock.js +34 -20
- package/lib-prod/realtime/realtime-strategy/realtime-strategy-mock.js.map +1 -0
- package/lib-prod/realtime/realtime-strategy/realtime-strategy-socket-io.d.ts +16 -0
- package/lib-prod/realtime/realtime-strategy/realtime-strategy-socket-io.js +12 -6
- package/lib-prod/realtime/realtime-strategy/realtime-strategy-socket-io.js.map +1 -0
- package/lib-prod/realtime/realtime-strategy/realtime-strategy.d.ts +11 -0
- package/lib-prod/realtime/realtime-strategy/realtime-strategy.js +7 -1
- package/lib-prod/realtime/realtime-strategy/realtime-strategy.js.map +1 -0
- package/lib-prod/realtime/realtime-subs-manager.d.ts +14 -0
- package/lib-prod/realtime/realtime-subs-manager.js +19 -13
- package/lib-prod/realtime/realtime-subs-manager.js.map +1 -0
- package/lib-prod/realtime/realtime.models.d.ts +25 -0
- package/lib-prod/realtime/realtime.models.js +3 -1
- package/lib-prod/realtime/realtime.models.js.map +1 -0
- package/lib-prod/symbols.d.ts +63 -0
- package/lib-prod/symbols.js +20 -19
- package/lib-prod/symbols.js.map +1 -0
- package/lib-prod/ui/index.d.ts +1 -0
- package/lib-prod/ui/index.js +5 -1
- package/lib-prod/ui/index.js.map +1 -0
- package/lib-prod/ui/taon-admin-mode-configuration/index.d.ts +1 -0
- package/lib-prod/ui/taon-admin-mode-configuration/index.js +5 -1
- package/lib-prod/ui/taon-admin-mode-configuration/index.js.map +1 -0
- package/lib-prod/validators.d.ts +5 -0
- package/lib-prod/validators.js +20 -12
- package/lib-prod/validators.js.map +1 -0
- package/lib-prod.split-namespaces.json +86 -32
- package/package.json +1 -1
- package/websql/README.md +24 -24
- package/websql/fesm2022/taon-websql.mjs.map +1 -1
- package/websql/package.json +1 -1
- package/websql-prod/README.md +24 -24
- package/websql-prod/fesm2022/taon-websql.mjs.map +1 -1
- package/websql-prod/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,159 +1,159 @@
|
|
|
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:<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>
|
|
17
|
-
|
|
18
|
-
\+
|
|
19
|
-
[TypesScript](https://www.typescriptlang.org/) isomorphic libraries/backends/frontends
|
|
20
|
-
|
|
21
|
-
\+
|
|
22
|
-
[Angular](https://angular.io/) libraries and PWA apps
|
|
23
|
-
|
|
24
|
-
\+ Databases with Orm ([TypeORM](https://typeorm.io/)) <br>
|
|
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>
|
|
32
|
-
|
|
33
|
-
\+
|
|
34
|
-
[NodeJS](https://nodejs.org/en/) backends deployable on any server with on command
|
|
35
|
-
|
|
36
|
-
\+
|
|
37
|
-
[Electron](https://www.electronjs.org/) desktop apps
|
|
38
|
-
|
|
39
|
-
\+
|
|
40
|
-
[Capacitor](https://capacitorjs.com/) mobile apps (NOT READY YET)
|
|
41
|
-
|
|
42
|
-
\+
|
|
43
|
-
[Visual Studio Code](https://www.electronjs.org/)/ [VScodium](https://vscodium.com/) plugins
|
|
44
|
-
|
|
45
|
-
\+ Documentation websites with:<br>
|
|
46
|
-
- [MkDocs](https://www.mkdocs.org/) beautifull material wrapper for *.md docs files <br>
|
|
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
|
-
|
|
51
|
-
|
|
52
|
-
**[READ DOCUMENTATION](https://taon.dev/#/docs)**
|
|
53
|
-
|
|
54
|
-
### Initial requirements of taon
|
|
55
|
-
1. Installed git
|
|
56
|
-
(on windows only supported [gitbash](https://gitforwindows.org) or [pwsh](https://github.com/PowerShell/PowerShell))
|
|
57
|
-
|
|
58
|
-
2. Increased watchers limit (only on linux):
|
|
59
|
-
```bash
|
|
60
|
-
echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p
|
|
61
|
-
```
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
## Supported OS-es:
|
|
65
|
-
- Win10, Win11 (gitbash, pwsh)
|
|
66
|
-
- MacOS
|
|
67
|
-
- Linux
|
|
68
|
-
|
|
69
|
-
## Supported editors
|
|
70
|
-
- [Visual Studio Code](https://www.electronjs.org/)
|
|
71
|
-
- [VScodium](https://vscodium.com/)
|
|
72
|
-
<!--
|
|
73
|
-
## Not supported yet maybe in the future:
|
|
74
|
-
- [Cursor](https://cursor.com/)
|
|
75
|
-
- [Theia](https://theia-ide.org/)
|
|
76
|
-
-->
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
## Required version of NodeJS
|
|
80
|
-
- Windows 10/11 >= v22
|
|
81
|
-
- MacOS: >= v22
|
|
82
|
-
- Linux: >= v22
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
## How to install taon
|
|
86
|
-
```
|
|
87
|
-
npm i -g taon
|
|
88
|
-
```
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
## How to uninstall taon from local machine
|
|
92
|
-
Taon stores a big global container (in ~/.taon) for npm packages <br>
|
|
93
|
-
that are being shared across all taon projects.
|
|
94
|
-
|
|
95
|
-
```bash
|
|
96
|
-
npm uninstall -g taon
|
|
97
|
-
rm -rf ~/.taon # taon local repositories, databases, settings, caches.
|
|
98
|
-
```
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
## Projects that are part of taon.dev:
|
|
102
|
-
- taon https://github.com/darekf77/taon
|
|
103
|
-
+ framework library
|
|
104
|
-
- tnp https://github.com/darekf77/tnp
|
|
105
|
-
+ main cli / code structuring tool
|
|
106
|
-
- taon-core https://github.com/darekf77/tnp-core
|
|
107
|
-
+ essential/core helpers for all projects
|
|
108
|
-
- taon-helpers https://github.com/darekf77/tnp-helpers
|
|
109
|
-
+ extended core helpers
|
|
110
|
-
- taon-rest https://github.com/darekf77/ng2-rest
|
|
111
|
-
+ easy rest api
|
|
112
|
-
- taon-json https://github.com/darekf77/json10
|
|
113
|
-
+ handle JSON in better way
|
|
114
|
-
- taon-logger https://github.com/darekf77/ng2-logger
|
|
115
|
-
+ logging in isomorphic apps
|
|
116
|
-
- taon-typeorm https://github.com/darekf77/taon-typeorm
|
|
117
|
-
+ TypeOrm fork
|
|
118
|
-
- taon-type-sql https://github.com/darekf77/taon-type-sql
|
|
119
|
-
+ strongly type sql
|
|
120
|
-
- taon-incremental-watcher https://github.com/darekf77/incremental-compiler
|
|
121
|
-
+ abstraction for incremental builders NodeJS based
|
|
122
|
-
- taon-storage https://github.com/darekf77/taon-storage
|
|
123
|
-
+ ts decorators based storage solution
|
|
124
|
-
- taon-walk-object https://github.com/darekf77/lodash-walk-object
|
|
125
|
-
+ iterate over deep properties in object
|
|
126
|
-
- taon-class-helpers https://github.com/darekf77/typescript-class-helpers
|
|
127
|
-
+ helpers for OOP class names based
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
## Global npm dependencies installed with taon
|
|
131
|
-
Installation happens when you first time use taon
|
|
132
|
-
```jsonc
|
|
133
|
-
[
|
|
134
|
-
// alternative to npx ( it wil not download package from npm if is not installed )
|
|
135
|
-
{ name: 'npm-run', version: '4.1.2' },
|
|
136
|
-
//handy for removing files
|
|
137
|
-
{ name: 'rimraf', version: '3.0.2' },
|
|
138
|
-
//handy for recreating catalogs
|
|
139
|
-
{ name: 'mkdirp' },
|
|
140
|
-
// package manager
|
|
141
|
-
{ name: 'yarn' },
|
|
142
|
-
// https server with --base-href
|
|
143
|
-
{ name: 'taon-http-server' },
|
|
144
|
-
// code formatter
|
|
145
|
-
{ name: 'prettier' },
|
|
146
|
-
// process killer
|
|
147
|
-
{ name: 'fkill', installName: 'fkill-cli' },
|
|
148
|
-
// for unit tests runner
|
|
149
|
-
{ name: 'mocha' },
|
|
150
|
-
// for unit tests runner
|
|
151
|
-
{ name: 'jest' },
|
|
152
|
-
// run ts like js
|
|
153
|
-
{ name: 'ts-node' },
|
|
154
|
-
// fork of vsce package without npm dependencies restrictions
|
|
155
|
-
{ name: 'taon-vsce' },
|
|
156
|
-
// analyze you final bundle
|
|
157
|
-
{ name: 'webpack-bundle-analyzer' }
|
|
158
|
-
]
|
|
159
|
-
```
|
|
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:<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>
|
|
17
|
+
|
|
18
|
+
\+
|
|
19
|
+
[TypesScript](https://www.typescriptlang.org/) isomorphic libraries/backends/frontends
|
|
20
|
+
|
|
21
|
+
\+
|
|
22
|
+
[Angular](https://angular.io/) libraries and PWA apps
|
|
23
|
+
|
|
24
|
+
\+ Databases with Orm ([TypeORM](https://typeorm.io/)) <br>
|
|
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>
|
|
32
|
+
|
|
33
|
+
\+
|
|
34
|
+
[NodeJS](https://nodejs.org/en/) backends deployable on any server with on command
|
|
35
|
+
|
|
36
|
+
\+
|
|
37
|
+
[Electron](https://www.electronjs.org/) desktop apps
|
|
38
|
+
|
|
39
|
+
\+
|
|
40
|
+
[Capacitor](https://capacitorjs.com/) mobile apps (NOT READY YET)
|
|
41
|
+
|
|
42
|
+
\+
|
|
43
|
+
[Visual Studio Code](https://www.electronjs.org/)/ [VScodium](https://vscodium.com/) plugins
|
|
44
|
+
|
|
45
|
+
\+ Documentation websites with:<br>
|
|
46
|
+
- [MkDocs](https://www.mkdocs.org/) beautifull material wrapper for *.md docs files <br>
|
|
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
|
+
|
|
51
|
+
|
|
52
|
+
**[READ DOCUMENTATION](https://taon.dev/#/docs)**
|
|
53
|
+
|
|
54
|
+
### Initial requirements of taon
|
|
55
|
+
1. Installed git
|
|
56
|
+
(on windows only supported [gitbash](https://gitforwindows.org) or [pwsh](https://github.com/PowerShell/PowerShell))
|
|
57
|
+
|
|
58
|
+
2. Increased watchers limit (only on linux):
|
|
59
|
+
```bash
|
|
60
|
+
echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
## Supported OS-es:
|
|
65
|
+
- Win10, Win11 (gitbash, pwsh)
|
|
66
|
+
- MacOS
|
|
67
|
+
- Linux
|
|
68
|
+
|
|
69
|
+
## Supported editors
|
|
70
|
+
- [Visual Studio Code](https://www.electronjs.org/)
|
|
71
|
+
- [VScodium](https://vscodium.com/)
|
|
72
|
+
<!--
|
|
73
|
+
## Not supported yet maybe in the future:
|
|
74
|
+
- [Cursor](https://cursor.com/)
|
|
75
|
+
- [Theia](https://theia-ide.org/)
|
|
76
|
+
-->
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
## Required version of NodeJS
|
|
80
|
+
- Windows 10/11 >= v22
|
|
81
|
+
- MacOS: >= v22
|
|
82
|
+
- Linux: >= v22
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
## How to install taon
|
|
86
|
+
```
|
|
87
|
+
npm i -g taon
|
|
88
|
+
```
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
## How to uninstall taon from local machine
|
|
92
|
+
Taon stores a big global container (in ~/.taon) for npm packages <br>
|
|
93
|
+
that are being shared across all taon projects.
|
|
94
|
+
|
|
95
|
+
```bash
|
|
96
|
+
npm uninstall -g taon
|
|
97
|
+
rm -rf ~/.taon # taon local repositories, databases, settings, caches.
|
|
98
|
+
```
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
## Projects that are part of taon.dev:
|
|
102
|
+
- taon https://github.com/darekf77/taon
|
|
103
|
+
+ framework library
|
|
104
|
+
- tnp https://github.com/darekf77/tnp
|
|
105
|
+
+ main cli / code structuring tool
|
|
106
|
+
- taon-core https://github.com/darekf77/tnp-core
|
|
107
|
+
+ essential/core helpers for all projects
|
|
108
|
+
- taon-helpers https://github.com/darekf77/tnp-helpers
|
|
109
|
+
+ extended core helpers
|
|
110
|
+
- taon-rest https://github.com/darekf77/ng2-rest
|
|
111
|
+
+ easy rest api
|
|
112
|
+
- taon-json https://github.com/darekf77/json10
|
|
113
|
+
+ handle JSON in better way
|
|
114
|
+
- taon-logger https://github.com/darekf77/ng2-logger
|
|
115
|
+
+ logging in isomorphic apps
|
|
116
|
+
- taon-typeorm https://github.com/darekf77/taon-typeorm
|
|
117
|
+
+ TypeOrm fork
|
|
118
|
+
- taon-type-sql https://github.com/darekf77/taon-type-sql
|
|
119
|
+
+ strongly type sql
|
|
120
|
+
- taon-incremental-watcher https://github.com/darekf77/incremental-compiler
|
|
121
|
+
+ abstraction for incremental builders NodeJS based
|
|
122
|
+
- taon-storage https://github.com/darekf77/taon-storage
|
|
123
|
+
+ ts decorators based storage solution
|
|
124
|
+
- taon-walk-object https://github.com/darekf77/lodash-walk-object
|
|
125
|
+
+ iterate over deep properties in object
|
|
126
|
+
- taon-class-helpers https://github.com/darekf77/typescript-class-helpers
|
|
127
|
+
+ helpers for OOP class names based
|
|
128
|
+
|
|
129
|
+
|
|
130
|
+
## Global npm dependencies installed with taon
|
|
131
|
+
Installation happens when you first time use taon
|
|
132
|
+
```jsonc
|
|
133
|
+
[
|
|
134
|
+
// alternative to npx ( it wil not download package from npm if is not installed )
|
|
135
|
+
{ name: 'npm-run', version: '4.1.2' },
|
|
136
|
+
//handy for removing files
|
|
137
|
+
{ name: 'rimraf', version: '3.0.2' },
|
|
138
|
+
//handy for recreating catalogs
|
|
139
|
+
{ name: 'mkdirp' },
|
|
140
|
+
// package manager
|
|
141
|
+
{ name: 'yarn' },
|
|
142
|
+
// https server with --base-href
|
|
143
|
+
{ name: 'taon-http-server' },
|
|
144
|
+
// code formatter
|
|
145
|
+
{ name: 'prettier' },
|
|
146
|
+
// process killer
|
|
147
|
+
{ name: 'fkill', installName: 'fkill-cli' },
|
|
148
|
+
// for unit tests runner
|
|
149
|
+
{ name: 'mocha' },
|
|
150
|
+
// for unit tests runner
|
|
151
|
+
{ name: 'jest' },
|
|
152
|
+
// run ts like js
|
|
153
|
+
{ name: 'ts-node' },
|
|
154
|
+
// fork of vsce package without npm dependencies restrictions
|
|
155
|
+
{ name: 'taon-vsce' },
|
|
156
|
+
// analyze you final bundle
|
|
157
|
+
{ name: 'webpack-bundle-analyzer' }
|
|
158
|
+
]
|
|
159
|
+
```
|
package/bin/start.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
Error.stackTraceLimit = 100;
|
|
2
|
-
global.i0 = {
|
|
3
|
-
defineInjectable: function () { }
|
|
4
|
-
}
|
|
5
|
-
const process= require('process');
|
|
6
|
-
process.removeAllListeners('warning');
|
|
7
|
-
|
|
8
|
-
const fs = require('fs');
|
|
9
|
-
const path = require('path');
|
|
10
|
-
var pathToCliJS = {
|
|
11
|
-
distDev: path.join(__dirname, '../dist/cli.js'),
|
|
12
|
-
localOrNPm: path.join(__dirname, '../cli.js')
|
|
13
|
-
}
|
|
14
|
-
var p = fs.existsSync(pathToCliJS.distDev) ? pathToCliJS.distDev : pathToCliJS.localOrNPm;
|
|
15
|
-
global.globalSystemToolMode = true;
|
|
16
|
-
var run = require(p).start;
|
|
17
|
-
run(process.argv,__filename);
|
|
1
|
+
Error.stackTraceLimit = 100;
|
|
2
|
+
global.i0 = {
|
|
3
|
+
defineInjectable: function () { }
|
|
4
|
+
}
|
|
5
|
+
const process= require('process');
|
|
6
|
+
process.removeAllListeners('warning');
|
|
7
|
+
|
|
8
|
+
const fs = require('fs');
|
|
9
|
+
const path = require('path');
|
|
10
|
+
var pathToCliJS = {
|
|
11
|
+
distDev: path.join(__dirname, '../dist/cli.js'),
|
|
12
|
+
localOrNPm: path.join(__dirname, '../cli.js')
|
|
13
|
+
}
|
|
14
|
+
var p = fs.existsSync(pathToCliJS.distDev) ? pathToCliJS.distDev : pathToCliJS.localOrNPm;
|
|
15
|
+
global.globalSystemToolMode = true;
|
|
16
|
+
var run = require(p).start;
|
|
17
|
+
run(process.argv,__filename);
|
package/bin/taon
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
#!/usr/bin/env -S node --no-deprecation
|
|
2
|
-
//#region @backend
|
|
3
|
-
// --stack-trace-limit=10000
|
|
4
|
-
require('./start');
|
|
5
|
-
//#endregion
|
|
1
|
+
#!/usr/bin/env -S node --no-deprecation
|
|
2
|
+
//#region @backend
|
|
3
|
+
// --stack-trace-limit=10000
|
|
4
|
+
require('./start');
|
|
5
|
+
//#endregion
|
package/bin/taon-debug
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
#!/usr/bin/env -S node --inspect --stack-trace-limit=10000 --no-deprecation
|
|
2
|
-
//#region @backend
|
|
3
|
-
// --stack-trace-limit=10000
|
|
4
|
-
require('./start');
|
|
5
|
-
//#endregion
|
|
1
|
+
#!/usr/bin/env -S node --inspect --stack-trace-limit=10000 --no-deprecation
|
|
2
|
+
//#region @backend
|
|
3
|
+
// --stack-trace-limit=10000
|
|
4
|
+
require('./start');
|
|
5
|
+
//#endregion
|
package/bin/taon-debug-brk
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
#!/usr/bin/env -S node --inspect-brk --stack-trace-limit=10000 --no-deprecation
|
|
2
|
-
//#region @backend
|
|
3
|
-
require('./start');
|
|
4
|
-
//#endregion
|
|
1
|
+
#!/usr/bin/env -S node --inspect-brk --stack-trace-limit=10000 --no-deprecation
|
|
2
|
+
//#region @backend
|
|
3
|
+
require('./start');
|
|
4
|
+
//#endregion
|
package/browser/README.md
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
# MyLib
|
|
2
|
-
|
|
3
|
-
This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 13.2.0.
|
|
4
|
-
|
|
5
|
-
## Code scaffolding
|
|
6
|
-
|
|
7
|
-
Run `ng generate component component-name --project my-lib` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module --project my-lib`.
|
|
8
|
-
> Note: Don't forget to add `--project my-lib` or else it will be added to the default project in your `angular.json` file.
|
|
9
|
-
|
|
10
|
-
## Build
|
|
11
|
-
|
|
12
|
-
Run `ng build my-lib` to build the project. The build artifacts will be stored in the `dist/` directory.
|
|
13
|
-
|
|
14
|
-
## Publishing
|
|
15
|
-
|
|
16
|
-
After building your library with `ng build my-lib`, go to the dist folder `cd dist/my-lib` and run `npm publish`.
|
|
17
|
-
|
|
18
|
-
## Running unit tests
|
|
19
|
-
|
|
20
|
-
Run `ng test my-lib` to execute the unit tests via [Karma](https://karma-runner.github.io).
|
|
21
|
-
|
|
22
|
-
## Further help
|
|
23
|
-
|
|
24
|
-
To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.
|
|
1
|
+
# MyLib
|
|
2
|
+
|
|
3
|
+
This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 13.2.0.
|
|
4
|
+
|
|
5
|
+
## Code scaffolding
|
|
6
|
+
|
|
7
|
+
Run `ng generate component component-name --project my-lib` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module --project my-lib`.
|
|
8
|
+
> Note: Don't forget to add `--project my-lib` or else it will be added to the default project in your `angular.json` file.
|
|
9
|
+
|
|
10
|
+
## Build
|
|
11
|
+
|
|
12
|
+
Run `ng build my-lib` to build the project. The build artifacts will be stored in the `dist/` directory.
|
|
13
|
+
|
|
14
|
+
## Publishing
|
|
15
|
+
|
|
16
|
+
After building your library with `ng build my-lib`, go to the dist folder `cd dist/my-lib` and run `npm publish`.
|
|
17
|
+
|
|
18
|
+
## Running unit tests
|
|
19
|
+
|
|
20
|
+
Run `ng test my-lib` to execute the unit tests via [Karma](https://karma-runner.github.io).
|
|
21
|
+
|
|
22
|
+
## Further help
|
|
23
|
+
|
|
24
|
+
To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.
|