gina 0.1.2-alpha.5 → 0.1.4-alpha.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.
Files changed (300) hide show
  1. package/framework/v0.1.4-alpha.1/VERSION +1 -0
  2. package/framework/v0.1.4-alpha.1/core/asset/plugin/dist/vendor/gina/css/gina.min.css.map +1 -0
  3. package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/core/asset/plugin/dist/vendor/gina/js/gina.js +8 -1
  4. package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/core/asset/plugin/dist/vendor/gina/js/gina.min.js +5 -5
  5. package/framework/v0.1.4-alpha.1/core/asset/plugin/dist/vendor/gina/js/gina.min.js.map +8 -0
  6. package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/core/asset/plugin/dist/vendor/gina/js/gina.onload.min.js.map +2 -2
  7. package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/core/config.js +211 -123
  8. package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/core/router.js +110 -86
  9. package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/core/server.js +10 -11
  10. package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/core/template/boilerplate/bundle/index.js +8 -5
  11. package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/lib/cmd/framework/init.js +2 -2
  12. package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/lib/cmd/helper.js +15 -6
  13. package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/lib/inherits/src/main.js +2 -0
  14. package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/lib/merge/README.md +1 -1
  15. package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/lib/merge/src/main.js +6 -1
  16. package/package.json +2 -2
  17. package/framework/v0.1.2-alpha.5/VERSION +0 -1
  18. package/framework/v0.1.2-alpha.5/core/asset/plugin/dist/vendor/gina/css/gina.min.css.map +0 -1
  19. package/framework/v0.1.2-alpha.5/core/asset/plugin/dist/vendor/gina/js/gina.min.js.map +0 -8
  20. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/AUTHORS +0 -0
  21. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/LICENSE +0 -0
  22. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/core/asset/html/nolayout.html +0 -0
  23. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/core/asset/html/static.html +0 -0
  24. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/core/asset/img/android-chrome-192x192.png +0 -0
  25. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/core/asset/img/android-chrome-512x512.png +0 -0
  26. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/core/asset/img/apple-touch-icon.png +0 -0
  27. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/core/asset/img/favicon-16x16.png +0 -0
  28. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/core/asset/img/favicon-32x32.png +0 -0
  29. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/core/asset/img/favicon.ico +0 -0
  30. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/core/asset/plugin/README.md +0 -0
  31. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/core/asset/plugin/dist/vendor/gina/css/gina.min.css +0 -0
  32. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/core/asset/plugin/dist/vendor/gina/html/toolbar.html +0 -0
  33. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/core/asset/plugin/dist/vendor/gina/js/gina.onload.min.js +0 -0
  34. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/core/asset/plugin/uuid.json +0 -0
  35. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/core/connectors/couchbase/index.js +0 -0
  36. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/core/connectors/couchbase/lib/connector.js +0 -0
  37. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/core/connectors/couchbase/lib/connector.v2.js +0 -0
  38. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/core/connectors/couchbase/lib/connector.v3.js +0 -0
  39. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/core/connectors/couchbase/lib/connector.v4.js +0 -0
  40. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/core/connectors/couchbase/lib/n1ql.js +0 -0
  41. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/core/connectors/couchbase/lib/session-store.js +0 -0
  42. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/core/connectors/couchbase/lib/session-store.v2.js +0 -0
  43. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/core/connectors/couchbase/lib/session-store.v3.js +0 -0
  44. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/core/connectors/couchbase/lib/session-store.v4.js +0 -0
  45. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/core/controller/controller.framework.js +0 -0
  46. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/core/controller/controller.js +0 -0
  47. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/core/controller/index.js +0 -0
  48. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/core/deps/busboy/.travis.yml +0 -0
  49. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/core/deps/busboy/LICENSE +0 -0
  50. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/core/deps/busboy/README.md +0 -0
  51. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/core/deps/busboy/deps/encoding/encoding-indexes.js +0 -0
  52. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/core/deps/busboy/deps/encoding/encoding.js +0 -0
  53. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/core/deps/busboy/lib/main.js +0 -0
  54. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/core/deps/busboy/lib/types/multipart.js +0 -0
  55. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/core/deps/busboy/lib/types/urlencoded.js +0 -0
  56. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/core/deps/busboy/lib/utils.js +0 -0
  57. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/core/deps/busboy/package.json +0 -0
  58. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/core/deps/swig-client/swig-2.0.0.min.js +0 -0
  59. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/core/dev/index.js +0 -0
  60. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/core/dev/lib/class.js +0 -0
  61. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/core/dev/lib/factory.js +0 -0
  62. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/core/dev/lib/tools.js +0 -0
  63. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/core/gna.js +0 -0
  64. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/core/locales/README.md +0 -0
  65. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/core/locales/currency.json +0 -0
  66. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/core/locales/dist/language/en.json +0 -0
  67. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/core/locales/dist/language/fr.json +0 -0
  68. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/core/locales/dist/region/en.json +0 -0
  69. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/core/locales/dist/region/fr.json +0 -0
  70. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/core/locales/index.js +0 -0
  71. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/core/locales/src/make.js +0 -0
  72. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/core/locales/src/resources/currency.csv +0 -0
  73. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/core/locales/src/resources/region.csv +0 -0
  74. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/core/locales/src/resources/region.mapping.json +0 -0
  75. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/core/mime.types +0 -0
  76. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/core/model/entity.js +0 -0
  77. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/core/model/index.js +0 -0
  78. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/core/model/template/entityFactory.js +0 -0
  79. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/core/model/template/index.js +0 -0
  80. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/core/plugins/README.md +0 -0
  81. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/core/plugins/index.js +0 -0
  82. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/core/plugins/lib/file/README.md +0 -0
  83. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/core/plugins/lib/file/build.json +0 -0
  84. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/core/plugins/lib/file/package.json +0 -0
  85. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/core/plugins/lib/intl/README.md +0 -0
  86. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/core/plugins/lib/intl/build.json +0 -0
  87. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/core/plugins/lib/intl/package.json +0 -0
  88. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/core/plugins/lib/intl/src/main.js +0 -0
  89. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/core/plugins/lib/storage/README.md +0 -0
  90. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/core/plugins/lib/storage/build.json +0 -0
  91. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/core/plugins/lib/storage/package.json +0 -0
  92. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/core/plugins/lib/storage/src/main.js +0 -0
  93. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/core/plugins/lib/validator/README.md +0 -0
  94. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/core/plugins/lib/validator/build.json +0 -0
  95. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/core/plugins/lib/validator/package.json +0 -0
  96. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/core/plugins/lib/validator/src/form-validator.js +0 -0
  97. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/core/plugins/lib/validator/src/main.js +0 -0
  98. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/core/server.express.js +0 -0
  99. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/core/server.isaac.js +0 -0
  100. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/core/status.codes +0 -0
  101. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/core/template/boilerplate/bundle/config/app.json +0 -0
  102. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/core/template/boilerplate/bundle/config/routing.json +0 -0
  103. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/core/template/boilerplate/bundle/config/settings.json +0 -0
  104. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/core/template/boilerplate/bundle/config/settings.server.json +0 -0
  105. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/core/template/boilerplate/bundle/config/templates.json +0 -0
  106. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/core/template/boilerplate/bundle/controllers/controller.content.js +0 -0
  107. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/core/template/boilerplate/bundle/controllers/controller.js +0 -0
  108. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/core/template/boilerplate/bundle/controllers/setup.js +0 -0
  109. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/core/template/boilerplate/bundle_namespace/controllers/controller.js +0 -0
  110. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/core/template/boilerplate/bundle_public/css/default.css +0 -0
  111. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/core/template/boilerplate/bundle_public/css/vendor/readme.md +0 -0
  112. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/core/template/boilerplate/bundle_public/favicon.ico +0 -0
  113. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/core/template/boilerplate/bundle_public/js/vendor/readme.md +0 -0
  114. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/core/template/boilerplate/bundle_public/readme.md +0 -0
  115. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/core/template/boilerplate/bundle_templates/handlers/main.js +0 -0
  116. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/core/template/boilerplate/bundle_templates/html/content/homepage.html +0 -0
  117. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/core/template/boilerplate/bundle_templates/html/includes/error-msg-noscript.html +0 -0
  118. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/core/template/boilerplate/bundle_templates/html/includes/error-msg-outdated-browser.html +0 -0
  119. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/core/template/boilerplate/bundle_templates/html/layouts/main.html +0 -0
  120. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/core/template/command/gina.bat.tpl +0 -0
  121. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/core/template/command/gina.tpl +0 -0
  122. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/core/template/conf/env.json +0 -0
  123. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/core/template/conf/manifest.json +0 -0
  124. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/core/template/conf/package.json +0 -0
  125. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/core/template/conf/settings.json +0 -0
  126. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/core/template/conf/statics.json +0 -0
  127. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/core/template/conf/templates.json +0 -0
  128. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/core/template/error/client/json/401.json +0 -0
  129. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/core/template/error/client/json/403.json +0 -0
  130. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/core/template/error/client/json/404.json +0 -0
  131. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/core/template/error/server/html/50x.html +0 -0
  132. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/core/template/error/server/json/500.json +0 -0
  133. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/core/template/error/server/json/503.json +0 -0
  134. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/core/template/extensions/logger/config.json +0 -0
  135. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/helpers/console.js +0 -0
  136. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/helpers/context.js +0 -0
  137. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/helpers/data/LICENSE +0 -0
  138. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/helpers/data/README.md +0 -0
  139. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/helpers/data/package.json +0 -0
  140. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/helpers/data/src/main.js +0 -0
  141. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/helpers/dateFormat.js +0 -0
  142. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/helpers/index.js +0 -0
  143. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/helpers/json/LICENSE +0 -0
  144. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/helpers/json/README.md +0 -0
  145. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/helpers/json/package.json +0 -0
  146. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/helpers/json/src/main.js +0 -0
  147. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/helpers/path.js +0 -0
  148. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/helpers/plugins/README.md +0 -0
  149. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/helpers/plugins/package.json +0 -0
  150. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/helpers/plugins/src/api-error.js +0 -0
  151. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/helpers/plugins/src/main.js +0 -0
  152. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/helpers/prototypes.js +0 -0
  153. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/helpers/task.js +0 -0
  154. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/helpers/text.js +0 -0
  155. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/lib/archiver/README.md +0 -0
  156. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/lib/archiver/build.json +0 -0
  157. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/lib/archiver/package.json +0 -0
  158. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/lib/archiver/src/dep/jszip.min.js +0 -0
  159. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/lib/archiver/src/main.js +0 -0
  160. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/lib/cmd/aliases.json +0 -0
  161. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/lib/cmd/bundle/add.js +0 -0
  162. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/lib/cmd/bundle/arguments.json +0 -0
  163. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/lib/cmd/bundle/copy.js +0 -0
  164. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/lib/cmd/bundle/cp.js +0 -0
  165. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/lib/cmd/bundle/help.js +0 -0
  166. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/lib/cmd/bundle/help.txt +0 -0
  167. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/lib/cmd/bundle/list.js +0 -0
  168. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/lib/cmd/bundle/remove.js +0 -0
  169. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/lib/cmd/bundle/rename.js +0 -0
  170. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/lib/cmd/bundle/restart.js +0 -0
  171. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/lib/cmd/bundle/rm.js +0 -0
  172. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/lib/cmd/bundle/start.js +0 -0
  173. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/lib/cmd/bundle/status.js +0 -0
  174. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/lib/cmd/bundle/stop.js +0 -0
  175. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/lib/cmd/env/add.js +0 -0
  176. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/lib/cmd/env/get.js +0 -0
  177. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/lib/cmd/env/help.js +0 -0
  178. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/lib/cmd/env/help.txt +0 -0
  179. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/lib/cmd/env/link-dev.js +0 -0
  180. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/lib/cmd/env/list.js +0 -0
  181. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/lib/cmd/env/remove.js +0 -0
  182. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/lib/cmd/env/rm.js +0 -0
  183. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/lib/cmd/env/set.js +0 -0
  184. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/lib/cmd/env/unset.js +0 -0
  185. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/lib/cmd/env/use.js +0 -0
  186. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/lib/cmd/framework/build.js +0 -0
  187. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/lib/cmd/framework/dot.js +0 -0
  188. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/lib/cmd/framework/get.js +0 -0
  189. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/lib/cmd/framework/help.js +0 -0
  190. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/lib/cmd/framework/help.txt +0 -0
  191. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/lib/cmd/framework/link-node-modules.js +0 -0
  192. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/lib/cmd/framework/link.js +0 -0
  193. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/lib/cmd/framework/msg.json +0 -0
  194. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/lib/cmd/framework/open.js +0 -0
  195. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/lib/cmd/framework/restart.js +0 -0
  196. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/lib/cmd/framework/set.js +0 -0
  197. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/lib/cmd/framework/start.js +0 -0
  198. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/lib/cmd/framework/status.js +0 -0
  199. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/lib/cmd/framework/stop.js +0 -0
  200. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/lib/cmd/framework/tail.js +0 -0
  201. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/lib/cmd/framework/update.js +0 -0
  202. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/lib/cmd/framework/version.js +0 -0
  203. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/lib/cmd/gina-dev.1.md +0 -0
  204. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/lib/cmd/gina-framework.1.md +0 -0
  205. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/lib/cmd/gina.1.md +0 -0
  206. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/lib/cmd/index.js +0 -0
  207. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/lib/cmd/msg.json +0 -0
  208. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/lib/cmd/port/help.js +0 -0
  209. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/lib/cmd/port/help.txt +0 -0
  210. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/lib/cmd/port/inc/scan.js +0 -0
  211. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/lib/cmd/port/list.js +0 -0
  212. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/lib/cmd/port/reset.js +0 -0
  213. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/lib/cmd/port/set.js +0 -0
  214. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/lib/cmd/project/add.js +0 -0
  215. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/lib/cmd/project/arguments.json +0 -0
  216. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/lib/cmd/project/build.js +0 -0
  217. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/lib/cmd/project/help.js +0 -0
  218. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/lib/cmd/project/help.txt +0 -0
  219. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/lib/cmd/project/import.js +0 -0
  220. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/lib/cmd/project/list.js +0 -0
  221. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/lib/cmd/project/move.js +0 -0
  222. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/lib/cmd/project/remove.js +0 -0
  223. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/lib/cmd/project/rename.js +0 -0
  224. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/lib/cmd/project/restart.js +0 -0
  225. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/lib/cmd/project/rm.js +0 -0
  226. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/lib/cmd/project/start.js +0 -0
  227. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/lib/cmd/project/status.js +0 -0
  228. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/lib/cmd/project/stop.js +0 -0
  229. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/lib/cmd/protocol/help.js +0 -0
  230. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/lib/cmd/protocol/help.txt +0 -0
  231. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/lib/cmd/protocol/list.js +0 -0
  232. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/lib/cmd/protocol/set.js +0 -0
  233. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/lib/cmd/scope/add.js +0 -0
  234. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/lib/cmd/scope/help.js +0 -0
  235. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/lib/cmd/scope/help.txt +0 -0
  236. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/lib/cmd/scope/link-local.js +0 -0
  237. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/lib/cmd/scope/link-production.js +0 -0
  238. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/lib/cmd/scope/list.js +0 -0
  239. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/lib/cmd/scope/remove.js +0 -0
  240. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/lib/cmd/scope/rm.js +0 -0
  241. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/lib/cmd/scope/use.js +0 -0
  242. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/lib/cmd/view/add.js +0 -0
  243. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/lib/collection/README.md +0 -0
  244. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/lib/collection/build.json +0 -0
  245. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/lib/collection/package.json +0 -0
  246. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/lib/collection/src/main.js +0 -0
  247. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/lib/config.js +0 -0
  248. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/lib/cron/README.md +0 -0
  249. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/lib/cron/package.json +0 -0
  250. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/lib/cron/src/main.js +0 -0
  251. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/lib/domain/LICENSE +0 -0
  252. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/lib/domain/README.md +0 -0
  253. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/lib/domain/dist/public_suffix_list.dat +0 -0
  254. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/lib/domain/exemples/backend.js +0 -0
  255. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/lib/domain/exemples/frontend.html +0 -0
  256. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/lib/domain/package.json +0 -0
  257. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/lib/domain/src/main.js +0 -0
  258. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/lib/generator/index.js +0 -0
  259. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/lib/index.js +0 -0
  260. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/lib/inherits/LICENSE +0 -0
  261. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/lib/inherits/README.md +0 -0
  262. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/lib/inherits/example/inheriting_eventemitter.js +0 -0
  263. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/lib/inherits/example/protected_inheritance.js +0 -0
  264. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/lib/inherits/example/simple_inheritance.js +0 -0
  265. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/lib/inherits/example/super_attribute_overridden_by_child_on_init.js +0 -0
  266. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/lib/inherits/package.json +0 -0
  267. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/lib/logger/README.md +0 -0
  268. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/lib/logger/package.json +0 -0
  269. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/lib/logger/src/containers/default/index.js +0 -0
  270. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/lib/logger/src/containers/file/index.js +0 -0
  271. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/lib/logger/src/containers/file/lib/logrotator/README.md +0 -0
  272. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/lib/logger/src/containers/file/lib/logrotator/index.js +0 -0
  273. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/lib/logger/src/containers/mq/index.js +0 -0
  274. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/lib/logger/src/containers/mq/listener.js +0 -0
  275. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/lib/logger/src/containers/mq/speaker.js +0 -0
  276. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/lib/logger/src/helper.js +0 -0
  277. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/lib/logger/src/main.js +0 -0
  278. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/lib/math/index.js +0 -0
  279. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/lib/merge/example/merge.js +0 -0
  280. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/lib/merge/example/merge_2_literal objects.js +0 -0
  281. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/lib/merge/example/merge_and_preserve_first.js +0 -0
  282. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/lib/merge/package.json +0 -0
  283. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/lib/model.js +0 -0
  284. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/lib/proc.js +0 -0
  285. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/lib/routing/README.md +0 -0
  286. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/lib/routing/build.json +0 -0
  287. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/lib/routing/package.json +0 -0
  288. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/lib/routing/src/main.js +0 -0
  289. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/lib/session-store.js +0 -0
  290. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/lib/shell.js +0 -0
  291. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/lib/swig-filters/README.md +0 -0
  292. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/lib/swig-filters/package.json +0 -0
  293. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/lib/swig-filters/src/main.js +0 -0
  294. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/lib/url/README.md +0 -0
  295. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/lib/url/index.js +0 -0
  296. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/lib/url/mocks.json +0 -0
  297. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/lib/url/routing.json +0 -0
  298. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/lib/url/test.js +0 -0
  299. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/lib/validator.js +0 -0
  300. /package/framework/{v0.1.2-alpha.5 → v0.1.4-alpha.1}/package.json +0 -0
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "version":3,
3
- "file":"/usr/local/lib/node_modules/gina/framework/v0.1.2-alpha.5/core/asset/plugin/dist/vendor/gina/js/gina.onload.min.js",
3
+ "file":"/usr/local/lib/node_modules/gina/framework/v0.1.4-alpha.1/core/asset/plugin/dist/vendor/gina/js/gina.onload.min.js",
4
4
  "lineCount":7,
