gina 0.5.4 → 0.5.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 +26 -0
- package/README.md +12 -12
- package/ROADMAP.md +11 -6
- package/bin/cli-debug +7 -1
- package/bin/gina +25 -4
- package/framework/v0.5.5/VERSION +1 -0
- package/framework/{v0.5.4 → v0.5.5}/core/asset/plugin/dist/vendor/gina/js/gina.js +85 -30
- package/framework/v0.5.5/core/asset/plugin/dist/vendor/gina/js/gina.min.js +573 -0
- package/framework/v0.5.5/core/asset/plugin/dist/vendor/gina/js/gina.min.js.br +0 -0
- package/framework/v0.5.5/core/asset/plugin/dist/vendor/gina/js/gina.min.js.gz +0 -0
- package/framework/{v0.5.4 → v0.5.5}/core/config.js +18 -4
- package/framework/{v0.5.4 → v0.5.5}/core/controller/controller.js +48 -6
- package/framework/{v0.5.4 → v0.5.5}/core/gna.js +70 -4
- package/framework/{v0.5.4 → v0.5.5}/core/server.isaac.js +115 -6
- package/framework/{v0.5.4 → v0.5.5}/core/server.js +74 -0
- package/framework/{v0.5.4 → v0.5.5}/lib/archiver/src/main.js +109 -0
- package/framework/v0.5.5/lib/cmd/bundle/man.js +10 -0
- package/framework/{v0.5.4 → v0.5.5}/lib/cmd/bundle/start.js +17 -3
- package/framework/{v0.5.4 → v0.5.5}/lib/cmd/bundle/status.js +22 -10
- package/framework/v0.5.5/lib/cmd/framework/add.js +498 -0
- package/framework/v0.5.5/lib/cmd/framework/arguments.json +13 -0
- package/framework/v0.5.5/lib/cmd/framework/help.txt +62 -0
- package/framework/{v0.5.4 → v0.5.5}/lib/cmd/framework/init.js +52 -10
- package/framework/v0.5.5/lib/cmd/framework/list.js +352 -0
- package/framework/v0.5.5/lib/cmd/framework/man.js +9 -0
- package/framework/v0.5.5/lib/cmd/framework/remove.js +411 -0
- package/framework/v0.5.5/lib/cmd/framework/reset.js +206 -0
- package/framework/{v0.5.4 → v0.5.5}/lib/cmd/framework/tail.js +9 -1
- package/framework/v0.5.5/lib/cmd/framework/update.js +477 -0
- package/framework/{v0.5.4 → v0.5.5}/lib/cmd/framework/version.js +12 -1
- package/framework/{v0.5.4 → v0.5.5}/lib/cmd/gina-framework.1.md +10 -1
- package/framework/{v0.5.4 → v0.5.5}/lib/cmd/helper.js +4 -2
- package/framework/v0.5.5/lib/cmd/man-render.js +144 -0
- package/framework/{v0.5.4 → v0.5.5}/lib/cmd/project/arguments.json +2 -0
- package/framework/v0.5.5/lib/cmd/project/backup.js +228 -0
- package/framework/{v0.5.4 → v0.5.5}/lib/cmd/project/help.txt +18 -8
- package/framework/v0.5.5/lib/cmd/project/man.js +10 -0
- package/framework/v0.5.5/lib/cmd/project/move.js +215 -0
- package/framework/v0.5.5/lib/cmd/project/restore.js +221 -0
- package/framework/{v0.5.4 → v0.5.5}/lib/cmd/project/status.js +24 -12
- package/framework/v0.5.5/lib/cmd/service/man.js +10 -0
- package/framework/{v0.5.4 → v0.5.5}/lib/index.js +8 -0
- package/framework/{v0.5.4 → v0.5.5}/lib/logger/src/containers/mq/listener.js +6 -1
- package/framework/{v0.5.4 → v0.5.5}/lib/proc.js +7 -0
- package/framework/v0.5.5/lib/ws-query/package.json +10 -0
- package/framework/v0.5.5/lib/ws-query/src/main.js +145 -0
- package/framework/{v0.5.4 → v0.5.5}/package.json +2 -2
- package/gna.js +4 -4
- package/llms.txt +20 -4
- package/package.json +8 -6
- package/script/post_install.js +7 -1
- package/script/smoke_in_container.js +336 -0
- package/script/smoke_test_tarball.js +283 -0
- package/utils/helper.js +34 -7
- package/utils/runtime.js +103 -0
- package/framework/v0.5.4/VERSION +0 -1
- package/framework/v0.5.4/core/asset/plugin/dist/vendor/gina/js/gina.min.js +0 -572
- package/framework/v0.5.4/core/asset/plugin/dist/vendor/gina/js/gina.min.js.br +0 -0
- package/framework/v0.5.4/core/asset/plugin/dist/vendor/gina/js/gina.min.js.gz +0 -0
- package/framework/v0.5.4/lib/cmd/framework/arguments.json +0 -7
- package/framework/v0.5.4/lib/cmd/framework/help.txt +0 -36
- package/framework/v0.5.4/lib/cmd/framework/update.js +0 -0
- package/framework/v0.5.4/lib/cmd/project/move.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/AUTHORS +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/LICENSE +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/asset/html/nolayout.html +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/asset/html/static.html +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/asset/img/android-chrome-192x192.png +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/asset/img/android-chrome-512x512.png +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/asset/img/apple-touch-icon.png +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/asset/img/favicon-16x16.png +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/asset/img/favicon-32x32.png +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/asset/img/favicon.ico +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/asset/plugin/README.md +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/asset/plugin/dist/vendor/gina/beemaster/beemaster.css +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/asset/plugin/dist/vendor/gina/beemaster/beemaster.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/asset/plugin/dist/vendor/gina/beemaster/index.html +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/asset/plugin/dist/vendor/gina/css/gina.min.css +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/asset/plugin/dist/vendor/gina/css/gina.min.css.br +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/asset/plugin/dist/vendor/gina/css/gina.min.css.gz +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/asset/plugin/dist/vendor/gina/html/statusbar.html +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/asset/plugin/dist/vendor/gina/html/statusbar.html.br +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/asset/plugin/dist/vendor/gina/html/statusbar.html.gz +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/asset/plugin/dist/vendor/gina/inspector/have_heart_one-webfont.woff2 +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/asset/plugin/dist/vendor/gina/inspector/index.html +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/asset/plugin/dist/vendor/gina/inspector/inspector.css +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/asset/plugin/dist/vendor/gina/inspector/inspector.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/asset/plugin/dist/vendor/gina/inspector/logo.svg +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/asset/plugin/dist/vendor/gina/js/gina.onload.min.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/asset/plugin/dist/vendor/gina/js/gina.onload.min.js.br +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/asset/plugin/dist/vendor/gina/js/gina.onload.min.js.gz +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/connectors/ai/index.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/connectors/ai/lib/connector.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/connectors/couchbase/index.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/connectors/couchbase/lib/connector.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/connectors/couchbase/lib/connector.v3.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/connectors/couchbase/lib/connector.v4.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/connectors/couchbase/lib/n1ql.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/connectors/couchbase/lib/session-store.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/connectors/couchbase/lib/session-store.v3.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/connectors/couchbase/lib/session-store.v4.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/connectors/mongodb/index.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/connectors/mongodb/lib/connector.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/connectors/mongodb/lib/pipeline-loader.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/connectors/mongodb/lib/session-store.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/connectors/mysql/index.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/connectors/mysql/lib/connector.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/connectors/postgresql/index.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/connectors/postgresql/lib/connector.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/connectors/redis/index.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/connectors/redis/lib/session-store.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/connectors/scylladb/index.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/connectors/scylladb/lib/connector.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/connectors/scylladb/lib/session-store.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/connectors/sql-parser.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/connectors/sqlite/index.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/connectors/sqlite/lib/connector.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/connectors/sqlite/lib/session-store.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/content.encoding +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/controller/controller.framework.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/controller/controller.render-json.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/controller/controller.render-nunjucks-async.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/controller/controller.render-nunjucks.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/controller/controller.render-stream.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/controller/controller.render-swig-async.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/controller/controller.render-swig.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/controller/controller.render-v1.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/controller/index.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/controller/inspector-window-emit.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/deps/busboy-1.6.0/LICENSE +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/deps/busboy-1.6.0/README.md +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/deps/busboy-1.6.0/lib/index.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/deps/busboy-1.6.0/lib/types/multipart.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/deps/busboy-1.6.0/lib/types/urlencoded.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/deps/busboy-1.6.0/lib/utils.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/deps/busboy-1.6.0/package.json +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/deps/streamsearch-1.1.0/LICENSE +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/deps/streamsearch-1.1.0/lib/sbmh.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/deps/streamsearch-1.1.0/package.json +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/dev/index.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/dev/lib/class.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/dev/lib/factory.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/dev/lib/tools.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/locales/README.md +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/locales/currency.json +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/locales/dist/language/en.json +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/locales/dist/language/fr.json +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/locales/dist/region/en.json +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/locales/dist/region/fr.json +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/locales/index.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/mime.types +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/model/entity.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/model/index.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/model/template/entityFactory.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/model/template/index.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/plugins/README.md +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/plugins/index.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/plugins/lib/csrf/README.md +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/plugins/lib/csrf/package.json +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/plugins/lib/csrf/src/main.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/plugins/lib/security-headers/README.md +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/plugins/lib/security-headers/coep/README.md +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/plugins/lib/security-headers/coep/package.json +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/plugins/lib/security-headers/coep/src/main.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/plugins/lib/security-headers/coop/README.md +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/plugins/lib/security-headers/coop/package.json +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/plugins/lib/security-headers/coop/src/main.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/plugins/lib/security-headers/corp/README.md +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/plugins/lib/security-headers/corp/package.json +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/plugins/lib/security-headers/corp/src/main.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/plugins/lib/security-headers/csp/README.md +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/plugins/lib/security-headers/csp/package.json +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/plugins/lib/security-headers/csp/src/main.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/plugins/lib/security-headers/hide-powered-by/README.md +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/plugins/lib/security-headers/hide-powered-by/package.json +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/plugins/lib/security-headers/hide-powered-by/src/main.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/plugins/lib/security-headers/hsts/README.md +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/plugins/lib/security-headers/hsts/package.json +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/plugins/lib/security-headers/hsts/src/main.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/plugins/lib/security-headers/origin-agent-cluster/README.md +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/plugins/lib/security-headers/origin-agent-cluster/package.json +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/plugins/lib/security-headers/origin-agent-cluster/src/main.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/plugins/lib/security-headers/package.json +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/plugins/lib/security-headers/referrer-policy/README.md +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/plugins/lib/security-headers/referrer-policy/package.json +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/plugins/lib/security-headers/referrer-policy/src/main.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/plugins/lib/security-headers/src/main.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/plugins/lib/security-headers/x-content-type-options/README.md +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/plugins/lib/security-headers/x-content-type-options/package.json +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/plugins/lib/security-headers/x-content-type-options/src/main.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/plugins/lib/security-headers/x-dns-prefetch-control/README.md +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/plugins/lib/security-headers/x-dns-prefetch-control/package.json +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/plugins/lib/security-headers/x-dns-prefetch-control/src/main.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/plugins/lib/security-headers/x-download-options/README.md +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/plugins/lib/security-headers/x-download-options/package.json +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/plugins/lib/security-headers/x-download-options/src/main.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/plugins/lib/security-headers/x-frame-options/README.md +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/plugins/lib/security-headers/x-frame-options/package.json +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/plugins/lib/security-headers/x-frame-options/src/main.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/plugins/lib/security-headers/x-permitted-cross-domain-policies/README.md +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/plugins/lib/security-headers/x-permitted-cross-domain-policies/package.json +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/plugins/lib/security-headers/x-permitted-cross-domain-policies/src/main.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/plugins/lib/security-headers/x-xss-protection/README.md +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/plugins/lib/security-headers/x-xss-protection/package.json +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/plugins/lib/security-headers/x-xss-protection/src/main.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/plugins/lib/session/README.md +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/plugins/lib/session/package.json +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/plugins/lib/session/src/main.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/plugins/lib/storage/README.md +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/plugins/lib/storage/build.json +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/plugins/lib/storage/package.json +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/plugins/lib/storage/src/main.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/plugins/lib/validator/README.md +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/plugins/lib/validator/build.json +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/plugins/lib/validator/package.json +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/plugins/lib/validator/src/form-validator.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/plugins/lib/validator/src/main.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/router.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/server.express.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/status.codes +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/template/_gitignore +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/template/boilerplate/bundle/config/app.json +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/template/boilerplate/bundle/config/connectors.json +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/template/boilerplate/bundle/config/routing.json +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/template/boilerplate/bundle/config/settings.json +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/template/boilerplate/bundle/config/settings.server.json +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/template/boilerplate/bundle/config/templates.json +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/template/boilerplate/bundle/config/watchers.json +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/template/boilerplate/bundle/controllers/controller.content.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/template/boilerplate/bundle/controllers/controller.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/template/boilerplate/bundle/controllers/setup.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/template/boilerplate/bundle/index.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/template/boilerplate/bundle/locales/en.json +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/template/boilerplate/bundle_namespace/controllers/controller.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/template/boilerplate/bundle_public/css/default.css +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/template/boilerplate/bundle_public/css/home.css +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/template/boilerplate/bundle_public/css/vendor/readme.md +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/template/boilerplate/bundle_public/favicon.ico +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/template/boilerplate/bundle_public/js/vendor/readme.md +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/template/boilerplate/bundle_public/manifest.webmanifest +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/template/boilerplate/bundle_public/readme.md +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/template/boilerplate/bundle_public/sw.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/template/boilerplate/bundle_templates/handlers/main.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/template/boilerplate/bundle_templates/html/content/homepage.html +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/template/boilerplate/bundle_templates/html/includes/error-msg-noscript.html +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/template/boilerplate/bundle_templates/html/includes/error-msg-outdated-browser.html +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/template/boilerplate/bundle_templates/html/layouts/main.html +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/template/command/gina.bat.tpl +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/template/command/gina.tpl +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/template/conf/env.json +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/template/conf/manifest.json +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/template/conf/package.json +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/template/conf/settings.json +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/template/conf/statics.json +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/template/conf/templates.json +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/template/error/client/json/401.json +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/template/error/client/json/403.json +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/template/error/client/json/404.json +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/template/error/server/html/50x.html +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/template/error/server/json/500.json +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/template/error/server/json/503.json +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/core/template/extensions/logger/config.json +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/helpers/console.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/helpers/context.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/helpers/data/LICENSE +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/helpers/data/README.md +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/helpers/data/package.json +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/helpers/data/src/main.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/helpers/dateFormat.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/helpers/index.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/helpers/json/LICENSE +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/helpers/json/README.md +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/helpers/json/package.json +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/helpers/json/src/main.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/helpers/path.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/helpers/plugins/README.md +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/helpers/plugins/package.json +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/helpers/plugins/src/api-error.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/helpers/plugins/src/main.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/helpers/prototypes.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/helpers/task.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/helpers/text.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/admin/package.json +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/admin/src/main.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/archiver/README.md +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/archiver/build.json +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/archiver/package.json +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/archiver/src/dep/jszip.min.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/async/package.json +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/async/src/main.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/cache/README.md +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/cache/build.json +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/cache/package.json +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/cache/src/main.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/cmd/aliases.json +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/cmd/bundle/add.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/cmd/bundle/arguments.json +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/cmd/bundle/build.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/cmd/bundle/copy.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/cmd/bundle/cp.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/cmd/bundle/help.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/cmd/bundle/help.txt +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/cmd/bundle/inc/name-rewrite.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/cmd/bundle/list.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/cmd/bundle/mcp-start.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/cmd/bundle/mcp.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/cmd/bundle/oas.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/cmd/bundle/openapi.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/cmd/bundle/remove.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/cmd/bundle/rename.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/cmd/bundle/restart.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/cmd/bundle/rm.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/cmd/bundle/stop.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/cmd/cache/stats.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/cmd/connector/add.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/cmd/connector/arguments.json +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/cmd/connector/help.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/cmd/connector/help.txt +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/cmd/connector/list.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/cmd/connector/migrate.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/cmd/connector/remove.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/cmd/connector/rm.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/cmd/env/add.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/cmd/env/get.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/cmd/env/help.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/cmd/env/help.txt +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/cmd/env/link-dev.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/cmd/env/list.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/cmd/env/remove.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/cmd/env/rm.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/cmd/env/set.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/cmd/env/unset.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/cmd/env/use.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/cmd/framework/build.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/cmd/framework/dot.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/cmd/framework/get.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/cmd/framework/help.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/cmd/framework/link-node-modules.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/cmd/framework/link.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/cmd/framework/msg.json +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/cmd/framework/open.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/cmd/framework/restart.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/cmd/framework/set.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/cmd/framework/start.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/cmd/framework/status.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/cmd/framework/stop.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/cmd/gina-dev.1.md +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/cmd/gina.1.md +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/cmd/i18n/add.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/cmd/i18n/arguments.json +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/cmd/i18n/export.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/cmd/i18n/help.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/cmd/i18n/help.txt +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/cmd/i18n/import.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/cmd/i18n/scan.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/cmd/index.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/cmd/inspector/help.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/cmd/inspector/help.txt +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/cmd/inspector/open.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/cmd/minion/arguments.json +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/cmd/minion/help.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/cmd/minion/help.txt +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/cmd/minion/kill.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/cmd/minion/list.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/cmd/msg.json +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/cmd/port/help.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/cmd/port/help.txt +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/cmd/port/inc/scan.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/cmd/port/list.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/cmd/port/reset.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/cmd/port/set.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/cmd/project/add.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/cmd/project/build.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/cmd/project/help.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/cmd/project/import.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/cmd/project/list.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/cmd/project/remove.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/cmd/project/rename.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/cmd/project/restart.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/cmd/project/rm.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/cmd/project/start.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/cmd/project/stop.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/cmd/protocol/arguments.json +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/cmd/protocol/help.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/cmd/protocol/help.txt +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/cmd/protocol/list.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/cmd/protocol/remove.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/cmd/protocol/set.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/cmd/scope/add.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/cmd/scope/help.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/cmd/scope/help.txt +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/cmd/scope/link-local.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/cmd/scope/link-production.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/cmd/scope/list.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/cmd/scope/remove.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/cmd/scope/rm.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/cmd/scope/use.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/cmd/secrets/arguments.json +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/cmd/secrets/check.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/cmd/secrets/help.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/cmd/secrets/help.txt +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/cmd/secrets/scan.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/cmd/service/help.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/cmd/service/help.txt +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/cmd/service/list.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/cmd/service/start.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/cmd/view/add.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/cmd-status-format/package.json +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/cmd-status-format/src/main.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/collection/README.md +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/collection/build.json +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/collection/package.json +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/collection/src/main.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/config.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/connector-registry/package.json +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/connector-registry/src/main.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/cron/README.md +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/cron/package.json +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/cron/src/main.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/domain/LICENSE +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/domain/README.md +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/domain/package.json +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/domain/src/main.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/generator/index.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/i18n/package.json +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/i18n/src/main.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/inherits/LICENSE +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/inherits/README.md +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/inherits/package.json +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/inherits/src/main.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/inspector-redact/package.json +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/inspector-redact/src/main.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/instrument/package.json +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/instrument/src/main.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/job/package.json +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/job/src/main.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/logger/README.md +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/logger/package.json +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/logger/src/containers/default/index.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/logger/src/containers/file/index.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/logger/src/containers/file/lib/logrotator/README.md +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/logger/src/containers/file/lib/logrotator/index.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/logger/src/containers/mq/index.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/logger/src/containers/mq/speaker.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/logger/src/helper.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/logger/src/main.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/math/index.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/mcp-dispatch/package.json +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/mcp-dispatch/src/main.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/mcp-http/package.json +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/mcp-http/src/main.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/mcp-server/package.json +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/mcp-server/src/main.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/merge/README.md +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/merge/package.json +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/merge/src/main.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/metrics/package.json +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/metrics/src/main.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/model.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/nunjucks-filters/README.md +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/nunjucks-filters/package.json +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/nunjucks-filters/src/main.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/nunjucks-resolver/package.json +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/nunjucks-resolver/src/main.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/routing/README.md +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/routing/build.json +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/routing/package.json +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/routing/src/main.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/routing/src/radix.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/routing-introspect/package.json +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/routing-introspect/src/main.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/secrets/package.json +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/secrets/src/backends/env.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/secrets/src/main.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/session-store.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/shell.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/state.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/swig-filters/README.md +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/swig-filters/package.json +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/swig-filters/src/main.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/swig-resolver/package.json +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/swig-resolver/src/main.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/template-loaders/package.json +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/template-loaders/src/loaders/http.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/template-loaders/src/loaders/memory.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/template-loaders/src/main.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/url/README.md +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/url/index.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/url/routing.json +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/uuid/package.json +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/uuid/src/main.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/validator.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/watcher/package.json +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/watcher/src/main.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/ws-framing/package.json +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/ws-framing/src/main.js +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/ws-session/package.json +0 -0
- /package/framework/{v0.5.4 → v0.5.5}/lib/ws-session/src/main.js +0 -0
|
@@ -231,11 +231,47 @@ function Initialize(opt) {
|
|
|
231
231
|
done()
|
|
232
232
|
}
|
|
233
233
|
|
|
234
|
+
/**
|
|
235
|
+
* Ensures the framework-dir `MIDDLEWARE` file exists before the command runs.
|
|
236
|
+
*
|
|
237
|
+
* `MIDDLEWARE` is normally written by `script/post_install.js` at install time,
|
|
238
|
+
* but it is gitignored + npmignored, so any environment that skips the install
|
|
239
|
+
* lifecycle never receives it — most notably the Bun runtime (`bun add -g`
|
|
240
|
+
* blocks dependency postinstalls by default), and also containers / fresh
|
|
241
|
+
* clones. Its readers (`version.js`, `core/config.js`) then crash or fall back
|
|
242
|
+
* to `'none'`. This step recreates it (idempotent, and ahead of the command
|
|
243
|
+
* dispatch in the `begin()` chain) with the same default content
|
|
244
|
+
* `post_install.js` writes: `isaac@<version>`.
|
|
245
|
+
*
|
|
246
|
+
* Runtime-agnostic: on a normal install the file already exists, so the create
|
|
247
|
+
* branch never runs and behaviour is byte-identical. Creation is best-effort —
|
|
248
|
+
* a read-only framework directory leaves the file absent and `version.js`
|
|
249
|
+
* degrades to its `'none'` fallback. It must never pass an error to `done()`:
|
|
250
|
+
* the `begin()` chain treats a step error as fatal (`process.exit(1)`).
|
|
251
|
+
*
|
|
252
|
+
* @private
|
|
253
|
+
* @param {function} done - Step callback; always invoked with no argument.
|
|
254
|
+
* @returns {void}
|
|
255
|
+
*/
|
|
234
256
|
self.checkIfMiddlewareFile = function(done) {
|
|
235
257
|
var middlewareFileObj = new _( opt.frameworkPath + '/MIDDLEWARE');
|
|
236
258
|
console.debug('Checking for: '+ middlewareFileObj.toString());
|
|
237
259
|
if ( !middlewareFileObj.existsSync() ) {
|
|
238
260
|
console.debug('Did not find '+ middlewareFileObj.toString());
|
|
261
|
+
// The install lifecycle didn't run (Bun blocks postinstalls by default;
|
|
262
|
+
// also containers / fresh clones). Recreate MIDDLEWARE so the downstream
|
|
263
|
+
// readers get the real value instead of crashing. Best-effort: a
|
|
264
|
+
// read-only framework dir leaves it absent and version.js degrades to
|
|
265
|
+
// 'none'. Must NOT done(err) here — begin() treats that as fatal.
|
|
266
|
+
try {
|
|
267
|
+
var version = getEnvVar('GINA_VERSION')
|
|
268
|
+
|| require(opt.frameworkPath + '/package.json').version;
|
|
269
|
+
var middleware = 'isaac@' + version; // post_install.js default (its express branch is dead code)
|
|
270
|
+
fs.writeFileSync( middlewareFileObj.toString(), middleware );
|
|
271
|
+
console.debug('Created '+ middlewareFileObj.toString() +' ('+ middleware +')');
|
|
272
|
+
} catch (writeErr) {
|
|
273
|
+
console.debug('Could not create '+ middlewareFileObj.toString() +': '+ (writeErr.message || writeErr));
|
|
274
|
+
}
|
|
239
275
|
}
|
|
240
276
|
done()
|
|
241
277
|
}
|
|
@@ -1046,28 +1082,34 @@ function Initialize(opt) {
|
|
|
1046
1082
|
}
|
|
1047
1083
|
let filenameObj = new _( runDir +'/'+ files[f], true );
|
|
1048
1084
|
let filename = filenameObj.toString();
|
|
1049
|
-
|
|
1050
|
-
|
|
1085
|
+
// Liveness via process.kill(pid, 0) instead of a `ps` shell-out:
|
|
1086
|
+
// ps-independent (works on minimal images without procps, and under
|
|
1087
|
+
// Bun) and parses/trims the pid so a trailing newline can't break the
|
|
1088
|
+
// check. Mirrors lib/cmd/framework/reset.js detectRunning.
|
|
1089
|
+
let pid = parseInt(String(fs.readFileSync(filename)).trim(), 10);
|
|
1090
|
+
if (!pid || isNaN(pid)) {
|
|
1051
1091
|
filenameObj.rmSync();
|
|
1052
1092
|
continue;
|
|
1053
1093
|
}
|
|
1054
|
-
let
|
|
1094
|
+
let isRunning = false;
|
|
1055
1095
|
try {
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
isRunnung = false;
|
|
1059
|
-
}
|
|
1096
|
+
process.kill(pid, 0);
|
|
1097
|
+
isRunning = true;
|
|
1060
1098
|
} catch (err) {
|
|
1061
|
-
|
|
1099
|
+
// EPERM ⇒ process exists but not ours (be conservative, keep it);
|
|
1100
|
+
// ESRCH ⇒ stale pidfile, prune it.
|
|
1101
|
+
if (err && err.code === 'EPERM') {
|
|
1102
|
+
isRunning = true;
|
|
1103
|
+
}
|
|
1062
1104
|
}
|
|
1063
1105
|
|
|
1064
|
-
if (!
|
|
1106
|
+
if (!isRunning) {
|
|
1065
1107
|
filenameObj.rmSync();
|
|
1066
1108
|
continue;
|
|
1067
1109
|
}
|
|
1068
1110
|
|
|
1069
1111
|
|
|
1070
|
-
console.debug('Process file location: '+ filename +' ['+ pid +'] ['+
|
|
1112
|
+
console.debug('Process file location: '+ filename +' ['+ pid +'] ['+ isRunning +']');
|
|
1071
1113
|
} // EO for (let f in files) {
|
|
1072
1114
|
} else {
|
|
1073
1115
|
console.warn('Run directory `'+ runDir +'` not found !')
|
|
@@ -0,0 +1,352 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
var fs = require('fs');
|
|
3
|
+
var nodePath = require('path');
|
|
4
|
+
var os = require('os');
|
|
5
|
+
// `lib` is injected as a global by the framework bootstrap — this file is
|
|
6
|
+
// required by the cmd dispatcher (lib/cmd/framework/init.js) in a scope where
|
|
7
|
+
// `lib` already exists (same as add.js / update.js use it at top level).
|
|
8
|
+
var console = lib.logger;
|
|
9
|
+
// Shared status-format primitive — only `pad` is needed here (column alignment).
|
|
10
|
+
var fmt = lib.cmdStatusFormat;
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* @module gina/lib/cmd/framework/list
|
|
14
|
+
*/
|
|
15
|
+
/**
|
|
16
|
+
* List the gina framework versions known to this install — the read-side
|
|
17
|
+
* counterpart of `framework:add` / `framework:remove`.
|
|
18
|
+
*
|
|
19
|
+
* Three surfaces are reconciled into one view:
|
|
20
|
+
*
|
|
21
|
+
* 1. `<GINA_DIR>/framework/v<version>/` — the install entries. Exactly ONE is
|
|
22
|
+
* a real directory (the version shipped by `npm install gina`, i.e. the
|
|
23
|
+
* active default); every other is a SYMLINK that `framework:add` created
|
|
24
|
+
* pointing into the archive. A dangling symlink (target gone) is surfaced
|
|
25
|
+
* as a broken link.
|
|
26
|
+
* 2. `~/.gina/archives/framework/v<version>/` — the persistent side-by-side
|
|
27
|
+
* store `framework:add` populates. Normally every symlinked version is also
|
|
28
|
+
* archived; an archived-but-not-linked version is reported as such.
|
|
29
|
+
* 3. `~/.gina/main.json` `frameworks[<short>]` — the registry a bundle's
|
|
30
|
+
* `--gina-version` / manifest `gina_version` validates against, plus
|
|
31
|
+
* `def_framework` (the active default, flagged with `*`).
|
|
32
|
+
*
|
|
33
|
+
* Default output lists only the versions physically present (a real dir, a
|
|
34
|
+
* symlink, or an archive). `--all` additionally includes versions that are
|
|
35
|
+
* registered in `main.json` but not on disk (`not installed`) — the full
|
|
36
|
+
* registry can hold a hundred-plus historical entries, so it is opt-in.
|
|
37
|
+
*
|
|
38
|
+
* Offline command (the `framework:` topic is already in `bin/cli`'s
|
|
39
|
+
* `allowedOffline`). Read-only — it never writes any state. Default output is a
|
|
40
|
+
* human-readable table; `--format=json` emits a machine-readable object. A
|
|
41
|
+
* missing `main.json` degrades gracefully (the on-disk dirs are still listed,
|
|
42
|
+
* `def_framework`/registry shown as unknown/empty).
|
|
43
|
+
*
|
|
44
|
+
* @class List
|
|
45
|
+
* @constructor
|
|
46
|
+
* @param {object} opt - Parsed command-line options.
|
|
47
|
+
*
|
|
48
|
+
* @example
|
|
49
|
+
* // List the installed versions (the active real dir + any side-by-side symlinks):
|
|
50
|
+
* gina framework:list
|
|
51
|
+
*
|
|
52
|
+
* @example
|
|
53
|
+
* // Include every version registered in main.json, even if not on disk:
|
|
54
|
+
* gina framework:list --all
|
|
55
|
+
*
|
|
56
|
+
* @example
|
|
57
|
+
* // Machine-readable output:
|
|
58
|
+
* gina framework:list --format=json
|
|
59
|
+
*/
|
|
60
|
+
function List(opt) {
|
|
61
|
+
|
|
62
|
+
/**
|
|
63
|
+
* Resolve `~/.gina` the same way `lib/state.js` / add.js do, so a
|
|
64
|
+
* `GINA_HOMEDIR` override (tests / containers) is honoured.
|
|
65
|
+
*
|
|
66
|
+
* @inner
|
|
67
|
+
* @private
|
|
68
|
+
* @returns {string}
|
|
69
|
+
*/
|
|
70
|
+
var resolveHomeDir = function () {
|
|
71
|
+
if (typeof(getEnvVar) === 'function') {
|
|
72
|
+
var override = getEnvVar('GINA_HOMEDIR');
|
|
73
|
+
if (override) return override;
|
|
74
|
+
}
|
|
75
|
+
if (typeof(GINA_HOMEDIR) !== 'undefined' && GINA_HOMEDIR) return GINA_HOMEDIR;
|
|
76
|
+
return os.homedir() + nodePath.sep + '.gina';
|
|
77
|
+
};
|
|
78
|
+
|
|
79
|
+
/**
|
|
80
|
+
* Resolve the active gina install root (where `framework/v<version>/` dirs
|
|
81
|
+
* live). `GINA_DIR` is set by `bin/cli` for every command, offline included.
|
|
82
|
+
*
|
|
83
|
+
* @inner
|
|
84
|
+
* @private
|
|
85
|
+
* @returns {string|null}
|
|
86
|
+
*/
|
|
87
|
+
var resolveGinaDir = function () {
|
|
88
|
+
if (typeof(getEnvVar) === 'function') {
|
|
89
|
+
var dir = getEnvVar('GINA_DIR');
|
|
90
|
+
if (dir) return dir;
|
|
91
|
+
}
|
|
92
|
+
return (typeof(GINA_DIR) !== 'undefined' && GINA_DIR) ? GINA_DIR : null;
|
|
93
|
+
};
|
|
94
|
+
|
|
95
|
+
/**
|
|
96
|
+
* True when a bare boolean flag (`--all`) is present on argv.
|
|
97
|
+
*
|
|
98
|
+
* @inner
|
|
99
|
+
* @private
|
|
100
|
+
* @param {string} name - Flag name without the leading `--`.
|
|
101
|
+
* @returns {boolean}
|
|
102
|
+
*/
|
|
103
|
+
var hasFlag = function (name) {
|
|
104
|
+
var re = new RegExp('^--' + name + '$');
|
|
105
|
+
for (var i = 3; i < process.argv.length; i++) {
|
|
106
|
+
if (typeof(process.argv[i]) == 'string' && re.test(process.argv[i])) return true;
|
|
107
|
+
}
|
|
108
|
+
return false;
|
|
109
|
+
};
|
|
110
|
+
|
|
111
|
+
/**
|
|
112
|
+
* Read a `--name=value` flag (argv first, then the `GINA_<NAME>` hoist
|
|
113
|
+
* fallback). Mirrors add.js's `readFlagValue`.
|
|
114
|
+
*
|
|
115
|
+
* @inner
|
|
116
|
+
* @private
|
|
117
|
+
* @param {string} name - Flag name without the leading `--`.
|
|
118
|
+
* @returns {string|null}
|
|
119
|
+
*/
|
|
120
|
+
var readFlagValue = function (name) {
|
|
121
|
+
var prefix = '--' + name + '=';
|
|
122
|
+
for (var i = 3; i < process.argv.length; i++) {
|
|
123
|
+
if (typeof(process.argv[i]) == 'string' && process.argv[i].indexOf(prefix) === 0) {
|
|
124
|
+
return process.argv[i].slice(prefix.length);
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
var envKey = 'GINA_' + name.replace(/-/g, '_').toUpperCase();
|
|
128
|
+
if (typeof(process.gina) != 'undefined' && typeof(process.gina[envKey]) != 'undefined') {
|
|
129
|
+
return process.gina[envKey];
|
|
130
|
+
}
|
|
131
|
+
return null;
|
|
132
|
+
};
|
|
133
|
+
|
|
134
|
+
/**
|
|
135
|
+
* Print a fatal message and exit non-zero. Single error egress.
|
|
136
|
+
*
|
|
137
|
+
* @inner
|
|
138
|
+
* @private
|
|
139
|
+
* @param {string} msg
|
|
140
|
+
*/
|
|
141
|
+
var fail = function (msg) {
|
|
142
|
+
console.error('[framework:list] ' + msg);
|
|
143
|
+
process.exit(1);
|
|
144
|
+
};
|
|
145
|
+
|
|
146
|
+
/**
|
|
147
|
+
* Derive the `major.minor` short for a full version (mirrors add.js).
|
|
148
|
+
*
|
|
149
|
+
* @inner
|
|
150
|
+
* @private
|
|
151
|
+
* @param {string} v
|
|
152
|
+
* @returns {string}
|
|
153
|
+
*/
|
|
154
|
+
var shortOf = function (v) {
|
|
155
|
+
return v.split(/\./g).splice(0, 2).join('.');
|
|
156
|
+
};
|
|
157
|
+
|
|
158
|
+
/**
|
|
159
|
+
* Enumerate `v<version>` entries directly under `dir`, returning the bare
|
|
160
|
+
* versions (the leading `v` stripped). Tolerates a missing/unreadable dir
|
|
161
|
+
* by returning an empty array.
|
|
162
|
+
*
|
|
163
|
+
* @inner
|
|
164
|
+
* @private
|
|
165
|
+
* @param {string} dir
|
|
166
|
+
* @returns {string[]}
|
|
167
|
+
*/
|
|
168
|
+
var listVersionDirs = function (dir) {
|
|
169
|
+
var out = [];
|
|
170
|
+
try {
|
|
171
|
+
if (!fs.existsSync(dir)) return out;
|
|
172
|
+
fs.readdirSync(dir).forEach(function (entry) {
|
|
173
|
+
if (/^v\d/.test(entry)) out.push(entry.replace(/^v/, ''));
|
|
174
|
+
});
|
|
175
|
+
} catch (e) { /* unreadable → empty */ }
|
|
176
|
+
return out;
|
|
177
|
+
};
|
|
178
|
+
|
|
179
|
+
/**
|
|
180
|
+
* Classify the install entry at `<frameworkRoot>/v<version>`: whether it is
|
|
181
|
+
* a real directory (the shipped active version), a symlink (a side-by-side
|
|
182
|
+
* add), and whether it resolves on disk (a symlink whose target exists).
|
|
183
|
+
*
|
|
184
|
+
* @inner
|
|
185
|
+
* @private
|
|
186
|
+
* @param {string} installPath
|
|
187
|
+
* @returns {{kind: ('real'|'symlink'|null), resolves: boolean}}
|
|
188
|
+
*/
|
|
189
|
+
var classifyInstall = function (installPath) {
|
|
190
|
+
var lst = null;
|
|
191
|
+
try { lst = fs.lstatSync(installPath); } catch (e) { return { kind: null, resolves: false }; }
|
|
192
|
+
var isSymlink = lst.isSymbolicLink();
|
|
193
|
+
if (isSymlink) {
|
|
194
|
+
return { kind: 'symlink', resolves: fs.existsSync(installPath) };
|
|
195
|
+
}
|
|
196
|
+
if (lst.isDirectory()) {
|
|
197
|
+
return { kind: 'real', resolves: true };
|
|
198
|
+
}
|
|
199
|
+
return { kind: null, resolves: false };
|
|
200
|
+
};
|
|
201
|
+
|
|
202
|
+
/**
|
|
203
|
+
* Build the per-version STATUS note for the human table from a row.
|
|
204
|
+
*
|
|
205
|
+
* @inner
|
|
206
|
+
* @private
|
|
207
|
+
* @param {object} r - Reconciled row.
|
|
208
|
+
* @returns {string}
|
|
209
|
+
*/
|
|
210
|
+
var statusOf = function (r) {
|
|
211
|
+
var flags = [];
|
|
212
|
+
if (r.active) flags.push('active');
|
|
213
|
+
if (!r.registered) flags.push('unregistered');
|
|
214
|
+
if (r.kind === 'symlink' && !r.onDisk) flags.push('broken link');
|
|
215
|
+
if (r.kind === 'archived') flags.push('not linked');
|
|
216
|
+
if (r.kind === 'registered') flags.push('not installed');
|
|
217
|
+
return flags.length ? flags.join(', ') : 'ok';
|
|
218
|
+
};
|
|
219
|
+
|
|
220
|
+
/**
|
|
221
|
+
* Orchestrate: gather the three surfaces, reconcile, sort, emit.
|
|
222
|
+
*
|
|
223
|
+
* @inner
|
|
224
|
+
* @private
|
|
225
|
+
*/
|
|
226
|
+
var init = function () {
|
|
227
|
+
|
|
228
|
+
var format = readFlagValue('format');
|
|
229
|
+
if (format && format !== 'json') {
|
|
230
|
+
fail('Unknown --format value `' + format + '`. Supported: json.');
|
|
231
|
+
return;
|
|
232
|
+
}
|
|
233
|
+
var asJson = (format === 'json');
|
|
234
|
+
var all = hasFlag('all');
|
|
235
|
+
|
|
236
|
+
var homeDir = resolveHomeDir();
|
|
237
|
+
var ginaDir = resolveGinaDir();
|
|
238
|
+
if (!ginaDir) {
|
|
239
|
+
fail('Cannot resolve GINA_DIR (the active install root). Reinstall gina or run from the CLI.');
|
|
240
|
+
return;
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
var frameworkRoot = _(ginaDir + '/framework', true);
|
|
244
|
+
var archivesDir = _(homeDir + '/archives/framework', true);
|
|
245
|
+
var mainPath = _(homeDir + '/main.json', true);
|
|
246
|
+
|
|
247
|
+
// --- registry (best-effort; a missing main.json degrades gracefully) ---
|
|
248
|
+
var def = null;
|
|
249
|
+
var registeredSet = {};
|
|
250
|
+
try {
|
|
251
|
+
if (fs.existsSync(mainPath)) {
|
|
252
|
+
var main = requireJSON(mainPath);
|
|
253
|
+
def = main.def_framework || null;
|
|
254
|
+
var fw = main.frameworks || {};
|
|
255
|
+
Object.keys(fw).forEach(function (s) {
|
|
256
|
+
if (Array.isArray(fw[s])) fw[s].forEach(function (v) { registeredSet[v] = true; });
|
|
257
|
+
});
|
|
258
|
+
} else {
|
|
259
|
+
console.warn('[framework:list] ' + mainPath + ' not found — listing on-disk dirs only.');
|
|
260
|
+
}
|
|
261
|
+
} catch (e) {
|
|
262
|
+
console.warn('[framework:list] could not read ' + mainPath + ' (' + (e.message || e) + ') — listing on-disk dirs only.');
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
// --- on-disk surfaces ---
|
|
266
|
+
var installMap = {};
|
|
267
|
+
listVersionDirs(frameworkRoot).forEach(function (v) {
|
|
268
|
+
installMap[v] = classifyInstall(_(frameworkRoot + '/v' + v, true));
|
|
269
|
+
});
|
|
270
|
+
var archiveSet = {};
|
|
271
|
+
listVersionDirs(archivesDir).forEach(function (v) { archiveSet[v] = true; });
|
|
272
|
+
|
|
273
|
+
// --- union of candidate versions ---
|
|
274
|
+
var seen = {};
|
|
275
|
+
var candidates = [];
|
|
276
|
+
var addCandidate = function (v) { if (!seen[v]) { seen[v] = true; candidates.push(v); } };
|
|
277
|
+
Object.keys(installMap).forEach(addCandidate);
|
|
278
|
+
Object.keys(archiveSet).forEach(addCandidate);
|
|
279
|
+
if (all) Object.keys(registeredSet).forEach(addCandidate);
|
|
280
|
+
|
|
281
|
+
// --- reconcile each candidate into a row ---
|
|
282
|
+
var rows = candidates.map(function (v) {
|
|
283
|
+
var inst = installMap[v] || null;
|
|
284
|
+
var archived = !!archiveSet[v];
|
|
285
|
+
var kind = inst ? inst.kind : (archived ? 'archived' : 'registered');
|
|
286
|
+
var resolves = inst ? inst.resolves : false;
|
|
287
|
+
var onDisk = (kind === 'real') || (kind === 'symlink' && resolves);
|
|
288
|
+
return {
|
|
289
|
+
version : v,
|
|
290
|
+
short : shortOf(v),
|
|
291
|
+
active : v === def,
|
|
292
|
+
kind : kind,
|
|
293
|
+
registered : !!registeredSet[v],
|
|
294
|
+
archived : archived,
|
|
295
|
+
onDisk : onDisk
|
|
296
|
+
};
|
|
297
|
+
});
|
|
298
|
+
|
|
299
|
+
// --- sort: active first, then on-disk, then version descending ---
|
|
300
|
+
rows.sort(function (a, b) {
|
|
301
|
+
if (a.active !== b.active) return a.active ? -1 : 1;
|
|
302
|
+
if (a.onDisk !== b.onDisk) return a.onDisk ? -1 : 1;
|
|
303
|
+
return String(b.version).localeCompare(String(a.version), undefined, { numeric: true });
|
|
304
|
+
});
|
|
305
|
+
|
|
306
|
+
emit(rows, def, all, asJson);
|
|
307
|
+
process.exit(0);
|
|
308
|
+
};
|
|
309
|
+
|
|
310
|
+
/**
|
|
311
|
+
* Emit the result — a human-readable table, or `--format=json`.
|
|
312
|
+
*
|
|
313
|
+
* @inner
|
|
314
|
+
* @private
|
|
315
|
+
* @param {object[]} rows - Reconciled, sorted rows.
|
|
316
|
+
* @param {string|null} def - The active default version.
|
|
317
|
+
* @param {boolean} all - Whether registered-only versions were included.
|
|
318
|
+
* @param {boolean} asJson
|
|
319
|
+
*/
|
|
320
|
+
var emit = function (rows, def, all, asJson) {
|
|
321
|
+
if (asJson) {
|
|
322
|
+
console.log(JSON.stringify({
|
|
323
|
+
def_framework : def,
|
|
324
|
+
all : all,
|
|
325
|
+
count : rows.length,
|
|
326
|
+
versions : rows
|
|
327
|
+
}, null, 2));
|
|
328
|
+
return;
|
|
329
|
+
}
|
|
330
|
+
if (rows.length === 0) {
|
|
331
|
+
console.log('No framework versions found' + (all ? '.' : ' (try --all for the registry).'));
|
|
332
|
+
return;
|
|
333
|
+
}
|
|
334
|
+
var rule = '------------------------------------------------------------';
|
|
335
|
+
var lines = [];
|
|
336
|
+
lines.push('gina frameworks' + (all ? ' (all registered)' : ' (installed)') + ':');
|
|
337
|
+
lines.push(rule);
|
|
338
|
+
lines.push(' ' + fmt.pad('VERSION', 22) + fmt.pad('KIND', 12) + 'STATUS');
|
|
339
|
+
lines.push(rule);
|
|
340
|
+
rows.forEach(function (r) {
|
|
341
|
+
lines.push((r.active ? '* ' : ' ') + fmt.pad(r.version, 22) + fmt.pad(r.kind, 12) + statusOf(r));
|
|
342
|
+
});
|
|
343
|
+
lines.push(rule);
|
|
344
|
+
lines.push(' ' + rows.length + ' shown | def_framework: ' + (def || '(unknown)')
|
|
345
|
+
+ (all ? '' : ' | --all to include the full registry'));
|
|
346
|
+
console.log(lines.join('\n'));
|
|
347
|
+
};
|
|
348
|
+
|
|
349
|
+
init();
|
|
350
|
+
}
|
|
351
|
+
|
|
352
|
+
module.exports = List;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @module gina/lib/cmd/framework/man
|
|
3
|
+
* @description `gina framework:man` — renders the framework manual page
|
|
4
|
+
* (`lib/cmd/gina-framework.1.md`). Thin re-export of the shared engine in
|
|
5
|
+
* {@link module:gina/lib/cmd/man-render}, which picks the group from
|
|
6
|
+
* `opt.task.topic`.
|
|
7
|
+
*/
|
|
8
|
+
// alias
|
|
9
|
+
module.exports = require('../man-render');
|