gina 0.7.4 → 0.7.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (643) hide show
  1. package/CHANGELOG.md +79 -8
  2. package/CONTRIBUTING.md +1 -1
  3. package/INSTALL.md +3 -42
  4. package/README.md +56 -50
  5. package/ROADMAP.md +18 -4
  6. package/bin/cli +13 -6
  7. package/bin/gina +8 -0
  8. package/bin/gina-container +92 -11
  9. package/bin/gina-init +49 -4
  10. package/framework/v0.7.5/VERSION +1 -0
  11. package/framework/{v0.7.4 → v0.7.5}/core/asset/plugin/dist/vendor/gina/js/gina.js +1062 -139
  12. package/framework/v0.7.5/core/asset/plugin/dist/vendor/gina/js/gina.min.js +744 -0
  13. package/framework/v0.7.5/core/asset/plugin/dist/vendor/gina/js/gina.min.js.br +0 -0
  14. package/framework/v0.7.5/core/asset/plugin/dist/vendor/gina/js/gina.min.js.gz +0 -0
  15. package/framework/{v0.7.4 → v0.7.5}/core/config.js +27 -2
  16. package/framework/{v0.7.4 → v0.7.5}/core/connectors/couchbase/index.js +36 -2
  17. package/framework/{v0.7.4 → v0.7.5}/core/connectors/couchbase/lib/connector.v3.js +63 -13
  18. package/framework/{v0.7.4 → v0.7.5}/core/connectors/couchbase/lib/connector.v4.js +56 -11
  19. package/framework/{v0.7.4 → v0.7.5}/core/connectors/duckdb/index.js +10 -5
  20. package/framework/{v0.7.4 → v0.7.5}/core/connectors/duckdb/lib/connector.js +27 -3
  21. package/framework/{v0.7.4 → v0.7.5}/core/connectors/mongodb/index.js +10 -5
  22. package/framework/{v0.7.4 → v0.7.5}/core/connectors/mysql/index.js +10 -5
  23. package/framework/{v0.7.4 → v0.7.5}/core/connectors/postgresql/index.js +10 -5
  24. package/framework/{v0.7.4 → v0.7.5}/core/connectors/scylladb/index.js +10 -5
  25. package/framework/{v0.7.4 → v0.7.5}/core/connectors/scylladb/lib/connector.js +4 -3
  26. package/framework/{v0.7.4 → v0.7.5}/core/connectors/sqlite/index.js +10 -5
  27. package/framework/{v0.7.4 → v0.7.5}/core/connectors/sqlite/lib/connector.js +10 -5
  28. package/framework/{v0.7.4 → v0.7.5}/core/connectors/sqlite/lib/job-store.js +2 -2
  29. package/framework/{v0.7.4 → v0.7.5}/core/connectors/sqlite/lib/kv-store.js +1 -1
  30. package/framework/{v0.7.4 → v0.7.5}/core/controller/controller.js +79 -8
  31. package/framework/{v0.7.4 → v0.7.5}/core/gna.js +11 -3
  32. package/framework/{v0.7.4 → v0.7.5}/core/model/index.js +19 -12
  33. package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/validator/src/form-validator.js +95 -8
  34. package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/validator/src/main.js +574 -64
  35. package/framework/{v0.7.4 → v0.7.5}/core/server.isaac.js +1 -1
  36. package/framework/{v0.7.4 → v0.7.5}/core/template/boilerplate/bundle/index.js +3 -1
  37. package/framework/{v0.7.4 → v0.7.5}/helpers/context.js +17 -1
  38. package/framework/{v0.7.4 → v0.7.5}/helpers/data/src/main.js +74 -4
  39. package/framework/{v0.7.4 → v0.7.5}/helpers/index.js +7 -1
  40. package/framework/v0.7.5/helpers/json/src/main.js +340 -0
  41. package/framework/{v0.7.4 → v0.7.5}/lib/cmd/bundle/list.js +4 -2
  42. package/framework/{v0.7.4 → v0.7.5}/lib/cmd/bundle/restart.js +2 -1
  43. package/framework/{v0.7.4 → v0.7.5}/lib/cmd/bundle/start.js +52 -4
  44. package/framework/{v0.7.4 → v0.7.5}/lib/cmd/bundle/status.js +2 -1
  45. package/framework/{v0.7.4 → v0.7.5}/lib/cmd/env/add.js +17 -3
  46. package/framework/v0.7.5/lib/cmd/framework/inc/child-failure.js +77 -0
  47. package/framework/{v0.7.4 → v0.7.5}/lib/cmd/framework/init.js +31 -4
  48. package/framework/{v0.7.4 → v0.7.5}/lib/cmd/framework/link.js +6 -1
  49. package/framework/{v0.7.4 → v0.7.5}/lib/cmd/framework/start.js +6 -6
  50. package/framework/{v0.7.4 → v0.7.5}/lib/cmd/helper.js +165 -16
  51. package/framework/{v0.7.4 → v0.7.5}/lib/cmd/project/add.js +79 -27
  52. package/framework/{v0.7.4 → v0.7.5}/lib/cmd/project/rename.js +1 -1
  53. package/framework/{v0.7.4 → v0.7.5}/lib/cmd/project/restore.js +4 -4
  54. package/framework/{v0.7.4 → v0.7.5}/lib/cmd/project/status.js +2 -1
  55. package/framework/{v0.7.4 → v0.7.5}/lib/collection/src/main.js +59 -9
  56. package/framework/{v0.7.4 → v0.7.5}/lib/connector-config/src/main.js +52 -1
  57. package/framework/{v0.7.4 → v0.7.5}/lib/model.js +35 -11
  58. package/framework/{v0.7.4 → v0.7.5}/lib/proc.js +95 -31
  59. package/framework/{v0.7.4 → v0.7.5}/lib/routing/src/main.js +260 -54
  60. package/framework/{v0.7.4 → v0.7.5}/lib/swig-resolver/src/main.js +107 -12
  61. package/framework/{v0.7.4 → v0.7.5}/package.json +2 -2
  62. package/gna.js +4 -4
  63. package/llms.txt +35 -28
  64. package/package.json +6 -6
  65. package/schema/connectors.json +3 -3
  66. package/schema/settings.json +3 -3
  67. package/script/post_install.js +36 -9
  68. package/script/pre_install.js +9 -5
  69. package/script/smoke_in_container.js +4 -4
  70. package/types/globals.d.ts +7 -1
  71. package/types/index.d.ts +3 -3
  72. package/framework/v0.7.4/VERSION +0 -1
  73. package/framework/v0.7.4/core/asset/plugin/dist/vendor/gina/js/gina.min.js +0 -736
  74. package/framework/v0.7.4/core/asset/plugin/dist/vendor/gina/js/gina.min.js.br +0 -0
  75. package/framework/v0.7.4/core/asset/plugin/dist/vendor/gina/js/gina.min.js.gz +0 -0
  76. package/framework/v0.7.4/helpers/json/src/main.js +0 -187
  77. /package/framework/{v0.7.4 → v0.7.5}/AUTHORS +0 -0
  78. /package/framework/{v0.7.4 → v0.7.5}/LICENSE +0 -0
  79. /package/framework/{v0.7.4 → v0.7.5}/core/asset/html/nolayout.html +0 -0
  80. /package/framework/{v0.7.4 → v0.7.5}/core/asset/html/static.html +0 -0
  81. /package/framework/{v0.7.4 → v0.7.5}/core/asset/img/android-chrome-192x192.png +0 -0
  82. /package/framework/{v0.7.4 → v0.7.5}/core/asset/img/android-chrome-512x512.png +0 -0
  83. /package/framework/{v0.7.4 → v0.7.5}/core/asset/img/apple-touch-icon.png +0 -0
  84. /package/framework/{v0.7.4 → v0.7.5}/core/asset/img/favicon-16x16.png +0 -0
  85. /package/framework/{v0.7.4 → v0.7.5}/core/asset/img/favicon-32x32.png +0 -0
  86. /package/framework/{v0.7.4 → v0.7.5}/core/asset/img/favicon.ico +0 -0
  87. /package/framework/{v0.7.4 → v0.7.5}/core/asset/plugin/README.md +0 -0
  88. /package/framework/{v0.7.4 → v0.7.5}/core/asset/plugin/dist/vendor/gina/beemaster/beemaster.css +0 -0
  89. /package/framework/{v0.7.4 → v0.7.5}/core/asset/plugin/dist/vendor/gina/beemaster/beemaster.js +0 -0
  90. /package/framework/{v0.7.4 → v0.7.5}/core/asset/plugin/dist/vendor/gina/beemaster/index.html +0 -0
  91. /package/framework/{v0.7.4 → v0.7.5}/core/asset/plugin/dist/vendor/gina/css/gina.min.css +0 -0
  92. /package/framework/{v0.7.4 → v0.7.5}/core/asset/plugin/dist/vendor/gina/css/gina.min.css.br +0 -0
  93. /package/framework/{v0.7.4 → v0.7.5}/core/asset/plugin/dist/vendor/gina/css/gina.min.css.gz +0 -0
  94. /package/framework/{v0.7.4 → v0.7.5}/core/asset/plugin/dist/vendor/gina/html/statusbar.html +0 -0
  95. /package/framework/{v0.7.4 → v0.7.5}/core/asset/plugin/dist/vendor/gina/html/statusbar.html.br +0 -0
  96. /package/framework/{v0.7.4 → v0.7.5}/core/asset/plugin/dist/vendor/gina/html/statusbar.html.gz +0 -0
  97. /package/framework/{v0.7.4 → v0.7.5}/core/asset/plugin/dist/vendor/gina/inspector/have_heart_one-webfont.woff2 +0 -0
  98. /package/framework/{v0.7.4 → v0.7.5}/core/asset/plugin/dist/vendor/gina/inspector/index.html +0 -0
  99. /package/framework/{v0.7.4 → v0.7.5}/core/asset/plugin/dist/vendor/gina/inspector/inspector.css +0 -0
  100. /package/framework/{v0.7.4 → v0.7.5}/core/asset/plugin/dist/vendor/gina/inspector/inspector.js +0 -0
  101. /package/framework/{v0.7.4 → v0.7.5}/core/asset/plugin/dist/vendor/gina/inspector/logo.svg +0 -0
  102. /package/framework/{v0.7.4 → v0.7.5}/core/asset/plugin/dist/vendor/gina/js/gina.onload.min.js +0 -0
  103. /package/framework/{v0.7.4 → v0.7.5}/core/asset/plugin/dist/vendor/gina/js/gina.onload.min.js.br +0 -0
  104. /package/framework/{v0.7.4 → v0.7.5}/core/asset/plugin/dist/vendor/gina/js/gina.onload.min.js.gz +0 -0
  105. /package/framework/{v0.7.4 → v0.7.5}/core/config.requirements-anchor.js +0 -0
  106. /package/framework/{v0.7.4 → v0.7.5}/core/connectors/ai/index.js +0 -0
  107. /package/framework/{v0.7.4 → v0.7.5}/core/connectors/ai/lib/connector.js +0 -0
  108. /package/framework/{v0.7.4 → v0.7.5}/core/connectors/couchbase/lib/connector.js +0 -0
  109. /package/framework/{v0.7.4 → v0.7.5}/core/connectors/couchbase/lib/n1ql.js +0 -0
  110. /package/framework/{v0.7.4 → v0.7.5}/core/connectors/couchbase/lib/session-store.js +0 -0
  111. /package/framework/{v0.7.4 → v0.7.5}/core/connectors/couchbase/lib/session-store.v3.js +0 -0
  112. /package/framework/{v0.7.4 → v0.7.5}/core/connectors/couchbase/lib/session-store.v4.js +0 -0
  113. /package/framework/{v0.7.4 → v0.7.5}/core/connectors/couchbase/lib/storage-store.js +0 -0
  114. /package/framework/{v0.7.4 → v0.7.5}/core/connectors/mongodb/lib/connector.js +0 -0
  115. /package/framework/{v0.7.4 → v0.7.5}/core/connectors/mongodb/lib/job-store.js +0 -0
  116. /package/framework/{v0.7.4 → v0.7.5}/core/connectors/mongodb/lib/pipeline-loader.js +0 -0
  117. /package/framework/{v0.7.4 → v0.7.5}/core/connectors/mongodb/lib/session-store.js +0 -0
  118. /package/framework/{v0.7.4 → v0.7.5}/core/connectors/mysql/lib/connector.js +0 -0
  119. /package/framework/{v0.7.4 → v0.7.5}/core/connectors/param-redact.js +0 -0
  120. /package/framework/{v0.7.4 → v0.7.5}/core/connectors/postgresql/lib/connector.js +0 -0
  121. /package/framework/{v0.7.4 → v0.7.5}/core/connectors/redis/index.js +0 -0
  122. /package/framework/{v0.7.4 → v0.7.5}/core/connectors/redis/lib/connector.js +0 -0
  123. /package/framework/{v0.7.4 → v0.7.5}/core/connectors/redis/lib/job-store.js +0 -0
  124. /package/framework/{v0.7.4 → v0.7.5}/core/connectors/redis/lib/kv-store.js +0 -0
  125. /package/framework/{v0.7.4 → v0.7.5}/core/connectors/redis/lib/render-cache-store.js +0 -0
  126. /package/framework/{v0.7.4 → v0.7.5}/core/connectors/redis/lib/session-store.js +0 -0
  127. /package/framework/{v0.7.4 → v0.7.5}/core/connectors/scylladb/lib/session-store.js +0 -0
  128. /package/framework/{v0.7.4 → v0.7.5}/core/connectors/settle-once.js +0 -0
  129. /package/framework/{v0.7.4 → v0.7.5}/core/connectors/sql-parser.js +0 -0
  130. /package/framework/{v0.7.4 → v0.7.5}/core/connectors/sqlite/lib/session-store.js +0 -0
  131. /package/framework/{v0.7.4 → v0.7.5}/core/content.encoding +0 -0
  132. /package/framework/{v0.7.4 → v0.7.5}/core/controller/controller.framework.js +0 -0
  133. /package/framework/{v0.7.4 → v0.7.5}/core/controller/controller.render-json.js +0 -0
  134. /package/framework/{v0.7.4 → v0.7.5}/core/controller/controller.render-nunjucks-async.js +0 -0
  135. /package/framework/{v0.7.4 → v0.7.5}/core/controller/controller.render-nunjucks.js +0 -0
  136. /package/framework/{v0.7.4 → v0.7.5}/core/controller/controller.render-stream.js +0 -0
  137. /package/framework/{v0.7.4 → v0.7.5}/core/controller/controller.render-swig-async.js +0 -0
  138. /package/framework/{v0.7.4 → v0.7.5}/core/controller/controller.render-swig.js +0 -0
  139. /package/framework/{v0.7.4 → v0.7.5}/core/controller/controller.render-v1.js +0 -0
  140. /package/framework/{v0.7.4 → v0.7.5}/core/controller/controller.render-xml.js +0 -0
  141. /package/framework/{v0.7.4 → v0.7.5}/core/controller/index.js +0 -0
  142. /package/framework/{v0.7.4 → v0.7.5}/core/controller/inline-script.js +0 -0
  143. /package/framework/{v0.7.4 → v0.7.5}/core/controller/inspector-window-emit.js +0 -0
  144. /package/framework/{v0.7.4 → v0.7.5}/core/controller/preload-hints.js +0 -0
  145. /package/framework/{v0.7.4 → v0.7.5}/core/controller/release-banner.js +0 -0
  146. /package/framework/{v0.7.4 → v0.7.5}/core/dev/index.js +0 -0
  147. /package/framework/{v0.7.4 → v0.7.5}/core/dev/lib/class.js +0 -0
  148. /package/framework/{v0.7.4 → v0.7.5}/core/dev/lib/factory.js +0 -0
  149. /package/framework/{v0.7.4 → v0.7.5}/core/dev/lib/tools.js +0 -0
  150. /package/framework/{v0.7.4 → v0.7.5}/core/locales/README.md +0 -0
  151. /package/framework/{v0.7.4 → v0.7.5}/core/locales/currency.json +0 -0
  152. /package/framework/{v0.7.4 → v0.7.5}/core/locales/dist/language/en.json +0 -0
  153. /package/framework/{v0.7.4 → v0.7.5}/core/locales/dist/language/fr.json +0 -0
  154. /package/framework/{v0.7.4 → v0.7.5}/core/locales/dist/region/en.json +0 -0
  155. /package/framework/{v0.7.4 → v0.7.5}/core/locales/dist/region/fr.json +0 -0
  156. /package/framework/{v0.7.4 → v0.7.5}/core/locales/index.js +0 -0
  157. /package/framework/{v0.7.4 → v0.7.5}/core/mime.types +0 -0
  158. /package/framework/{v0.7.4 → v0.7.5}/core/model/entity.js +0 -0
  159. /package/framework/{v0.7.4 → v0.7.5}/core/model/template/entityFactory.js +0 -0
  160. /package/framework/{v0.7.4 → v0.7.5}/core/model/template/index.js +0 -0
  161. /package/framework/{v0.7.4 → v0.7.5}/core/plugins/README.md +0 -0
  162. /package/framework/{v0.7.4 → v0.7.5}/core/plugins/index.js +0 -0
  163. /package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/csrf/README.md +0 -0
  164. /package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/csrf/package.json +0 -0
  165. /package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/csrf/src/main.js +0 -0
  166. /package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/security-headers/README.md +0 -0
  167. /package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/security-headers/coep/README.md +0 -0
  168. /package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/security-headers/coep/package.json +0 -0
  169. /package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/security-headers/coep/src/main.js +0 -0
  170. /package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/security-headers/coop/README.md +0 -0
  171. /package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/security-headers/coop/package.json +0 -0
  172. /package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/security-headers/coop/src/main.js +0 -0
  173. /package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/security-headers/corp/README.md +0 -0
  174. /package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/security-headers/corp/package.json +0 -0
  175. /package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/security-headers/corp/src/main.js +0 -0
  176. /package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/security-headers/csp/README.md +0 -0
  177. /package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/security-headers/csp/package.json +0 -0
  178. /package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/security-headers/csp/src/main.js +0 -0
  179. /package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/security-headers/hide-powered-by/README.md +0 -0
  180. /package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/security-headers/hide-powered-by/package.json +0 -0
  181. /package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/security-headers/hide-powered-by/src/main.js +0 -0
  182. /package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/security-headers/hsts/README.md +0 -0
  183. /package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/security-headers/hsts/package.json +0 -0
  184. /package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/security-headers/hsts/src/main.js +0 -0
  185. /package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/security-headers/origin-agent-cluster/README.md +0 -0
  186. /package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/security-headers/origin-agent-cluster/package.json +0 -0
  187. /package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/security-headers/origin-agent-cluster/src/main.js +0 -0
  188. /package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/security-headers/package.json +0 -0
  189. /package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/security-headers/referrer-policy/README.md +0 -0
  190. /package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/security-headers/referrer-policy/package.json +0 -0
  191. /package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/security-headers/referrer-policy/src/main.js +0 -0
  192. /package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/security-headers/src/main.js +0 -0
  193. /package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/security-headers/x-content-type-options/README.md +0 -0
  194. /package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/security-headers/x-content-type-options/package.json +0 -0
  195. /package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/security-headers/x-content-type-options/src/main.js +0 -0
  196. /package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/security-headers/x-dns-prefetch-control/README.md +0 -0
  197. /package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/security-headers/x-dns-prefetch-control/package.json +0 -0
  198. /package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/security-headers/x-dns-prefetch-control/src/main.js +0 -0
  199. /package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/security-headers/x-download-options/README.md +0 -0
  200. /package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/security-headers/x-download-options/package.json +0 -0
  201. /package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/security-headers/x-download-options/src/main.js +0 -0
  202. /package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/security-headers/x-frame-options/README.md +0 -0
  203. /package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/security-headers/x-frame-options/package.json +0 -0
  204. /package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/security-headers/x-frame-options/src/main.js +0 -0
  205. /package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/security-headers/x-permitted-cross-domain-policies/README.md +0 -0
  206. /package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/security-headers/x-permitted-cross-domain-policies/package.json +0 -0
  207. /package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/security-headers/x-permitted-cross-domain-policies/src/main.js +0 -0
  208. /package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/security-headers/x-xss-protection/README.md +0 -0
  209. /package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/security-headers/x-xss-protection/package.json +0 -0
  210. /package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/security-headers/x-xss-protection/src/main.js +0 -0
  211. /package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/session/README.md +0 -0
  212. /package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/session/package.json +0 -0
  213. /package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/session/src/main.js +0 -0
  214. /package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/storage/README.md +0 -0
  215. /package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/storage/build.json +0 -0
  216. /package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/storage/package.json +0 -0
  217. /package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/storage/src/main.js +0 -0
  218. /package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/validator/README.md +0 -0
  219. /package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/validator/build.json +0 -0
  220. /package/framework/{v0.7.4 → v0.7.5}/core/plugins/lib/validator/package.json +0 -0
  221. /package/framework/{v0.7.4 → v0.7.5}/core/router.js +0 -0
  222. /package/framework/{v0.7.4 → v0.7.5}/core/server.express.js +0 -0
  223. /package/framework/{v0.7.4 → v0.7.5}/core/server.isaac.rapid-reset.js +0 -0
  224. /package/framework/{v0.7.4 → v0.7.5}/core/server.js +0 -0
  225. /package/framework/{v0.7.4 → v0.7.5}/core/server.route-candidates.js +0 -0
  226. /package/framework/{v0.7.4 → v0.7.5}/core/status.codes +0 -0
  227. /package/framework/{v0.7.4 → v0.7.5}/core/template/_gitignore +0 -0
  228. /package/framework/{v0.7.4 → v0.7.5}/core/template/boilerplate/bundle/config/app.json +0 -0
  229. /package/framework/{v0.7.4 → v0.7.5}/core/template/boilerplate/bundle/config/connectors.json +0 -0
  230. /package/framework/{v0.7.4 → v0.7.5}/core/template/boilerplate/bundle/config/routing.json +0 -0
  231. /package/framework/{v0.7.4 → v0.7.5}/core/template/boilerplate/bundle/config/settings.json +0 -0
  232. /package/framework/{v0.7.4 → v0.7.5}/core/template/boilerplate/bundle/config/settings.server.json +0 -0
  233. /package/framework/{v0.7.4 → v0.7.5}/core/template/boilerplate/bundle/config/templates.json +0 -0
  234. /package/framework/{v0.7.4 → v0.7.5}/core/template/boilerplate/bundle/config/watchers.json +0 -0
  235. /package/framework/{v0.7.4 → v0.7.5}/core/template/boilerplate/bundle/controllers/controller.content.js +0 -0
  236. /package/framework/{v0.7.4 → v0.7.5}/core/template/boilerplate/bundle/controllers/controller.js +0 -0
  237. /package/framework/{v0.7.4 → v0.7.5}/core/template/boilerplate/bundle/controllers/setup.js +0 -0
  238. /package/framework/{v0.7.4 → v0.7.5}/core/template/boilerplate/bundle/locales/en.json +0 -0
  239. /package/framework/{v0.7.4 → v0.7.5}/core/template/boilerplate/bundle_namespace/controllers/controller.js +0 -0
  240. /package/framework/{v0.7.4 → v0.7.5}/core/template/boilerplate/bundle_public/css/default.css +0 -0
  241. /package/framework/{v0.7.4 → v0.7.5}/core/template/boilerplate/bundle_public/css/home.css +0 -0
  242. /package/framework/{v0.7.4 → v0.7.5}/core/template/boilerplate/bundle_public/css/vendor/readme.md +0 -0
  243. /package/framework/{v0.7.4 → v0.7.5}/core/template/boilerplate/bundle_public/favicon.ico +0 -0
  244. /package/framework/{v0.7.4 → v0.7.5}/core/template/boilerplate/bundle_public/js/components/x-checklist.js +0 -0
  245. /package/framework/{v0.7.4 → v0.7.5}/core/template/boilerplate/bundle_public/js/vendor/readme.md +0 -0
  246. /package/framework/{v0.7.4 → v0.7.5}/core/template/boilerplate/bundle_public/manifest.webmanifest +0 -0
  247. /package/framework/{v0.7.4 → v0.7.5}/core/template/boilerplate/bundle_public/readme.md +0 -0
  248. /package/framework/{v0.7.4 → v0.7.5}/core/template/boilerplate/bundle_public/sw.js +0 -0
  249. /package/framework/{v0.7.4 → v0.7.5}/core/template/boilerplate/bundle_templates/handlers/main.js +0 -0
  250. /package/framework/{v0.7.4 → v0.7.5}/core/template/boilerplate/bundle_templates/html/content/homepage.html +0 -0
  251. /package/framework/{v0.7.4 → v0.7.5}/core/template/boilerplate/bundle_templates/html/includes/error-msg-noscript.html +0 -0
  252. /package/framework/{v0.7.4 → v0.7.5}/core/template/boilerplate/bundle_templates/html/includes/error-msg-outdated-browser.html +0 -0
  253. /package/framework/{v0.7.4 → v0.7.5}/core/template/boilerplate/bundle_templates/html/includes/x-checklist.html +0 -0
  254. /package/framework/{v0.7.4 → v0.7.5}/core/template/boilerplate/bundle_templates/html/layouts/main.html +0 -0
  255. /package/framework/{v0.7.4 → v0.7.5}/core/template/command/gina.bat.tpl +0 -0
  256. /package/framework/{v0.7.4 → v0.7.5}/core/template/command/gina.tpl +0 -0
  257. /package/framework/{v0.7.4 → v0.7.5}/core/template/conf/env.json +0 -0
  258. /package/framework/{v0.7.4 → v0.7.5}/core/template/conf/manifest.json +0 -0
  259. /package/framework/{v0.7.4 → v0.7.5}/core/template/conf/package.json +0 -0
  260. /package/framework/{v0.7.4 → v0.7.5}/core/template/conf/settings.json +0 -0
  261. /package/framework/{v0.7.4 → v0.7.5}/core/template/conf/statics.json +0 -0
  262. /package/framework/{v0.7.4 → v0.7.5}/core/template/conf/templates.json +0 -0
  263. /package/framework/{v0.7.4 → v0.7.5}/core/template/error/client/json/401.json +0 -0
  264. /package/framework/{v0.7.4 → v0.7.5}/core/template/error/client/json/403.json +0 -0
  265. /package/framework/{v0.7.4 → v0.7.5}/core/template/error/client/json/404.json +0 -0
  266. /package/framework/{v0.7.4 → v0.7.5}/core/template/error/server/html/50x.html +0 -0
  267. /package/framework/{v0.7.4 → v0.7.5}/core/template/error/server/json/500.json +0 -0
  268. /package/framework/{v0.7.4 → v0.7.5}/core/template/error/server/json/503.json +0 -0
  269. /package/framework/{v0.7.4 → v0.7.5}/core/template/extensions/logger/config.json +0 -0
  270. /package/framework/{v0.7.4 → v0.7.5}/helpers/console.js +0 -0
  271. /package/framework/{v0.7.4 → v0.7.5}/helpers/data/LICENSE +0 -0
  272. /package/framework/{v0.7.4 → v0.7.5}/helpers/data/README.md +0 -0
  273. /package/framework/{v0.7.4 → v0.7.5}/helpers/data/package.json +0 -0
  274. /package/framework/{v0.7.4 → v0.7.5}/helpers/dateFormat.js +0 -0
  275. /package/framework/{v0.7.4 → v0.7.5}/helpers/json/LICENSE +0 -0
  276. /package/framework/{v0.7.4 → v0.7.5}/helpers/json/README.md +0 -0
  277. /package/framework/{v0.7.4 → v0.7.5}/helpers/json/package.json +0 -0
  278. /package/framework/{v0.7.4 → v0.7.5}/helpers/path.js +0 -0
  279. /package/framework/{v0.7.4 → v0.7.5}/helpers/plugins/README.md +0 -0
  280. /package/framework/{v0.7.4 → v0.7.5}/helpers/plugins/package.json +0 -0
  281. /package/framework/{v0.7.4 → v0.7.5}/helpers/plugins/src/api-error.js +0 -0
  282. /package/framework/{v0.7.4 → v0.7.5}/helpers/plugins/src/main.js +0 -0
  283. /package/framework/{v0.7.4 → v0.7.5}/helpers/prototypes.js +0 -0
  284. /package/framework/{v0.7.4 → v0.7.5}/helpers/task.js +0 -0
  285. /package/framework/{v0.7.4 → v0.7.5}/helpers/text.js +0 -0
  286. /package/framework/{v0.7.4 → v0.7.5}/lib/admin/package.json +0 -0
  287. /package/framework/{v0.7.4 → v0.7.5}/lib/admin/src/main.js +0 -0
  288. /package/framework/{v0.7.4 → v0.7.5}/lib/archiver/README.md +0 -0
  289. /package/framework/{v0.7.4 → v0.7.5}/lib/archiver/build.json +0 -0
  290. /package/framework/{v0.7.4 → v0.7.5}/lib/archiver/package.json +0 -0
  291. /package/framework/{v0.7.4 → v0.7.5}/lib/archiver/src/dep/jszip.min.js +0 -0
  292. /package/framework/{v0.7.4 → v0.7.5}/lib/archiver/src/main.js +0 -0
  293. /package/framework/{v0.7.4 → v0.7.5}/lib/async/package.json +0 -0
  294. /package/framework/{v0.7.4 → v0.7.5}/lib/async/src/main.js +0 -0
  295. /package/framework/{v0.7.4 → v0.7.5}/lib/audit/package.json +0 -0
  296. /package/framework/{v0.7.4 → v0.7.5}/lib/audit/src/main.js +0 -0
  297. /package/framework/{v0.7.4 → v0.7.5}/lib/audit-store.js +0 -0
  298. /package/framework/{v0.7.4 → v0.7.5}/lib/authn/package.json +0 -0
  299. /package/framework/{v0.7.4 → v0.7.5}/lib/authn/src/lockout.js +0 -0
  300. /package/framework/{v0.7.4 → v0.7.5}/lib/authn/src/main.js +0 -0
  301. /package/framework/{v0.7.4 → v0.7.5}/lib/authn/src/totp.js +0 -0
  302. /package/framework/{v0.7.4 → v0.7.5}/lib/authz-gate/package.json +0 -0
  303. /package/framework/{v0.7.4 → v0.7.5}/lib/authz-gate/src/main.js +0 -0
  304. /package/framework/{v0.7.4 → v0.7.5}/lib/cache/README.md +0 -0
  305. /package/framework/{v0.7.4 → v0.7.5}/lib/cache/build.json +0 -0
  306. /package/framework/{v0.7.4 → v0.7.5}/lib/cache/package.json +0 -0
  307. /package/framework/{v0.7.4 → v0.7.5}/lib/cache/src/main.js +0 -0
  308. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/aliases.json +0 -0
  309. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/audit/arguments.json +0 -0
  310. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/audit/help.txt +0 -0
  311. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/audit/verify.js +0 -0
  312. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/bundle/add.js +0 -0
  313. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/bundle/arguments.json +0 -0
  314. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/bundle/build.js +0 -0
  315. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/bundle/copy.js +0 -0
  316. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/bundle/cp.js +0 -0
  317. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/bundle/help.js +0 -0
  318. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/bundle/help.txt +0 -0
  319. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/bundle/inc/boot-lines.js +0 -0
  320. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/bundle/inc/name-rewrite.js +0 -0
  321. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/bundle/inc/name.js +0 -0
  322. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/bundle/inc/start-status.js +0 -0
  323. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/bundle/man.js +0 -0
  324. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/bundle/mcp-start.js +0 -0
  325. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/bundle/mcp.js +0 -0
  326. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/bundle/oas.js +0 -0
  327. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/bundle/openapi.js +0 -0
  328. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/bundle/remove.js +0 -0
  329. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/bundle/rename.js +0 -0
  330. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/bundle/rm.js +0 -0
  331. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/bundle/stop.js +0 -0
  332. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/bundle/types.js +0 -0
  333. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/cache/arguments.json +0 -0
  334. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/cache/clear.js +0 -0
  335. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/cache/help.txt +0 -0
  336. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/cache/stats.js +0 -0
  337. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/connector/add.js +0 -0
  338. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/connector/arguments.json +0 -0
  339. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/connector/help.js +0 -0
  340. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/connector/help.txt +0 -0
  341. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/connector/infer.js +0 -0
  342. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/connector/list.js +0 -0
  343. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/connector/migrate.js +0 -0
  344. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/connector/models.js +0 -0
  345. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/connector/remove.js +0 -0
  346. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/connector/rm.js +0 -0
  347. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/connector/test.js +0 -0
  348. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/container/arguments.json +0 -0
  349. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/container/help.js +0 -0
  350. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/container/help.txt +0 -0
  351. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/container/man.js +0 -0
  352. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/container/ps.js +0 -0
  353. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/container/stop.js +0 -0
  354. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/controller/add.js +0 -0
  355. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/controller/arguments.json +0 -0
  356. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/controller/help.txt +0 -0
  357. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/controller/inc/args.js +0 -0
  358. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/controller/inc/namespace.js +0 -0
  359. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/controller/inc/reference-rewrite.js +0 -0
  360. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/controller/inc/reference-scan.js +0 -0
  361. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/controller/inc/scaffold.js +0 -0
  362. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/controller/remove.js +0 -0
  363. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/controller/rename.js +0 -0
  364. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/controller/rm.js +0 -0
  365. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/env/get.js +0 -0
  366. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/env/help.js +0 -0
  367. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/env/help.txt +0 -0
  368. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/env/inc/name.js +0 -0
  369. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/env/link-dev.js +0 -0
  370. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/env/list.js +0 -0
  371. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/env/remove.js +0 -0
  372. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/env/rm.js +0 -0
  373. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/env/set.js +0 -0
  374. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/env/unset.js +0 -0
  375. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/env/use.js +0 -0
  376. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/framework/add.js +0 -0
  377. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/framework/arguments.json +0 -0
  378. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/framework/build.js +0 -0
  379. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/framework/dot.js +0 -0
  380. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/framework/get.js +0 -0
  381. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/framework/help.js +0 -0
  382. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/framework/help.txt +0 -0
  383. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/framework/inc/listen-error.js +0 -0
  384. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/framework/inc/ps-titles.js +0 -0
  385. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/framework/link-node-modules.js +0 -0
  386. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/framework/list.js +0 -0
  387. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/framework/man.js +0 -0
  388. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/framework/msg.json +0 -0
  389. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/framework/open.js +0 -0
  390. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/framework/remove.js +0 -0
  391. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/framework/reset.js +0 -0
  392. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/framework/restart.js +0 -0
  393. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/framework/set.js +0 -0
  394. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/framework/status.js +0 -0
  395. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/framework/stop.js +0 -0
  396. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/framework/tail.js +0 -0
  397. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/framework/update.js +0 -0
  398. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/framework/version.js +0 -0
  399. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/gina-dev.1.md +0 -0
  400. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/gina-framework.1.md +0 -0
  401. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/gina.1.md +0 -0
  402. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/i18n/add.js +0 -0
  403. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/i18n/arguments.json +0 -0
  404. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/i18n/export.js +0 -0
  405. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/i18n/help.js +0 -0
  406. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/i18n/help.txt +0 -0
  407. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/i18n/import.js +0 -0
  408. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/i18n/scan.js +0 -0
  409. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/image/_host.js +0 -0
  410. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/image/arguments.json +0 -0
  411. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/image/build.js +0 -0
  412. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/image/help.js +0 -0
  413. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/image/help.txt +0 -0
  414. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/image/list.js +0 -0
  415. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/image/man.js +0 -0
  416. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/image/rm.js +0 -0
  417. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/image/run.js +0 -0
  418. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/index.js +0 -0
  419. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/inspector/help.js +0 -0
  420. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/inspector/help.txt +0 -0
  421. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/inspector/open.js +0 -0
  422. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/man-render.js +0 -0
  423. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/minion/arguments.json +0 -0
  424. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/minion/help.js +0 -0
  425. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/minion/help.txt +0 -0
  426. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/minion/kill.js +0 -0
  427. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/minion/list.js +0 -0
  428. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/msg.json +0 -0
  429. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/port/help.js +0 -0
  430. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/port/help.txt +0 -0
  431. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/port/inc/scan.js +0 -0
  432. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/port/list.js +0 -0
  433. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/port/reset.js +0 -0
  434. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/port/set.js +0 -0
  435. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/project/arguments.json +0 -0
  436. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/project/backup.js +0 -0
  437. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/project/build.js +0 -0
  438. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/project/help.js +0 -0
  439. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/project/help.txt +0 -0
  440. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/project/import.js +0 -0
  441. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/project/inc/name.js +0 -0
  442. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/project/list.js +0 -0
  443. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/project/man.js +0 -0
  444. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/project/move.js +0 -0
  445. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/project/remove.js +0 -0
  446. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/project/restart.js +0 -0
  447. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/project/rm.js +0 -0
  448. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/project/start.js +0 -0
  449. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/project/stop.js +0 -0
  450. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/protocol/arguments.json +0 -0
  451. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/protocol/help.js +0 -0
  452. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/protocol/help.txt +0 -0
  453. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/protocol/list.js +0 -0
  454. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/protocol/remove.js +0 -0
  455. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/protocol/set.js +0 -0
  456. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/scope/add.js +0 -0
  457. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/scope/help.js +0 -0
  458. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/scope/help.txt +0 -0
  459. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/scope/inc/name.js +0 -0
  460. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/scope/link-local.js +0 -0
  461. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/scope/link-production.js +0 -0
  462. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/scope/list.js +0 -0
  463. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/scope/remove.js +0 -0
  464. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/scope/rm.js +0 -0
  465. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/scope/use.js +0 -0
  466. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/secrets/arguments.json +0 -0
  467. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/secrets/check.js +0 -0
  468. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/secrets/help.js +0 -0
  469. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/secrets/help.txt +0 -0
  470. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/secrets/scan.js +0 -0
  471. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/service/help.js +0 -0
  472. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/service/help.txt +0 -0
  473. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/service/list.js +0 -0
  474. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/service/man.js +0 -0
  475. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/service/start.js +0 -0
  476. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/storage/arguments.json +0 -0
  477. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/storage/gc.js +0 -0
  478. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/storage/help.txt +0 -0
  479. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/storage/stats.js +0 -0
  480. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/storage/verify.js +0 -0
  481. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd/view/add.js +0 -0
  482. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd-status-format/package.json +0 -0
  483. /package/framework/{v0.7.4 → v0.7.5}/lib/cmd-status-format/src/main.js +0 -0
  484. /package/framework/{v0.7.4 → v0.7.5}/lib/collection/README.md +0 -0
  485. /package/framework/{v0.7.4 → v0.7.5}/lib/collection/build.json +0 -0
  486. /package/framework/{v0.7.4 → v0.7.5}/lib/collection/package.json +0 -0
  487. /package/framework/{v0.7.4 → v0.7.5}/lib/conf-view/package.json +0 -0
  488. /package/framework/{v0.7.4 → v0.7.5}/lib/conf-view/src/main.js +0 -0
  489. /package/framework/{v0.7.4 → v0.7.5}/lib/config.js +0 -0
  490. /package/framework/{v0.7.4 → v0.7.5}/lib/connector-config/package.json +0 -0
  491. /package/framework/{v0.7.4 → v0.7.5}/lib/connector-error/package.json +0 -0
  492. /package/framework/{v0.7.4 → v0.7.5}/lib/connector-error/src/main.js +0 -0
  493. /package/framework/{v0.7.4 → v0.7.5}/lib/connector-registry/package.json +0 -0
  494. /package/framework/{v0.7.4 → v0.7.5}/lib/connector-registry/src/main.js +0 -0
  495. /package/framework/{v0.7.4 → v0.7.5}/lib/cron/README.md +0 -0
  496. /package/framework/{v0.7.4 → v0.7.5}/lib/cron/package.json +0 -0
  497. /package/framework/{v0.7.4 → v0.7.5}/lib/cron/src/main.js +0 -0
  498. /package/framework/{v0.7.4 → v0.7.5}/lib/domain/LICENSE +0 -0
  499. /package/framework/{v0.7.4 → v0.7.5}/lib/domain/README.md +0 -0
  500. /package/framework/{v0.7.4 → v0.7.5}/lib/domain/package.json +0 -0
  501. /package/framework/{v0.7.4 → v0.7.5}/lib/domain/src/main.js +0 -0
  502. /package/framework/{v0.7.4 → v0.7.5}/lib/dto/package.json +0 -0
  503. /package/framework/{v0.7.4 → v0.7.5}/lib/dto/src/main.js +0 -0
  504. /package/framework/{v0.7.4 → v0.7.5}/lib/dto-pipe/package.json +0 -0
  505. /package/framework/{v0.7.4 → v0.7.5}/lib/dto-pipe/src/main.js +0 -0
  506. /package/framework/{v0.7.4 → v0.7.5}/lib/dto-types/package.json +0 -0
  507. /package/framework/{v0.7.4 → v0.7.5}/lib/dto-types/src/main.js +0 -0
  508. /package/framework/{v0.7.4 → v0.7.5}/lib/duration/package.json +0 -0
  509. /package/framework/{v0.7.4 → v0.7.5}/lib/duration/src/main.js +0 -0
  510. /package/framework/{v0.7.4 → v0.7.5}/lib/error-ref/package.json +0 -0
  511. /package/framework/{v0.7.4 → v0.7.5}/lib/error-ref/src/main.js +0 -0
  512. /package/framework/{v0.7.4 → v0.7.5}/lib/generator/index.js +0 -0
  513. /package/framework/{v0.7.4 → v0.7.5}/lib/i18n/package.json +0 -0
  514. /package/framework/{v0.7.4 → v0.7.5}/lib/i18n/src/main.js +0 -0
  515. /package/framework/{v0.7.4 → v0.7.5}/lib/idempotency/package.json +0 -0
  516. /package/framework/{v0.7.4 → v0.7.5}/lib/idempotency/src/main.js +0 -0
  517. /package/framework/{v0.7.4 → v0.7.5}/lib/image-build/package.json +0 -0
  518. /package/framework/{v0.7.4 → v0.7.5}/lib/image-build/src/main.js +0 -0
  519. /package/framework/{v0.7.4 → v0.7.5}/lib/index.js +0 -0
  520. /package/framework/{v0.7.4 → v0.7.5}/lib/inherits/LICENSE +0 -0
  521. /package/framework/{v0.7.4 → v0.7.5}/lib/inherits/README.md +0 -0
  522. /package/framework/{v0.7.4 → v0.7.5}/lib/inherits/package.json +0 -0
  523. /package/framework/{v0.7.4 → v0.7.5}/lib/inherits/src/main.js +0 -0
  524. /package/framework/{v0.7.4 → v0.7.5}/lib/inspector-events/package.json +0 -0
  525. /package/framework/{v0.7.4 → v0.7.5}/lib/inspector-events/src/main.js +0 -0
  526. /package/framework/{v0.7.4 → v0.7.5}/lib/inspector-redact/package.json +0 -0
  527. /package/framework/{v0.7.4 → v0.7.5}/lib/inspector-redact/src/main.js +0 -0
  528. /package/framework/{v0.7.4 → v0.7.5}/lib/instrument/package.json +0 -0
  529. /package/framework/{v0.7.4 → v0.7.5}/lib/instrument/src/main.js +0 -0
  530. /package/framework/{v0.7.4 → v0.7.5}/lib/job/package.json +0 -0
  531. /package/framework/{v0.7.4 → v0.7.5}/lib/job/src/main.js +0 -0
  532. /package/framework/{v0.7.4 → v0.7.5}/lib/job-store.js +0 -0
  533. /package/framework/{v0.7.4 → v0.7.5}/lib/json-config-header/package.json +0 -0
  534. /package/framework/{v0.7.4 → v0.7.5}/lib/json-config-header/src/main.js +0 -0
  535. /package/framework/{v0.7.4 → v0.7.5}/lib/kv/package.json +0 -0
  536. /package/framework/{v0.7.4 → v0.7.5}/lib/kv/src/main.js +0 -0
  537. /package/framework/{v0.7.4 → v0.7.5}/lib/kv-store.js +0 -0
  538. /package/framework/{v0.7.4 → v0.7.5}/lib/lane/package.json +0 -0
  539. /package/framework/{v0.7.4 → v0.7.5}/lib/lane/src/main.js +0 -0
  540. /package/framework/{v0.7.4 → v0.7.5}/lib/loading-state/package.json +0 -0
  541. /package/framework/{v0.7.4 → v0.7.5}/lib/loading-state/src/main.js +0 -0
  542. /package/framework/{v0.7.4 → v0.7.5}/lib/logger/README.md +0 -0
  543. /package/framework/{v0.7.4 → v0.7.5}/lib/logger/package.json +0 -0
  544. /package/framework/{v0.7.4 → v0.7.5}/lib/logger/src/containers/default/index.js +0 -0
  545. /package/framework/{v0.7.4 → v0.7.5}/lib/logger/src/containers/file/index.js +0 -0
  546. /package/framework/{v0.7.4 → v0.7.5}/lib/logger/src/containers/mq/index.js +0 -0
  547. /package/framework/{v0.7.4 → v0.7.5}/lib/logger/src/containers/mq/listener.js +0 -0
  548. /package/framework/{v0.7.4 → v0.7.5}/lib/logger/src/containers/mq/speaker.js +0 -0
  549. /package/framework/{v0.7.4 → v0.7.5}/lib/logger/src/helper.js +0 -0
  550. /package/framework/{v0.7.4 → v0.7.5}/lib/logger/src/main.js +0 -0
  551. /package/framework/{v0.7.4 → v0.7.5}/lib/logger/src/redact.js +0 -0
  552. /package/framework/{v0.7.4 → v0.7.5}/lib/maintenance/package.json +0 -0
  553. /package/framework/{v0.7.4 → v0.7.5}/lib/maintenance/src/main.js +0 -0
  554. /package/framework/{v0.7.4 → v0.7.5}/lib/math/index.js +0 -0
  555. /package/framework/{v0.7.4 → v0.7.5}/lib/mcp-dispatch/package.json +0 -0
  556. /package/framework/{v0.7.4 → v0.7.5}/lib/mcp-dispatch/src/main.js +0 -0
  557. /package/framework/{v0.7.4 → v0.7.5}/lib/mcp-http/package.json +0 -0
  558. /package/framework/{v0.7.4 → v0.7.5}/lib/mcp-http/src/main.js +0 -0
  559. /package/framework/{v0.7.4 → v0.7.5}/lib/mcp-server/package.json +0 -0
  560. /package/framework/{v0.7.4 → v0.7.5}/lib/mcp-server/src/main.js +0 -0
  561. /package/framework/{v0.7.4 → v0.7.5}/lib/merge/README.md +0 -0
  562. /package/framework/{v0.7.4 → v0.7.5}/lib/merge/package.json +0 -0
  563. /package/framework/{v0.7.4 → v0.7.5}/lib/merge/src/main.js +0 -0
  564. /package/framework/{v0.7.4 → v0.7.5}/lib/message-validator/package.json +0 -0
  565. /package/framework/{v0.7.4 → v0.7.5}/lib/message-validator/src/main.js +0 -0
  566. /package/framework/{v0.7.4 → v0.7.5}/lib/metrics/package.json +0 -0
  567. /package/framework/{v0.7.4 → v0.7.5}/lib/metrics/src/main.js +0 -0
  568. /package/framework/{v0.7.4 → v0.7.5}/lib/money/package.json +0 -0
  569. /package/framework/{v0.7.4 → v0.7.5}/lib/money/src/main.js +0 -0
  570. /package/framework/{v0.7.4 → v0.7.5}/lib/multipart/package.json +0 -0
  571. /package/framework/{v0.7.4 → v0.7.5}/lib/multipart/src/main.js +0 -0
  572. /package/framework/{v0.7.4 → v0.7.5}/lib/net-locality/package.json +0 -0
  573. /package/framework/{v0.7.4 → v0.7.5}/lib/net-locality/src/main.js +0 -0
  574. /package/framework/{v0.7.4 → v0.7.5}/lib/nunjucks-filters/README.md +0 -0
  575. /package/framework/{v0.7.4 → v0.7.5}/lib/nunjucks-filters/package.json +0 -0
  576. /package/framework/{v0.7.4 → v0.7.5}/lib/nunjucks-filters/src/main.js +0 -0
  577. /package/framework/{v0.7.4 → v0.7.5}/lib/nunjucks-resolver/package.json +0 -0
  578. /package/framework/{v0.7.4 → v0.7.5}/lib/nunjucks-resolver/src/main.js +0 -0
  579. /package/framework/{v0.7.4 → v0.7.5}/lib/priority/package.json +0 -0
  580. /package/framework/{v0.7.4 → v0.7.5}/lib/priority/src/main.js +0 -0
  581. /package/framework/{v0.7.4 → v0.7.5}/lib/push/package.json +0 -0
  582. /package/framework/{v0.7.4 → v0.7.5}/lib/push/src/main.js +0 -0
  583. /package/framework/{v0.7.4 → v0.7.5}/lib/rate-limit/package.json +0 -0
  584. /package/framework/{v0.7.4 → v0.7.5}/lib/rate-limit/src/main.js +0 -0
  585. /package/framework/{v0.7.4 → v0.7.5}/lib/release-watch/package.json +0 -0
  586. /package/framework/{v0.7.4 → v0.7.5}/lib/release-watch/src/main.js +0 -0
  587. /package/framework/{v0.7.4 → v0.7.5}/lib/render-cache/package.json +0 -0
  588. /package/framework/{v0.7.4 → v0.7.5}/lib/render-cache/src/main.js +0 -0
  589. /package/framework/{v0.7.4 → v0.7.5}/lib/render-cache-store.js +0 -0
  590. /package/framework/{v0.7.4 → v0.7.5}/lib/routing/README.md +0 -0
  591. /package/framework/{v0.7.4 → v0.7.5}/lib/routing/build.json +0 -0
  592. /package/framework/{v0.7.4 → v0.7.5}/lib/routing/package.json +0 -0
  593. /package/framework/{v0.7.4 → v0.7.5}/lib/routing-introspect/package.json +0 -0
  594. /package/framework/{v0.7.4 → v0.7.5}/lib/routing-introspect/src/main.js +0 -0
  595. /package/framework/{v0.7.4 → v0.7.5}/lib/secrets/package.json +0 -0
  596. /package/framework/{v0.7.4 → v0.7.5}/lib/secrets/src/backends/env.js +0 -0
  597. /package/framework/{v0.7.4 → v0.7.5}/lib/secrets/src/backends/exec.js +0 -0
  598. /package/framework/{v0.7.4 → v0.7.5}/lib/secrets/src/backends/file.js +0 -0
  599. /package/framework/{v0.7.4 → v0.7.5}/lib/secrets/src/declaration.js +0 -0
  600. /package/framework/{v0.7.4 → v0.7.5}/lib/secrets/src/env-file.js +0 -0
  601. /package/framework/{v0.7.4 → v0.7.5}/lib/secrets/src/main.js +0 -0
  602. /package/framework/{v0.7.4 → v0.7.5}/lib/secrets/src/sources.js +0 -0
  603. /package/framework/{v0.7.4 → v0.7.5}/lib/security-headers-emitter/package.json +0 -0
  604. /package/framework/{v0.7.4 → v0.7.5}/lib/security-headers-emitter/src/main.js +0 -0
  605. /package/framework/{v0.7.4 → v0.7.5}/lib/session-lifetime/package.json +0 -0
  606. /package/framework/{v0.7.4 → v0.7.5}/lib/session-lifetime/src/main.js +0 -0
  607. /package/framework/{v0.7.4 → v0.7.5}/lib/session-store.js +0 -0
  608. /package/framework/{v0.7.4 → v0.7.5}/lib/shell.js +0 -0
  609. /package/framework/{v0.7.4 → v0.7.5}/lib/sqlite-driver.js +0 -0
  610. /package/framework/{v0.7.4 → v0.7.5}/lib/sri/package.json +0 -0
  611. /package/framework/{v0.7.4 → v0.7.5}/lib/sri/src/main.js +0 -0
  612. /package/framework/{v0.7.4 → v0.7.5}/lib/state.js +0 -0
  613. /package/framework/{v0.7.4 → v0.7.5}/lib/storage/package.json +0 -0
  614. /package/framework/{v0.7.4 → v0.7.5}/lib/storage/src/local-cas.js +0 -0
  615. /package/framework/{v0.7.4 → v0.7.5}/lib/storage/src/local-stream.js +0 -0
  616. /package/framework/{v0.7.4 → v0.7.5}/lib/storage/src/local.js +0 -0
  617. /package/framework/{v0.7.4 → v0.7.5}/lib/storage/src/main.js +0 -0
  618. /package/framework/{v0.7.4 → v0.7.5}/lib/storage/src/meta-store.js +0 -0
  619. /package/framework/{v0.7.4 → v0.7.5}/lib/storage/src/s3.js +0 -0
  620. /package/framework/{v0.7.4 → v0.7.5}/lib/storage/src/util.js +0 -0
  621. /package/framework/{v0.7.4 → v0.7.5}/lib/storage-store.js +0 -0
  622. /package/framework/{v0.7.4 → v0.7.5}/lib/swig-filters/README.md +0 -0
  623. /package/framework/{v0.7.4 → v0.7.5}/lib/swig-filters/package.json +0 -0
  624. /package/framework/{v0.7.4 → v0.7.5}/lib/swig-filters/src/main.js +0 -0
  625. /package/framework/{v0.7.4 → v0.7.5}/lib/swig-resolver/package.json +0 -0
  626. /package/framework/{v0.7.4 → v0.7.5}/lib/template-loaders/package.json +0 -0
  627. /package/framework/{v0.7.4 → v0.7.5}/lib/template-loaders/src/loaders/http.js +0 -0
  628. /package/framework/{v0.7.4 → v0.7.5}/lib/template-loaders/src/loaders/memory.js +0 -0
  629. /package/framework/{v0.7.4 → v0.7.5}/lib/template-loaders/src/main.js +0 -0
  630. /package/framework/{v0.7.4 → v0.7.5}/lib/url/README.md +0 -0
  631. /package/framework/{v0.7.4 → v0.7.5}/lib/url/index.js +0 -0
  632. /package/framework/{v0.7.4 → v0.7.5}/lib/url/routing.json +0 -0
  633. /package/framework/{v0.7.4 → v0.7.5}/lib/uuid/package.json +0 -0
  634. /package/framework/{v0.7.4 → v0.7.5}/lib/uuid/src/main.js +0 -0
  635. /package/framework/{v0.7.4 → v0.7.5}/lib/validator.js +0 -0
  636. /package/framework/{v0.7.4 → v0.7.5}/lib/watcher/package.json +0 -0
  637. /package/framework/{v0.7.4 → v0.7.5}/lib/watcher/src/main.js +0 -0
  638. /package/framework/{v0.7.4 → v0.7.5}/lib/ws-framing/package.json +0 -0
  639. /package/framework/{v0.7.4 → v0.7.5}/lib/ws-framing/src/main.js +0 -0
  640. /package/framework/{v0.7.4 → v0.7.5}/lib/ws-query/package.json +0 -0
  641. /package/framework/{v0.7.4 → v0.7.5}/lib/ws-query/src/main.js +0 -0
  642. /package/framework/{v0.7.4 → v0.7.5}/lib/ws-session/package.json +0 -0
  643. /package/framework/{v0.7.4 → v0.7.5}/lib/ws-session/src/main.js +0 -0