5
5
  "mappings":"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",
6
- "sources":["/usr/local/lib/node_modules/gina/framework/v0.1.2-alpha.5/core/asset/plugin/src/vendor/gina/utils/loader.js"],
6
+ "sources":["/usr/local/lib/node_modules/gina/framework/v0.1.4-alpha.1/core/asset/plugin/src/vendor/gina/utils/loader.js"],
7
7
  "names":["window","gina","options","test","JSON","parse","decodeURIComponent","version","__defineGetter__","_this","Date","parseInt","getTime","timeout","bundle","routes","routing","re","RegExp","String","fromCharCode","route","location","search","href","slice","match","Array","isArray","length","matched","split","err","link","links","document","head","getElementsByTagName","i","len","found","cssPath","createElement","media","rel","type","headEls","existingLinks","console","debug","insertBefore","appendChild","Toolbar"]
8
8
  }
@@ -50,7 +50,7 @@ function Config(opt, contextResetNeeded) {
50
50
  setContext('projectName', opt.projectName || getContext('projectName'));
51
51
  setContext('bundle', opt.startingApp);
52
52
  // reset context
53
- resetContext()
53
+ resetContext();
54
54
  }
55
55
 
56
56
  // framework settings from homedir
@@ -81,15 +81,18 @@ function Config(opt, contextResetNeeded) {
81
81
  self.startingApp = opt.startingApp;
82
82
  self.executionPath = opt.executionPath; // project path
83
83
 
84
- self.task = opt.task || 'run'; // to be aible to filter later on non run task
84
+ self.task = opt.task || 'run'; // to be aible to filter later on non run task
85
85
 
86
86
  self.userConf = false;
87
- var path = _(self.executionPath + '/env.json');
87
+ var pathObj = new _(self.executionPath + '/env.json', true);
88
+ var path = pathObj.toString();
88
89
 
89
- if ( fs.existsSync(path) ) {
90
+ if ( pathObj.existsSync() ) {
90
91
  self.userConf = requireJSON(path);
91
92
  console.debug('Application config file loaded [' + path + ']');
92
93
  }
94
+ path = null;
95
+ pathObj = null;
93
96
 
94
97
  self.Env.parent = self;
95
98
  if (env != 'undefined') self.Env.set(env);
@@ -410,10 +413,10 @@ function Config(opt, contextResetNeeded) {
410
413
  },
411
414
  getDefault : function() {
412
415
  return {
413
- "env" : this.template.defEnv,
414
- "scope" : this.template.defScope,
415
- "ext" : this.template.defExt,
416
- "registeredEnvs" : this.template.registeredEnvs
416
+ "env" : this.template.defEnv,
417
+ "scope" : this.template.defScope,
418
+ "ext" : this.template.defExt,
419
+ "registeredEnvs" : this.template.registeredEnvs
417
420
  }
418
421
  }
419
422
  }
@@ -544,7 +547,8 @@ function Config(opt, contextResetNeeded) {
544
547
 
545
548
  var content = userConf,
546
549
  //if nothing to merge.
547
- newContent = JSON.parse( JSON.stringify(content) );
550
+ newContent = JSON.parse( JSON.stringify(content) )
551
+ ;
548
552
 
549
553
  var isStandalone = true,
550
554
  masterPort = null,
@@ -563,10 +567,12 @@ function Config(opt, contextResetNeeded) {
563
567
  self.projectName = ctx.config.projectName
564
568
  }
565
569
 
566
- //Pushing default app first.
570
+ // Pushing default app first.
567
571
  self.bundles.push(self.startingApp);//This is a JSON.push.
568
- var root = new _(self.executionPath).toUnixStyle();
569
- var manifest = null, pkg = null;
572
+ var root = new _(self.executionPath).toUnixStyle()
573
+ , manifest = null
574
+ , pkg = null
575
+ ;
570
576
  try {
571
577
  manifest = require(_(root + '/manifest.json', true));
572
578
  pkg = manifest.bundles;
@@ -575,11 +581,11 @@ function Config(opt, contextResetNeeded) {
575
581
  } catch (err) {
576
582
  console.error(err.stack);
577
583
 
578
- callback(err);
579
- } //bundlesPath will be default.
584
+ return callback(err);
585
+ }
580
586
 
581
587
 
582
- //For each app.
588
+ // For each app.
583
589
  var cacheless = self.isCacheless()
584
590
  , bundleSettings = null
585
591
  , bundHasSettings = true
@@ -589,8 +595,7 @@ function Config(opt, contextResetNeeded) {
589
595
  , p = null
590
596
  ;
591
597
 
592
- // getting bundle config files
593
-
598
+ // Getting bundle config files
594
599
  var configFiles = null
595
600
  , appPath = null
596
601
  , jsonFile = null
@@ -682,9 +687,10 @@ function Config(opt, contextResetNeeded) {
682
687
  files[name] = ( typeof(files[name]) != 'undefined' ) ? files[name] : {};
683
688
  let fileContent = files[name];
684
689
  // let filename = _(appPath + '/config/' + tmp);
685
- let filename = _(appPath + '/config/' + main);
690
+ let filenameObj = new _(appPath + '/config/' + main, true);
691
+ let filename = filenameObj.toString();
686
692
 
687
- exists = fs.existsSync(_(filename, true));
693
+ exists = filenameObj.existsSync();
688
694
  // loading env if exists
689
695
  if ( self.isCacheless() ) {
690
696
  if (exists) {
@@ -705,16 +711,17 @@ function Config(opt, contextResetNeeded) {
705
711
  }
706
712
  } catch (_err) {
707
713
  if (exists) {
708
- callback(new Error('[ ' + filename + ' ] is malformed !!'))
709
- } else {
710
- fileContent = undefined
714
+ return callback(new Error('[ ' + filename + ' ] is malformed !!'))
711
715
  }
716
+ fileContent = undefined;
712
717
  }
713
718
  // loading main
714
- filename = _(appPath + '/config/' + main);
719
+ filenameObj = new _(appPath + '/config/' + main, true);
720
+ filename = filenameObj.toString();
721
+ exists = filenameObj.existsSync();
715
722
  //Can't do anything without.
716
723
  try {
717
- exists = fs.existsSync(_(filename, true));
724
+
718
725
  if (cacheless && exists) {
719
726
  delete require.cache[require.resolve(_(filename, true))];
720
727
  }
@@ -732,13 +739,13 @@ function Config(opt, contextResetNeeded) {
732
739
  }
733
740
  } catch (_err) {
734
741
 
735
- if (fs.existsSync(filename)) {
742
+ if ( exists ) {
736
743
  let e = '[ ' + filename + ' ] is malformed !!\n\r' + (_err.stack || _err.message);
737
744
  console.error(e);
738
- callback(new Error(e))
739
- } else {
740
- fileContent = undefined
745
+ return callback(new Error(e))
741
746
  }
747
+
748
+ fileContent = undefined;
742
749
  }
743
750
 
744
751
  // tmp settings - because we need it now
@@ -842,12 +849,13 @@ function Config(opt, contextResetNeeded) {
842
849
  }
843
850
  //I had to for this one...
844
851
  appsPath = appsPath.replace(/\{executionPath\}/g, root);
845
-
852
+ let appsPathObj = new _(appsPath, true);
846
853
  //console.log("My env ", env, self.executionPath, JSON.stringify(template, null, '\t') );
847
854
  //Existing app and port sharing => != isStandalone.
848
- if ( !fs.existsSync(appsPath) ) {
849
- new _(appsPath).mkdirSync()
855
+ if ( !appsPathObj.existsSync() ) {
856
+ appsPathObj.mkdirSync()
850
857
  }
858
+ appsPathObj = null;
851
859
 
852
860
 
853
861
  newContent[app][env].port[ newContent[app][env].server.protocol ][ newContent[app][env].server.scheme ] = appPort;
@@ -923,7 +931,8 @@ function Config(opt, contextResetNeeded) {
923
931
  try {
924
932
  newContent = whisper(reps, newContent);
925
933
  } catch(contentErr) {
926
- console.emerg(contentErr.stack)
934
+ console.emerg(contentErr.stack);
935
+ return;
927
936
  }
928
937
 
929
938
  }
@@ -1227,18 +1236,46 @@ function Config(opt, contextResetNeeded) {
1227
1236
 
1228
1237
  var fileContent = null
1229
1238
  , allEnvs = self.getAllEnvs()
1230
- , foundEnvVersion = null
1231
1239
  ;
1232
1240
 
1233
1241
  // getting bundle config files
1234
- var configFiles = fs.readdirSync(_(appPath + '/config'))
1235
- , c = 0
1236
- , cLen = configFiles.length
1237
- , jsonFile = null
1238
- , e = null
1242
+ var configFiles = fs.readdirSync(_(appPath + '/config', true))
1243
+ , e = null
1244
+ , sharedConfigPathObj = new _(conf[bundle][env].sharedPath + '/config', true)
1245
+ , sharedconfigPath = null
1246
+ , sharedConfigFiles = []
1247
+ ;
1248
+
1249
+ if ( sharedConfigPathObj.existsSync() ) {
1250
+ sharedconfigPath = sharedConfigPathObj.toString();
1251
+ sharedConfigFiles = fs.readdirSync(sharedconfigPath);
1252
+ for (let i=0, len = sharedConfigFiles.length; i<len; i++) {
1253
+ let file = sharedConfigFiles[i];
1254
+
1255
+ if (
1256
+ /^\./.test(file)
1257
+ || /\s+copy$/i.test(file)
1258
+ ) {
1259
+ sharedConfigFiles.splice(i,1);
1260
+ i --;
1261
+ len--;
1262
+ continue;
1263
+ }
1264
+ // sharedConfigFiles[i] = _(sharedconfigPath +'/'+ file, true);
1265
+ // completing `configFiles` when file is listed in `sharedConfigFiles` but not in `configFiles`
1266
+ if ( configFiles.indexOf(file) < 0 ) {
1267
+ configFiles.push(file);
1268
+ }
1269
+ }
1270
+ }
1271
+ sharedConfigPathObj = null;
1272
+
1273
+ var c = 0
1274
+ , cLen = configFiles.length
1239
1275
  ;
1240
1276
  for (; c < cLen; ++c) {
1241
- foundEnvVersion = false;
1277
+ let jsonFile = null;
1278
+
1242
1279
  fName = configFiles[c];
1243
1280
  fNameWithNoExt = fName.replace(/.json/, '');
1244
1281
 
@@ -1249,6 +1286,7 @@ function Config(opt, contextResetNeeded) {
1249
1286
 
1250
1287
  // e.g: if env == `dev` and we have app.prod.json, we should skip it
1251
1288
  let skipIt = false;
1289
+ let foundEnvVersion = false;
1252
1290
  for (let e = 0, eLen = allEnvs.length; e < eLen; e++) {
1253
1291
  // *.dev.json or *.global.json
1254
1292
  let re = new RegExp('\.('+ allEnvs[e] +'|global)\.json$');
@@ -1269,7 +1307,7 @@ function Config(opt, contextResetNeeded) {
1269
1307
  continue;
1270
1308
 
1271
1309
  // e.g: if env == `dev` and we have app.dev.json
1272
- if (new RegExp('\.'+ env +'\.json$').test(fName) ) {
1310
+ if ( new RegExp('\.'+ env +'\.json$').test(fName) ) {
1273
1311
  foundEnvVersion = true;
1274
1312
  }
1275
1313
  //name = fName.replace(/\.json$/, '');
@@ -1288,13 +1326,26 @@ function Config(opt, contextResetNeeded) {
1288
1326
 
1289
1327
  filesList[name] = fName;
1290
1328
  // handle registered config files
1329
+ // Loading dev version
1291
1330
  main = fName;
1292
1331
  tmp = fName.replace(/.json/, '.' + env + '.json'); // dev
1293
1332
 
1294
1333
  files[name] = ( typeof(files[name]) != 'undefined' ) ? files[name] : {};
1295
1334
  fileContent = files[name];
1296
- filename = _(appPath + '/config/' + tmp);
1297
- exists = fs.existsSync(_(filename, true));
1335
+ let filenameObj = new _(appPath + '/config/' + tmp, true);
1336
+ filename = filenameObj.toString();
1337
+ exists = filenameObj.existsSync();
1338
+
1339
+ // In case the config is not found in the bundle, but exists in shared config
1340
+ let sharedFilesIndex = sharedConfigFiles.indexOf(tmp);
1341
+ if (!exists && sharedFilesIndex > -1) {
1342
+ filenameObj = new _( sharedconfigPath +'/'+ tmp, true);
1343
+ filename = filenameObj.toString();
1344
+ exists = filenameObj.existsSync();
1345
+ // remove entry from `sharedConfigFiles` list
1346
+ sharedConfigFiles.splice(sharedFilesIndex,1);
1347
+ }
1348
+ filenameObj = null;
1298
1349
  // loading dev if exists
1299
1350
  if ( self.isCacheless() ) {
1300
1351
  if (exists) {
@@ -1303,50 +1354,80 @@ function Config(opt, contextResetNeeded) {
1303
1354
  }
1304
1355
 
1305
1356
  try {
1306
- if (exists) {
1357
+
1358
+ if (!exists) {
1359
+ jsonFile = null;
1360
+ } else {
1307
1361
  jsonFile = requireJSON(_(filename, true));
1362
+
1308
1363
  if (Array.isArray(jsonFile) && !Array.isArray(fileContent) && !Object.keys(fileContent).length) {
1309
1364
  fileContent = []
1310
1365
  }
1311
1366
  // Fixed priority to env version and/or extended.description if found
1312
1367
  fileContent = merge(jsonFile, fileContent);
1313
1368
  }
1369
+
1314
1370
  } catch (_err) {
1315
1371
  if (exists) {
1316
- callback(new Error('[ ' + filename + ' ] is malformed !!'))
1317
- } else {
1318
- fileContent = undefined
1372
+ return callback(new Error('[ ' + filename + ' ] is malformed !!'))
1319
1373
  }
1374
+ fileContent = undefined
1320
1375
  }
1321
1376
  // loading main
1322
- filename = _(appPath + '/config/' + main, true);
1377
+ filenameObj = new _(appPath + '/config/' + main, true);
1378
+ filename = filenameObj.toString();
1379
+ exists = filenameObj.existsSync();
1380
+
1381
+ // In case the config is not found in the bundle, but exists in shared config
1382
+ sharedFilesIndex = sharedConfigFiles.indexOf(main);
1383
+ if (!exists && sharedFilesIndex > -1) {
1384
+ filenameObj = new _( sharedconfigPath +'/'+ main, true);
1385
+ filename = filenameObj.toString();
1386
+ exists = filenameObj.existsSync();
1387
+ // remove entry from `sharedConfigFiles` list
1388
+ // sharedConfigFiles.splice(sharedFilesIndex,1);
1389
+ }
1390
+ filenameObj = null;
1391
+
1392
+
1323
1393
  //Can't do anything without.
1324
1394
  try {
1325
- exists = fs.existsSync(_(filename, true));
1326
1395
  if (cacheless && exists) {
1327
1396
  delete require.cache[require.resolve(_(filename, true))];
1328
1397
  }
1329
1398
 
1330
- if (exists) {
1331
- jsonFile = requireJSON(_(filename, true));
1332
- if (Array.isArray(jsonFile) && !Array.isArray(fileContent) && !Object.keys(fileContent).length) {
1333
- fileContent = []
1334
- }
1335
- //fileContent = merge(fileContent, jsonFile);
1336
- // Fixed priority to env version and/or extended.description if found
1337
- fileContent = merge(jsonFile, fileContent);
1338
- } else {
1399
+ if (!exists) {
1339
1400
  console.warn('[ ' + app + ' ] [ ' + env + ' ]' + new Error('[ ' + filename + ' ] not found'));
1401
+ } else {
1402
+ jsonFile = requireJSON(_(filename, true));
1403
+ }
1404
+
1405
+ // sharedFilesIndex = sharedConfigFiles.indexOf(main);
1406
+ if ( sharedFilesIndex > -1) {
1407
+ let sharedMain = requireJSON(_( sharedconfigPath +'/'+ main, true));
1408
+ jsonFile = merge(sharedMain, jsonFile, true);
1409
+ sharedMain = null;
1410
+ sharedConfigFiles.splice(sharedFilesIndex, 1);
1411
+ }
1412
+ sharedFilesIndex = null;
1413
+
1414
+ if (Array.isArray(jsonFile) && !Array.isArray(fileContent) && !Object.keys(fileContent).length) {
1415
+ fileContent = []
1340
1416
  }
1417
+ //fileContent = merge(fileContent, jsonFile);
1418
+ // Fixed priority to env version and/or extended.description if found
1419
+ fileContent = merge(jsonFile, fileContent);
1420
+
1421
+
1341
1422
  } catch (_err) {
1342
1423
 
1343
- if (fs.existsSync(filename)) {
1424
+ if (exists) {
1344
1425
  e = '[ ' + filename + ' ] is malformed !!\n\r' + (_err.stack || _err.message);
1345
1426
  console.error(e);
1346
- callback(new Error(e))
1347
- } else {
1348
- fileContent = undefined
1427
+ return callback(new Error(e))
1349
1428
  }
1429
+
1430
+ fileContent = undefined
1350
1431
  }
1351
1432
 
1352
1433
  if (section != '' ) {
@@ -1375,19 +1456,41 @@ function Config(opt, contextResetNeeded) {
1375
1456
  }
1376
1457
 
1377
1458
  // routing.global.json
1378
- let globalMiddlewares = null;
1459
+ let globalMiddlewares = [];
1379
1460
  let globalMiddlewaresPathObj = new _(appPath + '/config/routing.global.json', true);
1380
1461
  if ( globalMiddlewaresPathObj.existsSync() ) {
1381
1462
  globalMiddlewares = requireJSON(globalMiddlewaresPathObj.toUnixStyle()).middleware;
1382
1463
  }
1383
- globalMiddlewaresPathObj = null;
1464
+ sharedFilesIndex = sharedConfigFiles.indexOf('routing.global.json');
1465
+ if ( sharedFilesIndex > -1) {
1466
+ let sharedGlobalMiddlewaresPathObj = new _(sharedconfigPath + '/routing.global.json', true);
1467
+ let sharedGlobalMiddlewares = null;
1468
+ try {
1469
+ sharedGlobalMiddlewares = requireJSON(sharedGlobalMiddlewaresPathObj.toUnixStyle());
1470
+ globalMiddlewares = merge(globalMiddlewares, sharedGlobalMiddlewares.middleware);
1471
+ sharedConfigFiles.splice(sharedFilesIndex, 1);
1472
+ sharedGlobalMiddlewaresPathObj = null;
1473
+ sharedGlobalMiddlewares = null;
1474
+ } catch (_err) {
1475
+
1476
+ if ( sharedGlobalMiddlewaresPathObj.existsSync() ) {
1477
+ e = '[ ' + sharedGlobalMiddlewaresPathObj.toUnixStyle() + ' ] is malformed !!\n\r' + (_err.stack || _err.message);
1478
+ console.error(e);
1479
+ return callback(new Error(e))
1480
+ }
1481
+ }
1482
+ }
1483
+ sharedFilesIndex = null;
1384
1484
 
1385
1485
 
1386
1486
  name = 'routing';
1387
1487
  routing = files[name];
1388
- var r = null, rLen = null;
1389
- //setting app param
1390
- var urls = null;
1488
+ var r = null
1489
+ , rLen = null
1490
+ , urls = null
1491
+ ;
1492
+
1493
+ // Setting app param
1391
1494
  // bundle status
1392
1495
  routing['bundle-status'] = {
1393
1496
  url: '/_status',
@@ -1403,7 +1506,7 @@ function Config(opt, contextResetNeeded) {
1403
1506
  url: '/custom-error',
1404
1507
  method: 'GET',
1405
1508
  middleware: [],
1406
- middlewareIgnored: ['shared.middlewares.global.checkScope'],
1509
+ middlewareIgnored: [],
1407
1510
  param: {
1408
1511
  control: 'renderCustomError',
1409
1512
  // default data : will be fed on error
@@ -1663,7 +1766,8 @@ function Config(opt, contextResetNeeded) {
1663
1766
 
1664
1767
  var corePath = getPath('gina').core;
1665
1768
  var settingsPath = _(corePath +'/template/conf/settings.json', true);
1666
- var staticsPath = _(corePath +'/template/conf/statics.json', true);
1769
+ var staticsPathObj = new _(corePath +'/template/conf/statics.json', true);
1770
+ var staticsPath = staticsPathObj.toString();
1667
1771
  var viewsPath = _(corePath +'/template/conf/templates.json', true);
1668
1772
 
1669
1773
  var defaultViews = requireJSON(viewsPath);
@@ -1678,10 +1782,13 @@ function Config(opt, contextResetNeeded) {
1678
1782
  reps[p+'Port'] = ports[p]
1679
1783
  }
1680
1784
 
1681
- var localEnv = conf[bundle][env].executionPath + '/env.local.json';
1682
- if ( self.isCacheless() && fs.existsSync(localEnv) ) {
1683
- conf[bundle][env] = merge(conf[bundle][env], requireJSON(localEnv), true);
1785
+ var localEnvPathObj = new _(conf[bundle][env].executionPath + '/env.local.json', true);
1786
+ var localEnvPath = localEnvPathObj.toString();
1787
+ if ( self.isCacheless() && localEnvPathObj.existsSync() ) {
1788
+ conf[bundle][env] = merge(conf[bundle][env], requireJSON(localEnvPath), true);
1684
1789
  }
1790
+ localEnvPath = null;
1791
+ localEnvPathObj = null;
1685
1792
  var envKeys = conf[bundle][env];
1686
1793
  for (let k in envKeys) {
1687
1794
  if ( typeof(envKeys[k]) != 'object' && typeof(envKeys[k]) != 'array' ) {
@@ -1704,8 +1811,9 @@ function Config(opt, contextResetNeeded) {
1704
1811
  // files['settings'] = merge(files['settings'], defaultSettings)
1705
1812
  }
1706
1813
 
1707
- if (fs.existsSync(staticsPath))
1814
+ if ( staticsPathObj.existsSync() ) {
1708
1815
  delete require.cache[require.resolve(staticsPath)];
1816
+ }
1709
1817
 
1710
1818
 
1711
1819
  if (hasViews && typeof(files['statics']) == 'undefined') {
@@ -1731,14 +1839,20 @@ function Config(opt, contextResetNeeded) {
1731
1839
  , dirsOrFiles = null
1732
1840
  , pCount = 0
1733
1841
  , sCount = 0
1842
+ , publicPathObj = (conf[bundle][env].publicPath) ? new _(conf[bundle][env].publicPath, true) : null
1843
+ , publicPath = (publicPathObj) ? publicPathObj.toString() : null
1734
1844
  ;
1735
- if (conf[bundle][env].publicPath && fs.existsSync(conf[bundle][env].publicPath) ) {
1845
+ if (
1846
+ publicPath
1847
+ && publicPathObj
1848
+ && publicPathObj.existsSync()
1849
+ ) {
1736
1850
  var publicResources = []
1737
- , lStat = null
1851
+ , lStat = null
1738
1852
  ;
1739
1853
 
1740
1854
  d = 0;
1741
- dirsOrFiles = fs.readdirSync(conf[bundle][env].publicPath);
1855
+ dirsOrFiles = fs.readdirSync(publicPath);
1742
1856
  // ignoring html (template files) directory
1743
1857
  //dirsOrFiles.splice(dirsOrFiles.indexOf(new _(reps.html, true).toArray().last()), 1);
1744
1858
 
@@ -1748,7 +1862,7 @@ function Config(opt, contextResetNeeded) {
1748
1862
  ++d;
1749
1863
  continue;
1750
1864
  }
1751
- lStat = fs.lstatSync(_(conf[bundle][env].publicPath +'/'+ dirsOrFiles[d], true));
1865
+ lStat = fs.lstatSync(_(publicPath +'/'+ dirsOrFiles[d], true));
1752
1866
  if ( lStat.isDirectory() ) {
1753
1867
  // regular path
1754
1868
  publicResources[pCount] = '/'+ dirsOrFiles[d] +'/';
@@ -1791,10 +1905,12 @@ function Config(opt, contextResetNeeded) {
1791
1905
  staticToPublicPath = null;
1792
1906
  }
1793
1907
 
1794
- conf[bundle][env].publicResources = publicResources
1908
+ conf[bundle][env].publicResources = publicResources;
1795
1909
  } else if (hasViews) {
1796
1910
  console.warn('['+bundle+'] No public dir to scan...')
1797
1911
  }
1912
+ publicPathObj = null;
1913
+ publicPath = null;
1798
1914
 
1799
1915
 
1800
1916
  if (hasViews && typeof(files['templates']) == 'undefined') {
@@ -1840,7 +1956,7 @@ function Config(opt, contextResetNeeded) {
1840
1956
  if (!/^_common$/.test(section) ) continue;
1841
1957
 
1842
1958
  // inheriting from defaultViews - gina _common
1843
- files['templates'][section] = merge(files['templates'][section], defaultViews[section]);
1959
+ files['templates'][section] = merge.setKeyComparison('name')(files['templates'][section], defaultViews[section]);
1844
1960
  // updating javascripts & css order
1845
1961
  noneDefaultJs = (files['templates'][section].javascripts) ? JSON.clone(files['templates'][section].javascripts) : [];
1846
1962
  noneDefaultCss = (files['templates'][section].stylesheets) ? JSON.clone(files['templates'][section].stylesheets) : [];
@@ -1944,7 +2060,9 @@ function Config(opt, contextResetNeeded) {
1944
2060
 
1945
2061
  if (!files['templates'][section].javascriptsExcluded) {
1946
2062
  // merging with common javascript def
1947
- noneDefaultJs = merge.setKeyComparison('url')(files['templates']._common.javascripts, noneDefaultJs, true);
2063
+ // noneDefaultJs = merge.setKeyComparison('url')(files['templates']._common.javascripts, noneDefaultJs, true);
2064
+ // Fixed on 2023-07-15 - after mergeArray() fix.
2065
+ noneDefaultJs = merge.setKeyComparison('url')(noneDefaultJs, files['templates']._common.javascripts);
1948
2066
  }
1949
2067
  // adding gina def
1950
2068
  if ( !files['templates'][section].javascriptsExcluded || files['templates'][section].javascriptsExcluded != '**' ) {
@@ -1954,7 +2072,9 @@ function Config(opt, contextResetNeeded) {
1954
2072
 
1955
2073
  if (!files['templates'][section].stylesheetsExcluded) {
1956
2074
  // merging with common stylesheets def
1957
- noneDefaultCss = merge.setKeyComparison('url')(files['templates']._common.stylesheets, noneDefaultCss, true);
2075
+ // noneDefaultCss = merge.setKeyComparison('url')(files['templates']._common.stylesheets, noneDefaultCss, true);
2076
+ // Fixed on 2023-07-15 - after mergeArray() fix.
2077
+ noneDefaultCss = merge.setKeyComparison('url')(noneDefaultCss, files['templates']._common.stylesheets);
1958
2078
  }
1959
2079
  // adding gina def
1960
2080
  if ( !files['templates'][section].stylesheetsExcluded || files['templates'][section].stylesheetsExcluded != '**' ) {
@@ -2083,7 +2203,7 @@ function Config(opt, contextResetNeeded) {
2083
2203
  pCount = conf[bundle][env].publicResources.length || 0;
2084
2204
  sCount = conf[bundle][env].staticResources.length || 0;
2085
2205
 
2086
- for (var i in files['statics']) {
2206
+ for (let i in files['statics']) {
2087
2207
  if (!/^\//.test(i) ) {
2088
2208
  files['statics'][ '/'+ i ] = files['statics'][i];
2089
2209
  delete files['statics'][i];
@@ -2114,24 +2234,13 @@ function Config(opt, contextResetNeeded) {
2114
2234
 
2115
2235
  files = whisper(reps, files);
2116
2236
 
2117
- // favicons rewrite - Not needed anymore
2118
- // var faviconsPath = files['statics'][ ( (_wroot) ? _wroot +'/' : '' ) + 'favicons'];
2119
- // if ( hasViews && typeof(files['statics']) != 'undefiened' && fs.existsSync( faviconsPath ) ) {
2120
- // var favFiles = fs.readdirSync(faviconsPath);
2121
- // for (var f = 0, fLen = favFiles.length; f < fLen; ++f) {
2122
- // if ( !/^\./.test(favFiles[f]) )
2123
- // files['statics'][ ( (_wroot) ? _wroot +'/' : '' ) + favFiles[f] ] = faviconsPath +'/'+ favFiles[f];
2124
- // }
2125
- // }
2126
-
2127
-
2128
2237
  if (hasViews) {
2129
2238
  // loading forms rules
2130
2239
  if (typeof(files['templates']._common.forms) != 'undefined') {
2131
2240
  try {
2132
- files['forms'] = loadForms(files['templates']._common.forms)
2241
+ files['forms'] = loadForms(files['templates']._common.forms);
2133
2242
  } catch (err) {
2134
- callback(err)
2243
+ return callback(err);
2135
2244
  }
2136
2245
  }
2137
2246
 
@@ -2168,7 +2277,6 @@ function Config(opt, contextResetNeeded) {
2168
2277
  htmlErrorsFromPath(files['templates']._common.html+ '/errors');
2169
2278
  // Then, look into shared without overriding existing
2170
2279
  htmlErrorsFromPath(conf[bundle][env].sharedPath + '/errors');
2171
-
2172
2280
  }
2173
2281
  }
2174
2282
 
@@ -2191,8 +2299,6 @@ function Config(opt, contextResetNeeded) {
2191
2299
 
2192
2300
  files['templates']._common.ginaLoader = scriptTag;
2193
2301
 
2194
- // files['templates']._common.ginaLoader = whisper(reps, files['templates']._common.ginaLoader);
2195
-
2196
2302
  } catch (err) {
2197
2303
  callback(err)
2198
2304
  }
@@ -2246,41 +2352,23 @@ function Config(opt, contextResetNeeded) {
2246
2352
  }
2247
2353
  }
2248
2354
 
2249
- // Todo - browseDirectory -> returns a collection of files & folders paths, unless it is handled by http/2
2250
- // Will be useful to generate cache
2251
- // var browseDirectory = function(filename, list, i, len) {
2252
-
2253
- // var name = filename.substring(filename.lastIndexOf('/') +1)
2254
- // , location = filename.replace( new RegExp(name+'$'))
2255
- // , obj = {
2256
- // name: name,
2257
- // location: location,
2258
- // isDir: fs.statSync(filename).isDirectory()
2259
- // }
2260
- // , list = (typeof(list) != 'undefined') ? list : []
2261
- // , i = (typeof(i) != 'undefined') ? i : 0
2262
- // , len = (typeof(len) != 'undefined') ? len : 0
2263
- // ;
2264
-
2265
- // if (i == 0 && obj.isDir) { //root
2266
- // var files = fs.readdirSync(filename);
2267
- // len = files.length;
2268
- // }
2269
-
2270
- // }
2271
2355
 
2272
2356
  var loadForms = function(formsDir) {
2273
- var forms = { rules: {}}, cacheless = self.isCacheless(), root = '';
2357
+ var forms = { rules: {}}
2358
+ , cacheless = self.isCacheless()
2359
+ , root = ''
2360
+ ;
2274
2361
 
2275
- if ( fs.existsSync(formsDir) ) {
2362
+ if ( new _(formsDir, true).existsSync() ) {
2276
2363
  root = ''+formsDir;
2277
2364
  // browsing dir
2278
2365
  var readDir = function (dir, forms, key, previousKey) {
2279
2366
  var files = fs.readdirSync(dir)
2280
2367
  , filename = ''
2281
- , k = null;
2368
+ , k = null
2369
+ ;
2282
2370
 
2283
- for (var i = 0, len = files.length; i < len; ++i) {
2371
+ for (let i = 0, len = files.length; i < len; ++i) {
2284
2372
  if ( !/^\./.test(files[i]) ) {
2285
2373
  filename = _(dir + '/' + files[i], true);
2286
2374