gina 0.7.4 → 0.7.5
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/CHANGELOG.md +79 -8
- package/CONTRIBUTING.md +1 -1
- package/INSTALL.md +3 -42
- package/README.md +56 -50
- package/ROADMAP.md +18 -4
- package/bin/cli +13 -6
- package/bin/gina +8 -0
- package/bin/gina-container +92 -11
- package/bin/gina-init +49 -4
- package/framework/v0.7.5/VERSION +1 -0
- package/framework/{v0.7.4 → v0.7.5}/core/asset/plugin/dist/vendor/gina/js/gina.js +1062 -139
- package/framework/v0.7.5/core/asset/plugin/dist/vendor/gina/js/gina.min.js +744 -0
- package/framework/v0.7.5/core/asset/plugin/dist/vendor/gina/js/gina.min.js.br +0 -0
- package/framework/v0.7.5/core/asset/plugin/dist/vendor/gina/js/gina.min.js.gz +0 -0
- package/framework/{v0.7.4 → v0.7.5}/core/config.js +27 -2
- package/framework/{v0.7.4 → v0.7.5}/core/connectors/couchbase/index.js +36 -2
- package/framework/{v0.7.4 → v0.7.5}/core/connectors/couchbase/lib/connector.v3.js +63 -13
- package/framework/{v0.7.4 → v0.7.5}/core/connectors/couchbase/lib/connector.v4.js +56 -11
- package/framework/{v0.7.4 → v0.7.5}/core/connectors/duckdb/index.js +10 -5
- package/framework/{v0.7.4 → v0.7.5}/core/connectors/duckdb/lib/connector.js +27 -3
- package/framework/{v0.7.4 → v0.7.5}/core/connectors/mongodb/index.js +10 -5
- package/framework/{v0.7.4 → v0.7.5}/core/connectors/mysql/index.js +10 -5
- package/framework/{v0.7.4 → v0.7.5}/core/connectors/postgresql/index.js +10 -5
- package/framework/{v0.7.4 → v0.7.5}/core/connectors/scylladb/index.js +10 -5
- package/framework/{v0.7.4 → v0.7.5}/core/connectors/scylladb/lib/connector.js +4 -3
- package/framework/{v0.7.4 → v0.7.5}/core/connectors/sqlite/index.js +10 -5
- package/framework/{v0.7.4 → v0.7.5}/core/connectors/sqlite/lib/connector.js +10 -5
- package/framework/{v0.7.4 → v0.7.5}/core/connectors/sqlite/lib/job-store.js +2 -2
- package/framework/{v0.7.4 → v0.7.5}/core/connectors/sqlite/lib/kv-store.js +1 -1
- package/framework/{v0.7.4 → v0.7.5}/core/controller/controller.js +79 -8
- package/framework/{v0.7.4 → v0.7.5}/core/gna.js +11 -3
- package/framework/{v0.7.4 → v0.7.5}/core/model/index.js +19 -12
- package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/validator/src/form-validator.js +95 -8
- package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/validator/src/main.js +574 -64
- package/framework/{v0.7.4 → v0.7.5}/core/server.isaac.js +1 -1
- package/framework/{v0.7.4 → v0.7.5}/core/template/boilerplate/bundle/index.js +3 -1
- package/framework/{v0.7.4 → v0.7.5}/helpers/context.js +17 -1
- package/framework/{v0.7.4 → v0.7.5}/helpers/data/src/main.js +74 -4
- package/framework/{v0.7.4 → v0.7.5}/helpers/index.js +7 -1
- package/framework/v0.7.5/helpers/json/src/main.js +340 -0
- package/framework/{v0.7.4 → v0.7.5}/lib/cmd/bundle/list.js +4 -2
- package/framework/{v0.7.4 → v0.7.5}/lib/cmd/bundle/restart.js +2 -1
- package/framework/{v0.7.4 → v0.7.5}/lib/cmd/bundle/start.js +52 -4
- package/framework/{v0.7.4 → v0.7.5}/lib/cmd/bundle/status.js +2 -1
- package/framework/{v0.7.4 → v0.7.5}/lib/cmd/env/add.js +17 -3
- package/framework/v0.7.5/lib/cmd/framework/inc/child-failure.js +77 -0
- package/framework/{v0.7.4 → v0.7.5}/lib/cmd/framework/init.js +31 -4
- package/framework/{v0.7.4 → v0.7.5}/lib/cmd/framework/link.js +6 -1
- package/framework/{v0.7.4 → v0.7.5}/lib/cmd/framework/start.js +6 -6
- package/framework/{v0.7.4 → v0.7.5}/lib/cmd/helper.js +165 -16
- package/framework/{v0.7.4 → v0.7.5}/lib/cmd/project/add.js +79 -27
- package/framework/{v0.7.4 → v0.7.5}/lib/cmd/project/rename.js +1 -1
- package/framework/{v0.7.4 → v0.7.5}/lib/cmd/project/restore.js +4 -4
- package/framework/{v0.7.4 → v0.7.5}/lib/cmd/project/status.js +2 -1
- package/framework/{v0.7.4 → v0.7.5}/lib/collection/src/main.js +59 -9
- package/framework/{v0.7.4 → v0.7.5}/lib/connector-config/src/main.js +52 -1
- package/framework/{v0.7.4 → v0.7.5}/lib/model.js +35 -11
- package/framework/{v0.7.4 → v0.7.5}/lib/proc.js +95 -31
- package/framework/{v0.7.4 → v0.7.5}/lib/routing/src/main.js +260 -54
- package/framework/{v0.7.4 → v0.7.5}/lib/swig-resolver/src/main.js +107 -12
- package/framework/{v0.7.4 → v0.7.5}/package.json +2 -2
- package/gna.js +4 -4
- package/llms.txt +35 -28
- package/package.json +6 -6
- package/schema/connectors.json +3 -3
- package/schema/settings.json +3 -3
- package/script/post_install.js +36 -9
- package/script/pre_install.js +9 -5
- package/script/smoke_in_container.js +4 -4
- package/types/globals.d.ts +7 -1
- package/types/index.d.ts +3 -3
- package/framework/v0.7.4/VERSION +0 -1
- package/framework/v0.7.4/core/asset/plugin/dist/vendor/gina/js/gina.min.js +0 -736
- package/framework/v0.7.4/core/asset/plugin/dist/vendor/gina/js/gina.min.js.br +0 -0
- package/framework/v0.7.4/core/asset/plugin/dist/vendor/gina/js/gina.min.js.gz +0 -0
- package/framework/v0.7.4/helpers/json/src/main.js +0 -187
- /package/framework/{v0.7.4 → v0.7.5}/AUTHORS +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/LICENSE +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/asset/html/nolayout.html +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/asset/html/static.html +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/asset/img/android-chrome-192x192.png +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/asset/img/android-chrome-512x512.png +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/asset/img/apple-touch-icon.png +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/asset/img/favicon-16x16.png +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/asset/img/favicon-32x32.png +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/asset/img/favicon.ico +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/asset/plugin/README.md +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/asset/plugin/dist/vendor/gina/beemaster/beemaster.css +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/asset/plugin/dist/vendor/gina/beemaster/beemaster.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/asset/plugin/dist/vendor/gina/beemaster/index.html +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/asset/plugin/dist/vendor/gina/css/gina.min.css +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/asset/plugin/dist/vendor/gina/css/gina.min.css.br +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/asset/plugin/dist/vendor/gina/css/gina.min.css.gz +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/asset/plugin/dist/vendor/gina/html/statusbar.html +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/asset/plugin/dist/vendor/gina/html/statusbar.html.br +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/asset/plugin/dist/vendor/gina/html/statusbar.html.gz +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/asset/plugin/dist/vendor/gina/inspector/have_heart_one-webfont.woff2 +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/asset/plugin/dist/vendor/gina/inspector/index.html +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/asset/plugin/dist/vendor/gina/inspector/inspector.css +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/asset/plugin/dist/vendor/gina/inspector/inspector.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/asset/plugin/dist/vendor/gina/inspector/logo.svg +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/asset/plugin/dist/vendor/gina/js/gina.onload.min.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/asset/plugin/dist/vendor/gina/js/gina.onload.min.js.br +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/asset/plugin/dist/vendor/gina/js/gina.onload.min.js.gz +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/config.requirements-anchor.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/connectors/ai/index.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/connectors/ai/lib/connector.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/connectors/couchbase/lib/connector.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/connectors/couchbase/lib/n1ql.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/connectors/couchbase/lib/session-store.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/connectors/couchbase/lib/session-store.v3.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/connectors/couchbase/lib/session-store.v4.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/connectors/couchbase/lib/storage-store.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/connectors/mongodb/lib/connector.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/connectors/mongodb/lib/job-store.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/connectors/mongodb/lib/pipeline-loader.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/connectors/mongodb/lib/session-store.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/connectors/mysql/lib/connector.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/connectors/param-redact.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/connectors/postgresql/lib/connector.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/connectors/redis/index.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/connectors/redis/lib/connector.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/connectors/redis/lib/job-store.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/connectors/redis/lib/kv-store.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/connectors/redis/lib/render-cache-store.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/connectors/redis/lib/session-store.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/connectors/scylladb/lib/session-store.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/connectors/settle-once.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/connectors/sql-parser.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/connectors/sqlite/lib/session-store.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/content.encoding +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/controller/controller.framework.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/controller/controller.render-json.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/controller/controller.render-nunjucks-async.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/controller/controller.render-nunjucks.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/controller/controller.render-stream.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/controller/controller.render-swig-async.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/controller/controller.render-swig.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/controller/controller.render-v1.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/controller/controller.render-xml.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/controller/index.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/controller/inline-script.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/controller/inspector-window-emit.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/controller/preload-hints.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/controller/release-banner.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/dev/index.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/dev/lib/class.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/dev/lib/factory.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/dev/lib/tools.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/locales/README.md +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/locales/currency.json +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/locales/dist/language/en.json +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/locales/dist/language/fr.json +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/locales/dist/region/en.json +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/locales/dist/region/fr.json +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/locales/index.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/mime.types +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/model/entity.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/model/template/entityFactory.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/model/template/index.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/plugins/README.md +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/plugins/index.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/csrf/README.md +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/csrf/package.json +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/csrf/src/main.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/security-headers/README.md +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/security-headers/coep/README.md +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/security-headers/coep/package.json +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/security-headers/coep/src/main.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/security-headers/coop/README.md +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/security-headers/coop/package.json +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/security-headers/coop/src/main.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/security-headers/corp/README.md +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/security-headers/corp/package.json +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/security-headers/corp/src/main.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/security-headers/csp/README.md +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/security-headers/csp/package.json +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/security-headers/csp/src/main.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/security-headers/hide-powered-by/README.md +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/security-headers/hide-powered-by/package.json +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/security-headers/hide-powered-by/src/main.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/security-headers/hsts/README.md +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/security-headers/hsts/package.json +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/security-headers/hsts/src/main.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/security-headers/origin-agent-cluster/README.md +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/security-headers/origin-agent-cluster/package.json +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/security-headers/origin-agent-cluster/src/main.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/security-headers/package.json +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/security-headers/referrer-policy/README.md +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/security-headers/referrer-policy/package.json +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/security-headers/referrer-policy/src/main.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/security-headers/src/main.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/security-headers/x-content-type-options/README.md +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/security-headers/x-content-type-options/package.json +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/security-headers/x-content-type-options/src/main.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/security-headers/x-dns-prefetch-control/README.md +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/security-headers/x-dns-prefetch-control/package.json +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/security-headers/x-dns-prefetch-control/src/main.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/security-headers/x-download-options/README.md +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/security-headers/x-download-options/package.json +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/security-headers/x-download-options/src/main.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/security-headers/x-frame-options/README.md +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/security-headers/x-frame-options/package.json +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/security-headers/x-frame-options/src/main.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/security-headers/x-permitted-cross-domain-policies/README.md +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/security-headers/x-permitted-cross-domain-policies/package.json +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/security-headers/x-permitted-cross-domain-policies/src/main.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/security-headers/x-xss-protection/README.md +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/security-headers/x-xss-protection/package.json +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/security-headers/x-xss-protection/src/main.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/session/README.md +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/session/package.json +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/session/src/main.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/storage/README.md +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/storage/build.json +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/storage/package.json +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/storage/src/main.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/validator/README.md +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/validator/build.json +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/validator/package.json +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/router.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/server.express.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/server.isaac.rapid-reset.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/server.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/server.route-candidates.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/status.codes +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/template/_gitignore +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/template/boilerplate/bundle/config/app.json +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/template/boilerplate/bundle/config/connectors.json +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/template/boilerplate/bundle/config/routing.json +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/template/boilerplate/bundle/config/settings.json +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/template/boilerplate/bundle/config/settings.server.json +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/template/boilerplate/bundle/config/templates.json +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/template/boilerplate/bundle/config/watchers.json +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/template/boilerplate/bundle/controllers/controller.content.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/template/boilerplate/bundle/controllers/controller.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/template/boilerplate/bundle/controllers/setup.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/template/boilerplate/bundle/locales/en.json +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/template/boilerplate/bundle_namespace/controllers/controller.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/template/boilerplate/bundle_public/css/default.css +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/template/boilerplate/bundle_public/css/home.css +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/template/boilerplate/bundle_public/css/vendor/readme.md +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/template/boilerplate/bundle_public/favicon.ico +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/template/boilerplate/bundle_public/js/components/x-checklist.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/template/boilerplate/bundle_public/js/vendor/readme.md +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/template/boilerplate/bundle_public/manifest.webmanifest +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/template/boilerplate/bundle_public/readme.md +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/template/boilerplate/bundle_public/sw.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/template/boilerplate/bundle_templates/handlers/main.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/template/boilerplate/bundle_templates/html/content/homepage.html +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/template/boilerplate/bundle_templates/html/includes/error-msg-noscript.html +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/template/boilerplate/bundle_templates/html/includes/error-msg-outdated-browser.html +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/template/boilerplate/bundle_templates/html/includes/x-checklist.html +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/template/boilerplate/bundle_templates/html/layouts/main.html +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/template/command/gina.bat.tpl +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/template/command/gina.tpl +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/template/conf/env.json +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/template/conf/manifest.json +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/template/conf/package.json +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/template/conf/settings.json +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/template/conf/statics.json +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/template/conf/templates.json +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/template/error/client/json/401.json +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/template/error/client/json/403.json +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/template/error/client/json/404.json +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/template/error/server/html/50x.html +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/template/error/server/json/500.json +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/template/error/server/json/503.json +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/core/template/extensions/logger/config.json +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/helpers/console.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/helpers/data/LICENSE +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/helpers/data/README.md +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/helpers/data/package.json +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/helpers/dateFormat.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/helpers/json/LICENSE +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/helpers/json/README.md +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/helpers/json/package.json +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/helpers/path.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/helpers/plugins/README.md +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/helpers/plugins/package.json +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/helpers/plugins/src/api-error.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/helpers/plugins/src/main.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/helpers/prototypes.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/helpers/task.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/helpers/text.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/admin/package.json +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/admin/src/main.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/archiver/README.md +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/archiver/build.json +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/archiver/package.json +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/archiver/src/dep/jszip.min.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/archiver/src/main.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/async/package.json +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/async/src/main.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/audit/package.json +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/audit/src/main.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/audit-store.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/authn/package.json +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/authn/src/lockout.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/authn/src/main.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/authn/src/totp.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/authz-gate/package.json +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/authz-gate/src/main.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cache/README.md +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cache/build.json +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cache/package.json +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cache/src/main.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/aliases.json +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/audit/arguments.json +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/audit/help.txt +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/audit/verify.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/bundle/add.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/bundle/arguments.json +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/bundle/build.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/bundle/copy.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/bundle/cp.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/bundle/help.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/bundle/help.txt +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/bundle/inc/boot-lines.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/bundle/inc/name-rewrite.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/bundle/inc/name.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/bundle/inc/start-status.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/bundle/man.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/bundle/mcp-start.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/bundle/mcp.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/bundle/oas.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/bundle/openapi.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/bundle/remove.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/bundle/rename.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/bundle/rm.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/bundle/stop.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/bundle/types.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/cache/arguments.json +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/cache/clear.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/cache/help.txt +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/cache/stats.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/connector/add.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/connector/arguments.json +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/connector/help.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/connector/help.txt +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/connector/infer.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/connector/list.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/connector/migrate.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/connector/models.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/connector/remove.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/connector/rm.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/connector/test.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/container/arguments.json +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/container/help.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/container/help.txt +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/container/man.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/container/ps.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/container/stop.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/controller/add.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/controller/arguments.json +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/controller/help.txt +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/controller/inc/args.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/controller/inc/namespace.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/controller/inc/reference-rewrite.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/controller/inc/reference-scan.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/controller/inc/scaffold.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/controller/remove.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/controller/rename.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/controller/rm.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/env/get.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/env/help.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/env/help.txt +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/env/inc/name.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/env/link-dev.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/env/list.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/env/remove.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/env/rm.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/env/set.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/env/unset.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/env/use.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/framework/add.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/framework/arguments.json +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/framework/build.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/framework/dot.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/framework/get.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/framework/help.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/framework/help.txt +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/framework/inc/listen-error.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/framework/inc/ps-titles.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/framework/link-node-modules.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/framework/list.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/framework/man.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/framework/msg.json +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/framework/open.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/framework/remove.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/framework/reset.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/framework/restart.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/framework/set.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/framework/status.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/framework/stop.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/framework/tail.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/framework/update.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/framework/version.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/gina-dev.1.md +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/gina-framework.1.md +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/gina.1.md +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/i18n/add.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/i18n/arguments.json +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/i18n/export.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/i18n/help.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/i18n/help.txt +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/i18n/import.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/i18n/scan.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/image/_host.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/image/arguments.json +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/image/build.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/image/help.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/image/help.txt +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/image/list.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/image/man.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/image/rm.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/image/run.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/index.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/inspector/help.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/inspector/help.txt +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/inspector/open.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/man-render.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/minion/arguments.json +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/minion/help.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/minion/help.txt +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/minion/kill.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/minion/list.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/msg.json +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/port/help.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/port/help.txt +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/port/inc/scan.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/port/list.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/port/reset.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/port/set.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/project/arguments.json +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/project/backup.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/project/build.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/project/help.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/project/help.txt +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/project/import.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/project/inc/name.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/project/list.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/project/man.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/project/move.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/project/remove.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/project/restart.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/project/rm.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/project/start.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/project/stop.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/protocol/arguments.json +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/protocol/help.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/protocol/help.txt +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/protocol/list.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/protocol/remove.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/protocol/set.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/scope/add.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/scope/help.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/scope/help.txt +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/scope/inc/name.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/scope/link-local.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/scope/link-production.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/scope/list.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/scope/remove.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/scope/rm.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/scope/use.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/secrets/arguments.json +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/secrets/check.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/secrets/help.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/secrets/help.txt +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/secrets/scan.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/service/help.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/service/help.txt +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/service/list.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/service/man.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/service/start.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/storage/arguments.json +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/storage/gc.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/storage/help.txt +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/storage/stats.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/storage/verify.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/view/add.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd-status-format/package.json +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cmd-status-format/src/main.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/collection/README.md +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/collection/build.json +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/collection/package.json +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/conf-view/package.json +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/conf-view/src/main.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/config.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/connector-config/package.json +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/connector-error/package.json +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/connector-error/src/main.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/connector-registry/package.json +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/connector-registry/src/main.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cron/README.md +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cron/package.json +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/cron/src/main.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/domain/LICENSE +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/domain/README.md +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/domain/package.json +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/domain/src/main.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/dto/package.json +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/dto/src/main.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/dto-pipe/package.json +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/dto-pipe/src/main.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/dto-types/package.json +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/dto-types/src/main.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/duration/package.json +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/duration/src/main.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/error-ref/package.json +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/error-ref/src/main.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/generator/index.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/i18n/package.json +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/i18n/src/main.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/idempotency/package.json +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/idempotency/src/main.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/image-build/package.json +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/image-build/src/main.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/index.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/inherits/LICENSE +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/inherits/README.md +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/inherits/package.json +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/inherits/src/main.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/inspector-events/package.json +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/inspector-events/src/main.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/inspector-redact/package.json +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/inspector-redact/src/main.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/instrument/package.json +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/instrument/src/main.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/job/package.json +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/job/src/main.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/job-store.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/json-config-header/package.json +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/json-config-header/src/main.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/kv/package.json +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/kv/src/main.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/kv-store.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/lane/package.json +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/lane/src/main.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/loading-state/package.json +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/loading-state/src/main.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/logger/README.md +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/logger/package.json +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/logger/src/containers/default/index.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/logger/src/containers/file/index.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/logger/src/containers/mq/index.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/logger/src/containers/mq/listener.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/logger/src/containers/mq/speaker.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/logger/src/helper.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/logger/src/main.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/logger/src/redact.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/maintenance/package.json +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/maintenance/src/main.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/math/index.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/mcp-dispatch/package.json +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/mcp-dispatch/src/main.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/mcp-http/package.json +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/mcp-http/src/main.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/mcp-server/package.json +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/mcp-server/src/main.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/merge/README.md +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/merge/package.json +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/merge/src/main.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/message-validator/package.json +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/message-validator/src/main.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/metrics/package.json +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/metrics/src/main.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/money/package.json +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/money/src/main.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/multipart/package.json +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/multipart/src/main.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/net-locality/package.json +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/net-locality/src/main.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/nunjucks-filters/README.md +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/nunjucks-filters/package.json +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/nunjucks-filters/src/main.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/nunjucks-resolver/package.json +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/nunjucks-resolver/src/main.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/priority/package.json +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/priority/src/main.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/push/package.json +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/push/src/main.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/rate-limit/package.json +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/rate-limit/src/main.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/release-watch/package.json +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/release-watch/src/main.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/render-cache/package.json +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/render-cache/src/main.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/render-cache-store.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/routing/README.md +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/routing/build.json +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/routing/package.json +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/routing-introspect/package.json +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/routing-introspect/src/main.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/secrets/package.json +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/secrets/src/backends/env.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/secrets/src/backends/exec.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/secrets/src/backends/file.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/secrets/src/declaration.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/secrets/src/env-file.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/secrets/src/main.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/secrets/src/sources.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/security-headers-emitter/package.json +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/security-headers-emitter/src/main.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/session-lifetime/package.json +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/session-lifetime/src/main.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/session-store.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/shell.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/sqlite-driver.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/sri/package.json +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/sri/src/main.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/state.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/storage/package.json +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/storage/src/local-cas.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/storage/src/local-stream.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/storage/src/local.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/storage/src/main.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/storage/src/meta-store.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/storage/src/s3.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/storage/src/util.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/storage-store.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/swig-filters/README.md +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/swig-filters/package.json +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/swig-filters/src/main.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/swig-resolver/package.json +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/template-loaders/package.json +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/template-loaders/src/loaders/http.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/template-loaders/src/loaders/memory.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/template-loaders/src/main.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/url/README.md +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/url/index.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/url/routing.json +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/uuid/package.json +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/uuid/src/main.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/validator.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/watcher/package.json +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/watcher/src/main.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/ws-framing/package.json +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/ws-framing/src/main.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/ws-query/package.json +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/ws-query/src/main.js +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/ws-session/package.json +0 -0
- /package/framework/{v0.7.4 → v0.7.5}/lib/ws-session/src/main.js +0 -0
|
@@ -225,8 +225,8 @@ function Add(opt, cmd) {
|
|
|
225
225
|
if ( !file.existsSync() ) {
|
|
226
226
|
createPackageFile( file.toString() )
|
|
227
227
|
} else {
|
|
228
|
-
console.warn('[ package.json ] already exists in this location: '+ file + '\
|
|
229
|
-
//
|
|
228
|
+
console.warn('[ package.json ] already exists in this location: '+ file + '\nLeaving it as it is.');
|
|
229
|
+
// #B363: createPackageFile leaves it untouched, then calls end()
|
|
230
230
|
// which writes projects.json and calls process.exit(0). Without this, the process
|
|
231
231
|
// hangs wherever bin/cli has bound its MQ log listener, which keeps the event loop
|
|
232
232
|
// alive (the MQ speaker's socket is unref'd).
|
|
@@ -560,45 +560,97 @@ function Add(opt, cmd) {
|
|
|
560
560
|
|
|
561
561
|
|
|
562
562
|
/**
|
|
563
|
-
*
|
|
564
|
-
*
|
|
563
|
+
* gina's own Node floor: the lower bound of `engines.node` in gina's
|
|
564
|
+
* package.json (`>= 22 <27` gives `22`). A new project's package.json
|
|
565
|
+
* carries it rather than the version of the Node running this command,
|
|
566
|
+
* which would tie the project to the machine that created it (#B363).
|
|
565
567
|
*
|
|
566
568
|
* @inner
|
|
567
569
|
* @private
|
|
570
|
+
* @returns {?string} The floor, such as `22`; null when gina's `engines.node` has no `>=` lower bound
|
|
571
|
+
*
|
|
572
|
+
* @example
|
|
573
|
+
* // gina's package.json declares "engines": { "node": ">= 22 <27" }
|
|
574
|
+
* getNodeFloor(); // → '22'
|
|
575
|
+
*/
|
|
576
|
+
var getNodeFloor = function() {
|
|
577
|
+
try {
|
|
578
|
+
var ginaPack = JSON.parse(fs.readFileSync(String(_(getPath('gina').root + '/package.json', true)), 'utf8'));
|
|
579
|
+
var range = ( ginaPack.engines && ginaPack.engines.node ) ? String(ginaPack.engines.node) : '';
|
|
580
|
+
var floor = /^\s*>=\s*v?(\d+(?:\.\d+){0,2})/.exec(range);
|
|
581
|
+
return ( floor ) ? floor[1] : null;
|
|
582
|
+
} catch (floorErr) {
|
|
583
|
+
return null;
|
|
584
|
+
}
|
|
585
|
+
}
|
|
586
|
+
|
|
587
|
+
/**
|
|
588
|
+
* Writes a NEW package.json: JSON with a 4-space indent and a final
|
|
589
|
+
* newline, at mode 0644, through a sibling temp file and a rename so no
|
|
590
|
+
* reader sees a partial file. It does not use
|
|
591
|
+
* `lib.generator.createFileFromDataSync`, which writes every file at mode
|
|
592
|
+
* 0755 and without a final newline (#B363).
|
|
593
|
+
*
|
|
594
|
+
* @inner
|
|
595
|
+
* @private
|
|
596
|
+
* @param {object} content - The package.json content
|
|
568
597
|
* @param {string} target - Absolute path to package.json
|
|
569
|
-
*
|
|
598
|
+
*
|
|
599
|
+
* @example
|
|
600
|
+
* writePackageFile({ name: 'myproject', version: '1.0.0' }, '/path/to/myproject/package.json');
|
|
601
|
+
*/
|
|
602
|
+
var writePackageFile = function(content, target) {
|
|
603
|
+
var tmp = target + '.' + process.pid + '.tmp';
|
|
604
|
+
try {
|
|
605
|
+
fs.writeFileSync(tmp, JSON.stringify(content, null, 4) + '\n');
|
|
606
|
+
fs.chmodSync(tmp, 0o644);
|
|
607
|
+
fs.renameSync(tmp, target);
|
|
608
|
+
} catch (writeErr) {
|
|
609
|
+
try { fs.unlinkSync(tmp) } catch (unlinkErr) { /* already gone */ }
|
|
610
|
+
throw writeErr
|
|
611
|
+
}
|
|
612
|
+
}
|
|
613
|
+
|
|
614
|
+
/**
|
|
615
|
+
* Writes the project's package.json from the framework template, only
|
|
616
|
+
* when the project has none, then the `.gitignore`, then ends the command.
|
|
617
|
+
*
|
|
618
|
+
* An existing package.json is the project's own manifest and is left as it
|
|
619
|
+
* is, as the `.gitignore` is (#B258). Up to 0.7.4 it was rewritten with the
|
|
620
|
+
* template winning every key both defined (`name`, `description`,
|
|
621
|
+
* `engines.node`), re-indented, without its final newline and at mode
|
|
622
|
+
* 0755; nothing in gina reads those three fields (#B363). A new
|
|
623
|
+
* package.json carries gina's own Node floor (getNodeFloor) and is written
|
|
624
|
+
* by writePackageFile.
|
|
625
|
+
*
|
|
626
|
+
* @inner
|
|
627
|
+
* @private
|
|
628
|
+
* @param {string} target - Absolute path to package.json
|
|
629
|
+
* @param {boolean} [isCreatedFromExistingPackage] - When true, the project already has a package.json, which is left untouched
|
|
570
630
|
*/
|
|
571
631
|
var createPackageFile = function(target, isCreatedFromExistingPackage) {
|
|
572
632
|
|
|
573
633
|
loadAssets();
|
|
574
634
|
|
|
575
|
-
|
|
576
|
-
|
|
635
|
+
if ( !/^true$/i.test(isCreatedFromExistingPackage) ) {
|
|
636
|
+
var conf = _(getPath('gina').core +'/template/conf/package.json', true);
|
|
637
|
+
var contentFile = requireJSON(conf);
|
|
638
|
+
var nodeFloor = getNodeFloor();
|
|
639
|
+
if ( !nodeFloor ) {
|
|
640
|
+
delete contentFile.engines
|
|
641
|
+
}
|
|
577
642
|
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
643
|
+
var dic = {
|
|
644
|
+
'project' : self.projectName,
|
|
645
|
+
'node_version' : nodeFloor || '',
|
|
646
|
+
'gina_version' : GINA_VERSION
|
|
647
|
+
};
|
|
583
648
|
|
|
584
|
-
|
|
649
|
+
contentFile = whisper(dic, contentFile);//data
|
|
585
650
|
|
|
586
|
-
|
|
587
|
-
if (
|
|
588
|
-
typeof(isCreatedFromExistingPackage) != 'undefined'
|
|
589
|
-
&& /^true$/i.test(isCreatedFromExistingPackage)
|
|
590
|
-
) {
|
|
591
|
-
var existingPack = require(target);
|
|
592
|
-
contentFile = merge(contentFile, existingPack);
|
|
593
|
-
contentFile.version = existingPack.version || "1.0.0";
|
|
594
|
-
new _(target, true).rmSync()
|
|
651
|
+
writePackageFile(contentFile, target);
|
|
595
652
|
}
|
|
596
653
|
|
|
597
|
-
lib.generator.createFileFromDataSync(
|
|
598
|
-
contentFile,
|
|
599
|
-
target
|
|
600
|
-
);
|
|
601
|
-
|
|
602
654
|
// #B258 — the project's `.gitignore`, written only when absent. This is
|
|
603
655
|
// the last scaffold step for both the new-project and the import path:
|
|
604
656
|
// an imported project without one has exactly the same exposure as a
|
|
@@ -134,7 +134,7 @@ function Rename(opt, cmd) {
|
|
|
134
134
|
self.projects[local.target].path = target;
|
|
135
135
|
|
|
136
136
|
if ( fs.existsSync( _(target +'/manifest.json') )) {
|
|
137
|
-
project =
|
|
137
|
+
project = parseJSONWithComments(fs.readFileSync(_(target +'/manifest.json', true), 'utf8'), _(target +'/manifest.json', true)); // #B891
|
|
138
138
|
project['name'] = local.target;
|
|
139
139
|
lib.generator.createFileFromDataSync(
|
|
140
140
|
project,
|
|
@@ -19,8 +19,8 @@ var projectNameRule = require('./inc/name');
|
|
|
19
19
|
* would be unstartable (`MODULE_NOT_FOUND` with no `node_modules/gina` link; a
|
|
20
20
|
* config emerg with no ports). Registration is delegated to the EXISTING,
|
|
21
21
|
* tested commands rather than duplicating their logic:
|
|
22
|
-
* - `project:add @<name> --path=<to>` — writes the registry entry
|
|
23
|
-
* `node_modules/gina` symlink
|
|
22
|
+
* - `project:add @<name> --path=<to>` — writes the registry entry and recreates the
|
|
23
|
+
* `node_modules/gina` symlink; it leaves the restored package.json as it is (#B363);
|
|
24
24
|
* - `bundle:add <bundle> @<name> --import` per manifest bundle — registers the
|
|
25
25
|
* already-extracted bundle source and allocates its ports.
|
|
26
26
|
* (`project:import` is NOT usable here — it refuses a not-yet-registered name and
|
|
@@ -196,7 +196,7 @@ function Restore(opt, cmd) {
|
|
|
196
196
|
}
|
|
197
197
|
|
|
198
198
|
// register the project (writes the registry entry + recreates the
|
|
199
|
-
// node_modules/gina symlink
|
|
199
|
+
// node_modules/gina symlink; the restored package.json is left as it is, #B363)
|
|
200
200
|
var reg = selfCli(['project:add', '@'+ local.project, '--path='+ local.target]);
|
|
201
201
|
var registered = false;
|
|
202
202
|
try {
|
|
@@ -213,7 +213,7 @@ function Restore(opt, cmd) {
|
|
|
213
213
|
// allocate ports for each bundle by importing its already-extracted source
|
|
214
214
|
var bundles = [];
|
|
215
215
|
try {
|
|
216
|
-
var manifest =
|
|
216
|
+
var manifest = parseJSONWithComments(fs.readFileSync(manifestPath, 'utf8'), manifestPath); // #B891
|
|
217
217
|
bundles = (manifest && manifest.bundles) ? Object.keys(manifest.bundles) : [];
|
|
218
218
|
} catch (e) { bundles = []; }
|
|
219
219
|
|
|
@@ -104,7 +104,8 @@ function Status(opt, cmd) {
|
|
|
104
104
|
var out = [];
|
|
105
105
|
var entry = self.projects[projectName];
|
|
106
106
|
var path = entry.path;
|
|
107
|
-
var
|
|
107
|
+
var manifestFile = _(path + '/manifest.json', true);
|
|
108
|
+
var bundles = parseJSONWithComments(fs.readFileSync(manifestFile, 'utf8'), manifestFile).bundles; // #B891
|
|
108
109
|
bundles = orderBundles(bundles);
|
|
109
110
|
|
|
110
111
|
// Per-project framework version: the projects.json pin (v-prefixed,
|
|
@@ -27,7 +27,10 @@
|
|
|
27
27
|
*
|
|
28
28
|
* A key holding a dot is a property path (`'address.city'`), also inside an
|
|
29
29
|
* array of objects (`'reviews[*].ratings.score'`). A dotted key that is not a
|
|
30
|
-
* property path matches nothing.
|
|
30
|
+
* property path matches nothing. A single field after `[*]` (`'tags[*].label'`)
|
|
31
|
+
* is read from each element of the array and compared like a plain key: a row
|
|
32
|
+
* matches when one element matches, and an element that is not an object (a
|
|
33
|
+
* string, a number, `null`) is compared as itself.
|
|
31
34
|
*
|
|
32
35
|
* Query results (`find`, `orderBy`, `limit`, `notIn`, …) are Arrays carrying
|
|
33
36
|
* these methods, so calls chain. Their `filter` takes either a function, which
|
|
@@ -46,7 +49,8 @@
|
|
|
46
49
|
* and the value `not null`, in any case, matches every defined, non-null
|
|
47
50
|
* value. `{ searchOptionRules: { skipEval: true } }`, passed to the
|
|
48
51
|
* constructor, turns the comparison off for the plain (non-dotted) keys of
|
|
49
|
-
* that Collection
|
|
52
|
+
* that Collection and for a single field after `[*]`; it changes neither
|
|
53
|
+
* `not null` nor a property path.
|
|
50
54
|
*
|
|
51
55
|
* @class Collection
|
|
52
56
|
* @constructor
|
|
@@ -70,7 +74,7 @@
|
|
|
70
74
|
* // find — nested
|
|
71
75
|
* col.find({ 'address.city': 'Paris' });
|
|
72
76
|
* // find — within array
|
|
73
|
-
* col.find({ 'tags[*].label': 'news' });
|
|
77
|
+
* col.find({ 'tags[*].label': 'news' }); // the rows holding an element { label: 'news' }
|
|
74
78
|
* // OR clause (pass two filter objects)
|
|
75
79
|
* col.or().find({ name: 'Alice' }, { name: 'Bob' });
|
|
76
80
|
*
|
|
@@ -274,7 +278,8 @@ function Collection(content, options) {
|
|
|
274
278
|
* `isCaseSensitive` (`true` or `false`; the texts `'true'` / `'false'` are
|
|
275
279
|
* read as booleans). `skipEval` is a constructor option
|
|
276
280
|
* (`options.searchOptionRules`): as a top-level key of the object it is
|
|
277
|
-
* accepted and has no effect
|
|
281
|
+
* accepted and has no effect, and as the rule of a field, in either form,
|
|
282
|
+
* it is refused (#B824).
|
|
278
283
|
*
|
|
279
284
|
* @param {object|string} searchOptionObject or searchOptionTargetedProperty - the options keyed by field, or the field name
|
|
280
285
|
* @param {string} [searchRule] - the rule name (three-argument form)
|
|
@@ -284,6 +289,7 @@ function Collection(content, options) {
|
|
|
284
289
|
* @throws {Error} on zero, two or more than three arguments
|
|
285
290
|
* @throws {Error} when a single argument is not an object
|
|
286
291
|
* @throws {Error} `<rule> is not an allowed searchOption !` on an unknown rule name
|
|
292
|
+
* @throws {Error} when a field is given `skipEval`, in either form: the message names the constructor option
|
|
287
293
|
* @throws {Error} when a field's entry in the object form is not an object of rules
|
|
288
294
|
*
|
|
289
295
|
* @example
|
|
@@ -340,6 +346,12 @@ function Collection(content, options) {
|
|
|
340
346
|
if ( typeof(searchOptionRules[ruleName]) == 'undefined' )
|
|
341
347
|
throw new Error(ruleName + ' is not an allowed searchOption !');
|
|
342
348
|
|
|
349
|
+
// #B824 — as in the three-argument form below: a rule that is not a
|
|
350
|
+
// table of entries is a constructor option, and set on a field it made
|
|
351
|
+
// that field match no row.
|
|
352
|
+
if ( !searchOptionRules[ruleName] || typeof(searchOptionRules[ruleName]) != 'object' )
|
|
353
|
+
throw new Error('searchOption `' + ruleName + '` cannot be set on a field: it is a constructor option, e.g. new Collection(rows, { searchOptionRules: { ' + ruleName + ': true } })');
|
|
354
|
+
|
|
343
355
|
if ( /true|false/i.test(given[prop][ruleName]) ) {
|
|
344
356
|
normalized[prop][ruleName] = /true/i.test(given[prop][ruleName]) ? true : false
|
|
345
357
|
} else {
|
|
@@ -358,6 +370,12 @@ function Collection(content, options) {
|
|
|
358
370
|
if ( typeof(searchOptionRules[arguments[1]]) == 'undefined' )
|
|
359
371
|
throw new Error(arguments[1] + ' is not an allowed searchOption !');
|
|
360
372
|
|
|
373
|
+
// #B824 — a rule that is not a table of entries (`skipEval`, a boolean) is a
|
|
374
|
+
// constructor option. Set on a field, the search looked the value up in the
|
|
375
|
+
// rule's table, found nothing, and the field matched no row, with no error.
|
|
376
|
+
if ( !searchOptionRules[arguments[1]] || typeof(searchOptionRules[arguments[1]]) != 'object' )
|
|
377
|
+
throw new Error('searchOption `' + arguments[1] + '` cannot be set on a field: it is a constructor option, e.g. new Collection(rows, { searchOptionRules: { ' + arguments[1] + ': true } })');
|
|
378
|
+
|
|
361
379
|
if (typeof(localSearchOptions[arguments[0]]) == 'undefined')
|
|
362
380
|
localSearchOptions[arguments[0]] = {};
|
|
363
381
|
|
|
@@ -710,13 +728,36 @@ function Collection(content, options) {
|
|
|
710
728
|
}
|
|
711
729
|
}
|
|
712
730
|
|
|
713
|
-
|
|
731
|
+
/**
|
|
732
|
+
* Search on a `[*]` key: compare the elements of the row's array with
|
|
733
|
+
* `filter`, and count the condition once when one element matches.
|
|
734
|
+
*
|
|
735
|
+
* A single field after `[*]` (`'tags[*].label'`) is read from each
|
|
736
|
+
* element that is an object, like a plain key is read from a row, and
|
|
737
|
+
* compared like that plain key (#B823). An element that is not an
|
|
738
|
+
* object (a string, a number, `null`) is compared as itself. A dotted
|
|
739
|
+
* rest (`'reviews[*].ratings.score'`) is a property path of each element.
|
|
740
|
+
*
|
|
741
|
+
* @inner
|
|
742
|
+
* @private
|
|
743
|
+
* @param {*} filter - The filter value, or a comparison (`'>= 4'`)
|
|
744
|
+
* @param {string} f - The key, e.g. `'tags[*].label'`
|
|
745
|
+
* @param {object} _content - The row
|
|
746
|
+
* @param {number} matched - The conditions matched so far
|
|
747
|
+
* @param {number} i - Not read
|
|
748
|
+
* @returns {{matched: number}} `matched`, plus one when an element matches
|
|
749
|
+
*
|
|
750
|
+
* @example
|
|
751
|
+
* // row { tags: [{ label: 'News' }, { label: 'Sport' }] }
|
|
752
|
+
* searchWithin('Sport', 'tags[*].label', row, 0, 0); // { matched: 1 }
|
|
753
|
+
*/
|
|
714
754
|
var searchWithin = function(filter, f, _content, matched, i) {
|
|
715
755
|
|
|
716
756
|
var collectionName = null
|
|
717
757
|
, collection = null
|
|
718
758
|
, arr = null
|
|
719
|
-
, field = null
|
|
759
|
+
, field = null
|
|
760
|
+
, elementValue = null;
|
|
720
761
|
|
|
721
762
|
|
|
722
763
|
arr = f.split(/\[\*\]/g);
|
|
@@ -740,7 +781,14 @@ function Collection(content, options) {
|
|
|
740
781
|
|
|
741
782
|
} else { // normal case
|
|
742
783
|
|
|
743
|
-
|
|
784
|
+
// #B823 — the whole element was handed to search(), whose every
|
|
785
|
+
// branch refuses an object, so a plain sub-field of an array of
|
|
786
|
+
// objects (`'tags[*].label'`) matched nothing. An object element
|
|
787
|
+
// now gives its field, like a plain key gives its value (below);
|
|
788
|
+
// an element that is not an object is compared as itself, as before.
|
|
789
|
+
// searchResult = search(filter, field, collection[c], subMatched, searchOptionRules);
|
|
790
|
+
elementValue = ( collection[c] !== null && typeof(collection[c]) == 'object' ) ? collection[c][field] : collection[c];
|
|
791
|
+
searchResult = search(filter, field, elementValue, subMatched, searchOptionRules);
|
|
744
792
|
subMatched = searchResult.matched;
|
|
745
793
|
}
|
|
746
794
|
|
|
@@ -864,9 +912,11 @@ function Collection(content, options) {
|
|
|
864
912
|
* .findOne({name: 'my project'})
|
|
865
913
|
*
|
|
866
914
|
*
|
|
867
|
-
*
|
|
915
|
+
* Search option, set with `setSearchOption()` before the call:
|
|
868
916
|
* isCaseSensitive: [true|false] - set to true by default
|
|
869
|
-
*
|
|
917
|
+
*
|
|
918
|
+
* `skipEval` is not a search option: it is a constructor option,
|
|
919
|
+
* `new Collection(rows, { searchOptionRules: { skipEval: true } })` (#B824).
|
|
870
920
|
*
|
|
871
921
|
* @param {object} filter
|
|
872
922
|
*
|
|
@@ -29,6 +29,10 @@
|
|
|
29
29
|
* argument, recursing into nested objects — without poisoning the `requireJSON`
|
|
30
30
|
* cache the parsed JSON came from.
|
|
31
31
|
*
|
|
32
|
+
* {@link applyKeyTypes} is the one helper the runtime also uses: `core/config.js`
|
|
33
|
+
* calls it at boot to give a type to entries keyed by their connector type
|
|
34
|
+
* (#B900).
|
|
35
|
+
*
|
|
32
36
|
* @example
|
|
33
37
|
* var cfg = lib.connectorConfig;
|
|
34
38
|
* var shared = requireJSON(_(project.path + '/shared/config/connectors.json', true));
|
|
@@ -196,7 +200,54 @@ function isAIConnector(entry, key) {
|
|
|
196
200
|
return !!(isPlainObject(entry) && ((entry.connector || key) === 'ai'));
|
|
197
201
|
}
|
|
198
202
|
|
|
203
|
+
/**
|
|
204
|
+
* Give a connector type to every entry of a `connectors.json` map that names
|
|
205
|
+
* none, when the entry's key is itself a connector type: `"sqlite": { … }` is
|
|
206
|
+
* read as `"sqlite": { "connector": "sqlite", … }`. This is the convention
|
|
207
|
+
* `connector:add` writes (it leaves `connector` out when the name equals the
|
|
208
|
+
* type), `connector:list` displays and the connectors schema states; the
|
|
209
|
+
* runtime applies it once, in `core/config.js`, where a bundle's merged
|
|
210
|
+
* connectors are finalised (#B900).
|
|
211
|
+
*
|
|
212
|
+
* An entry whose `connector` is set keeps it, even when its key names another
|
|
213
|
+
* type. An entry whose key names no type is left alone, and the model layer
|
|
214
|
+
* still stops the boot on it with « No connector found ». "Names none" is the
|
|
215
|
+
* CLI's own test, `entry.connector || key`: an empty or `null` field counts as
|
|
216
|
+
* absent. Only own keys holding plain objects are considered, so `$schema` and
|
|
217
|
+
* malformed values are skipped. The map is updated in place.
|
|
218
|
+
*
|
|
219
|
+
* @memberof module:gina/lib/connector-config
|
|
220
|
+
* @function applyKeyTypes
|
|
221
|
+
* @param {*} connectors - The merged `connectors.json` map (updated in place).
|
|
222
|
+
* @param {string[]} types - The built-in connector types. The runtime passes
|
|
223
|
+
* `lib.connectorRegistry.getDriverTypes()` plus `'ai'`.
|
|
224
|
+
* @returns {string[]} The keys whose entry took its type from its key, in key
|
|
225
|
+
* order; empty when none did or when an argument is malformed.
|
|
226
|
+
*
|
|
227
|
+
* @example
|
|
228
|
+
* var connectors = { sqlite: { database: 'app' }, myDb: { database: 'x' } };
|
|
229
|
+
* applyKeyTypes(connectors, ['sqlite', 'redis', 'ai']); // ['sqlite']
|
|
230
|
+
* connectors.sqlite.connector; // 'sqlite'
|
|
231
|
+
* 'connector' in connectors.myDb; // false
|
|
232
|
+
* applyKeyTypes({ redis: { connector: 'sqlite' } }, ['redis', 'sqlite']); // [] (the field wins)
|
|
233
|
+
*/
|
|
234
|
+
function applyKeyTypes(connectors, types) {
|
|
235
|
+
var applied = [];
|
|
236
|
+
if (!isPlainObject(connectors) || !Array.isArray(types)) {
|
|
237
|
+
return applied;
|
|
238
|
+
}
|
|
239
|
+
for (var key in connectors) {
|
|
240
|
+
if (!Object.prototype.hasOwnProperty.call(connectors, key)) { continue; }
|
|
241
|
+
var entry = connectors[key];
|
|
242
|
+
if (!isPlainObject(entry) || entry.connector || types.indexOf(key) === -1) { continue; }
|
|
243
|
+
entry.connector = key;
|
|
244
|
+
applied.push(key);
|
|
245
|
+
}
|
|
246
|
+
return applied;
|
|
247
|
+
}
|
|
248
|
+
|
|
199
249
|
module.exports = {
|
|
200
250
|
resolve: resolve,
|
|
201
|
-
isAIConnector: isAIConnector
|
|
251
|
+
isAIConnector: isAIConnector,
|
|
252
|
+
applyKeyTypes: applyKeyTypes
|
|
202
253
|
};
|
|
@@ -325,6 +325,31 @@ function ModelUtil() {
|
|
|
325
325
|
}
|
|
326
326
|
|
|
327
327
|
|
|
328
|
+
/**
|
|
329
|
+
* Builds the models at boot: one `core/model` Model per connectors.json entry,
|
|
330
|
+
* then, once every entry of the bundle is connected, the entity classes each
|
|
331
|
+
* entry's connector factory returns, attached to that entry's model.
|
|
332
|
+
*
|
|
333
|
+
* Each factory receives `{ model, bundle, database, scope }`: `model` is the
|
|
334
|
+
* entry key, and `database` is the entry's `database`, or its `keyspace` when it
|
|
335
|
+
* sets none (#B909), since the factory reads the entities from
|
|
336
|
+
* `models/<database>/`. A failure while the models are built ends the boot
|
|
337
|
+
* (#B617).
|
|
338
|
+
*
|
|
339
|
+
* @param {string[]} bundles - the bundles of this process, the starting one first
|
|
340
|
+
* @param {object} configuration - per bundle and env: `configuration[bundle][env]`,
|
|
341
|
+
* whose `content.connectors` holds the entries
|
|
342
|
+
* @param {string} env - the env whose configuration is read
|
|
343
|
+
* @param {function} cb - called once, when the models of the first bundle that has
|
|
344
|
+
* connectors.json entries are built; a bundle with none passes on to the next,
|
|
345
|
+
* and the bundles after the first one with entries are not loaded (#B910)
|
|
346
|
+
* @returns {void}
|
|
347
|
+
*
|
|
348
|
+
* @example
|
|
349
|
+
* modelUtil.loadAllModels(conf.bundles, config.getInstance(), env, function() {
|
|
350
|
+
* // getModel('<entry key>') now carries that entry's entities
|
|
351
|
+
* });
|
|
352
|
+
*/
|
|
328
353
|
this.loadAllModels = function(bundles, configuration, env, cb) {
|
|
329
354
|
|
|
330
355
|
var loadModel = function(b, bundles, configuration, env, cb) {
|
|
@@ -397,8 +422,6 @@ function ModelUtil() {
|
|
|
397
422
|
var conn = null
|
|
398
423
|
, connectorPath = null
|
|
399
424
|
, entitiesManager = null
|
|
400
|
-
, modelPath = null
|
|
401
|
-
, entitiesPath = null
|
|
402
425
|
, entitiesObject = null
|
|
403
426
|
, foundInitError = false;
|
|
404
427
|
|
|
@@ -408,11 +431,13 @@ function ModelUtil() {
|
|
|
408
431
|
for (var name in self.models[bundle]) {//name as connector name
|
|
409
432
|
conn = self.models[bundle][name]['_connection'];
|
|
410
433
|
connectorPath = _(GINA_FRAMEWORK_DIR + '/core/connectors/' + conf.content['connectors'][name].connector);
|
|
411
|
-
modelPath = _(conf.modelsPath + '/' + name);
|
|
412
|
-
entitiesPath = _(modelPath + '/entities');
|
|
413
434
|
//Getting Entities Manager thru connector.
|
|
414
435
|
//entitiesManager = new require( _(modelPath + '/index.js', true) )(conn)[name](conn, { model: name, bundle: bundle, database: conf.content['connectors'][name].database });
|
|
415
|
-
|
|
436
|
+
// #B909 — `database` names the directory the factory reads the entities
|
|
437
|
+
// from (`models/<database>/`). An entry that sets no `database` names it
|
|
438
|
+
// with its `keyspace`, as every ScyllaDB example in the guides does; an
|
|
439
|
+
// entry that sets `database` keeps it, also alongside `keyspace`.
|
|
440
|
+
entitiesManager = require( _(connectorPath + '/index.js', true) )(conn, { model: name, bundle: bundle, database: conf.content['connectors'][name].database || conf.content['connectors'][name].keyspace, scope: conf.content['connectors'][name].scope });
|
|
416
441
|
|
|
417
442
|
self.setConnection(bundle, name, conn);
|
|
418
443
|
|
|
@@ -569,7 +594,9 @@ function ModelUtil() {
|
|
|
569
594
|
*
|
|
570
595
|
* Each connector factory receives the same `{ model, bundle, database, scope }`
|
|
571
596
|
* infos as at boot. #B624: the reload used to omit `scope`, so a connector whose
|
|
572
|
-
* entry declares one fell back to `NODE_SCOPE` after a reload.
|
|
597
|
+
* entry declares one fell back to `NODE_SCOPE` after a reload. #B909: `database`
|
|
598
|
+
* is the entry's `database`, or its `keyspace` when it sets none, since the
|
|
599
|
+
* factory reads the entities from `models/<database>/`.
|
|
573
600
|
*
|
|
574
601
|
* @param {object} conf - the bundle's env conf: `conf.content.connectors` and `conf.modelsPath`
|
|
575
602
|
* @param {function(Error|false)} cb - receives `false` once the rebuild completes. A
|
|
@@ -591,8 +618,6 @@ function ModelUtil() {
|
|
|
591
618
|
, foundInitError = false
|
|
592
619
|
, connectorPath = null
|
|
593
620
|
, entitiesManager = null
|
|
594
|
-
, modelPath = null
|
|
595
|
-
, entitiesPath = null
|
|
596
621
|
, modelConnectors = null;
|
|
597
622
|
|
|
598
623
|
|
|
@@ -616,15 +641,14 @@ function ModelUtil() {
|
|
|
616
641
|
conn = getContext('modelConnectors')[bundle][name].conn;
|
|
617
642
|
// #B10 fix: conf.connectorsPath is never populated by config.js — use GINA_FRAMEWORK_DIR directly.
|
|
618
643
|
connectorPath = _(GINA_FRAMEWORK_DIR + '/core/connectors/' + conf.content['connectors'][name].connector);
|
|
619
|
-
modelPath = _(conf.modelsPath + '/' + name);
|
|
620
|
-
entitiesPath = _(modelPath + '/entities');
|
|
621
644
|
|
|
622
645
|
//Getting Entities Manager thru connector.
|
|
623
646
|
delete require.cache[require.resolve(_(connectorPath + '/index.js', true))];//child
|
|
624
647
|
try {
|
|
625
648
|
//entitiesManager = new require( _(conf.modelsPath + '/index.js', true) )(conn)[name](conn, { model: name, bundle: bundle, database: conf.content['connectors'][name].database });
|
|
626
649
|
// #B624 — the same infos as the boot call in loadAllModels' done(), scope included.
|
|
627
|
-
|
|
650
|
+
// #B909 — and the same `database`: the entry's `keyspace` when it sets none.
|
|
651
|
+
entitiesManager = require( _(connectorPath + '/index.js', true) )(conn, { model: name, bundle: bundle, database: conf.content['connectors'][name].database || conf.content['connectors'][name].keyspace, scope: conf.content['connectors'][name].scope });
|
|
628
652
|
} catch (err) {
|
|
629
653
|
cb(err)
|
|
630
654
|
}
|