@@ -101,12 +101,35 @@ function Start(opt, cmd) {
101
101
  start(opt, cmd);
102
102
  }
103
103
 
104
+ /**
105
+ * #B890 — the error this command reports for a project file it cannot use. Its message
106
+ * names the file and the reason (the reason names the path), and it carries no stack: the
107
+ * branches that report it print `err.stack` (isRealApp's callback, proceedToStart), and
108
+ * the frames of a fault the user fixes in that file would only bury the reason.
109
+ *
110
+ * @inner
111
+ * @private
112
+ * @param {string} name - the file's name as the message shows it (`manifest.json`)
113
+ * @param {Error} err - the read or parse error (parseJSONWithComments() names the file)
114
+ * @returns {Error} an Error whose message and stack are « <name> cannot be used: <reason> »
115
+ *
116
+ * @example
117
+ * cb(fileError('package.json', parseErr));
118
+ * // Error: package.json cannot be used: could not parse `/path/to/package.json`: …
119
+ */
120
+ var fileError = function(name, err) {
121
+ var e = new Error(name +' cannot be used: '+ err.message);
122
+ e.stack = e.message;
123
+ return e;
124
+ };
125
+
104
126
  /**
105
127
  * Checks if the project's node_modules need to be reinstalled due to an arch/platform mismatch.
106
128
  * Reinstalls via `npm install` (or `bun install` under Bun) if needed, re-links
107
129
  * gina with this install's own `bin/gina framework:link`, run under the current
108
130
  * runtime from an argument vector without a shell (#B665), then calls cb(false)
109
- * to proceed.
131
+ * to proceed. A project package.json that cannot be read or parsed calls cb() with
132
+ * « package.json cannot be used: <reason> » (#B890: requireJSON() ended the daemon).
110
133
  * @inner
111
134
  * @private
112
135
  * @param {object} opt
@@ -151,7 +174,12 @@ function Start(opt, cmd) {
151
174
  nodeModulesContentArr = newNodeModulesContentArr.slice();
152
175
  newNodeModulesContentArr = null;
153
176
 
154
- var pack = requireJSON(packagePath);
177
+ var pack = null;
178
+ try {
179
+ pack = parseJSONWithComments(fs.readFileSync(packagePath, 'utf8'), packagePath); // #B890 — requireJSON() ended the daemon on a malformed package.json
180
+ } catch (packErr) {
181
+ return cb(fileError('package.json', packErr));
182
+ }
155
183
  var scope = process.env.NODE_SCOPE || self.defaultScope
156
184
  var env = process.env.NODE_ENV || self.defaultEnv;
157
185
 
@@ -314,7 +342,12 @@ function Start(opt, cmd) {
314
342
  // terminal.debug('bundle -> ', bundle);
315
343
 
316
344
  var msg = null;
317
- if ( !isBulkStart && !isDefined('bundle', bundle) ) {
345
+ // #B890 — a bundle the ports registry knows but the manifest does not declare (a
346
+ // manifest.json rewritten from the template after it went missing) is refused here
347
+ // too: the lines below read its manifest entry, and threw a TypeError on `def_env`
348
+ var isDeclared = !!( self.bundlesByProject[self.projectName] && typeof(self.bundlesByProject[self.projectName][bundle]) != 'undefined' );
349
+ // was: if ( !isBulkStart && !isDefined('bundle', bundle) ) {
350
+ if ( !isBulkStart && ( !isDefined('bundle', bundle) || !isDeclared ) ) {
318
351
  msg = 'Bundle [ '+ bundle +' ] is not registered inside `@'+ self.projectName +'`.\nDid you run `gina bundle:add '+ bundle +' @'+ self.projectName +'` first?';
319
352
  terminal.error(msg);
320
353
 
@@ -876,6 +909,9 @@ function Start(opt, cmd) {
876
909
 
877
910
  /**
878
911
  * Resolves the bundle's entry point path based on manifest and env, and verifies it exists.
912
+ * A manifest.json that cannot be read or parsed calls back with « manifest.json cannot be
913
+ * used: <reason> » (#B890: requireJSON() ended the daemon); loadAssets() has read the same
914
+ * file just before, so only a file changed in between reaches that branch.
879
915
  * @inner
880
916
  * @private
881
917
  * @param {string} bundle - Bundle name
@@ -893,9 +929,21 @@ function Start(opt, cmd) {
893
929
  , bundleInit = null
894
930
  ;
895
931
 
932
+ // #B890 — read outside the try below: its catch falls back to `bundles/<bundle>`,
933
+ // a path that cannot boot, and requireJSON() ended the daemon before reaching it
934
+ var manifest = null
935
+ , manifestFile = _(root+ '/manifest.json', true)
936
+ ;
937
+ try {
938
+ manifest = parseJSONWithComments(fs.readFileSync(manifestFile, 'utf8'), manifestFile);
939
+ } catch (manifestErr) {
940
+ return callback(fileError('manifest.json', manifestErr));
941
+ }
942
+
896
943
  try {
897
944
  //This is mostly for dev.
898
- var pkg = requireJSON( _(root+ '/manifest.json', true) ).bundles;
945
+ // was: var pkg = requireJSON( _(root+ '/manifest.json', true) ).bundles;
946
+ var pkg = manifest.bundles;
899
947
  if ( typeof(pkg[bundle].version) == 'undefined' && typeof(pkg[bundle].tag) != 'undefined') {
900
948
  pkg[bundle].version = pkg[bundle].tag
901
949
  }
@@ -117,7 +117,8 @@ function Status(opt, cmd) {
117
117
  var existsInManifest = false;
118
118
  try {
119
119
  var path = self.projects[projectName].path;
120
- var bundles = require( _(path + '/manifest.json') ).bundles;
120
+ var manifestFile = _(path + '/manifest.json', true);
121
+ var bundles = parseJSONWithComments(fs.readFileSync(manifestFile, 'utf8'), manifestFile).bundles; // #B891 — comments accepted, as requireJSON accepts them
121
122
  existsInManifest = ( typeof(bundles[bundle]) != 'undefined' );
122
123
  } catch (err) {
123
124
  existsInManifest = false;
@@ -123,12 +123,23 @@ function Add(opt, cmd) {
123
123
  * ran the writer alone (no manifest check, no env.json, no port scan, no
124
124
  * message, no exit).
125
125
  *
126
+ * #B938 — `~/.gina/ports.json` and `ports.reverse.json` are read fresh with
127
+ * `parseJSONWithComments()`, as the command helper read them a moment before
128
+ * (#B906): a `//` comment is ignored and a trailing comma is accepted with a
129
+ * warning. A read that fails here (the file changed since the helper's read)
130
+ * throws to saveEnvs(), which ends the command with exit code 1.
131
+ *
126
132
  * @inner
127
133
  * @private
134
+ * @throws {Error} when a ports file cannot be read or is not JSON
128
135
  */
