gina 0.4.0 → 0.4.1
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 +17 -0
- package/README.md +5 -11
- package/ROADMAP.md +18 -7
- package/bin/cli +12 -0
- package/framework/v0.4.1/VERSION +1 -0
- package/framework/{v0.4.0 → v0.4.1}/core/asset/plugin/dist/vendor/gina/js/gina.js +0 -3
- package/framework/{v0.4.0 → v0.4.1}/core/asset/plugin/dist/vendor/gina/js/gina.min.js +1 -1
- package/framework/v0.4.1/core/asset/plugin/dist/vendor/gina/js/gina.min.js.br +0 -0
- package/framework/{v0.4.0 → v0.4.1}/core/asset/plugin/dist/vendor/gina/js/gina.min.js.gz +0 -0
- package/framework/{v0.4.0 → v0.4.1}/core/controller/controller.js +43 -0
- package/framework/{v0.4.0 → v0.4.1}/core/controller/controller.render-nunjucks.js +117 -7
- package/framework/{v0.4.0 → v0.4.1}/core/controller/controller.render-swig.js +21 -1
- package/framework/{v0.4.0 → v0.4.1}/core/server.js +23 -1
- package/framework/{v0.4.0 → v0.4.1}/lib/cache/src/main.js +0 -3
- package/framework/{v0.4.0 → v0.4.1}/lib/cmd/bundle/add.js +24 -0
- package/framework/{v0.4.0 → v0.4.1}/lib/cmd/bundle/arguments.json +3 -1
- package/framework/v0.4.1/lib/cmd/bundle/copy.js +467 -0
- package/framework/{v0.4.0 → v0.4.1}/lib/cmd/bundle/help.txt +74 -0
- package/framework/v0.4.1/lib/cmd/bundle/inc/name-rewrite.js +96 -0
- package/framework/{v0.4.0 → v0.4.1}/lib/cmd/bundle/list.js +7 -90
- package/framework/{v0.4.0 → v0.4.1}/lib/cmd/bundle/remove.js +11 -0
- package/framework/v0.4.1/lib/cmd/bundle/rename.js +506 -0
- package/framework/v0.4.1/lib/cmd/bundle/status.js +170 -0
- package/framework/{v0.4.0 → v0.4.1}/lib/cmd/connector/list.js +2 -18
- package/framework/{v0.4.0 → v0.4.1}/lib/cmd/helper.js +1 -1
- package/framework/v0.4.1/lib/cmd/minion/arguments.json +4 -0
- package/framework/{v0.4.0 → v0.4.1}/lib/cmd/minion/help.txt +5 -1
- package/framework/v0.4.1/lib/cmd/minion/kill.js +336 -0
- package/framework/v0.4.1/lib/cmd/minion/list.js +270 -0
- package/framework/{v0.4.0 → v0.4.1}/lib/cmd/port/set.js +12 -0
- package/framework/{v0.4.0 → v0.4.1}/lib/cmd/project/help.txt +16 -0
- package/framework/{v0.4.0 → v0.4.1}/lib/cmd/project/remove.js +11 -0
- package/framework/v0.4.1/lib/cmd/project/status.js +218 -0
- package/framework/v0.4.1/lib/cmd/protocol/arguments.json +5 -0
- package/framework/{v0.4.0 → v0.4.1}/lib/cmd/protocol/help.txt +8 -3
- package/framework/v0.4.1/lib/cmd/protocol/remove.js +308 -0
- package/framework/{v0.4.0 → v0.4.1}/lib/cmd/protocol/set.js +12 -0
- package/framework/{v0.4.0 → v0.4.1}/lib/cmd/service/list.js +4 -82
- package/framework/{v0.4.0 → v0.4.1}/lib/cmd/view/add.js +13 -0
- package/framework/v0.4.1/lib/cmd-status-format/package.json +17 -0
- package/framework/v0.4.1/lib/cmd-status-format/src/main.js +142 -0
- package/framework/{v0.4.0 → v0.4.1}/lib/collection/src/main.js +0 -3
- package/framework/{v0.4.0 → v0.4.1}/lib/index.js +4 -0
- package/framework/{v0.4.0 → v0.4.1}/package.json +1 -1
- package/gna.js +4 -4
- package/llms.txt +13 -6
- package/package.json +2 -2
- package/script/sync_docs_deps.js +147 -0
- package/framework/v0.4.0/VERSION +0 -1
- package/framework/v0.4.0/core/asset/plugin/dist/vendor/gina/js/gina.min.js.br +0 -0
- package/framework/v0.4.0/lib/cmd/bundle/copy.js +0 -18
- package/framework/v0.4.0/lib/cmd/bundle/rename.js +0 -7
- package/framework/v0.4.0/lib/cmd/bundle/status.js +0 -6
- package/framework/v0.4.0/lib/cmd/project/status.js +0 -3
- /package/framework/{v0.4.0 → v0.4.1}/AUTHORS +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/LICENSE +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/asset/html/nolayout.html +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/asset/html/static.html +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/asset/img/android-chrome-192x192.png +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/asset/img/android-chrome-512x512.png +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/asset/img/apple-touch-icon.png +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/asset/img/favicon-16x16.png +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/asset/img/favicon-32x32.png +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/asset/img/favicon.ico +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/asset/plugin/README.md +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/asset/plugin/dist/vendor/gina/beemaster/beemaster.css +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/asset/plugin/dist/vendor/gina/beemaster/beemaster.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/asset/plugin/dist/vendor/gina/beemaster/index.html +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/asset/plugin/dist/vendor/gina/css/gina.min.css +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/asset/plugin/dist/vendor/gina/css/gina.min.css.br +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/asset/plugin/dist/vendor/gina/css/gina.min.css.gz +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/asset/plugin/dist/vendor/gina/html/statusbar.html +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/asset/plugin/dist/vendor/gina/html/statusbar.html.br +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/asset/plugin/dist/vendor/gina/html/statusbar.html.gz +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/asset/plugin/dist/vendor/gina/inspector/have_heart_one-webfont.woff2 +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/asset/plugin/dist/vendor/gina/inspector/index.html +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/asset/plugin/dist/vendor/gina/inspector/inspector.css +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/asset/plugin/dist/vendor/gina/inspector/inspector.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/asset/plugin/dist/vendor/gina/inspector/logo.svg +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/asset/plugin/dist/vendor/gina/js/gina.onload.min.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/asset/plugin/dist/vendor/gina/js/gina.onload.min.js.br +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/asset/plugin/dist/vendor/gina/js/gina.onload.min.js.gz +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/config.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/connectors/ai/index.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/connectors/ai/lib/connector.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/connectors/couchbase/index.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/connectors/couchbase/lib/connector.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/connectors/couchbase/lib/connector.v3.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/connectors/couchbase/lib/connector.v4.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/connectors/couchbase/lib/n1ql.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/connectors/couchbase/lib/session-store.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/connectors/couchbase/lib/session-store.v3.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/connectors/couchbase/lib/session-store.v4.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/connectors/mongodb/index.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/connectors/mongodb/lib/connector.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/connectors/mongodb/lib/pipeline-loader.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/connectors/mongodb/lib/session-store.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/connectors/mysql/index.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/connectors/mysql/lib/connector.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/connectors/postgresql/index.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/connectors/postgresql/lib/connector.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/connectors/redis/index.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/connectors/redis/lib/session-store.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/connectors/scylladb/index.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/connectors/scylladb/lib/connector.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/connectors/scylladb/lib/session-store.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/connectors/sql-parser.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/connectors/sqlite/index.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/connectors/sqlite/lib/connector.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/connectors/sqlite/lib/session-store.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/content.encoding +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/controller/controller.framework.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/controller/controller.render-json.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/controller/controller.render-stream.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/controller/controller.render-v1.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/controller/index.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/controller/inspector-window-emit.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/deps/busboy-1.6.0/LICENSE +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/deps/busboy-1.6.0/README.md +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/deps/busboy-1.6.0/lib/index.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/deps/busboy-1.6.0/lib/types/multipart.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/deps/busboy-1.6.0/lib/types/urlencoded.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/deps/busboy-1.6.0/lib/utils.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/deps/busboy-1.6.0/package.json +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/deps/streamsearch-1.1.0/LICENSE +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/deps/streamsearch-1.1.0/lib/sbmh.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/deps/streamsearch-1.1.0/package.json +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/dev/index.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/dev/lib/class.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/dev/lib/factory.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/dev/lib/tools.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/gna.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/locales/README.md +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/locales/currency.json +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/locales/dist/language/en.json +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/locales/dist/language/fr.json +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/locales/dist/region/en.json +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/locales/dist/region/fr.json +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/locales/index.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/mime.types +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/model/entity.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/model/index.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/model/template/entityFactory.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/model/template/index.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/plugins/README.md +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/plugins/index.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/plugins/lib/csrf/README.md +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/plugins/lib/csrf/package.json +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/plugins/lib/csrf/src/main.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/plugins/lib/security-headers/README.md +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/plugins/lib/security-headers/coep/README.md +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/plugins/lib/security-headers/coep/package.json +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/plugins/lib/security-headers/coep/src/main.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/plugins/lib/security-headers/coop/README.md +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/plugins/lib/security-headers/coop/package.json +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/plugins/lib/security-headers/coop/src/main.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/plugins/lib/security-headers/corp/README.md +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/plugins/lib/security-headers/corp/package.json +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/plugins/lib/security-headers/corp/src/main.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/plugins/lib/security-headers/csp/README.md +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/plugins/lib/security-headers/csp/package.json +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/plugins/lib/security-headers/csp/src/main.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/plugins/lib/security-headers/hide-powered-by/README.md +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/plugins/lib/security-headers/hide-powered-by/package.json +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/plugins/lib/security-headers/hide-powered-by/src/main.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/plugins/lib/security-headers/hsts/README.md +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/plugins/lib/security-headers/hsts/package.json +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/plugins/lib/security-headers/hsts/src/main.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/plugins/lib/security-headers/origin-agent-cluster/README.md +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/plugins/lib/security-headers/origin-agent-cluster/package.json +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/plugins/lib/security-headers/origin-agent-cluster/src/main.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/plugins/lib/security-headers/package.json +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/plugins/lib/security-headers/referrer-policy/README.md +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/plugins/lib/security-headers/referrer-policy/package.json +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/plugins/lib/security-headers/referrer-policy/src/main.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/plugins/lib/security-headers/src/main.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/plugins/lib/security-headers/x-content-type-options/README.md +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/plugins/lib/security-headers/x-content-type-options/package.json +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/plugins/lib/security-headers/x-content-type-options/src/main.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/plugins/lib/security-headers/x-dns-prefetch-control/README.md +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/plugins/lib/security-headers/x-dns-prefetch-control/package.json +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/plugins/lib/security-headers/x-dns-prefetch-control/src/main.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/plugins/lib/security-headers/x-download-options/README.md +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/plugins/lib/security-headers/x-download-options/package.json +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/plugins/lib/security-headers/x-download-options/src/main.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/plugins/lib/security-headers/x-frame-options/README.md +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/plugins/lib/security-headers/x-frame-options/package.json +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/plugins/lib/security-headers/x-frame-options/src/main.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/plugins/lib/security-headers/x-permitted-cross-domain-policies/README.md +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/plugins/lib/security-headers/x-permitted-cross-domain-policies/package.json +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/plugins/lib/security-headers/x-permitted-cross-domain-policies/src/main.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/plugins/lib/security-headers/x-xss-protection/README.md +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/plugins/lib/security-headers/x-xss-protection/package.json +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/plugins/lib/security-headers/x-xss-protection/src/main.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/plugins/lib/session/README.md +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/plugins/lib/session/package.json +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/plugins/lib/session/src/main.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/plugins/lib/storage/README.md +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/plugins/lib/storage/build.json +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/plugins/lib/storage/package.json +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/plugins/lib/storage/src/main.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/plugins/lib/validator/README.md +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/plugins/lib/validator/build.json +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/plugins/lib/validator/package.json +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/plugins/lib/validator/src/form-validator.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/plugins/lib/validator/src/main.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/router.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/server.express.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/server.isaac.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/status.codes +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/template/_gitignore +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/template/boilerplate/bundle/config/app.json +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/template/boilerplate/bundle/config/connectors.json +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/template/boilerplate/bundle/config/routing.json +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/template/boilerplate/bundle/config/settings.json +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/template/boilerplate/bundle/config/settings.server.json +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/template/boilerplate/bundle/config/templates.json +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/template/boilerplate/bundle/config/watchers.json +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/template/boilerplate/bundle/controllers/controller.content.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/template/boilerplate/bundle/controllers/controller.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/template/boilerplate/bundle/controllers/setup.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/template/boilerplate/bundle/index.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/template/boilerplate/bundle/locales/en.json +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/template/boilerplate/bundle_namespace/controllers/controller.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/template/boilerplate/bundle_public/css/default.css +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/template/boilerplate/bundle_public/css/home.css +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/template/boilerplate/bundle_public/css/vendor/readme.md +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/template/boilerplate/bundle_public/favicon.ico +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/template/boilerplate/bundle_public/js/vendor/readme.md +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/template/boilerplate/bundle_public/manifest.webmanifest +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/template/boilerplate/bundle_public/readme.md +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/template/boilerplate/bundle_public/sw.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/template/boilerplate/bundle_templates/handlers/main.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/template/boilerplate/bundle_templates/html/content/homepage.html +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/template/boilerplate/bundle_templates/html/includes/error-msg-noscript.html +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/template/boilerplate/bundle_templates/html/includes/error-msg-outdated-browser.html +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/template/boilerplate/bundle_templates/html/layouts/main.html +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/template/command/gina.bat.tpl +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/template/command/gina.tpl +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/template/conf/env.json +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/template/conf/manifest.json +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/template/conf/package.json +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/template/conf/settings.json +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/template/conf/statics.json +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/template/conf/templates.json +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/template/error/client/json/401.json +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/template/error/client/json/403.json +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/template/error/client/json/404.json +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/template/error/server/html/50x.html +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/template/error/server/json/500.json +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/template/error/server/json/503.json +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/core/template/extensions/logger/config.json +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/helpers/console.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/helpers/context.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/helpers/data/LICENSE +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/helpers/data/README.md +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/helpers/data/package.json +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/helpers/data/src/main.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/helpers/dateFormat.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/helpers/index.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/helpers/json/LICENSE +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/helpers/json/README.md +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/helpers/json/package.json +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/helpers/json/src/main.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/helpers/path.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/helpers/plugins/README.md +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/helpers/plugins/package.json +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/helpers/plugins/src/api-error.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/helpers/plugins/src/main.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/helpers/prototypes.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/helpers/task.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/helpers/text.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/archiver/README.md +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/archiver/build.json +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/archiver/package.json +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/archiver/src/dep/jszip.min.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/archiver/src/main.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/async/package.json +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/async/src/main.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/cache/README.md +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/cache/build.json +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/cache/package.json +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/cmd/aliases.json +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/cmd/bundle/build.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/cmd/bundle/cp.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/cmd/bundle/help.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/cmd/bundle/mcp-start.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/cmd/bundle/mcp.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/cmd/bundle/oas.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/cmd/bundle/openapi.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/cmd/bundle/restart.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/cmd/bundle/rm.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/cmd/bundle/start.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/cmd/bundle/stop.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/cmd/cache/stats.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/cmd/connector/add.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/cmd/connector/arguments.json +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/cmd/connector/help.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/cmd/connector/help.txt +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/cmd/connector/migrate.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/cmd/connector/remove.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/cmd/connector/rm.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/cmd/env/add.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/cmd/env/get.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/cmd/env/help.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/cmd/env/help.txt +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/cmd/env/link-dev.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/cmd/env/list.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/cmd/env/remove.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/cmd/env/rm.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/cmd/env/set.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/cmd/env/unset.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/cmd/env/use.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/cmd/framework/arguments.json +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/cmd/framework/build.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/cmd/framework/dot.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/cmd/framework/get.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/cmd/framework/help.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/cmd/framework/help.txt +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/cmd/framework/init.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/cmd/framework/link-node-modules.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/cmd/framework/link.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/cmd/framework/msg.json +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/cmd/framework/open.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/cmd/framework/restart.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/cmd/framework/set.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/cmd/framework/start.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/cmd/framework/status.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/cmd/framework/stop.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/cmd/framework/tail.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/cmd/framework/update.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/cmd/framework/version.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/cmd/gina-dev.1.md +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/cmd/gina-framework.1.md +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/cmd/gina.1.md +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/cmd/i18n/add.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/cmd/i18n/arguments.json +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/cmd/i18n/export.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/cmd/i18n/help.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/cmd/i18n/help.txt +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/cmd/i18n/import.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/cmd/i18n/scan.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/cmd/index.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/cmd/inspector/help.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/cmd/inspector/help.txt +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/cmd/inspector/open.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/cmd/minion/help.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/cmd/msg.json +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/cmd/port/help.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/cmd/port/help.txt +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/cmd/port/inc/scan.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/cmd/port/list.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/cmd/port/reset.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/cmd/project/add.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/cmd/project/arguments.json +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/cmd/project/build.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/cmd/project/help.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/cmd/project/import.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/cmd/project/list.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/cmd/project/move.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/cmd/project/rename.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/cmd/project/restart.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/cmd/project/rm.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/cmd/project/start.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/cmd/project/stop.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/cmd/protocol/help.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/cmd/protocol/list.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/cmd/scope/add.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/cmd/scope/help.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/cmd/scope/help.txt +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/cmd/scope/link-local.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/cmd/scope/link-production.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/cmd/scope/list.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/cmd/scope/remove.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/cmd/scope/rm.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/cmd/scope/use.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/cmd/secrets/arguments.json +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/cmd/secrets/check.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/cmd/secrets/help.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/cmd/secrets/help.txt +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/cmd/secrets/scan.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/cmd/service/help.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/cmd/service/help.txt +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/collection/README.md +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/collection/build.json +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/collection/package.json +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/config.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/connector-registry/package.json +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/connector-registry/src/main.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/cron/README.md +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/cron/package.json +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/cron/src/main.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/domain/LICENSE +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/domain/README.md +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/domain/package.json +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/domain/src/main.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/generator/index.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/i18n/package.json +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/i18n/src/main.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/inherits/LICENSE +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/inherits/README.md +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/inherits/package.json +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/inherits/src/main.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/inspector-redact/package.json +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/inspector-redact/src/main.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/instrument/package.json +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/instrument/src/main.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/job/package.json +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/job/src/main.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/logger/README.md +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/logger/package.json +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/logger/src/containers/default/index.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/logger/src/containers/file/index.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/logger/src/containers/file/lib/logrotator/README.md +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/logger/src/containers/file/lib/logrotator/index.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/logger/src/containers/mq/index.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/logger/src/containers/mq/listener.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/logger/src/containers/mq/speaker.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/logger/src/helper.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/logger/src/main.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/math/index.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/mcp-dispatch/package.json +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/mcp-dispatch/src/main.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/mcp-http/package.json +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/mcp-http/src/main.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/mcp-server/package.json +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/mcp-server/src/main.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/merge/README.md +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/merge/package.json +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/merge/src/main.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/metrics/package.json +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/metrics/src/main.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/model.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/nunjucks-filters/README.md +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/nunjucks-filters/package.json +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/nunjucks-filters/src/main.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/nunjucks-resolver/package.json +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/nunjucks-resolver/src/main.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/proc.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/routing/README.md +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/routing/build.json +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/routing/package.json +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/routing/src/main.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/routing/src/radix.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/routing-introspect/package.json +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/routing-introspect/src/main.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/secrets/package.json +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/secrets/src/backends/env.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/secrets/src/main.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/session-store.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/shell.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/state.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/swig-filters/README.md +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/swig-filters/package.json +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/swig-filters/src/main.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/swig-resolver/package.json +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/swig-resolver/src/main.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/url/README.md +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/url/index.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/url/routing.json +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/uuid/package.json +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/uuid/src/main.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/validator.js +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/watcher/package.json +0 -0
- /package/framework/{v0.4.0 → v0.4.1}/lib/watcher/src/main.js +0 -0
|
@@ -0,0 +1,270 @@
|
|
|
1
|
+
var fs = require('fs');
|
|
2
|
+
var console = lib.logger;
|
|
3
|
+
var fmt = lib.cmdStatusFormat;
|
|
4
|
+
|
|
5
|
+
var CmdHelper = require('./../helper');
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* @module gina/lib/cmd/minion/list
|
|
9
|
+
*/
|
|
10
|
+
/**
|
|
11
|
+
* Lists the running gina bundle child-processes ("minions") of a project — or
|
|
12
|
+
* of every registered project when no project is given.
|
|
13
|
+
*
|
|
14
|
+
* A minion is a live, detached Node process spawned by `bundle:start`; each one
|
|
15
|
+
* registers a `<bundle>@<project>.pid` file under the run directory
|
|
16
|
+
* (~/.gina/run). This command reads that directory directly (process-truth),
|
|
17
|
+
* liveness-probes every pidfile via lib.cmdStatusFormat.readPidfile, and reports
|
|
18
|
+
* only the processes that are still alive — including bundles that have been
|
|
19
|
+
* detached from a project's manifest (the orphans that `minion:kill` reaps).
|
|
20
|
+
* Framework-daemon pidfiles (`gina-*`) are skipped. Stale pidfiles (file
|
|
21
|
+
* present, process gone) are NOT listed; cleaning those up is `minion:kill`'s
|
|
22
|
+
* job.
|
|
23
|
+
*
|
|
24
|
+
* Usage:
|
|
25
|
+
* gina minion:list [@<project_name>]
|
|
26
|
+
* gina minion:list @<project_name> --format=json
|
|
27
|
+
*
|
|
28
|
+
* The bare form is exempt from the mandatory `@<project>` guard (the `:list$`
|
|
29
|
+
* allowlist in lib/cmd/helper.js), so it reports every project that has at
|
|
30
|
+
* least one running minion, mirroring the two-mode shape of `project:status`.
|
|
31
|
+
*
|
|
32
|
+
* @class List
|
|
33
|
+
* @constructor
|
|
34
|
+
* @param {object} opt - Parsed command-line options
|
|
35
|
+
* @param {object} opt.client - Socket client for terminal output
|
|
36
|
+
* @param {string[]} opt.argv - Full argv array
|
|
37
|
+
* @param {number} [opt.debugPort] - Node.js inspector port
|
|
38
|
+
* @param {boolean} [opt.debugBrkEnabled] - True when --inspect-brk is active
|
|
39
|
+
* @param {object} cmd - The cmd dispatcher object (lib/cmd/index.js)
|
|
40
|
+
*
|
|
41
|
+
* @example
|
|
42
|
+
* // one project, human-readable
|
|
43
|
+
* $ gina minion:list @myproject
|
|
44
|
+
* [ running ] api http/2.0 dev https 4208 pid 12345
|
|
45
|
+
*
|
|
46
|
+
* @example
|
|
47
|
+
* // every project with live minions, machine-readable
|
|
48
|
+
* $ gina minion:list --format=json
|
|
49
|
+
* [{"project":"myproject","minions":[{"bundle":"api","project":"myproject","running":true,"pid":12345,...}]}]
|
|
50
|
+
*/
|
|
51
|
+
function List(opt, cmd) {
|
|
52
|
+
var self = { format: null };
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* Parses --format, resolves the run directory, loads the project registry
|
|
56
|
+
* and ports table, then dispatches to listProjectOnly (a named
|
|
57
|
+
* `@<project>`) or listAll (no project given).
|
|
58
|
+
*
|
|
59
|
+
* @inner
|
|
60
|
+
* @private
|
|
61
|
+
*/
|
|
62
|
+
var init = function() {
|
|
63
|
+
|
|
64
|
+
// import CMD helpers
|
|
65
|
+
new CmdHelper(self, opt.client, { port: opt.debugPort, brkEnabled: opt.debugBrkEnabled });
|
|
66
|
+
// check CMD configuration
|
|
67
|
+
if (!isCmdConfigured()) return false;
|
|
68
|
+
|
|
69
|
+
self.projects = require(_(GINA_HOMEDIR + '/projects.json'));
|
|
70
|
+
|
|
71
|
+
// Canonical run directory. GINA_RUNDIR may be customised; fall back to
|
|
72
|
+
// the default ~/.gina/run when the global is not set in this scope.
|
|
73
|
+
self.runDir = (typeof(GINA_RUNDIR) != 'undefined' && GINA_RUNDIR)
|
|
74
|
+
? GINA_RUNDIR
|
|
75
|
+
: (GINA_HOMEDIR + '/run');
|
|
76
|
+
|
|
77
|
+
// Tolerant ports load — a missing/malformed ports table yields "(no port)".
|
|
78
|
+
self.portsReverseData = {};
|
|
79
|
+
var portsPath = _(GINA_HOMEDIR + '/ports.reverse.json');
|
|
80
|
+
if ( fs.existsSync(portsPath) ) {
|
|
81
|
+
try {
|
|
82
|
+
self.portsReverseData = requireJSON(portsPath);
|
|
83
|
+
} catch (e) {
|
|
84
|
+
// Tolerant — fall through with empty ports table.
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
// Full pre-scan of argv for --format only. No dispatch inside the loop.
|
|
89
|
+
for (let i = 3, len = process.argv.length; i < len; i++) {
|
|
90
|
+
if ( /^\-\-format\=/.test(process.argv[i]) ) {
|
|
91
|
+
self.format = process.argv[i].split(/\=/)[1];
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
// `self.projectName == null` matches both null (CmdHelper default) and
|
|
96
|
+
// undefined — either signals "no project specified", report them all.
|
|
97
|
+
if ( self.projectName == null ) {
|
|
98
|
+
listAll();
|
|
99
|
+
} else if ( typeof(self.projects[self.projectName]) != 'undefined' ) {
|
|
100
|
+
listProjectOnly();
|
|
101
|
+
} else {
|
|
102
|
+
console.error('[ '+ self.projectName +' ] is not a registered project.');
|
|
103
|
+
process.exit(1);
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
process.exit(0);
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
/**
|
|
111
|
+
* Reads the run directory and returns the live minions, optionally filtered
|
|
112
|
+
* to one project. Each pidfile is `<bundle>@<project>.pid`; hidden files,
|
|
113
|
+
* non-`.pid` files, and framework-daemon pidfiles (`gina-*`) are skipped,
|
|
114
|
+
* and only processes that pass the liveness probe are returned.
|
|
115
|
+
*
|
|
116
|
+
* @inner
|
|
117
|
+
* @private
|
|
118
|
+
* @param {string|null} projectFilter - When non-null, only minions of this project
|
|
119
|
+
* @returns {Array<object>} live minion entries
|
|
120
|
+
*/
|
|
121
|
+
var collectMinions = function(projectFilter) {
|
|
122
|
+
var out = [];
|
|
123
|
+
var files = [];
|
|
124
|
+
try {
|
|
125
|
+
files = fs.readdirSync(self.runDir);
|
|
126
|
+
} catch (e) {
|
|
127
|
+
// No run directory yet -> no minions.
|
|
128
|
+
return out;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
for (var i = 0, len = files.length; i < len; i++) {
|
|
132
|
+
var file = files[i];
|
|
133
|
+
// skip hidden files, non-pid files, and framework-daemon pidfiles
|
|
134
|
+
if ( /^\./.test(file) || !/\.pid$/.test(file) || /^gina\-/.test(file) ) {
|
|
135
|
+
continue;
|
|
136
|
+
}
|
|
137
|
+
var base = file.replace(/\.pid$/, '');
|
|
138
|
+
var at = base.lastIndexOf('@');
|
|
139
|
+
if ( at < 1 || at === base.length - 1 ) {
|
|
140
|
+
// not a `<bundle>@<project>` pidfile — skip
|
|
141
|
+
continue;
|
|
142
|
+
}
|
|
143
|
+
var bundle = base.substring(0, at);
|
|
144
|
+
var project = base.substring(at + 1);
|
|
145
|
+
|
|
146
|
+
if ( projectFilter != null && project !== projectFilter ) {
|
|
147
|
+
continue;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
var runState = fmt.readPidfile(self.runDir, bundle, project);
|
|
151
|
+
if ( !runState.running ) {
|
|
152
|
+
// live only — stale pidfiles are minion:kill's concern
|
|
153
|
+
continue;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
var ports = (self.portsReverseData || {})[bundle + '@' + project] || null;
|
|
157
|
+
var preferred = fmt.pickPreferredPort(ports);
|
|
158
|
+
out.push({
|
|
159
|
+
bundle : bundle,
|
|
160
|
+
project : project,
|
|
161
|
+
running : true,
|
|
162
|
+
pid : runState.pid,
|
|
163
|
+
env : preferred ? preferred.env : null,
|
|
164
|
+
scheme : preferred ? preferred.scheme : null,
|
|
165
|
+
protocol : preferred ? preferred.protocol : null,
|
|
166
|
+
port : preferred ? preferred.port : null,
|
|
167
|
+
ports : ports
|
|
168
|
+
});
|
|
169
|
+
}
|
|
170
|
+
return out;
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
|
|
174
|
+
/**
|
|
175
|
+
* Formats one live-minion entry into a display line, mirroring
|
|
176
|
+
* `project:status` (state + padded bundle + port + pid).
|
|
177
|
+
*
|
|
178
|
+
* @inner
|
|
179
|
+
* @private
|
|
180
|
+
* @param {object} entry
|
|
181
|
+
* @returns {string}
|
|
182
|
+
*/
|
|
183
|
+
var formatLine = function(entry) {
|
|
184
|
+
var portLabel = (entry.port != null)
|
|
185
|
+
? entry.scheme + ' ' + entry.env + ' ' + entry.protocol + ' ' + entry.port
|
|
186
|
+
: '(no port)';
|
|
187
|
+
return '[ running ] ' + fmt.pad(entry.bundle, 16) + ' ' + portLabel + ' pid ' + entry.pid;
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
|
|
191
|
+
/**
|
|
192
|
+
* Reports the live minions of self.projectName only.
|
|
193
|
+
*
|
|
194
|
+
* @inner
|
|
195
|
+
* @private
|
|
196
|
+
*/
|
|
197
|
+
var listProjectOnly = function() {
|
|
198
|
+
var entries = collectMinions(self.projectName);
|
|
199
|
+
|
|
200
|
+
if ( /^json?/.test(self.format) ) {
|
|
201
|
+
return process.stdout.write(JSON.stringify(entries));
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
if ( entries.length === 0 ) {
|
|
205
|
+
return console.log('No running minions for [ ' + self.projectName + ' ].');
|
|
206
|
+
}
|
|
207
|
+
var str = '';
|
|
208
|
+
for (var i = 0; i < entries.length; i++) {
|
|
209
|
+
str += formatLine(entries[i]) + '\n\r';
|
|
210
|
+
}
|
|
211
|
+
console.log(str);
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
|
|
215
|
+
/**
|
|
216
|
+
* Reports the live minions of every project that has at least one, grouped
|
|
217
|
+
* by project name (sorted).
|
|
218
|
+
*
|
|
219
|
+
* @inner
|
|
220
|
+
* @private
|
|
221
|
+
*/
|
|
222
|
+
var listAll = function() {
|
|
223
|
+
var all = collectMinions(null);
|
|
224
|
+
|
|
225
|
+
// group by project
|
|
226
|
+
var byProject = {};
|
|
227
|
+
for (var i = 0; i < all.length; i++) {
|
|
228
|
+
var p = all[i].project;
|
|
229
|
+
if ( typeof(byProject[p]) == 'undefined' ) {
|
|
230
|
+
byProject[p] = [];
|
|
231
|
+
}
|
|
232
|
+
byProject[p].push(all[i]);
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
var names = [];
|
|
236
|
+
for (var name in byProject) {
|
|
237
|
+
names.push(name);
|
|
238
|
+
}
|
|
239
|
+
names.sort();
|
|
240
|
+
|
|
241
|
+
if ( /^json?/.test(self.format) ) {
|
|
242
|
+
var json = [];
|
|
243
|
+
for (var k = 0; k < names.length; k++) {
|
|
244
|
+
json.push({ project: names[k], minions: byProject[names[k]] });
|
|
245
|
+
}
|
|
246
|
+
return process.stdout.write(JSON.stringify(json));
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
if ( names.length === 0 ) {
|
|
250
|
+
return console.log('No running minions.');
|
|
251
|
+
}
|
|
252
|
+
var str = '';
|
|
253
|
+
for (var j = 0; j < names.length; j++) {
|
|
254
|
+
var projectName = names[j];
|
|
255
|
+
str += '------------------------------------\n\r';
|
|
256
|
+
str += projectName + '\n\r';
|
|
257
|
+
str += '------------------------------------\n\r';
|
|
258
|
+
for (var m = 0; m < byProject[projectName].length; m++) {
|
|
259
|
+
str += formatLine(byProject[projectName][m]) + '\n\r';
|
|
260
|
+
}
|
|
261
|
+
str += '\n\r';
|
|
262
|
+
}
|
|
263
|
+
console.log(str);
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
|
|
267
|
+
init()
|
|
268
|
+
};
|
|
269
|
+
|
|
270
|
+
module.exports = List
|
|
@@ -107,6 +107,18 @@ function Set(opt, cmd) {
|
|
|
107
107
|
* @private
|
|
108
108
|
*/
|
|
109
109
|
var promptMissing = function() {
|
|
110
|
+
// Non-interactive guard: without a TTY (container, CI, piped/detached
|
|
111
|
+
// stdin) the readline below closes on stdin EOF and rl.question() would
|
|
112
|
+
// throw ERR_USE_AFTER_CLOSE. Fail fast pointing at the value flags. (rl is
|
|
113
|
+
// created lazily just below, so only the isTTY check applies here.)
|
|
114
|
+
if ( !process.stdin.isTTY ) {
|
|
115
|
+
console.error(
|
|
116
|
+
'port:set is missing values and stdin is not interactive (no TTY) to prompt for them.\n'
|
|
117
|
+
+ 'Re-run providing all of --protocol, --scheme, --port and --env:\n'
|
|
118
|
+
+ ' gina port:set '+ self.name +' @'+ self.projectName +' --protocol=<http/1.1|http/2.0> --scheme=<http|https> --port=<n> --env=<env>'
|
|
119
|
+
);
|
|
120
|
+
return process.exit(1);
|
|
121
|
+
}
|
|
110
122
|
var rl = readline.createInterface({ input: process.stdin, output: process.stdout });
|
|
111
123
|
var steps = [];
|
|
112
124
|
|
|
@@ -38,6 +38,22 @@
|
|
|
38
38
|
$ gina project:list [ [ --more ] | [-b | --with-bundles] | [-e | --with-envs] ]
|
|
39
39
|
|
|
40
40
|
|
|
41
|
+
[ Show project status ]
|
|
42
|
+
|
|
43
|
+
Shows the running/stopped state, PID, and port of each bundle in the project.
|
|
44
|
+
With no @<project>, reports every registered project.
|
|
45
|
+
|
|
46
|
+
$ gina project:status @<project_name>
|
|
47
|
+
|
|
48
|
+
or for every registered project
|
|
49
|
+
|
|
50
|
+
$ gina project:status
|
|
51
|
+
|
|
52
|
+
or as JSON
|
|
53
|
+
|
|
54
|
+
$ gina project:status @<project_name> --format=json
|
|
55
|
+
|
|
56
|
+
|
|
41
57
|
[ Start project ]
|
|
42
58
|
|
|
43
59
|
$ gina project:start @<project_name> [ --env=dev, --scope=local, --inspect-brk=5000 ]
|
|
@@ -106,6 +106,17 @@ function Remove(opt, cmd) {
|
|
|
106
106
|
*/
|
|
107
107
|
var prompt = function(force, cb) {
|
|
108
108
|
if (!force) {
|
|
109
|
+
// Non-interactive guard: without a TTY (container, CI, piped/detached
|
|
110
|
+
// stdin) the module-scope readline closes on stdin EOF and rl.prompt()
|
|
111
|
+
// would throw ERR_USE_AFTER_CLOSE. Fail fast pointing at --force.
|
|
112
|
+
if ( !process.stdin.isTTY || rl.closed ) {
|
|
113
|
+
console.error(
|
|
114
|
+
'Project [ '+ self.projectName +' ] removal needs a confirmation that cannot be read: stdin is not interactive (no TTY).\n'
|
|
115
|
+
+ 'Re-run with --force to remove the project and its sources non-interactively:\n'
|
|
116
|
+
+ ' gina project:rm @'+ self.projectName +' --force'
|
|
117
|
+
);
|
|
118
|
+
return process.exit(1);
|
|
119
|
+
}
|
|
109
120
|
rl.setPrompt('Also remove project sources ? (Y/n):\n');
|
|
110
121
|
rl.prompt();
|
|
111
122
|
} else {
|
|
@@ -0,0 +1,218 @@
|
|
|
1
|
+
var fs = require('fs');
|
|
2
|
+
var console = lib.logger;
|
|
3
|
+
var fmt = lib.cmdStatusFormat;
|
|
4
|
+
|
|
5
|
+
var CmdHelper = require('./../helper');
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* @module gina/lib/cmd/project/status
|
|
9
|
+
*/
|
|
10
|
+
/**
|
|
11
|
+
* Shows the running/stopped state, PID, and port of each bundle in a project
|
|
12
|
+
* (or in every registered project when no project is given).
|
|
13
|
+
*
|
|
14
|
+
* Usage:
|
|
15
|
+
* gina project:status [@<project_name>]
|
|
16
|
+
* gina project:status @<project_name> --format=json
|
|
17
|
+
*
|
|
18
|
+
* `project:status` is exempt from the mandatory `@<project>` guard (see
|
|
19
|
+
* lib/cmd/helper.js — the `project:(list|help|status)` allowlist), so the
|
|
20
|
+
* no-argument form reports every registered project, mirroring `project:list`.
|
|
21
|
+
*
|
|
22
|
+
* @class Status
|
|
23
|
+
* @constructor
|
|
24
|
+
* @param {object} opt - Parsed command-line options
|
|
25
|
+
* @param {object} opt.client - Socket client for terminal output
|
|
26
|
+
* @param {string[]} opt.argv - Full argv array
|
|
27
|
+
* @param {number} [opt.debugPort] - Node.js inspector port
|
|
28
|
+
* @param {boolean} [opt.debugBrkEnabled] - True when --inspect-brk is active
|
|
29
|
+
* @param {object} cmd - The cmd dispatcher object (lib/cmd/index.js)
|
|
30
|
+
*
|
|
31
|
+
* @example
|
|
32
|
+
* // single project, human-readable
|
|
33
|
+
* $ gina project:status @myproject
|
|
34
|
+
* [ running ] api http/2.0 dev https 4208 pid 12345
|
|
35
|
+
* [ stopped ] web http/1.1 dev http 3000
|
|
36
|
+
*
|
|
37
|
+
* @example
|
|
38
|
+
* // every project, machine-readable
|
|
39
|
+
* $ gina project:status --format=json
|
|
40
|
+
* [{"project":"myproject","bundles":[{"bundle":"api","project":"myproject","running":true,"pid":12345,...}]}]
|
|
41
|
+
*/
|
|
42
|
+
function Status(opt, cmd) {
|
|
43
|
+
var self = { format: null };
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* Parses the --format flag and dispatches to statusProjectOnly (a named
|
|
47
|
+
* `@<project>`) or statusAll (no project given).
|
|
48
|
+
*
|
|
49
|
+
* @inner
|
|
50
|
+
* @private
|
|
51
|
+
*/
|
|
52
|
+
var init = function() {
|
|
53
|
+
|
|
54
|
+
// import CMD helpers
|
|
55
|
+
new CmdHelper(self, opt.client, { port: opt.debugPort, brkEnabled: opt.debugBrkEnabled });
|
|
56
|
+
// check CMD configuration
|
|
57
|
+
if (!isCmdConfigured()) return false;
|
|
58
|
+
|
|
59
|
+
self.projects = require(_(GINA_HOMEDIR + '/projects.json'));
|
|
60
|
+
|
|
61
|
+
// Tolerant ports load — a missing/malformed ports table yields "(no port)".
|
|
62
|
+
self.portsReverseData = {};
|
|
63
|
+
var portsPath = _(GINA_HOMEDIR + '/ports.reverse.json');
|
|
64
|
+
if ( fs.existsSync(portsPath) ) {
|
|
65
|
+
try {
|
|
66
|
+
self.portsReverseData = requireJSON(portsPath);
|
|
67
|
+
} catch (e) {
|
|
68
|
+
// Tolerant — fall through with empty ports table.
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
// Full pre-scan of argv for --format only. No dispatch inside the loop.
|
|
73
|
+
for (let i = 3, len = process.argv.length; i < len; i++) {
|
|
74
|
+
if ( /^\-\-format\=/.test(process.argv[i]) ) {
|
|
75
|
+
self.format = process.argv[i].split(/\=/)[1];
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
// `self.projectName == null` matches both null (CmdHelper default) and
|
|
80
|
+
// undefined — either signals "no project specified", report them all.
|
|
81
|
+
if ( self.projectName == null ) {
|
|
82
|
+
statusAll();
|
|
83
|
+
} else if ( typeof(self.projects[self.projectName]) != 'undefined' ) {
|
|
84
|
+
statusProjectOnly();
|
|
85
|
+
} else {
|
|
86
|
+
console.error('[ '+ self.projectName +' ] is not a registered project.');
|
|
87
|
+
process.exit(1);
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
process.exit(0);
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
/**
|
|
95
|
+
* Builds the per-bundle status objects for one project by reading its
|
|
96
|
+
* manifest, ports table, and pidfiles.
|
|
97
|
+
*
|
|
98
|
+
* @inner
|
|
99
|
+
* @private
|
|
100
|
+
* @param {string} projectName
|
|
101
|
+
* @returns {Array<object>}
|
|
102
|
+
*/
|
|
103
|
+
var collectBundles = function(projectName) {
|
|
104
|
+
var out = [];
|
|
105
|
+
var path = self.projects[projectName].path;
|
|
106
|
+
var bundles = require( _(path + '/manifest.json') ).bundles;
|
|
107
|
+
bundles = orderBundles(bundles);
|
|
108
|
+
for (var b in bundles) {
|
|
109
|
+
var ports = (self.portsReverseData || {})[b + '@' + projectName] || null;
|
|
110
|
+
var preferred = fmt.pickPreferredPort(ports);
|
|
111
|
+
var runState = fmt.readPidfile(GINA_HOMEDIR + '/run', b, projectName);
|
|
112
|
+
out.push({
|
|
113
|
+
bundle : b,
|
|
114
|
+
project : projectName,
|
|
115
|
+
running : runState.running,
|
|
116
|
+
pid : runState.pid,
|
|
117
|
+
env : preferred ? preferred.env : null,
|
|
118
|
+
scheme : preferred ? preferred.scheme : null,
|
|
119
|
+
protocol : preferred ? preferred.protocol : null,
|
|
120
|
+
port : preferred ? preferred.port : null,
|
|
121
|
+
ports : ports
|
|
122
|
+
});
|
|
123
|
+
}
|
|
124
|
+
return out;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
|
|
128
|
+
/**
|
|
129
|
+
* Formats one per-bundle status object into a display line.
|
|
130
|
+
*
|
|
131
|
+
* @inner
|
|
132
|
+
* @private
|
|
133
|
+
* @param {object} entry
|
|
134
|
+
* @returns {string}
|
|
135
|
+
*/
|
|
136
|
+
var formatLine = function(entry) {
|
|
137
|
+
var stateLabel = entry.running ? '[ running ]' : '[ stopped ]';
|
|
138
|
+
var portLabel = (entry.port != null)
|
|
139
|
+
? entry.scheme + ' ' + entry.env + ' ' + entry.protocol + ' ' + entry.port
|
|
140
|
+
: '(no port)';
|
|
141
|
+
var line = stateLabel + ' ' + fmt.pad(entry.bundle, 16) + ' ' + portLabel;
|
|
142
|
+
if ( entry.running ) {
|
|
143
|
+
line += ' pid ' + entry.pid;
|
|
144
|
+
}
|
|
145
|
+
return line;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
|
|
149
|
+
/**
|
|
150
|
+
* Reports status for self.projectName only.
|
|
151
|
+
*
|
|
152
|
+
* @inner
|
|
153
|
+
* @private
|
|
154
|
+
*/
|
|
155
|
+
var statusProjectOnly = function() {
|
|
156
|
+
var entries = [];
|
|
157
|
+
try {
|
|
158
|
+
entries = collectBundles(self.projectName);
|
|
159
|
+
} catch (err) {
|
|
160
|
+
entries = [];
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
if ( /^json?/.test(self.format) ) {
|
|
164
|
+
return process.stdout.write(JSON.stringify(entries));
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
var str = '';
|
|
168
|
+
for (var i = 0; i < entries.length; i++) {
|
|
169
|
+
str += formatLine(entries[i]) + '\n\r';
|
|
170
|
+
}
|
|
171
|
+
console.log(str);
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
|
|
175
|
+
/**
|
|
176
|
+
* Reports status for every registered project.
|
|
177
|
+
*
|
|
178
|
+
* @inner
|
|
179
|
+
* @private
|
|
180
|
+
*/
|
|
181
|
+
var statusAll = function() {
|
|
182
|
+
var list = [];
|
|
183
|
+
for (var p in self.projects) {
|
|
184
|
+
list.push(p);
|
|
185
|
+
}
|
|
186
|
+
list.sort();
|
|
187
|
+
|
|
188
|
+
var json = [];
|
|
189
|
+
var str = '';
|
|
190
|
+
for (var i = 0; i < list.length; i++) {
|
|
191
|
+
var projectName = list[i];
|
|
192
|
+
var jsonProject = { project: projectName, bundles: [] };
|
|
193
|
+
try {
|
|
194
|
+
jsonProject.bundles = collectBundles(projectName);
|
|
195
|
+
} catch (err) {
|
|
196
|
+
jsonProject.bundles = [];
|
|
197
|
+
}
|
|
198
|
+
str += '------------------------------------\n\r';
|
|
199
|
+
str += projectName + '\n\r';
|
|
200
|
+
str += '------------------------------------\n\r';
|
|
201
|
+
for (var j = 0; j < jsonProject.bundles.length; j++) {
|
|
202
|
+
str += formatLine(jsonProject.bundles[j]) + '\n\r';
|
|
203
|
+
}
|
|
204
|
+
str += '\n\r';
|
|
205
|
+
json.push(jsonProject);
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
if ( /^json?/.test(self.format) ) {
|
|
209
|
+
return process.stdout.write(JSON.stringify(json));
|
|
210
|
+
}
|
|
211
|
+
console.log(str);
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
|
|
215
|
+
init()
|
|
216
|
+
};
|
|
217
|
+
|
|
218
|
+
module.exports = Status
|
|
@@ -51,7 +51,12 @@ N.B.: You need to restart your bundle or you whole project if you are not runnin
|
|
|
51
51
|
|
|
52
52
|
To remove a protocol for an existing bundle, use the following command line.
|
|
53
53
|
|
|
54
|
-
|
|
55
|
-
|
|
54
|
+
Reverts the bundle to your project's default protocol and scheme by removing
|
|
55
|
+
the bundle's protocol override. Only the bundle's config/settings.json is
|
|
56
|
+
changed.
|
|
57
|
+
|
|
58
|
+
$ gina protocol:remove <bundle_name> @<project_name>
|
|
59
|
+
|
|
60
|
+
or preview without writing any change
|
|
56
61
|
|
|
57
|
-
$ gina protocol:remove <bundle_name> @<project_name>
|
|
62
|
+
$ gina protocol:remove <bundle_name> @<project_name> --dry-run
|