gina 0.3.2 → 0.3.3

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 (510) hide show
  1. package/CHANGELOG.md +29 -0
  2. package/README.md +18 -8
  3. package/ROADMAP.md +10 -9
  4. package/framework/v0.3.3/VERSION +1 -0
  5. package/framework/{v0.3.2 → v0.3.3}/core/asset/plugin/README.md +7 -8
  6. package/framework/{v0.3.2 → v0.3.3}/core/asset/plugin/dist/vendor/gina/html/toolbar.html +1 -1
  7. package/framework/v0.3.3/core/asset/plugin/dist/vendor/gina/html/toolbar.html.br +0 -0
  8. package/framework/v0.3.3/core/asset/plugin/dist/vendor/gina/html/toolbar.html.gz +0 -0
  9. package/framework/{v0.3.2 → v0.3.3}/core/asset/plugin/dist/vendor/gina/inspector/inspector.css +2 -0
  10. package/framework/{v0.3.2 → v0.3.3}/core/asset/plugin/dist/vendor/gina/inspector/inspector.js +103 -0
  11. package/framework/{v0.3.2 → v0.3.3}/core/asset/plugin/dist/vendor/gina/js/gina.js +293 -201
  12. package/framework/v0.3.3/core/asset/plugin/dist/vendor/gina/js/gina.min.js +21636 -0
  13. package/framework/v0.3.3/core/asset/plugin/dist/vendor/gina/js/gina.min.js.br +0 -0
  14. package/framework/v0.3.3/core/asset/plugin/dist/vendor/gina/js/gina.min.js.gz +0 -0
  15. package/framework/v0.3.3/core/asset/plugin/dist/vendor/gina/js/gina.onload.min.js +286 -0
  16. package/framework/v0.3.3/core/asset/plugin/dist/vendor/gina/js/gina.onload.min.js.br +0 -0
  17. package/framework/v0.3.3/core/asset/plugin/dist/vendor/gina/js/gina.onload.min.js.gz +0 -0
  18. package/framework/{v0.3.2 → v0.3.3}/core/config.js +6 -1
  19. package/framework/{v0.3.2 → v0.3.3}/core/connectors/mysql/index.js +52 -0
  20. package/framework/{v0.3.2 → v0.3.3}/core/connectors/postgresql/index.js +45 -0
  21. package/framework/{v0.3.2 → v0.3.3}/core/connectors/sqlite/index.js +46 -0
  22. package/framework/{v0.3.2 → v0.3.3}/core/controller/controller.js +1 -1
  23. package/framework/{v0.3.2 → v0.3.3}/core/deps/busboy-1.6.0/lib/types/multipart.js +2 -1
  24. package/framework/v0.3.3/core/deps/streamsearch-1.1.0/LICENSE +19 -0
  25. package/framework/v0.3.3/core/deps/streamsearch-1.1.0/lib/sbmh.js +267 -0
  26. package/framework/v0.3.3/core/deps/streamsearch-1.1.0/package.json +34 -0
  27. package/framework/{v0.3.2 → v0.3.3}/core/gna.js +30 -30
  28. package/framework/{v0.3.2 → v0.3.3}/core/plugins/lib/storage/src/main.js +3 -3
  29. package/framework/{v0.3.2 → v0.3.3}/core/plugins/lib/validator/src/main.js +34 -29
  30. package/framework/{v0.3.2 → v0.3.3}/core/server.isaac.js +77 -13
  31. package/framework/{v0.3.2 → v0.3.3}/core/server.js +66 -18
  32. package/framework/{v0.3.2 → v0.3.3}/helpers/json/src/main.js +14 -1
  33. package/framework/{v0.3.2 → v0.3.3}/lib/cache/src/main.js +2 -2
  34. package/framework/{v0.3.2 → v0.3.3}/lib/cmd/aliases.json +3 -0
  35. package/framework/{v0.3.2 → v0.3.3}/lib/cmd/bundle/arguments.json +2 -1
  36. package/framework/{v0.3.2 → v0.3.3}/lib/cmd/bundle/help.txt +21 -1
  37. package/framework/v0.3.3/lib/cmd/bundle/oas.js +6 -0
  38. package/framework/v0.3.3/lib/cmd/bundle/openapi.js +519 -0
  39. package/framework/{v0.3.2 → v0.3.3}/lib/cmd/bundle/start.js +4 -1
  40. package/framework/v0.3.3/lib/cmd/framework/get.js +98 -0
  41. package/framework/{v0.3.2 → v0.3.3}/lib/cmd/framework/help.txt +8 -3
  42. package/framework/{v0.3.2 → v0.3.3}/lib/cmd/port/help.txt +7 -2
  43. package/framework/v0.3.3/lib/cmd/port/set.js +348 -0
  44. package/framework/{v0.3.2 → v0.3.3}/lib/collection/src/main.js +4 -4
  45. package/framework/{v0.3.2 → v0.3.3}/lib/index.js +1 -0
  46. package/framework/{v0.3.2 → v0.3.3}/lib/logger/src/containers/mq/listener.js +2 -2
  47. package/framework/v0.3.3/lib/uuid/package.json +7 -0
  48. package/framework/v0.3.3/lib/uuid/src/main.js +99 -0
  49. package/framework/v0.3.3/package.json +8 -0
  50. package/gna.js +86 -0
  51. package/llms.txt +94 -4
  52. package/package.json +107 -101
  53. package/types/globals.d.ts +205 -0
  54. package/types/gna.d.ts +67 -0
  55. package/types/index.d.ts +566 -0
  56. package/framework/v0.3.2/VERSION +0 -1
  57. package/framework/v0.3.2/core/asset/plugin/dist/vendor/gina/html/toolbar.html.br +0 -0
  58. package/framework/v0.3.2/core/asset/plugin/dist/vendor/gina/html/toolbar.html.gz +0 -0
  59. package/framework/v0.3.2/core/asset/plugin/dist/vendor/gina/js/gina.min.js +0 -532
  60. package/framework/v0.3.2/core/asset/plugin/dist/vendor/gina/js/gina.min.js.br +0 -0
  61. package/framework/v0.3.2/core/asset/plugin/dist/vendor/gina/js/gina.min.js.gz +0 -0
  62. package/framework/v0.3.2/core/asset/plugin/dist/vendor/gina/js/gina.onload.min.js +0 -8
  63. package/framework/v0.3.2/core/asset/plugin/dist/vendor/gina/js/gina.onload.min.js.br +0 -0
  64. package/framework/v0.3.2/core/asset/plugin/dist/vendor/gina/js/gina.onload.min.js.gz +0 -0
  65. package/framework/v0.3.2/core/deps/swig-1.4.2/CONTRIBUTING.md +0 -107
  66. package/framework/v0.3.2/core/deps/swig-1.4.2/HISTORY.md +0 -498
  67. package/framework/v0.3.2/core/deps/swig-1.4.2/LICENSE +0 -7
  68. package/framework/v0.3.2/core/deps/swig-1.4.2/Makefile +0 -192
  69. package/framework/v0.3.2/core/deps/swig-1.4.2/README.md +0 -88
  70. package/framework/v0.3.2/core/deps/swig-1.4.2/bin/swig.js +0 -161
  71. package/framework/v0.3.2/core/deps/swig-1.4.2/browser/comments.js +0 -2
  72. package/framework/v0.3.2/core/deps/swig-1.4.2/browser/index.js +0 -9
  73. package/framework/v0.3.2/core/deps/swig-1.4.2/dist/swig.min.js +0 -7
  74. package/framework/v0.3.2/core/deps/swig-1.4.2/docs/docs/api.html +0 -136
  75. package/framework/v0.3.2/core/deps/swig-1.4.2/docs/docs/browser.html +0 -36
  76. package/framework/v0.3.2/core/deps/swig-1.4.2/docs/docs/cli.html +0 -64
  77. package/framework/v0.3.2/core/deps/swig-1.4.2/docs/docs/extending.html +0 -183
  78. package/framework/v0.3.2/core/deps/swig-1.4.2/docs/docs/filters.html +0 -97
  79. package/framework/v0.3.2/core/deps/swig-1.4.2/docs/docs/includes/TYPES.html +0 -0
  80. package/framework/v0.3.2/core/deps/swig-1.4.2/docs/docs/includes/macros.html +0 -9
  81. package/framework/v0.3.2/core/deps/swig-1.4.2/docs/docs/index.html +0 -212
  82. package/framework/v0.3.2/core/deps/swig-1.4.2/docs/docs/layout.html +0 -43
  83. package/framework/v0.3.2/core/deps/swig-1.4.2/docs/docs/loaders.html +0 -106
  84. package/framework/v0.3.2/core/deps/swig-1.4.2/docs/docs/previous.html +0 -25
  85. package/framework/v0.3.2/core/deps/swig-1.4.2/docs/docs/tags.html +0 -72
  86. package/framework/v0.3.2/core/deps/swig-1.4.2/docs/docs.json +0 -3
  87. package/framework/v0.3.2/core/deps/swig-1.4.2/docs/index.html +0 -98
  88. package/framework/v0.3.2/core/deps/swig-1.4.2/docs/index.json +0 -3
  89. package/framework/v0.3.2/core/deps/swig-1.4.2/docs/js/lib/rainbow.min.js +0 -11
  90. package/framework/v0.3.2/core/deps/swig-1.4.2/docs/js/master.js +0 -106
  91. package/framework/v0.3.2/core/deps/swig-1.4.2/docs/layouts/html5.html +0 -25
  92. package/framework/v0.3.2/core/deps/swig-1.4.2/docs/layouts/master.html +0 -59
  93. package/framework/v0.3.2/core/deps/swig-1.4.2/docs/less/button.less +0 -22
  94. package/framework/v0.3.2/core/deps/swig-1.4.2/docs/less/fork.less +0 -23
  95. package/framework/v0.3.2/core/deps/swig-1.4.2/docs/less/header.less +0 -61
  96. package/framework/v0.3.2/core/deps/swig-1.4.2/docs/less/layout.less +0 -96
  97. package/framework/v0.3.2/core/deps/swig-1.4.2/docs/less/mixins.less +0 -268
  98. package/framework/v0.3.2/core/deps/swig-1.4.2/docs/less/rainbow.less +0 -58
  99. package/framework/v0.3.2/core/deps/swig-1.4.2/docs/less/reset.less +0 -250
  100. package/framework/v0.3.2/core/deps/swig-1.4.2/docs/less/sidenav.less +0 -16
  101. package/framework/v0.3.2/core/deps/swig-1.4.2/docs/less/swig.less +0 -124
  102. package/framework/v0.3.2/core/deps/swig-1.4.2/docs/less/variables.less +0 -42
  103. package/framework/v0.3.2/core/deps/swig-1.4.2/index.js +0 -1
  104. package/framework/v0.3.2/core/deps/swig-1.4.2/lib/dateformatter.js +0 -198
  105. package/framework/v0.3.2/core/deps/swig-1.4.2/lib/filters.js +0 -630
  106. package/framework/v0.3.2/core/deps/swig-1.4.2/lib/lexer.js +0 -306
  107. package/framework/v0.3.2/core/deps/swig-1.4.2/lib/loaders/filesystem.js +0 -59
  108. package/framework/v0.3.2/core/deps/swig-1.4.2/lib/loaders/index.js +0 -53
  109. package/framework/v0.3.2/core/deps/swig-1.4.2/lib/loaders/memory.js +0 -63
  110. package/framework/v0.3.2/core/deps/swig-1.4.2/lib/parser.js +0 -744
  111. package/framework/v0.3.2/core/deps/swig-1.4.2/lib/swig.js +0 -740
  112. package/framework/v0.3.2/core/deps/swig-1.4.2/lib/tags/autoescape.js +0 -37
  113. package/framework/v0.3.2/core/deps/swig-1.4.2/lib/tags/block.js +0 -25
  114. package/framework/v0.3.2/core/deps/swig-1.4.2/lib/tags/else.js +0 -25
  115. package/framework/v0.3.2/core/deps/swig-1.4.2/lib/tags/elseif.js +0 -28
  116. package/framework/v0.3.2/core/deps/swig-1.4.2/lib/tags/extends.js +0 -19
  117. package/framework/v0.3.2/core/deps/swig-1.4.2/lib/tags/filter.js +0 -68
  118. package/framework/v0.3.2/core/deps/swig-1.4.2/lib/tags/for.js +0 -130
  119. package/framework/v0.3.2/core/deps/swig-1.4.2/lib/tags/if.js +0 -86
  120. package/framework/v0.3.2/core/deps/swig-1.4.2/lib/tags/import.js +0 -91
  121. package/framework/v0.3.2/core/deps/swig-1.4.2/lib/tags/include.js +0 -100
  122. package/framework/v0.3.2/core/deps/swig-1.4.2/lib/tags/index.js +0 -16
  123. package/framework/v0.3.2/core/deps/swig-1.4.2/lib/tags/macro.js +0 -79
  124. package/framework/v0.3.2/core/deps/swig-1.4.2/lib/tags/parent.js +0 -51
  125. package/framework/v0.3.2/core/deps/swig-1.4.2/lib/tags/raw.js +0 -23
  126. package/framework/v0.3.2/core/deps/swig-1.4.2/lib/tags/set.js +0 -109
  127. package/framework/v0.3.2/core/deps/swig-1.4.2/lib/tags/spaceless.js +0 -42
  128. package/framework/v0.3.2/core/deps/swig-1.4.2/lib/utils.js +0 -184
  129. package/framework/v0.3.2/core/deps/swig-1.4.2/package.json +0 -41
  130. package/framework/v0.3.2/core/deps/swig-1.4.2/scripts/config-lint.js +0 -41
  131. package/framework/v0.3.2/core/deps/swig-1.4.2/scripts/githooks/post-merge +0 -3
  132. package/framework/v0.3.2/core/deps/swig-1.4.2/scripts/githooks/pre-commit +0 -59
  133. package/framework/v0.3.2/core/deps/swig-1.4.2/tests/basic.test.js +0 -296
  134. package/framework/v0.3.2/core/deps/swig-1.4.2/tests/bin/bin.filters.js +0 -3
  135. package/framework/v0.3.2/core/deps/swig-1.4.2/tests/bin/bin.locals.js +0 -5
  136. package/framework/v0.3.2/core/deps/swig-1.4.2/tests/bin/bin.locals.json +0 -7
  137. package/framework/v0.3.2/core/deps/swig-1.4.2/tests/bin/bin.tags.js +0 -15
  138. package/framework/v0.3.2/core/deps/swig-1.4.2/tests/bin/bin.test.js +0 -159
  139. package/framework/v0.3.2/core/deps/swig-1.4.2/tests/bin/custom_filter.bin.html +0 -1
  140. package/framework/v0.3.2/core/deps/swig-1.4.2/tests/bin/custom_tag.bin.html +0 -1
  141. package/framework/v0.3.2/core/deps/swig-1.4.2/tests/bin/custom_tagControls.bin.html +0 -1
  142. package/framework/v0.3.2/core/deps/swig-1.4.2/tests/bin/custom_varControls.bin.html +0 -1
  143. package/framework/v0.3.2/core/deps/swig-1.4.2/tests/bin/options.js +0 -3
  144. package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/extends_1.expectation.html +0 -6
  145. package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/extends_1.test.html +0 -3
  146. package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/extends_2.expectation.html +0 -6
  147. package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/extends_2.test.html +0 -5
  148. package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/extends_base.html +0 -6
  149. package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/extends_layouts/extends_4.base.html +0 -1
  150. package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/extends_layouts/extends_4.middle.html +0 -2
  151. package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/extends_layouts/extends_bare.html +0 -2
  152. package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/extends_layouts/extends_base.html +0 -3
  153. package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/extends_layouts/extends_include.html +0 -3
  154. package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/extends_layouts/extends_real_base.html +0 -1
  155. package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/extends_set.expectation.html +0 -6
  156. package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/extends_set.test.html +0 -4
  157. package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/extends_tests/extends_3.expectation.html +0 -1
  158. package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/extends_tests/extends_3.test.html +0 -3
  159. package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/extends_tests/extends_4.expectation.html +0 -1
  160. package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/extends_tests/extends_4.test.html +0 -2
  161. package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/import.expectation.html +0 -24
  162. package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/import.test.html +0 -10
  163. package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/include.expectation.html +0 -24
  164. package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/include.test.html +0 -13
  165. package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/include_bar.html +0 -1
  166. package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/include_extends.expectation.html +0 -4
  167. package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/include_extends.test.html +0 -1
  168. package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/includes.html +0 -1
  169. package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/macros.expectation.html +0 -8
  170. package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/macros.html +0 -23
  171. package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/macros.test.html +0 -11
  172. package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/nested_blocks.expectation.html +0 -3
  173. package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/nested_blocks.test.html +0 -3
  174. package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/nested_blocks_parent.html +0 -3
  175. package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/parent-parent.expectation.html +0 -8
  176. package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/parent-parent.test.html +0 -1
  177. package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/parent.expectation.html +0 -8
  178. package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/parent.test.html +0 -9
  179. package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/set.expectation.html +0 -3
  180. package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/set.test.html +0 -8
  181. package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases-error/circular.test.html +0 -1
  182. package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases-error/circular_parent.html +0 -1
  183. package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases-error/extends-non-existent.test.html +0 -1
  184. package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases-error/report-filename-partial.html +0 -1
  185. package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases-error/report-filename.test.html +0 -1
  186. package/framework/v0.3.2/core/deps/swig-1.4.2/tests/comments.test.js +0 -12
  187. package/framework/v0.3.2/core/deps/swig-1.4.2/tests/filters.test.js +0 -316
  188. package/framework/v0.3.2/core/deps/swig-1.4.2/tests/loaders.test.js +0 -119
  189. package/framework/v0.3.2/core/deps/swig-1.4.2/tests/regressions.test.js +0 -41
  190. package/framework/v0.3.2/core/deps/swig-1.4.2/tests/tags/autoescape.test.js +0 -45
  191. package/framework/v0.3.2/core/deps/swig-1.4.2/tests/tags/else.test.js +0 -61
  192. package/framework/v0.3.2/core/deps/swig-1.4.2/tests/tags/extend.test.js +0 -11
  193. package/framework/v0.3.2/core/deps/swig-1.4.2/tests/tags/filter.test.js +0 -29
  194. package/framework/v0.3.2/core/deps/swig-1.4.2/tests/tags/for.test.js +0 -63
  195. package/framework/v0.3.2/core/deps/swig-1.4.2/tests/tags/if.test.js +0 -75
  196. package/framework/v0.3.2/core/deps/swig-1.4.2/tests/tags/import.test.js +0 -15
  197. package/framework/v0.3.2/core/deps/swig-1.4.2/tests/tags/include.test.js +0 -26
  198. package/framework/v0.3.2/core/deps/swig-1.4.2/tests/tags/macro.test.js +0 -38
  199. package/framework/v0.3.2/core/deps/swig-1.4.2/tests/tags/parent.test.js +0 -14
  200. package/framework/v0.3.2/core/deps/swig-1.4.2/tests/tags/raw.test.js +0 -33
  201. package/framework/v0.3.2/core/deps/swig-1.4.2/tests/tags/set.test.js +0 -56
  202. package/framework/v0.3.2/core/deps/swig-1.4.2/tests/tags/spaceless.test.js +0 -26
  203. package/framework/v0.3.2/core/deps/swig-1.4.2/tests/tags.test.js +0 -56
  204. package/framework/v0.3.2/core/deps/swig-1.4.2/tests/templates.test.js +0 -62
  205. package/framework/v0.3.2/core/deps/swig-1.4.2/tests/variables.test.js +0 -183
  206. package/framework/v0.3.2/core/deps/swig-1.4.2/tests/whitespace.test.js +0 -43
  207. package/framework/v0.3.2/lib/cmd/framework/get.js +0 -0
  208. package/framework/v0.3.2/lib/cmd/port/set.js +0 -0
  209. package/framework/v0.3.2/package.json +0 -5
  210. /package/framework/{v0.3.2 → v0.3.3}/AUTHORS +0 -0
  211. /package/framework/{v0.3.2 → v0.3.3}/LICENSE +0 -0
  212. /package/framework/{v0.3.2 → v0.3.3}/core/asset/html/nolayout.html +0 -0
  213. /package/framework/{v0.3.2 → v0.3.3}/core/asset/html/static.html +0 -0
  214. /package/framework/{v0.3.2 → v0.3.3}/core/asset/img/android-chrome-192x192.png +0 -0
  215. /package/framework/{v0.3.2 → v0.3.3}/core/asset/img/android-chrome-512x512.png +0 -0
  216. /package/framework/{v0.3.2 → v0.3.3}/core/asset/img/apple-touch-icon.png +0 -0
  217. /package/framework/{v0.3.2 → v0.3.3}/core/asset/img/favicon-16x16.png +0 -0
  218. /package/framework/{v0.3.2 → v0.3.3}/core/asset/img/favicon-32x32.png +0 -0
  219. /package/framework/{v0.3.2 → v0.3.3}/core/asset/img/favicon.ico +0 -0
  220. /package/framework/{v0.3.2 → v0.3.3}/core/asset/plugin/dist/vendor/gina/beemaster/beemaster.css +0 -0
  221. /package/framework/{v0.3.2 → v0.3.3}/core/asset/plugin/dist/vendor/gina/beemaster/beemaster.js +0 -0
  222. /package/framework/{v0.3.2 → v0.3.3}/core/asset/plugin/dist/vendor/gina/beemaster/index.html +0 -0
  223. /package/framework/{v0.3.2 → v0.3.3}/core/asset/plugin/dist/vendor/gina/css/gina.min.css +0 -0
  224. /package/framework/{v0.3.2 → v0.3.3}/core/asset/plugin/dist/vendor/gina/css/gina.min.css.br +0 -0
  225. /package/framework/{v0.3.2 → v0.3.3}/core/asset/plugin/dist/vendor/gina/css/gina.min.css.gz +0 -0
  226. /package/framework/{v0.3.2 → v0.3.3}/core/asset/plugin/dist/vendor/gina/html/statusbar.html +0 -0
  227. /package/framework/{v0.3.2 → v0.3.3}/core/asset/plugin/dist/vendor/gina/html/statusbar.html.br +0 -0
  228. /package/framework/{v0.3.2 → v0.3.3}/core/asset/plugin/dist/vendor/gina/html/statusbar.html.gz +0 -0
  229. /package/framework/{v0.3.2 → v0.3.3}/core/asset/plugin/dist/vendor/gina/inspector/have_heart_one-webfont.woff2 +0 -0
  230. /package/framework/{v0.3.2 → v0.3.3}/core/asset/plugin/dist/vendor/gina/inspector/index.html +0 -0
  231. /package/framework/{v0.3.2 → v0.3.3}/core/asset/plugin/dist/vendor/gina/inspector/logo.svg +0 -0
  232. /package/framework/{v0.3.2 → v0.3.3}/core/connectors/ai/index.js +0 -0
  233. /package/framework/{v0.3.2 → v0.3.3}/core/connectors/ai/lib/connector.js +0 -0
  234. /package/framework/{v0.3.2 → v0.3.3}/core/connectors/couchbase/index.js +0 -0
  235. /package/framework/{v0.3.2 → v0.3.3}/core/connectors/couchbase/lib/connector.js +0 -0
  236. /package/framework/{v0.3.2 → v0.3.3}/core/connectors/couchbase/lib/connector.v2.js +0 -0
  237. /package/framework/{v0.3.2 → v0.3.3}/core/connectors/couchbase/lib/connector.v3.js +0 -0
  238. /package/framework/{v0.3.2 → v0.3.3}/core/connectors/couchbase/lib/connector.v4.js +0 -0
  239. /package/framework/{v0.3.2 → v0.3.3}/core/connectors/couchbase/lib/n1ql.js +0 -0
  240. /package/framework/{v0.3.2 → v0.3.3}/core/connectors/couchbase/lib/session-store.js +0 -0
  241. /package/framework/{v0.3.2 → v0.3.3}/core/connectors/couchbase/lib/session-store.v2.js +0 -0
  242. /package/framework/{v0.3.2 → v0.3.3}/core/connectors/couchbase/lib/session-store.v3.js +0 -0
  243. /package/framework/{v0.3.2 → v0.3.3}/core/connectors/couchbase/lib/session-store.v4.js +0 -0
  244. /package/framework/{v0.3.2 → v0.3.3}/core/connectors/mysql/lib/connector.js +0 -0
  245. /package/framework/{v0.3.2 → v0.3.3}/core/connectors/postgresql/lib/connector.js +0 -0
  246. /package/framework/{v0.3.2 → v0.3.3}/core/connectors/redis/index.js +0 -0
  247. /package/framework/{v0.3.2 → v0.3.3}/core/connectors/redis/lib/session-store.js +0 -0
  248. /package/framework/{v0.3.2 → v0.3.3}/core/connectors/sql-parser.js +0 -0
  249. /package/framework/{v0.3.2 → v0.3.3}/core/connectors/sqlite/lib/connector.js +0 -0
  250. /package/framework/{v0.3.2 → v0.3.3}/core/connectors/sqlite/lib/session-store.js +0 -0
  251. /package/framework/{v0.3.2 → v0.3.3}/core/content.encoding +0 -0
  252. /package/framework/{v0.3.2 → v0.3.3}/core/controller/controller.framework.js +0 -0
  253. /package/framework/{v0.3.2 → v0.3.3}/core/controller/controller.render-json.js +0 -0
  254. /package/framework/{v0.3.2 → v0.3.3}/core/controller/controller.render-stream.js +0 -0
  255. /package/framework/{v0.3.2 → v0.3.3}/core/controller/controller.render-swig.js +0 -0
  256. /package/framework/{v0.3.2 → v0.3.3}/core/controller/controller.render-v1.js +0 -0
  257. /package/framework/{v0.3.2 → v0.3.3}/core/controller/index.js +0 -0
  258. /package/framework/{v0.3.2 → v0.3.3}/core/deps/busboy-1.6.0/LICENSE +0 -0
  259. /package/framework/{v0.3.2 → v0.3.3}/core/deps/busboy-1.6.0/README.md +0 -0
  260. /package/framework/{v0.3.2 → v0.3.3}/core/deps/busboy-1.6.0/lib/index.js +0 -0
  261. /package/framework/{v0.3.2 → v0.3.3}/core/deps/busboy-1.6.0/lib/types/urlencoded.js +0 -0
  262. /package/framework/{v0.3.2 → v0.3.3}/core/deps/busboy-1.6.0/lib/utils.js +0 -0
  263. /package/framework/{v0.3.2 → v0.3.3}/core/deps/busboy-1.6.0/package.json +0 -0
  264. /package/framework/{v0.3.2 → v0.3.3}/core/deps/optimist-0.6.1/LICENSE +0 -0
  265. /package/framework/{v0.3.2 → v0.3.3}/core/deps/optimist-0.6.1/index.js +0 -0
  266. /package/framework/{v0.3.2 → v0.3.3}/core/deps/optimist-0.6.1/package.json +0 -0
  267. /package/framework/{v0.3.2 → v0.3.3}/core/deps/optimist-0.6.1/readme.markdown +0 -0
  268. /package/framework/{v0.3.2 → v0.3.3}/core/deps/swig-client/swig-2.0.0.min.js +0 -0
  269. /package/framework/{v0.3.2 → v0.3.3}/core/deps/swig-client/swig.js +0 -0
  270. /package/framework/{v0.3.2 → v0.3.3}/core/dev/index.js +0 -0
  271. /package/framework/{v0.3.2 → v0.3.3}/core/dev/lib/class.js +0 -0
  272. /package/framework/{v0.3.2 → v0.3.3}/core/dev/lib/factory.js +0 -0
  273. /package/framework/{v0.3.2 → v0.3.3}/core/dev/lib/tools.js +0 -0
  274. /package/framework/{v0.3.2 → v0.3.3}/core/locales/README.md +0 -0
  275. /package/framework/{v0.3.2 → v0.3.3}/core/locales/currency.json +0 -0
  276. /package/framework/{v0.3.2 → v0.3.3}/core/locales/dist/language/en.json +0 -0
  277. /package/framework/{v0.3.2 → v0.3.3}/core/locales/dist/language/fr.json +0 -0
  278. /package/framework/{v0.3.2 → v0.3.3}/core/locales/dist/region/en.json +0 -0
  279. /package/framework/{v0.3.2 → v0.3.3}/core/locales/dist/region/fr.json +0 -0
  280. /package/framework/{v0.3.2 → v0.3.3}/core/locales/index.js +0 -0
  281. /package/framework/{v0.3.2 → v0.3.3}/core/mime.types +0 -0
  282. /package/framework/{v0.3.2 → v0.3.3}/core/model/entity.js +0 -0
  283. /package/framework/{v0.3.2 → v0.3.3}/core/model/index.js +0 -0
  284. /package/framework/{v0.3.2 → v0.3.3}/core/model/template/entityFactory.js +0 -0
  285. /package/framework/{v0.3.2 → v0.3.3}/core/model/template/index.js +0 -0
  286. /package/framework/{v0.3.2 → v0.3.3}/core/plugins/README.md +0 -0
  287. /package/framework/{v0.3.2 → v0.3.3}/core/plugins/index.js +0 -0
  288. /package/framework/{v0.3.2 → v0.3.3}/core/plugins/lib/file/README.md +0 -0
  289. /package/framework/{v0.3.2 → v0.3.3}/core/plugins/lib/file/build.json +0 -0
  290. /package/framework/{v0.3.2 → v0.3.3}/core/plugins/lib/file/package.json +0 -0
  291. /package/framework/{v0.3.2 → v0.3.3}/core/plugins/lib/intl/README.md +0 -0
  292. /package/framework/{v0.3.2 → v0.3.3}/core/plugins/lib/intl/build.json +0 -0
  293. /package/framework/{v0.3.2 → v0.3.3}/core/plugins/lib/intl/package.json +0 -0
  294. /package/framework/{v0.3.2 → v0.3.3}/core/plugins/lib/intl/src/main.js +0 -0
  295. /package/framework/{v0.3.2 → v0.3.3}/core/plugins/lib/storage/README.md +0 -0
  296. /package/framework/{v0.3.2 → v0.3.3}/core/plugins/lib/storage/build.json +0 -0
  297. /package/framework/{v0.3.2 → v0.3.3}/core/plugins/lib/storage/package.json +0 -0
  298. /package/framework/{v0.3.2 → v0.3.3}/core/plugins/lib/validator/README.md +0 -0
  299. /package/framework/{v0.3.2 → v0.3.3}/core/plugins/lib/validator/build.json +0 -0
  300. /package/framework/{v0.3.2 → v0.3.3}/core/plugins/lib/validator/package.json +0 -0
  301. /package/framework/{v0.3.2 → v0.3.3}/core/plugins/lib/validator/src/form-validator.js +0 -0
  302. /package/framework/{v0.3.2 → v0.3.3}/core/router.js +0 -0
  303. /package/framework/{v0.3.2 → v0.3.3}/core/server.express.js +0 -0
  304. /package/framework/{v0.3.2 → v0.3.3}/core/status.codes +0 -0
  305. /package/framework/{v0.3.2 → v0.3.3}/core/template/_gitignore +0 -0
  306. /package/framework/{v0.3.2 → v0.3.3}/core/template/boilerplate/bundle/config/app.json +0 -0
  307. /package/framework/{v0.3.2 → v0.3.3}/core/template/boilerplate/bundle/config/connectors.json +0 -0
  308. /package/framework/{v0.3.2 → v0.3.3}/core/template/boilerplate/bundle/config/routing.json +0 -0
  309. /package/framework/{v0.3.2 → v0.3.3}/core/template/boilerplate/bundle/config/settings.json +0 -0
  310. /package/framework/{v0.3.2 → v0.3.3}/core/template/boilerplate/bundle/config/settings.server.json +0 -0
  311. /package/framework/{v0.3.2 → v0.3.3}/core/template/boilerplate/bundle/config/templates.json +0 -0
  312. /package/framework/{v0.3.2 → v0.3.3}/core/template/boilerplate/bundle/config/watchers.json +0 -0
  313. /package/framework/{v0.3.2 → v0.3.3}/core/template/boilerplate/bundle/controllers/controller.content.js +0 -0
  314. /package/framework/{v0.3.2 → v0.3.3}/core/template/boilerplate/bundle/controllers/controller.js +0 -0
  315. /package/framework/{v0.3.2 → v0.3.3}/core/template/boilerplate/bundle/controllers/setup.js +0 -0
  316. /package/framework/{v0.3.2 → v0.3.3}/core/template/boilerplate/bundle/index.js +0 -0
  317. /package/framework/{v0.3.2 → v0.3.3}/core/template/boilerplate/bundle_namespace/controllers/controller.js +0 -0
  318. /package/framework/{v0.3.2 → v0.3.3}/core/template/boilerplate/bundle_public/css/default.css +0 -0
  319. /package/framework/{v0.3.2 → v0.3.3}/core/template/boilerplate/bundle_public/css/home.css +0 -0
  320. /package/framework/{v0.3.2 → v0.3.3}/core/template/boilerplate/bundle_public/css/vendor/readme.md +0 -0
  321. /package/framework/{v0.3.2 → v0.3.3}/core/template/boilerplate/bundle_public/favicon.ico +0 -0
  322. /package/framework/{v0.3.2 → v0.3.3}/core/template/boilerplate/bundle_public/js/vendor/readme.md +0 -0
  323. /package/framework/{v0.3.2 → v0.3.3}/core/template/boilerplate/bundle_public/readme.md +0 -0
  324. /package/framework/{v0.3.2 → v0.3.3}/core/template/boilerplate/bundle_templates/handlers/main.js +0 -0
  325. /package/framework/{v0.3.2 → v0.3.3}/core/template/boilerplate/bundle_templates/html/content/homepage.html +0 -0
  326. /package/framework/{v0.3.2 → v0.3.3}/core/template/boilerplate/bundle_templates/html/includes/error-msg-noscript.html +0 -0
  327. /package/framework/{v0.3.2 → v0.3.3}/core/template/boilerplate/bundle_templates/html/includes/error-msg-outdated-browser.html +0 -0
  328. /package/framework/{v0.3.2 → v0.3.3}/core/template/boilerplate/bundle_templates/html/layouts/main.html +0 -0
  329. /package/framework/{v0.3.2 → v0.3.3}/core/template/command/gina.bat.tpl +0 -0
  330. /package/framework/{v0.3.2 → v0.3.3}/core/template/command/gina.tpl +0 -0
  331. /package/framework/{v0.3.2 → v0.3.3}/core/template/conf/env.json +0 -0
  332. /package/framework/{v0.3.2 → v0.3.3}/core/template/conf/manifest.json +0 -0
  333. /package/framework/{v0.3.2 → v0.3.3}/core/template/conf/package.json +0 -0
  334. /package/framework/{v0.3.2 → v0.3.3}/core/template/conf/settings.json +0 -0
  335. /package/framework/{v0.3.2 → v0.3.3}/core/template/conf/statics.json +0 -0
  336. /package/framework/{v0.3.2 → v0.3.3}/core/template/conf/templates.json +0 -0
  337. /package/framework/{v0.3.2 → v0.3.3}/core/template/error/client/json/401.json +0 -0
  338. /package/framework/{v0.3.2 → v0.3.3}/core/template/error/client/json/403.json +0 -0
  339. /package/framework/{v0.3.2 → v0.3.3}/core/template/error/client/json/404.json +0 -0
  340. /package/framework/{v0.3.2 → v0.3.3}/core/template/error/server/html/50x.html +0 -0
  341. /package/framework/{v0.3.2 → v0.3.3}/core/template/error/server/json/500.json +0 -0
  342. /package/framework/{v0.3.2 → v0.3.3}/core/template/error/server/json/503.json +0 -0
  343. /package/framework/{v0.3.2 → v0.3.3}/core/template/extensions/logger/config.json +0 -0
  344. /package/framework/{v0.3.2 → v0.3.3}/helpers/console.js +0 -0
  345. /package/framework/{v0.3.2 → v0.3.3}/helpers/context.js +0 -0
  346. /package/framework/{v0.3.2 → v0.3.3}/helpers/data/LICENSE +0 -0
  347. /package/framework/{v0.3.2 → v0.3.3}/helpers/data/README.md +0 -0
  348. /package/framework/{v0.3.2 → v0.3.3}/helpers/data/package.json +0 -0
  349. /package/framework/{v0.3.2 → v0.3.3}/helpers/data/src/main.js +0 -0
  350. /package/framework/{v0.3.2 → v0.3.3}/helpers/dateFormat.js +0 -0
  351. /package/framework/{v0.3.2 → v0.3.3}/helpers/index.js +0 -0
  352. /package/framework/{v0.3.2 → v0.3.3}/helpers/json/LICENSE +0 -0
  353. /package/framework/{v0.3.2 → v0.3.3}/helpers/json/README.md +0 -0
  354. /package/framework/{v0.3.2 → v0.3.3}/helpers/json/package.json +0 -0
  355. /package/framework/{v0.3.2 → v0.3.3}/helpers/path.js +0 -0
  356. /package/framework/{v0.3.2 → v0.3.3}/helpers/plugins/README.md +0 -0
  357. /package/framework/{v0.3.2 → v0.3.3}/helpers/plugins/package.json +0 -0
  358. /package/framework/{v0.3.2 → v0.3.3}/helpers/plugins/src/api-error.js +0 -0
  359. /package/framework/{v0.3.2 → v0.3.3}/helpers/plugins/src/main.js +0 -0
  360. /package/framework/{v0.3.2 → v0.3.3}/helpers/prototypes.js +0 -0
  361. /package/framework/{v0.3.2 → v0.3.3}/helpers/task.js +0 -0
  362. /package/framework/{v0.3.2 → v0.3.3}/helpers/text.js +0 -0
  363. /package/framework/{v0.3.2 → v0.3.3}/lib/archiver/README.md +0 -0
  364. /package/framework/{v0.3.2 → v0.3.3}/lib/archiver/build.json +0 -0
  365. /package/framework/{v0.3.2 → v0.3.3}/lib/archiver/package.json +0 -0
  366. /package/framework/{v0.3.2 → v0.3.3}/lib/archiver/src/dep/jszip.min.js +0 -0
  367. /package/framework/{v0.3.2 → v0.3.3}/lib/archiver/src/main.js +0 -0
  368. /package/framework/{v0.3.2 → v0.3.3}/lib/async/package.json +0 -0
  369. /package/framework/{v0.3.2 → v0.3.3}/lib/async/src/main.js +0 -0
  370. /package/framework/{v0.3.2 → v0.3.3}/lib/cache/README.md +0 -0
  371. /package/framework/{v0.3.2 → v0.3.3}/lib/cache/build.json +0 -0
  372. /package/framework/{v0.3.2 → v0.3.3}/lib/cache/package.json +0 -0
  373. /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/bundle/add.js +0 -0
  374. /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/bundle/build.js +0 -0
  375. /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/bundle/copy.js +0 -0
  376. /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/bundle/cp.js +0 -0
  377. /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/bundle/help.js +0 -0
  378. /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/bundle/list.js +0 -0
  379. /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/bundle/remove.js +0 -0
  380. /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/bundle/rename.js +0 -0
  381. /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/bundle/restart.js +0 -0
  382. /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/bundle/rm.js +0 -0
  383. /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/bundle/status.js +0 -0
  384. /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/bundle/stop.js +0 -0
  385. /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/cache/stats.js +0 -0
  386. /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/env/add.js +0 -0
  387. /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/env/get.js +0 -0
  388. /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/env/help.js +0 -0
  389. /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/env/help.txt +0 -0
  390. /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/env/link-dev.js +0 -0
  391. /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/env/list.js +0 -0
  392. /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/env/remove.js +0 -0
  393. /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/env/rm.js +0 -0
  394. /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/env/set.js +0 -0
  395. /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/env/unset.js +0 -0
  396. /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/env/use.js +0 -0
  397. /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/framework/arguments.json +0 -0
  398. /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/framework/build.js +0 -0
  399. /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/framework/dot.js +0 -0
  400. /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/framework/help.js +0 -0
  401. /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/framework/init.js +0 -0
  402. /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/framework/link-node-modules.js +0 -0
  403. /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/framework/link.js +0 -0
  404. /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/framework/msg.json +0 -0
  405. /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/framework/open.js +0 -0
  406. /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/framework/restart.js +0 -0
  407. /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/framework/set.js +0 -0
  408. /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/framework/start.js +0 -0
  409. /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/framework/status.js +0 -0
  410. /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/framework/stop.js +0 -0
  411. /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/framework/tail.js +0 -0
  412. /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/framework/update.js +0 -0
  413. /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/framework/version.js +0 -0
  414. /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/gina-dev.1.md +0 -0
  415. /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/gina-framework.1.md +0 -0
  416. /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/gina.1.md +0 -0
  417. /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/helper.js +0 -0
  418. /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/index.js +0 -0
  419. /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/inspector/help.js +0 -0
  420. /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/inspector/help.txt +0 -0
  421. /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/inspector/open.js +0 -0
  422. /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/minion/help.js +0 -0
  423. /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/minion/help.txt +0 -0
  424. /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/msg.json +0 -0
  425. /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/port/help.js +0 -0
  426. /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/port/inc/scan.js +0 -0
  427. /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/port/list.js +0 -0
  428. /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/port/reset.js +0 -0
  429. /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/project/add.js +0 -0
  430. /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/project/arguments.json +0 -0
  431. /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/project/build.js +0 -0
  432. /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/project/help.js +0 -0
  433. /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/project/help.txt +0 -0
  434. /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/project/import.js +0 -0
  435. /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/project/list.js +0 -0
  436. /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/project/move.js +0 -0
  437. /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/project/remove.js +0 -0
  438. /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/project/rename.js +0 -0
  439. /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/project/restart.js +0 -0
  440. /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/project/rm.js +0 -0
  441. /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/project/start.js +0 -0
  442. /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/project/status.js +0 -0
  443. /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/project/stop.js +0 -0
  444. /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/protocol/help.js +0 -0
  445. /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/protocol/help.txt +0 -0
  446. /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/protocol/list.js +0 -0
  447. /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/protocol/set.js +0 -0
  448. /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/scope/add.js +0 -0
  449. /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/scope/help.js +0 -0
  450. /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/scope/help.txt +0 -0
  451. /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/scope/link-local.js +0 -0
  452. /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/scope/link-production.js +0 -0
  453. /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/scope/list.js +0 -0
  454. /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/scope/remove.js +0 -0
  455. /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/scope/rm.js +0 -0
  456. /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/scope/use.js +0 -0
  457. /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/view/add.js +0 -0
  458. /package/framework/{v0.3.2 → v0.3.3}/lib/collection/README.md +0 -0
  459. /package/framework/{v0.3.2 → v0.3.3}/lib/collection/build.json +0 -0
  460. /package/framework/{v0.3.2 → v0.3.3}/lib/collection/package.json +0 -0
  461. /package/framework/{v0.3.2 → v0.3.3}/lib/config.js +0 -0
  462. /package/framework/{v0.3.2 → v0.3.3}/lib/cron/README.md +0 -0
  463. /package/framework/{v0.3.2 → v0.3.3}/lib/cron/package.json +0 -0
  464. /package/framework/{v0.3.2 → v0.3.3}/lib/cron/src/main.js +0 -0
  465. /package/framework/{v0.3.2 → v0.3.3}/lib/domain/LICENSE +0 -0
  466. /package/framework/{v0.3.2 → v0.3.3}/lib/domain/README.md +0 -0
  467. /package/framework/{v0.3.2 → v0.3.3}/lib/domain/dist/2025-03-14_13-41-20_UTC.dat +0 -0
  468. /package/framework/{v0.3.2 → v0.3.3}/lib/domain/dist/public_suffix_list.dat +0 -0
  469. /package/framework/{v0.3.2 → v0.3.3}/lib/domain/dist/public_suffix_list.dat.br +0 -0
  470. /package/framework/{v0.3.2 → v0.3.3}/lib/domain/dist/public_suffix_list.dat.gz +0 -0
  471. /package/framework/{v0.3.2 → v0.3.3}/lib/domain/package.json +0 -0
  472. /package/framework/{v0.3.2 → v0.3.3}/lib/domain/src/main.js +0 -0
  473. /package/framework/{v0.3.2 → v0.3.3}/lib/generator/index.js +0 -0
  474. /package/framework/{v0.3.2 → v0.3.3}/lib/inherits/LICENSE +0 -0
  475. /package/framework/{v0.3.2 → v0.3.3}/lib/inherits/README.md +0 -0
  476. /package/framework/{v0.3.2 → v0.3.3}/lib/inherits/package.json +0 -0
  477. /package/framework/{v0.3.2 → v0.3.3}/lib/inherits/src/main.js +0 -0
  478. /package/framework/{v0.3.2 → v0.3.3}/lib/logger/README.md +0 -0
  479. /package/framework/{v0.3.2 → v0.3.3}/lib/logger/package.json +0 -0
  480. /package/framework/{v0.3.2 → v0.3.3}/lib/logger/src/containers/default/index.js +0 -0
  481. /package/framework/{v0.3.2 → v0.3.3}/lib/logger/src/containers/file/index.js +0 -0
  482. /package/framework/{v0.3.2 → v0.3.3}/lib/logger/src/containers/file/lib/logrotator/README.md +0 -0
  483. /package/framework/{v0.3.2 → v0.3.3}/lib/logger/src/containers/file/lib/logrotator/index.js +0 -0
  484. /package/framework/{v0.3.2 → v0.3.3}/lib/logger/src/containers/mq/index.js +0 -0
  485. /package/framework/{v0.3.2 → v0.3.3}/lib/logger/src/containers/mq/speaker.js +0 -0
  486. /package/framework/{v0.3.2 → v0.3.3}/lib/logger/src/helper.js +0 -0
  487. /package/framework/{v0.3.2 → v0.3.3}/lib/logger/src/main.js +0 -0
  488. /package/framework/{v0.3.2 → v0.3.3}/lib/math/index.js +0 -0
  489. /package/framework/{v0.3.2 → v0.3.3}/lib/merge/README.md +0 -0
  490. /package/framework/{v0.3.2 → v0.3.3}/lib/merge/package.json +0 -0
  491. /package/framework/{v0.3.2 → v0.3.3}/lib/merge/src/main.js +0 -0
  492. /package/framework/{v0.3.2 → v0.3.3}/lib/model.js +0 -0
  493. /package/framework/{v0.3.2 → v0.3.3}/lib/proc.js +0 -0
  494. /package/framework/{v0.3.2 → v0.3.3}/lib/routing/README.md +0 -0
  495. /package/framework/{v0.3.2 → v0.3.3}/lib/routing/build.json +0 -0
  496. /package/framework/{v0.3.2 → v0.3.3}/lib/routing/package.json +0 -0
  497. /package/framework/{v0.3.2 → v0.3.3}/lib/routing/src/main.js +0 -0
  498. /package/framework/{v0.3.2 → v0.3.3}/lib/routing/src/radix.js +0 -0
  499. /package/framework/{v0.3.2 → v0.3.3}/lib/session-store.js +0 -0
  500. /package/framework/{v0.3.2 → v0.3.3}/lib/shell.js +0 -0
  501. /package/framework/{v0.3.2 → v0.3.3}/lib/state.js +0 -0
  502. /package/framework/{v0.3.2 → v0.3.3}/lib/swig-filters/README.md +0 -0
  503. /package/framework/{v0.3.2 → v0.3.3}/lib/swig-filters/package.json +0 -0
  504. /package/framework/{v0.3.2 → v0.3.3}/lib/swig-filters/src/main.js +0 -0
  505. /package/framework/{v0.3.2 → v0.3.3}/lib/url/README.md +0 -0
  506. /package/framework/{v0.3.2 → v0.3.3}/lib/url/index.js +0 -0
  507. /package/framework/{v0.3.2 → v0.3.3}/lib/url/routing.json +0 -0
  508. /package/framework/{v0.3.2 → v0.3.3}/lib/validator.js +0 -0
  509. /package/framework/{v0.3.2 → v0.3.3}/lib/watcher/package.json +0 -0
  510. /package/framework/{v0.3.2 → v0.3.3}/lib/watcher/src/main.js +0 -0