129
136
  var addEnvToProjectAndBundles = function() {
137
+ // #B938 — require() refused the comment and the trailing comma the helper had just
138
+ // accepted, so env:add stopped on node's SyntaxError after the helper's warning
139
+ // was: , ports = require(_(GINA_HOMEDIR + '/ports.json'))
130
140
  var file = _(self.projects[self.projectName].path + '/env.json')
131
- , ports = require(_(GINA_HOMEDIR + '/ports.json'))
141
+ , portsFile = _(GINA_HOMEDIR + '/ports.json')
142
+ , ports = parseJSONWithComments(fs.readFileSync(portsFile, 'utf8'), portsFile)
132
143
  ;
133
144
 
134
145
  if ( !fs.existsSync( _(self.projects[self.projectName].path + '/manifest.json') )) {
@@ -187,9 +198,12 @@ function Add(opt, cmd) {
187
198
  self.envPath = _(self.projects[self.projectName].path + '/env.json');
188
199
  self.envData = requireJSON(self.envPath);
189
200
  self.portsPath = _(GINA_HOMEDIR + '/ports.json');
190
- self.portsData = require(self.portsPath);
201
+ // #B938 — read fresh, as above: what rollback writes back is the file as it is now
202
+ // was: self.portsData = require(self.portsPath);
203
+ self.portsData = parseJSONWithComments(fs.readFileSync(self.portsPath, 'utf8'), self.portsPath);
191
204
  self.portsReversePath = _(GINA_HOMEDIR + '/ports.reverse.json');
192
- self.portsReverseData = require(self.portsReversePath);
205
+ // was: self.portsReverseData = require(self.portsReversePath);
206
+ self.portsReverseData = parseJSONWithComments(fs.readFileSync(self.portsReversePath, 'utf8'), self.portsReversePath);
193
207
 
194
208
  addEnvToBundles(0)
195
209
  }
@@ -0,0 +1,77 @@
1
+ /**
2
+ * @module gina/lib/cmd/framework/inc/child-failure
3
+ *
4
+ * Builds the message a command reports when a gina CLI command it ran as a child
5
+ * (`execFileSync(process.execPath, [<install>/bin/cli, …])`) failed (#B905).
6
+ *
7
+ * A gina CLI command writes its errors through gina's logger, on stdout: the
8
+ * catch in `lib/cmd/framework/init.js` logs « Gina has some troubles with this
9
+ * command » there and exits 1. The callers built their message from the
10
+ * child's stderr alone, an empty Buffer in that case (truthy, so it was used),
11
+ * and `exit('')` frames exit code 0 for an empty message: `gina bundle:start`
12
+ * reported success with nothing started when its `framework:link-node-modules`
13
+ * child failed (measured), and `framework:link` reported a bare `Error`.
14
+ *
15
+ * The message built here is never empty: it names the child command and its
16
+ * exit code (or signal), and carries the child's stderr and its stdout, or else
17
+ * the error's own message. Both streams, because either may hold the reason: the
18
+ * gina CLI writes its errors on stdout, while Node writes on stderr an uncaught
19
+ * exception and its own warnings — and a warning there is timing-dependent
20
+ * (Node emits it on a later tick, which a child that exits at once never
21
+ * reaches), so preferring stderr hid the reason behind « ExperimentalWarning:
22
+ * SQLite … » in one run of the same failure and not in the next (measured).
23
+ */
24
+
25
+ /**
26
+ * The trimmed text of a child's captured output.
27
+ *
28
+ * @inner
29
+ * @private
30
+ * @param {Buffer|string|null|undefined} output - `err.stderr` or `err.stdout`
31
+ * @returns {string} the trimmed text, `''` when there is none
32
+ */
33
+ function textOf(output) {
34
+ if ( output === null || typeof(output) == 'undefined' ) {
35
+ return '';
36
+ }
37
+ return String(output).trim();
38
+ }
39
+
40
+ /**
41
+ * Describes a failed child command for the user, never as an empty string.
42
+ *
43
+ * @param {Error} err - the error `execFileSync()` threw: its `status` (exit code),
44
+ * `signal`, `stderr` and `stdout`
45
+ * @param {string} command - the command as the user would type it, e.g.
46
+ * `gina framework:link-node-modules @myproject`
47
+ * @returns {string} « `<command>` failed (exit code N) », followed on the next lines
48
+ * by the child's stderr and its stdout (each when not empty), or else the error's message
49
+ *
50
+ * @example
51
+ * try {
52
+ * execFileSync(process.execPath, [cli, 'link-node-modules', '@myproject']);
53
+ * } catch (linkErr) {
54
+ * return exit(describeChildFailure(linkErr, 'gina framework:link-node-modules @myproject'));
55
+ * }
56
+ * // `gina framework:link-node-modules @myproject` failed (exit code 1):
57
+ * // … Gina has some troubles with this command: …
58
+ */
59
+ function describeChildFailure(err, command) {
60
+ var head = '`'+ command +'` failed';
61
+ if ( err && typeof(err.status) == 'number' ) {
62
+ head += ' (exit code '+ err.status +')';
63
+ } else if ( err && err.signal ) {
64
+ head += ' (signal '+ err.signal +')';
65
+ }
66
+
67
+ var output = '';
68
+ if ( err ) {
69
+ output = [ textOf(err.stderr), textOf(err.stdout) ].filter(function (text) { return text !== ''; }).join('\n')
70
+ || textOf(err.message);
71
+ }
72
+
73
+ return ( output ) ? head +':\n'+ output : head;
74
+ }
75
+
76
+ module.exports = describeChildFailure;
77
+ module.exports.describeChildFailure = describeChildFailure;
@@ -355,17 +355,29 @@ function Initialize(opt) {
355
355
  * registrar (bin/cli's start sync, gina-container, post_install) wrote
356
356
  * `frameworks[<release>]` first (#B680).
357
357
  *
358
+ * The file is read with `parseJSONWithComments()`, as bin/cli and the command
359
+ * helper read it (#B938): a `//` comment is ignored and a trailing comma is
360
+ * accepted with a warning. The commit rewrites the file as plain JSON, so neither
361
+ * stays in it.
362
+ *
358
363
  * After the commit, `main.json` is dropped from Node's require cache, so the
359
364
  * later steps that `require()` it read the migrated file (#B681).
360
365
  *
361
366
  * @private
362
- * @param {function} done - Step callback; called with the error only when a
363
- * missing `main.json` cannot be created. Any other failure throws, and
364
- * the `begin()` chain exits the process.
367
+ * @param {function} done - Step callback; called with the error when a missing
368
+ * `main.json` cannot be created, and with « main.json cannot be used:
369
+ * <reason> » when the file cannot be read or is still not JSON (#B938).
370
+ * Any other failure throws. The `begin()` chain prints either and exits
371
+ * the process with code 1.
365
372
  * @returns {void}
366
373
  * @example
367
374
  * // A 0.6 main.json read by 0.7.0: def_culture {'0.6':'fr_FR'} gains '0.7':'fr_FR'
368
375
  * // and the step logs `Migrating main.json: 0.6 → 0.7`; a second run changes nothing.
376
+ * @example
377
+ * // A trailing comma in main.json: a warning naming the file, then the step completes.
378
+ * // A missing closing brace: the command prints
379
+ * // « Error: main.json cannot be used: could not parse `/home/me/.gina/main.json`: … »
380
+ * // and exits 1, the file left as it was.
369
381
  */
370
382
  self.checkIfMain = function(done) {
371
383
  console.debug('Checking main...');
@@ -398,7 +410,19 @@ function Initialize(opt) {
398
410
  }
399
411
  }
400
412
  // update if needed : like the version number ...
401
- var mainConfig = require(target);
413
+ // #B938 — read with parseJSONWithComments(), as bin/cli and the command helper read
414
+ // this file (#B906). require() refused the `//` comment and the trailing comma they
415
+ // accept, and every offline command and the framework start run this step, so a
416
+ // hand edit stopped all of them with node's SyntaxError. A file that is
417
+ // still not JSON, or cannot be read, refuses the command here, before the commit
418
+ // below can rewrite it.
419
+ // was: var mainConfig = require(target);
420
+ var mainConfig = null;
421
+ try {
422
+ mainConfig = parseJSONWithComments(fs.readFileSync(target, 'utf8'), target);
423
+ } catch (mainErr) {
424
+ return done(new Error('main.json cannot be used: '+ (mainErr.message || mainErr)));
425
+ }
402
426
  mainConfig = whisper(dic, mainConfig);
403
427
 
404
428
  // MIGRATION — first run on a new short version (e.g. 0.1 → 0.2, 0.5 → 1.0).
@@ -533,6 +557,9 @@ function Initialize(opt) {
533
557
  // archs[<release>] and the first command exited 1. Dropping the entry makes
534
558
  // their next require() read the file just written. Once per process: init's
535
559
  // check chain runs from onComplete only, never per online command.
560
+ // #B938 — the read at the top of this step no longer goes through require(), so
561
+ // it no longer fills that cache; the drop stays for a require() of the file made
562
+ // earlier in this process.
536
563
  try {
537
564
  delete require.cache[require.resolve(target)];
538
565
  } catch (cacheErr) {
@@ -4,6 +4,8 @@ const {spawn} = require('child_process');
4
4
  // const {execSync} = require('child_process');
5
5
  const { execFileSync } = require('child_process');
6
6
  var CmdHelper = require('./../helper');
7
+ // #B905 — a failed link-node-modules child's message, with the child's own reason
8
+ var describeChildFailure = require('./inc/child-failure');
7
9
  var console = lib.logger;
8
10
  /**
9
11
  * @module gina/lib/cmd/framework/link
@@ -119,7 +121,10 @@ var console = lib.logger;
119
121
  // was: execSync('"'+ process.execPath +'" "'+ cli +'" link-node-modules @'+ self.projectName);
120
122
  execFileSync(process.execPath, [cli, 'link-node-modules', '@' + self.projectName]);
121
123
  } catch (linkErr) {
122
- var errOutput = (linkErr.stderr) ? linkErr.stderr.toString().trim() : (linkErr.message || linkErr.stack);
124
+ // #B905 — the child writes its error on stdout, so its stderr was empty and
125
+ // the command ended on a bare `Error`, without the child's reason
126
+ // was: var errOutput = (linkErr.stderr) ? linkErr.stderr.toString().trim() : (linkErr.message || linkErr.stack);
127
+ var errOutput = describeChildFailure(linkErr, 'gina framework:link-node-modules @'+ self.projectName);
123
128
  console.warn('[link] '+ errOutput);
124
129
  return end(new Error(errOutput), 'error')
125
130
  }
@@ -11,12 +11,12 @@ var lib = require( getPath('gina').lib );// jshint ignore:line
11
11
  //var helpers = require( getPath('gina').helpers );
12
12
  var console = lib.logger;
13
13
  /**
14
- * Framework start command - Needs to be launched as [sudo], [admin] or [root]
15
- *
16
- * NB.: Another alternative is to set appropriate permissions for `/var/run/gina`
17
- * e.g. if you have a `gina` user in the `www-data` group
18
- * $ sudo mkdir /var/run/gina
19
- * $ sudo chown -R gina:www-data /var/run/gina
14
+ * Framework start command (`gina start` / `gina framework:start`). It runs as
15
+ * the current user and needs no elevated privileges. Its pid files go where
16
+ * `getRunDir()` (utils/helper.js) puts them: under the npm prefix, or in
17
+ * `~/.gina/run` when the prefix is not writable; `GINA_RUNDIR` overrides both.
18
+ * (#B889: this header used to ask for root and describe a `/var/run/gina` pid
19
+ * folder that no code uses.)
20
20
  *
21
21
  * @class Start
22
22
  * @constructor
@@ -12,6 +12,8 @@ var helpers = require( getPath('gina').helpers);
12
12
  var escapeRegex = require('./bundle/inc/name-rewrite').escapeRegex;
13
13
  // #B855 — the framed exit code exit() sends an online command's client
14
14
  var startStatus = require('./bundle/inc/start-status');
15
+ // #B905 — a failed link child's message, never empty (an empty one framed exit code 0)
16
+ var describeChildFailure = require('./framework/inc/child-failure');
15
17
  /**
16
18
  * @module gina/lib/cmd/helper
17
19
  */
@@ -238,11 +240,19 @@ function CmdHelper(cmd, client, debug) {
238
240
  * Validates the command context, filters argv, and loads all project/bundle
239
241
  * configuration assets into `cmd`. Must be called once at the top of a
240
242
  * handler's `init()`. Delegates to getParams() then loadAssets().
243
+ * `~/.gina/main.json` and `projects.json` are read without requireJSON()'s
244
+ * `process.exit(1)` (#B906): a file that cannot be read or parsed refuses the command with
245
+ * « <file> cannot be used: <reason> » (refuseProjectFile()), which inside the framework
246
+ * daemon (`bundle:start`) ends only that client, and the function returns false.
241
247
  * Assigns itself to the global `isCmdConfigured` so all cmd handlers can call it.
242
248
  *
243
249
  * @global
244
250
  * @async
245
251
  * @returns {boolean} True when configuration loaded successfully; false on error
252
+ *
253
+ * @example
254
+ * isCmdConfigured();
255
+ * if (self.cmdExited) return false; // a refusal inside the daemon marks the command
246
256
  */
247
257
  isCmdConfigured = async function() {
248
258
 
@@ -263,7 +273,18 @@ function CmdHelper(cmd, client, debug) {
263
273
  if ( typeof(require.cache[cmd.mainConfigPath]) != 'undefined') {
264
274
  delete require.cache[require.resolve(cmd.mainConfigPath)]
265
275
  }
266
- cmd.mainConfig = requireJSON( cmd.mainConfigPath );
276
+ // #B906 — main.json and projects.json are read without requireJSON()'s
277
+ // `process.exit(1)`: `bundle:start` runs inside the framework daemon, where a
278
+ // malformed or unreadable projects.json ended the daemon (measured). A file that
279
+ // cannot be used refuses the command (refuseProjectFile()), which inside the daemon
280
+ // ends only this client.
281
+ // was: cmd.mainConfig = requireJSON( cmd.mainConfigPath );
282
+ try {
283
+ cmd.mainConfig = readProjectJSON( cmd.mainConfigPath );
284
+ } catch (mainErr) {
285
+ refuseProjectFile('main.json', mainErr);
286
+ return false;
287
+ }
267
288
 
268
289
  // projects
269
290
  cmd.projectConfigPath = _(GINA_HOMEDIR + '/projects.json', true);
@@ -271,7 +292,13 @@ function CmdHelper(cmd, client, debug) {
271
292
  delete require.cache[require.resolve(cmd.projectConfigPath)]
272
293
  }
273
294
 
274
- cmd.projects = requireJSON( cmd.projectConfigPath );
295
+ // was: cmd.projects = requireJSON( cmd.projectConfigPath );
296
+ try {
297
+ cmd.projects = readProjectJSON( cmd.projectConfigPath ); // #B906
298
+ } catch (projectsErr) {
299
+ refuseProjectFile('projects.json', projectsErr);
300
+ return false;
301
+ }
275
302
  var pIndex = 0;
276
303
  for (let p in cmd.projects) {
277
304
  // #B59 — a corrupt registration (empty / undefined / too-short `.path`,
@@ -690,13 +717,68 @@ function CmdHelper(cmd, client, debug) {
690
717
  return coreEnv
691
718
  }
692
719
 
720
+ /**
721
+ * #B890 — reads a project's JSON file (manifest.json, env.json) the way requireJSON()
722
+ * does, comments accepted, but never exits the process. loadAssets() runs inside the
723
+ * framework daemon for `bundle:start`, where requireJSON()'s `process.exit(1)` on an
724
+ * unreadable or malformed file ended the daemon (measured). The caller decides what a
725
+ * failure means. #B906 — gina's own state files are read with it too: `~/.gina/main.json`
726
+ * and `projects.json` in isCmdConfigured(), `ports.json` and `ports.reverse.json` in
727
+ * loadAssets().
728
+ *
729
+ * @inner
730
+ * @private
731
+ * @param {string} file - absolute path of the JSON file
732
+ * @returns {*} the parsed value
733
+ * @throws {Error} the read error, which names the path, or parseJSONWithComments()'s
734
+ * « could not parse `<file>`: <reason> »
735
+ *
736
+ * @example
737
+ * var manifest = readProjectJSON(projectPath + '/manifest.json');
738
+ */
739
+ var readProjectJSON = function(file) {
740
+ return parseJSONWithComments(fs.readFileSync(file, 'utf8'), file);
741
+ };
742
+
743
+ /**
744
+ * #B890 — refuses the command because a file of the current project cannot be used, or
745
+ * (#B906) one of gina's own state files: logs « <name> cannot be used: <reason> », then
746
+ * ends the command as the #B855 refusal in isCmdConfigured() does: online (`bundle:start`,
747
+ * inside the framework daemon) it ends only this client, with exit code 1 framed; offline
748
+ * it exits the process with code 1. The caller returns right after it.
749
+ *
750
+ * @inner
751
+ * @private
752
+ * @param {string} name - the file's name as the message shows it (`manifest.json`,
753
+ * `projects.json`)
754
+ * @param {Error} err - the error readProjectJSON() threw
755
+ *
756
+ * @example
757
+ * try { cmd.envData = readProjectJSON(cmd.envPath); }
758
+ * catch (envErr) { return refuseProjectFile('env.json', envErr); }
759
+ */
760
+ var refuseProjectFile = function(name, err) {
761
+ var msg = name +' cannot be used: '+ err.message;
762
+ console.error(msg);
763
+ if ( client && client.ginaStatusFrames === true ) {
764
+ exit(msg);
765
+ return;
766
+ }
767
+ process.exit(1);
768
+ };
769
+
693
770
  /**
694
771
  * Reads all framework config files (main.json, projects.json, manifest.json,
695
772
  * env.json, ports.json, ports.reverse.json) fresh from disk (no require cache).
696
773
  * Populates cmd with scopes, envs, protocols, schemes, port maps, and bundle lists.
697
774
  * A registered project whose directory exists but whose manifest.json is missing
698
775
  * (a stale ~/.gina/projects.json entry) is warned and skipped (#B24) rather than
699
- * aborting the whole command.
776
+ * aborting the whole command; one whose manifest.json cannot be read or parsed is
777
+ * skipped the same way (#B890). The current project's manifest.json and env.json are
778
+ * read without requireJSON()'s `process.exit(1)`: a file that cannot be used refuses
779
+ * the command with « <file> cannot be used: <reason> » (refuseProjectFile()), which
780
+ * inside the framework daemon (`bundle:start`) ends only that client (#B890). So do
781
+ * `~/.gina/ports.json` and `ports.reverse.json`, at each of their reads here (#B906).
700
782
  * On `project:add`/`project:import`, the current project's bundle list is the
701
783
  * UNION of the manifest's declared bundles and the bundle directories found on
702
784
  * disk (#B375): declared entries are preserved as-is, disk-only bundles are
@@ -766,17 +848,29 @@ function CmdHelper(cmd, client, debug) {
766
848
  // down sits BEFORE the canonical ports load, and `remove.js` end() rewrites
767
849
  // ports.json / ports.reverse.json unconditionally — so without loading them
768
850
  // the maps would be the empty `{}` defaults and EVERY project's ports would
769
- // be wiped. Mirror the canonical load (see the `cmd.portsData = requireJSON`
851
+ // be wiped. Mirror the canonical load (see the `cmd.portsData = readProjectJSON`
770
852
  // site later in this function); the port paths are already set at `:563-564`.
853
+ // #B906 — a ports file that cannot be used refuses the command here too: an
854
+ // empty map written back would wipe every project's ports.
771
855
  cmd.projectLocation = _(cmd.projects[cmd.projectName].path, true);
772
856
  if ( typeof(require.cache[cmd.portsPath]) != 'undefined') {
773
857
  delete require.cache[require.resolve(cmd.portsPath)]
774
858
  }
775
- cmd.portsData = requireJSON(cmd.portsPath) || {};
859
+ // was: cmd.portsData = requireJSON(cmd.portsPath) || {};
860
+ try {
861
+ cmd.portsData = readProjectJSON(cmd.portsPath) || {};
862
+ } catch (portsErr) {
863
+ return refuseProjectFile('ports.json', portsErr);
864
+ }
776
865
  if ( typeof(require.cache[cmd.portsReversePath]) != 'undefined') {
777
866
  delete require.cache[require.resolve(cmd.portsReversePath)]
778
867
  }
779
- cmd.portsReverseData = requireJSON(cmd.portsReversePath) || {};
868
+ // was: cmd.portsReverseData = requireJSON(cmd.portsReversePath) || {};
869
+ try {
870
+ cmd.portsReverseData = readProjectJSON(cmd.portsReversePath) || {};
871
+ } catch (portsReverseErr) {
872
+ return refuseProjectFile('ports.reverse.json', portsReverseErr);
873
+ }
780
874
  return;
781
875
  } else if ( ! fs.existsSync(cmd.projects[cmd.projectName].path) ) {
782
876
  // #B59 — the project DIRECTORY itself is gone (a valid-length path pointing
@@ -815,10 +909,18 @@ function CmdHelper(cmd, client, debug) {
815
909
  contentFile,
816
910
  _(cmd.projectManifestPath, true)
817
911
  );
818
- cmd.projectData = requireJSON(cmd.projectManifestPath);
912
+ try {
913
+ cmd.projectData = readProjectJSON(cmd.projectManifestPath); // #B890
914
+ } catch (manifestErr) {
915
+ return refuseProjectFile('manifest.json', manifestErr);
916
+ }
819
917
  }
820
918
  } else {
821
- cmd.projectData = requireJSON(cmd.projectManifestPath);
919
+ try {
920
+ cmd.projectData = readProjectJSON(cmd.projectManifestPath); // #B890 — requireJSON() ended the daemon on an unreadable or malformed file
921
+ } catch (manifestErr) {
922
+ return refuseProjectFile('manifest.json', manifestErr);
923
+ }
822
924
  }
823
925
 
824
926
  cmd.projectHomedir = (
@@ -1026,7 +1128,11 @@ function CmdHelper(cmd, client, debug) {
1026
1128
  delete require.cache[require.resolve(cmd.envPath)]
1027
1129
  }
1028
1130
  console.debug('[ ConfigAssetsLoaderHelper ] envPath ', cmd.envPath);
1029
- cmd.envData = requireJSON(cmd.envPath);
1131
+ try {
1132
+ cmd.envData = readProjectJSON(cmd.envPath); // #B890 — a malformed env.json ended the daemon too
1133
+ } catch (envErr) {
1134
+ return refuseProjectFile('env.json', envErr);
1135
+ }
1030
1136
 
1031
1137
  cmd.def_framework = ( typeof(cmd.projects[cmd.projectName].framework) != 'undefined' ) ? (cmd.projects[cmd.projectName].framework.replace(/^v/, '').split(/\./g)).join('.') : (cmd.mainConfig.def_framework.split(/\./g)).join('.');
1032
1138
  cmd.def_framework_short = ( typeof(cmd.projects[cmd.projectName].framework) != 'undefined' ) ? (cmd.projects[cmd.projectName].framework.replace(/^v/, '').split(/\./g).splice(0,2)).join('.') : (cmd.mainConfig.def_framework.split(/\./g).splice(0,2)).join('.');
@@ -1188,12 +1294,25 @@ function CmdHelper(cmd, client, debug) {
1188
1294
  if ( typeof(require.cache[cmd.portsPath]) != 'undefined') {
1189
1295
  delete require.cache[require.resolve(cmd.portsPath)]
1190
1296
  }
1191
- cmd.portsData = requireJSON(cmd.portsPath) || {};
1297
+ // #B906 — read without requireJSON()'s `process.exit(1)`, which ended the framework
1298
+ // daemon for `bundle:start` (measured): a ports file that cannot be used refuses the
1299
+ // command (refuseProjectFile()), which inside the daemon ends only this client.
1300
+ // was: cmd.portsData = requireJSON(cmd.portsPath) || {};
1301
+ try {
1302
+ cmd.portsData = readProjectJSON(cmd.portsPath) || {};
1303
+ } catch (portsErr) {
1304
+ return refuseProjectFile('ports.json', portsErr);
1305
+ }
1192
1306
 
1193
1307
  if ( typeof(require.cache[cmd.portsReversePath]) != 'undefined') {
1194
1308
  delete require.cache[require.resolve(cmd.portsReversePath)]
1195
1309
  }
1196
- cmd.portsReverseData = requireJSON(cmd.portsReversePath) || {};
1310
+ // was: cmd.portsReverseData = requireJSON(cmd.portsReversePath) || {};
1311
+ try {
1312
+ cmd.portsReverseData = readProjectJSON(cmd.portsReversePath) || {};
1313
+ } catch (portsReverseErr) {
1314
+ return refuseProjectFile('ports.reverse.json', portsReverseErr);
1315
+ }
1197
1316
 
1198
1317
 
1199
1318
 
@@ -1274,7 +1393,11 @@ function CmdHelper(cmd, client, debug) {
1274
1393
  // was: execSync('"'+ process.execPath +'" "'+ selfCli +'" link-node-modules @'+cmd.projectName +cmd.paramsStringified, …);
1275
1394
  execFileSync(process.execPath, [selfCli, 'link-node-modules', '@' + cmd.projectName].concat(cmd.paramsArgv), { env: _linkEnv });
1276
1395
  } catch (linkErr) {
1277
- var linkErrOutput = (linkErr.stderr) ? linkErr.stderr.toString().trim() : (linkErr.message || linkErr.stack);
1396
+ // #B905 — the child writes its error on stdout (gina's logger), so its stderr
1397
+ // was an empty Buffer, the message '' and exit('') framed exit code 0:
1398
+ // `bundle:start` reported success with nothing started (measured)
1399
+ // was: var linkErrOutput = (linkErr.stderr) ? linkErr.stderr.toString().trim() : (linkErr.message || linkErr.stack);
1400
+ var linkErrOutput = describeChildFailure(linkErr, 'gina framework:link-node-modules @'+ cmd.projectName);
1278
1401
  console.error(linkErrOutput);
1279
1402
  return exit(linkErrOutput);
1280
1403
  }
@@ -1285,7 +1408,9 @@ function CmdHelper(cmd, client, debug) {
1285
1408
  // was: console.debug(execSync('"'+ process.execPath +'" "'+ selfCli +'" link @'+cmd.projectName +cmd.paramsStringified, …).toString().trim());
1286
1409
  console.debug(execFileSync(process.execPath, [selfCli, 'link', '@' + cmd.projectName].concat(cmd.paramsArgv), { env: _linkEnv }).toString().trim());
1287
1410
  } catch (err) {
1288
- var errOutput = (err.stderr) ? err.stderr.toString().trim() : (err.message || err.stack);
1411
+ // #B905 — the same empty-message exit code 0 as the link-node-modules child above
1412
+ // was: var errOutput = (err.stderr) ? err.stderr.toString().trim() : (err.message || err.stack);
1413
+ var errOutput = describeChildFailure(err, 'gina framework:link @'+ cmd.projectName);
1289
1414
  console.emerg(errOutput);
1290
1415
  return exit(errOutput);
1291
1416
  }
@@ -1351,8 +1476,20 @@ function CmdHelper(cmd, client, debug) {
1351
1476
  delete require.cache[require.resolve(cmd.portsPath)]
1352
1477
  }
1353
1478
 
1354
- ports = requireJSON(cmd.portsPath);
1355
- portsReverse = requireJSON(cmd.portsReversePath);
1479
+ // #B906 — read without requireJSON()'s `process.exit(1)`, as above; this second read
1480
+ // sits outside the project block, so it also runs when no project is named
1481
+ // was: ports = requireJSON(cmd.portsPath);
1482
+ // was: portsReverse = requireJSON(cmd.portsReversePath);
1483
+ try {
1484
+ ports = readProjectJSON(cmd.portsPath);
1485
+ } catch (portsErr) {
1486
+ return refuseProjectFile('ports.json', portsErr);
1487
+ }
1488
+ try {
1489
+ portsReverse = readProjectJSON(cmd.portsReversePath);
1490
+ } catch (portsReverseErr) {
1491
+ return refuseProjectFile('ports.reverse.json', portsReverseErr);
1492
+ }
1356
1493
 
1357
1494
  // protocols list
1358
1495
  if (cmd.protocols.length == 0)
@@ -1432,7 +1569,19 @@ function CmdHelper(cmd, client, debug) {
1432
1569
  continue;
1433
1570
  }
1434
1571
 
1435
- cmd.bundlesByProject[project] = (cmd.bundlesByProject[project].count() > 0) ? cmd.bundlesByProject[project] : requireJSON(projectPropertiesPath).bundles;
1572
+ // #B890 — every registered project's manifest is read here, so a malformed one in
1573
+ // ANOTHER project ended the daemon during `bundle:start` (requireJSON() exits). It
1574
+ // is skipped with an error line, as #B24 skips a missing one; the current project's
1575
+ // own manifest was refused earlier in this function.
1576
+ // was: cmd.bundlesByProject[project] = (cmd.bundlesByProject[project].count() > 0) ? cmd.bundlesByProject[project] : requireJSON(projectPropertiesPath).bundles;
1577
+ if ( cmd.bundlesByProject[project].count() == 0 ) {
1578
+ try {
1579
+ cmd.bundlesByProject[project] = readProjectJSON(projectPropertiesPath).bundles;
1580
+ } catch (manifestErr) {
1581
+ console.error('[ '+ project +' ] manifest.json cannot be used, the project is skipped: '+ manifestErr.message);
1582
+ continue;
1583
+ }
1584
+ }
1436
1585
  // #B375 — the "additional checks" block below (introduced 2023, absorbed into an
1437
1586
  // automated version-bump commit, never revisited) compared each project's declared
1438
1587
  // bundle COUNT against a readdir of `<project>/src` (else `/releases`) and, on ANY