@@ -1,192 +0,0 @@
1
- SHA := $(shell git rev-parse HEAD)
2
- THIS_BRANCH := $(shell git rev-parse --abbrev-ref HEAD)
3
- VERSION_REGEX = [0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*[^\" ]*
4
- VERSION := $(shell npm ls | grep "swig@" | grep -Eo "${VERSION_REGEX}" -m 1)
5
-
6
- TMP = 'tmp'
7
- REMOTE = origin
8
- BRANCH = gh-pages
9
- BIN = node_modules/.bin
10
- PWD = $(shell pwd | sed -e 's/[\/&]/\\&/g')
11
-
12
- all:
13
- @echo "Installing packages"
14
- @npm install --depth=100 --loglevel=error
15
- @npm link &>/dev/null
16
- @cp scripts/githooks/* .git/hooks/
17
- @chmod -R +x .git/hooks/
18
-
19
- .INTERMEDIATE version: \
20
- browser/comments.js \
21
- docs/index.json
22
-
23
- version:
24
- @sed -i.bak 's/${VERSION_REGEX}/${VERSION}/' lib/swig.js
25
- @rm lib/swig.js.bak
26
-
27
- browser/comments.js: FORCE
28
- @sed -i.bak 's/v${VERSION_REGEX}/v${VERSION}/' $@
29
- @rm $@.bak
30
-
31
- .SECONDARY dist/swig.js: \
32
- browser/comments.js
33
-
34
- .SECONDARY dist/swig.min.js: \
35
- dist/swig.js
36
-
37
- .INTERMEDIATE browser/test/tests.js: \
38
- tests/comments.test.js \
39
- tests/filters.test.js \
40
- tests/tags.test.js \
41
- tests/variables.test.js \
42
- tests/tags/autoescape.test.js \
43
- tests/tags/else.test.js \
44
- tests/tags/filter.test.js \
45
- tests/tags/for.test.js \
46
- tests/tags/if.test.js \
47
- tests/tags/macro.test.js \
48
- tests/tags/raw.test.js \
49
- tests/tags/set.test.js \
50
- tests/tags/spaceless.test.js \
51
- tests/basic.test.js
52
-
53
- clean: FORCE
54
- @rm -rf dist
55
- @rm -rf ${TMP}
56
-
57
- build: clean dist dist/swig.min.js
58
- @echo "Built to ./dist/"
59
-
60
- dist:
61
- @mkdir -p $@
62
-
63
- dist/swig.js:
64
- @echo "Building $@..."
65
- @cat $^ > $@
66
- @${BIN}/browserify browser/index.js >> $@
67
-
68
- dist/swig.min.js:
69
- @echo "Building $@..."
70
- @${BIN}/uglifyjs $^ --comments -c warnings=false -m --source-map dist/swig.js.map > $@
71
-
72
- browser/test/tests.js:
73
- @echo "Building $@..."
74
- @cat $^ > tests/browser.js
75
- @perl -pi -e 's/\.\.\/\.\.\/lib/\.\.\/lib/g' tests/browser.js
76
- @${BIN}/browserify tests/browser.js > $@
77
- @rm tests/browser.js
78
-
79
- tests := $(shell find ./tests -name '*.test.js' ! -path "*node_modules/*")
80
- reporter = dot
81
- opts =
82
- test:
83
- @${BIN}/mocha --check-leaks --reporter ${reporter} ${opts} ${tests}
84
-
85
- test-browser: FORCE clean browser/test/tests.js
86
- @${BIN}/mocha-phantomjs browser/test/index.html --reporter ${reporter}
87
-
88
- files := $(shell find . -name '*.js' ! -path "./node_modules/*" ! -path "./dist/*" ! -path "./browser*" ! -path "./docs*" ! -path "./tmp*")
89
- lint:
90
- @${BIN}/nodelint ${files} --config=scripts/config-lint.js
91
-
92
- out = tests/coverage.html
93
- cov-reporter = html-cov
94
- coverage:
95
- ifeq (${cov-reporter}, travis-cov)
96
- @${BIN}/mocha ${opts} ${tests} --require blanket -R ${cov-reporter}
97
- else
98
- @${BIN}/mocha ${opts} ${tests} --require blanket -R ${cov-reporter} > ${out}
99
- @sed -i .bak -e "s/${PWD}//g" ${out}
100
- @rm ${out}.bak
101
- @echo
102
- @echo "Built Report to ${out}"
103
- @echo
104
- endif
105
-
106
- docs/index.json: FORCE
107
- @echo "Building $@..."
108
- @sed -i.bak 's/v${VERSION_REGEX}/v${VERSION}/' $@
109
- @rm $@.bak
110
-
111
- docs/docs.json: FORCE
112
- @echo "Building $@..."
113
- @sed -i.bak 's/v${VERSION_REGEX}/v${VERSION}/' $@
114
- @rm $@.bak
115
-
116
- docs/coverage.html: FORCE
117
- @echo "Building $@..."
118
- @make coverage out=$@
119
-
120
- docs/docs/api.json: FORCE
121
- @echo "Building $@..."
122
- @echo '{ "api": ' > $@
123
- @${BIN}/jsdoc lib/swig.js -X >> $@
124
- @echo '}' >> $@
125
-
126
- docs/docs/filters.json: FORCE
127
- @echo "Building $@..."
128
- @echo '{ "filters": ' > $@
129
- @${BIN}/jsdoc lib/filters.js -X >> $@
130
- @echo '}' >> $@
131
-
132
- docs/docs/tags.json: FORCE
133
- @echo "Building $@..."
134
- @echo '{ "tags": ' > $@
135
- @${BIN}/jsdoc lib/tags/ -X >> $@
136
- @echo '}' >> $@
137
-
138
- docs/docs/loaders.json: FORCE
139
- @echo "Building $@..."
140
- @echo '{ "loaders": ' > $@
141
- @${BIN}/jsdoc lib/loaders/ -X >> $@
142
- @echo '}' >> $@
143
-
144
- docs/docs/extending.json: FORCE
145
- @echo "Building $@..."
146
- @echo '{ "ext": ' > $@
147
- @${BIN}/jsdoc lib/parser.js lib/lexer.js -X >> $@
148
- @echo '}' >> $@
149
-
150
- .SECONDARY build-docs: \
151
- docs/index.json \
152
- docs/docs.json
153
-
154
- .INTERMDIATE build-docs: \
155
- docs/docs/api.json \
156
- docs/docs/filters.json \
157
- docs/docs/tags.json \
158
- docs/docs/extending.json \
159
- docs/docs/loaders.json
160
-
161
- build-docs: FORCE
162
- @echo "Documentation built."
163
-
164
- gh-pages: clean build build-docs
165
- @mkdir -p ${TMP}/js
166
- @mkdir -p docs/css
167
- @rm -f docs/coverage.html
168
- @${BIN}/lessc --yui-compress --include-path=docs/less docs/less/swig.less docs/css/swig.css
169
- @${BIN}/still docs -o ${TMP} -i "layout" -i "json" -i "less" -v
170
- @make coverage out=${TMP}/coverage.html
171
- @cp dist/swig.* ${TMP}/js/
172
- @git checkout ${BRANCH}
173
- @cp -r ${TMP}/* ./
174
- @rm -rf ${TMP}
175
- ifeq (${THIS_BRANCH}, master)
176
- @git add .
177
- @git commit -n -am "Automated build from ${SHA}"
178
- @git push ${REMOTE} ${BRANCH}
179
- @git checkout ${THIS_BRANCH}
180
- @git clean -f -d docs/
181
- endif
182
-
183
- port = 3000
184
- docs: build build-docs
185
- @${BIN}/still-server docs/ -p ${port} -o
186
-
187
- FORCE:
188
-
189
- .PHONY: all version \
190
- build build-docs \
191
- test test-browser lint coverage \
192
- docs gh-pages
@@ -1,88 +0,0 @@
1
- Swig [![Build Status](http://img.shields.io/travis/paularmstrong/swig/master.svg?style=flat)](http://travis-ci.org/paularmstrong/swig) [![Dependency Status](http://img.shields.io/gemnasium/paularmstrong/swig.svg?style=flat)](https://gemnasium.com/paularmstrong/swig) [![NPM version](http://img.shields.io/npm/v/swig.svg?style=flat)](https://www.npmjs.org/package/swig) [![NPM Downloads](http://img.shields.io/npm/dm/swig.svg?style=flat)](https://www.npmjs.org/package/swig)
2
- ====
3
-
4
- [Swig](http://paularmstrong.github.io/swig/) is an awesome, Django/Jinja-like template engine for node.js.
5
-
6
- Features
7
- --------
8
-
9
- * Available for node.js **and** major web browsers!
10
- * [Express](http://expressjs.com/) compatible.
11
- * Object-Oriented template inheritance.
12
- * Apply filters and transformations to output in your templates.
13
- * Automatically escapes all output for safe HTML rendering.
14
- * Lots of iteration and conditionals supported.
15
- * Robust without the bloat.
16
- * Extendable and customizable. See [Swig-Extras](https://github.com/paularmstrong/swig-extras) for some examples.
17
- * Great [code coverage](http://paularmstrong.github.io/swig/coverage.html).
18
-
19
- Need Help? Have Questions? Comments?
20
- ------------------------------------
21
-
22
- * [Mailing List/Google Group](http://groups.google.com/forum/#!forum/swig-templates)
23
- * [StackOverflow](http://stackoverflow.com/questions/tagged/swig-template)
24
- * [Migration Guide](https://github.com/paularmstrong/swig/wiki/Migrating-from-v0.x.x-to-v1.0.0)
25
-
26
- Installation
27
- ------------
28
-
29
- npm install swig
30
-
31
- Documentation
32
- -------------
33
-
34
- All documentation can be viewed online on the [Swig Website](http://paularmstrong.github.io/swig/).
35
-
36
- Basic Example
37
- -------------
38
-
39
- ### Template code
40
-
41
- ```html
42
- <h1>{{ pagename|title }}</h1>
43
- <ul>
44
- {% for author in authors %}
45
- <li{% if loop.first %} class="first"{% endif %}>{{ author }}</li>
46
- {% endfor %}
47
- </ul>
48
- ```
49
-
50
- ### node.js code
51
-
52
- ```js
53
- var swig = require(_(GINA_FRAMEWORK_DIR +'/node_modules/swig-1.4.2', true));
54
- var template = swig.compileFile('/absolute/path/to/template.html');
55
- var output = template({
56
- pagename: 'awesome people',
57
- authors: ['Paul', 'Jim', 'Jane']
58
- });
59
- ```
60
-
61
- ### Output
62
-
63
- ```html
64
- <h1>Awesome People</h1>
65
- <ul>
66
- <li class="first">Paul</li>
67
- <li>Jim</li>
68
- <li>Jane</li>
69
- </ul>
70
- ```
71
-
72
- For working example see [examples/basic](https://github.com/paularmstrong/swig/tree/master/examples/basic)
73
-
74
- How it works
75
- ------------
76
-
77
- Swig reads template files and translates them into cached javascript functions. When we later render a template we call the evaluated function, passing a context object as an argument.
78
-
79
- License
80
- -------
81
-
82
- Copyright (c) 2010-2013 Paul Armstrong
83
-
84
- Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
85
-
86
- The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
87
-
88
- THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -1,161 +0,0 @@
1
- #!/usr/bin/env node
2
- /*jslint es5: true */
3
-
4
- var swig = require('../index'),
5
- optimist = require('optimist'),
6
- fs = require('fs'),
7
- path = require('path'),
8
- filters = require('../lib/filters'),
9
- utils = require('../lib/utils'),
10
- uglify = require('uglify-js');
11
-
12
- var command,
13
- argv = optimist
14
- .usage('\n Usage:\n' +
15
- ' $0 compile [files] [options]\n' +
16
- ' $0 run [files] [options]\n' +
17
- ' $0 render [files] [options]\n'
18
- )
19
- .describe({
20
- v: 'Show the Swig version number.',
21
- o: 'Output location.',
22
- h: 'Show this help screen.',
23
- j: 'Variable context as a JSON file.',
24
- c: 'Variable context as a CommonJS-style file. Used only if option `j` is not provided.',
25
- m: 'Minify compiled functions with uglify-js',
26
- 'filters': 'Custom filters as a CommonJS-style file',
27
- 'tags': 'Custom tags as a CommonJS-style file',
28
- 'options': 'Customize Swig\'s Options from a CommonJS-style file',
29
- 'wrap-start': 'Template wrapper beginning for "compile".',
30
- 'wrap-end': 'Template wrapper end for "compile".',
31
- 'method-name': 'Method name to set template to and run from.'
32
- })
33
- .alias('v', 'version')
34
- .alias('o', 'output')
35
- .default('o', 'stdout')
36
- .alias('h', 'help')
37
- .alias('j', 'json')
38
- .alias('c', 'context')
39
- .alias('m', 'minify')
40
- .default('wrap-start', 'var tpl = ')
41
- .default('wrap-end', ';')
42
- .default('method-name', 'tpl')
43
- .check(function (argv) {
44
- if (argv.v) {
45
- return;
46
- }
47
-
48
- if (!argv._.length) {
49
- throw new Error('');
50
- }
51
-
52
- command = argv._.shift();
53
- if (command !== 'compile' && command !== 'render' && command !== 'run') {
54
- throw new Error('Unrecognized command "' + command + '". Use -h for help.');
55
- }
56
-
57
- if (argv['method-name'] !== 'tpl' && argv['wrap-start'] !== 'var tpl =') {
58
- throw new Error('Cannot use arguments "--method-name" and "--wrap-start" together.');
59
- }
60
-
61
- if (argv['method-name'] !== 'tpl') {
62
- argv['wrap-start'] = 'var ' + argv['method-name'] + ' = ';
63
- }
64
- })
65
- .argv,
66
- ctx = {},
67
- out = function (file, str) {
68
- console.log(str);
69
- },
70
- efn = function () {},
71
- anonymous,
72
- files,
73
- fn;
74
-
75
- // What version?
76
- if (argv.v) {
77
- console.log(require('../package').version);
78
- process.exit(0);
79
- }
80
-
81
- // Pull in any context data provided
82
- if (argv.j) {
83
- ctx = JSON.parse(fs.readFileSync(argv.j, 'utf8'));
84
- } else if (argv.c) {
85
- ctx = require(argv.c);
86
- }
87
-
88
- if (argv.o !== 'stdout') {
89
- argv.o += '/';
90
- argv.o = path.normalize(argv.o);
91
-
92
- try {
93
- fs.mkdirSync(argv.o);
94
- } catch (e) {
95
- if (e.errno !== 47) {
96
- throw e;
97
- }
98
- }
99
-
100
- out = function (file, str) {
101
- file = path.basename(file);
102
- fs.writeFileSync(argv.o + file, str, { flags: 'w' });
103
- console.log('Wrote', argv.o + file);
104
- };
105
- }
106
-
107
- // Set any custom filters
108
- if (argv.filters) {
109
- utils.each(require(path.resolve(argv.filters)), function (filter, name) {
110
- swig.setFilter(name, filter);
111
- });
112
- }
113
-
114
- // Set any custom tags
115
- if (argv.tags) {
116
- utils.each(require(path.resolve(argv.tags)), function (tag, name) {
117
- swig.setTag(name, tag.parse, tag.compile, tag.ends, tag.block);
118
- });
119
- }
120
-
121
- // Specify swig default options
122
- if (argv.options) {
123
- swig.setDefaults(require(argv.options));
124
- }
125
-
126
- switch (command) {
127
- case 'compile':
128
- fn = function (file, str) {
129
- var r = swig.precompile(str, { filename: file, locals: ctx }).tpl.toString().replace('anonymous', '');
130
-
131
- r = argv['wrap-start'] + r + argv['wrap-end'];
132
-
133
- if (argv.m) {
134
- r = uglify.minify(r, { fromString: true }).code;
135
- }
136
-
137
- out(file, r);
138
- };
139
- break;
140
-
141
- case 'run':
142
- fn = function (file, str) {
143
- (function () {
144
- eval(str);
145
- var __tpl = eval(argv['method-name']);
146
- out(file, __tpl(swig, ctx, filters, utils, efn));
147
- }());
148
- };
149
- break;
150
-
151
- case 'render':
152
- fn = function (file, str) {
153
- out(file, swig.render(str, { filename: file, locals: ctx }));
154
- };
155
- break;
156
- }
157
-
158
- argv._.forEach(function (file) {
159
- var str = fs.readFileSync(file, 'utf8');
160
- fn(file, str);
161
- });
@@ -1,2 +0,0 @@
1
- /*! Swig v1.4.2 | https://paularmstrong.github.com/swig | @license https://github.com/paularmstrong/swig/blob/master/LICENSE */
2
- /*! DateZ (c) 2011 Tomo Universalis | @license https://github.com/TomoUniversalis/DateZ/blob/master/LISENCE */
@@ -1,9 +0,0 @@
1
- var swig = require('../lib/swig');
2
-
3
- if (typeof window.define === 'function' && typeof window.define.amd === 'object') {
4
- window.define('swig', [], function () {
5
- return swig;
6
- });
7
- } else {
8
- window.swig = swig;
9
- }
@@ -1,7 +0,0 @@
1
- var swig=require('../index'),optimist=require('optimist'),fs=require('fs'),path=require('path'),filters=require('../lib/filters'),utils=require('../lib/utils'),uglify=require('uglify-js'),command,argv=optimist.usage('\n Usage:\n $0 compile [files] [options]\n $0 run [files] [options]\n $0 render [files] [options]\n').describe({v:'Show the Swig version number.',o:'Output location.',h:'Show this help screen.',j:'Variable context as a JSON file.',c:'Variable context as a CommonJS-style file. Used only if option `j` is not provided.',
2
- m:'Minify compiled functions with uglify-js',filters:'Custom filters as a CommonJS-style file',tags:'Custom tags as a CommonJS-style file',options:"Customize Swig's Options from a CommonJS-style file",'wrap-start':'Template wrapper beginning for "compile".','wrap-end':'Template wrapper end for "compile".','method-name':'Method name to set template to and run from.'}).alias('v','version').alias('o','output').default('o','stdout').alias('h','help').alias('j','json').alias('c','context').alias('m','minify').default('wrap-start',
3
- 'var tpl = ').default('wrap-end',';').default('method-name','tpl').check(function(a){if(!a.v){if(!a._.length)throw Error('');command=a._.shift();if('compile'!==command&&'render'!==command&&'run'!==command)throw Error('Unrecognized command "'+command+'". Use -h for help.');if('tpl'!==a['method-name']&&'var tpl ='!==a['wrap-start'])throw Error('Cannot use arguments "--method-name" and "--wrap-start" together.');'tpl'!==a['method-name']&&(a['wrap-start']='var '+a['method-name']+' = ')}}).argv,ctx={},
4
- out=function(a,b){console.log(b)},efn=function(){},anonymous,files,fn;argv.v&&(console.log(require('../package').version),process.exit(0));argv.j?ctx=JSON.parse(fs.readFileSync(argv.j,'utf8')):argv.c&&(ctx=require(argv.c));if('stdout'!==argv.o){argv.o+='/';argv.o=path.normalize(argv.o);try{fs.mkdirSync(argv.o)}catch(a){if(47!==a.errno)throw a;}out=function(a,b){a=path.basename(a);fs.writeFileSync(argv.o+a,b,{flags:'w'});console.log('Wrote',argv.o+a)}}
5
- argv.filters&&utils.each(require(path.resolve(argv.filters)),function(a,b){swig.setFilter(b,a)});argv.tags&&utils.each(require(path.resolve(argv.tags)),function(a,b){swig.setTag(b,a.parse,a.compile,a.ends,a.block)});argv.options&&swig.setDefaults(require(argv.options));
6
- switch(command){case 'compile':fn=function(a,b){b=swig.precompile(b,{filename:a,locals:ctx}).tpl.toString().replace('anonymous','');b=argv['wrap-start']+b+argv['wrap-end'];argv.m&&(b=uglify.minify(b,{fromString:!0}).code);out(a,b)};break;case 'run':fn=function(a,b){(function(){eval(b);var c=eval(argv['method-name']);out(a,c(swig,ctx,filters,utils,efn))})()};break;case 'render':fn=function(a,b){out(a,swig.render(b,{filename:a,locals:ctx}))}}
7
- argv._.forEach(function(a){var b=fs.readFileSync(a,'utf8');fn(a,b)});
@@ -1,136 +0,0 @@
1
- {% extends "./layout.html" %}
2
- {% import "./includes/macros.html" as docmacro %}
3
-
4
- {% block title %}{% parent %} &raquo; API{% endblock %}
5
-
6
- {% block content %}
7
- <h1>Swig API</h1>
8
-
9
- {% for def in api %}
10
- {% if def.kind === 'typedef' and def.undocumented !== true %}
11
- <section id="{{ def.name }}" class="doc">
12
- <h2>Object Type: {{ def.name }}</h2>
13
- {{ docmacro.source(def, 1) }}
14
-
15
- {{ docmacro.description(def) }}
16
-
17
- {% if def.properties.length %}
18
- <h3>Properties</h3>
19
- <table>
20
- <thead>
21
- <tr>
22
- <th>Name</th>
23
- <th>Type</th>
24
- <th>Description</th>
25
- </tr>
26
- </thead>
27
- <tbody>
28
- {% for prop in def.properties %}
29
- <tr>
30
- <td><var data-language="js">{{ prop.name }}</var></td>
31
- <td><code data-language="js">{{ prop.type|join(" or ") }}</code></td>
32
- <td>{{ prop.description|raw }}</td>
33
- </tr>
34
- {% endfor %}
35
- </tbody>
36
- </table>
37
- {% endif %}
38
-
39
- {% if def.examples.length %}
40
- <h3>Examples</h3>
41
- {% for example in def.examples %}
42
- <pre><code data-language="js">{{ example }}</code></pre>
43
- {% endfor %}
44
- {% endif %}
45
- </section>
46
- {% endif %}
47
- {% endfor %}
48
-
49
- {% for prop in api %}
50
- {% if prop.kind === 'member' and prop.undocumented !== true %}
51
- <section id="{{ prop.name }}" class="doc">
52
- <h2>swig.{{ prop.name }}</h2>
53
- {{ docmacro.source(prop, 1) }}
54
-
55
- {{ docmacro.description(prop) }}
56
-
57
- {% if prop.examples.length %}
58
- <h3>Examples</h3>
59
- {% for example in prop.examples %}
60
- <pre><code data-language="js">{{ example }}</code></pre>
61
- {% endfor %}
62
- {% endif %}
63
- </section>
64
- {% endif %}
65
- {% endfor %}
66
-
67
- {% for fn in api %}
68
- {% if fn.access !== "private" and fn.kind === 'function' and fn.undocumented !== true %}
69
- <section id="{{ fn.name }}" class="doc">
70
- <h2>
71
- swig.{{ fn.name }}(
72
- {%- for p in fn.params -%}
73
- {{ p.name }}
74
- {%- if not loop.last %}, {% endif -%}
75
- {%- endfor -%}
76
- )
77
- </h2>
78
-
79
- {{ docmacro.source(fn, 1) }}
80
-
81
- {{ docmacro.description(fn) }}
82
-
83
- {% if fn.params.length %}
84
- <h3>Parameters</h3>
85
- <table>
86
- <thead>
87
- <tr>
88
- <th>Name</th>
89
- <th>Type</th>
90
- <th>Optional</th>
91
- <th>Default</th>
92
- <th>Description</th>
93
- </tr>
94
- </thead>
95
- <tbody>
96
- {% for param in fn.params %}
97
- <tr>
98
- <td><var data-language="js">{{ param.name }}</var></td>
99
- <td><code data-language="js">{{ param.type|join(" or ") }}</code></td>
100
- <td>{% if param.optional === true %}✔{% endif %}</td>
101
- <td><code data-language="js">{{ param.defaultvalue }}</code></td>
102
- <td>{{ param.description|raw }}</td>
103
- </tr>
104
- {% endfor %}
105
- </tbody>
106
- </table>
107
- {% endif %}
108
-
109
- {% if fn.returns %}
110
- <h3>Returns</h3>
111
- {% for ret in fn.returns %}
112
- <p><samp data-language="js">{{ ret.type.names|join(', ') }}</samp>: {{ ret.description|raw }}</p>
113
- {% endfor %}
114
- {% endif %}
115
-
116
- {% if fn.examples.length %}
117
- <h3>Examples</h3>
118
- {% for example in fn.examples %}
119
- <pre><code data-language="js">{{ example }}</code></pre>
120
- {% endfor %}
121
- {% endif %}
122
- </section>
123
- {% endif %}
124
- {% endfor %}
125
-
126
- {% endblock %}
127
-
128
- {% block apisubnav %}
129
- <ol>
130
- {% for obj in api %}
131
- {% if obj.access !== "private" and obj.undocumented !== true and obj.kind !== 'package' %}
132
- <li><a href="#{{ obj.name }}">{% if obj.kind === 'typedef' %}Object: {% elif obj.kind === 'function' or obj.kind === 'member' %}swig.{% endif %}{{ obj.name }}</a></li>
133
- {% endif %}
134
- {% endfor %}
135
- </ol>
136
- {% endblock %}
@@ -1,36 +0,0 @@
1
- {% extends "./layout.html" %}
2
-
3
- {% block title %}{% parent %} &raquo; Browser Usage{% endblock %}
4
-
5
- {% block content %}
6
- <h1>Swig in the Browser</h1>
7
-
8
- <p>Most of Swig works in the browser in the same way that Swig works within node.js. The only exception to this is that Swig is unable to look up files by their path name, unless you directly tell Swig what each template's path name is before hand.</p>
9
-
10
- <p>In short, Swig cannot resolve the directive <code data-language="swig">{% raw %}{% extends "./myfile.html" %}{% endraw %}</code> and <code data-language="swig">{% raw %}{% include "./myfile.html" %}{% endraw %}</code> without first having already been told about <var>./myfile.html</var>.</p>
11
-
12
- <p>The best way to work around this is to first pre-compile your templates using the Swig <a href="{{ baseurl }}/docs/cli/">command-line interface</a>.</p>
13
-
14
- <ol>
15
- <li>
16
- <p>Compile each template into JavaScript files. Assign a method name to the output that will be globally available in your browser.</p>
17
- <pre><code data-language="sh">$ swig compile myfile.html --method-name=myfile > myfile.js</code></pre>
18
- </li>
19
- <li>
20
- <p>Include Swig and your <samp>myfile.js</samp> in your web page.</p>
21
- <pre><code data-language="html">&lt;script src="swig.min.js"&gt;&lt;/script&gt;
22
- &lt;script src="myfile.js"&gt;&lt;/script&gt;
23
- </code></pre>
24
- </li>
25
- <li>
26
- <p>Pre-run the template to prime Swig's cache.</p>
27
- <pre><code data-language="js">swig.run(myfile, {}, '/myfile.html');</code></pre>
28
- </li>
29
- <li>
30
- <p>Now, you are ready to render a template in-browser that can extend <samp>myfile.html</samp></p>
31
- <pre><code data-language="js">var tpl = '{% raw %}{% extends "./myfile.html" %}{% block content %}{{ stuff }}{% endblock %}{% endraw %}';
32
- var output = swig.render(tpl, { filename: '/tpl', locals: { stuff: 'awesome' }});
33
- document.querySelector('#foo').innerHTML = output;</code></pre>
34
- </li>
35
- </ol>
36
- {% endblock %}