qcobjects-cli 2.5.141-beta → 2.5.144-beta

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 (273) hide show
  1. package/.cursor/rules/collaboration-features.mdc +25 -0
  2. package/.cursor/rules/development-guidelines.mdc +37 -0
  3. package/.cursor/rules/project-structure.mdc +36 -0
  4. package/.dockerignore +0 -0
  5. package/.github/FUNDING.yml +0 -0
  6. package/.github/ISSUE_TEMPLATE/bug_report.md +0 -0
  7. package/.github/ISSUE_TEMPLATE/custom.md +0 -0
  8. package/.github/ISSUE_TEMPLATE/feature_request.md +0 -0
  9. package/.github/ISSUE_TEMPLATE/issue-template.md +0 -0
  10. package/.github/workflows/ci.yml +26 -0
  11. package/.github/workflows/codeql-analysis.yml +0 -0
  12. package/.github/workflows/main-pr-source.yml +26 -0
  13. package/.github/workflows/npmpublish-beta.yml +20 -13
  14. package/.github/workflows/npmpublish-lts.yml +20 -13
  15. package/.github/workflows/npmpublish-main.yml +19 -12
  16. package/.github/workflows/open-pr-to-development.yml +70 -0
  17. package/.gitlab-ci.yml +0 -0
  18. package/.opencode/instructions/git-workflow.md +46 -0
  19. package/.pre-commit-config.yaml +9 -0
  20. package/AGENTS.md +59 -0
  21. package/CHANGELOG.md +0 -0
  22. package/README.md +75 -0
  23. package/VERSION +1 -1
  24. package/build-esbuild-esm.js +180 -0
  25. package/build-esbuild.js +182 -208
  26. package/deno.json +0 -0
  27. package/dev-requirements.txt +5 -0
  28. package/eslint.config.mjs +0 -0
  29. package/mod.ts +0 -0
  30. package/package.json +48 -47
  31. package/public/browser/api-client_services.js.map +1 -1
  32. package/public/browser/backend/backend-microservice-static.js +211 -219
  33. package/public/browser/backend/backend-microservice-static.js.map +2 -2
  34. package/public/browser/backend/backend-php.js +227 -231
  35. package/public/browser/backend/backend-php.js.map +3 -3
  36. package/public/browser/cli-commands-build-esbuild.js +326 -0
  37. package/public/browser/cli-commands-build-esbuild.js.map +7 -0
  38. package/public/browser/cli-commands-build-typescript.js +114 -0
  39. package/public/browser/cli-commands-build-typescript.js.map +7 -0
  40. package/public/browser/cli-commands-jira.js.map +1 -1
  41. package/public/browser/cli-commands-version.js.map +1 -1
  42. package/public/browser/cli-commands.js +4 -0
  43. package/public/browser/cli-commands.js.map +2 -2
  44. package/public/browser/cli-main.js.map +1 -1
  45. package/public/browser/client_services.js.map +1 -1
  46. package/public/browser/collab-server.js.map +1 -1
  47. package/public/browser/common-pipelog.js.map +1 -1
  48. package/public/browser/defaultsettings.js +68 -27
  49. package/public/browser/defaultsettings.js.map +3 -3
  50. package/public/browser/enterprise-commands.js.map +1 -1
  51. package/public/browser/main-file.js.map +1 -1
  52. package/public/browser/main-http-gae-server.js +3 -0
  53. package/public/browser/main-http-gae-server.js.map +2 -2
  54. package/public/browser/main-http-server.js +3 -0
  55. package/public/browser/main-http-server.js.map +2 -2
  56. package/public/browser/main-http2-server.js +3 -0
  57. package/public/browser/main-http2-server.js.map +2 -2
  58. package/public/browser/qcobjects-cli.js.map +1 -1
  59. package/public/browser/qcobjects-collab.js +16 -24
  60. package/public/browser/qcobjects-collab.js.map +2 -2
  61. package/public/browser/qcobjects-createcert.js +46 -54
  62. package/public/browser/qcobjects-createcert.js.map +2 -2
  63. package/public/browser/qcobjects-gae-http-server.js +16 -24
  64. package/public/browser/qcobjects-gae-http-server.js.map +2 -2
  65. package/public/browser/qcobjects-http-server.js +16 -24
  66. package/public/browser/qcobjects-http-server.js.map +2 -2
  67. package/public/browser/qcobjects-http2-server.js +21 -30
  68. package/public/browser/qcobjects-http2-server.js.map +2 -2
  69. package/public/browser/qcobjects-shell.js.map +1 -1
  70. package/public/browser/templates/apps/spa-local.html +0 -0
  71. package/public/browser/templates/apps/spa-local.js +0 -0
  72. package/public/browser/templates/pwa/sw.js +0 -0
  73. package/public/browser/types/global/index.d.js +0 -9
  74. package/public/browser/types/global/index.d.js.map +3 -3
  75. package/public/cjs/api-client_services.js +74 -0
  76. package/public/cjs/api-client_services.js.map +1 -0
  77. package/public/cjs/backend/backend-microservice-static.js +255 -0
  78. package/public/cjs/backend/backend-microservice-static.js.map +1 -0
  79. package/public/cjs/backend/backend-php.js +317 -0
  80. package/public/cjs/backend/backend-php.js.map +1 -0
  81. package/public/cjs/cli-commands-build-esbuild.js +341 -0
  82. package/public/cjs/cli-commands-build-esbuild.js.map +1 -0
  83. package/public/cjs/cli-commands-build-typescript.js +127 -0
  84. package/public/cjs/cli-commands-build-typescript.js.map +1 -0
  85. package/public/cjs/cli-commands-jira.js +115 -0
  86. package/public/cjs/cli-commands-jira.js.map +1 -0
  87. package/public/cjs/cli-commands-publish-static.js +108 -0
  88. package/public/cjs/cli-commands-publish-static.js.map +1 -0
  89. package/public/cjs/cli-commands-version.js +250 -0
  90. package/public/cjs/cli-commands-version.js.map +1 -0
  91. package/public/cjs/cli-commands.js +73 -0
  92. package/public/cjs/cli-commands.js.map +1 -0
  93. package/public/cjs/cli-main.js +487 -0
  94. package/public/cjs/cli-main.js.map +1 -0
  95. package/public/cjs/client_services.js +80 -0
  96. package/public/cjs/client_services.js.map +1 -0
  97. package/public/cjs/collab-server.js +404 -0
  98. package/public/cjs/collab-server.js.map +1 -0
  99. package/public/cjs/common-pipelog.js +57 -0
  100. package/public/cjs/common-pipelog.js.map +1 -0
  101. package/public/cjs/defaultsettings.js +496 -0
  102. package/public/cjs/defaultsettings.js.map +1 -0
  103. package/public/cjs/enterprise-commands.js +173 -0
  104. package/public/cjs/enterprise-commands.js.map +1 -0
  105. package/public/cjs/index.js +38 -0
  106. package/public/cjs/index.js.map +1 -0
  107. package/public/cjs/main-file.js +161 -0
  108. package/public/cjs/main-file.js.map +1 -0
  109. package/public/cjs/main-http-gae-server.js +498 -0
  110. package/public/cjs/main-http-gae-server.js.map +1 -0
  111. package/public/cjs/main-http-server.js +540 -0
  112. package/public/cjs/main-http-server.js.map +1 -0
  113. package/public/cjs/main-http2-server.js +398 -0
  114. package/public/cjs/main-http2-server.js.map +1 -0
  115. package/public/cjs/qcobjects-cli.js +105 -0
  116. package/public/cjs/qcobjects-cli.js.map +1 -0
  117. package/public/cjs/qcobjects-collab.js +51 -0
  118. package/public/cjs/qcobjects-collab.js.map +1 -0
  119. package/public/cjs/qcobjects-createcert.js +89 -0
  120. package/public/cjs/qcobjects-createcert.js.map +1 -0
  121. package/public/cjs/qcobjects-gae-http-server.js +51 -0
  122. package/public/cjs/qcobjects-gae-http-server.js.map +1 -0
  123. package/public/cjs/qcobjects-http-server.js +51 -0
  124. package/public/cjs/qcobjects-http-server.js.map +1 -0
  125. package/public/cjs/qcobjects-http2-server.js +54 -0
  126. package/public/cjs/qcobjects-http2-server.js.map +1 -0
  127. package/public/cjs/qcobjects-shell.js +145 -0
  128. package/public/cjs/qcobjects-shell.js.map +1 -0
  129. package/public/cjs/templates/apps/spa-local.html +0 -0
  130. package/public/cjs/templates/apps/spa-local.js +0 -0
  131. package/public/cjs/templates/pwa/sw.js +0 -0
  132. package/public/esm/api-client_services.mjs.map +1 -1
  133. package/public/esm/backend/backend-microservice-static.mjs +207 -216
  134. package/public/esm/backend/backend-microservice-static.mjs.map +2 -2
  135. package/public/esm/backend/backend-php.mjs +228 -232
  136. package/public/esm/backend/backend-php.mjs.map +2 -2
  137. package/public/esm/cli-commands-build-esbuild.mjs +295 -0
  138. package/public/esm/cli-commands-build-esbuild.mjs.map +7 -0
  139. package/public/esm/cli-commands-build-typescript.mjs +83 -0
  140. package/public/esm/cli-commands-build-typescript.mjs.map +7 -0
  141. package/public/esm/cli-commands-jira.mjs +1 -1
  142. package/public/esm/cli-commands-jira.mjs.map +1 -1
  143. package/public/esm/cli-commands-version.mjs.map +1 -1
  144. package/public/esm/cli-commands.mjs +7 -3
  145. package/public/esm/cli-commands.mjs.map +2 -2
  146. package/public/esm/cli-main.mjs +6 -6
  147. package/public/esm/cli-main.mjs.map +1 -1
  148. package/public/esm/client_services.mjs.map +1 -1
  149. package/public/esm/collab-server.mjs.map +1 -1
  150. package/public/esm/common-pipelog.mjs.map +1 -1
  151. package/public/esm/defaultsettings.mjs +68 -27
  152. package/public/esm/defaultsettings.mjs.map +3 -3
  153. package/public/esm/enterprise-commands.mjs.map +1 -1
  154. package/public/esm/index.mjs +1 -1
  155. package/public/esm/main-file.mjs.map +1 -1
  156. package/public/esm/main-http-gae-server.mjs +5 -2
  157. package/public/esm/main-http-gae-server.mjs.map +2 -2
  158. package/public/esm/main-http-server.mjs +5 -2
  159. package/public/esm/main-http-server.mjs.map +2 -2
  160. package/public/esm/main-http2-server.mjs +5 -2
  161. package/public/esm/main-http2-server.mjs.map +2 -2
  162. package/public/esm/qcobjects-cli.mjs +2 -2
  163. package/public/esm/qcobjects-cli.mjs.map +1 -1
  164. package/public/esm/qcobjects-collab.mjs +14 -23
  165. package/public/esm/qcobjects-collab.mjs.map +2 -2
  166. package/public/esm/qcobjects-createcert.mjs +43 -52
  167. package/public/esm/qcobjects-createcert.mjs.map +2 -2
  168. package/public/esm/qcobjects-gae-http-server.mjs +14 -23
  169. package/public/esm/qcobjects-gae-http-server.mjs.map +2 -2
  170. package/public/esm/qcobjects-http-server.mjs +14 -23
  171. package/public/esm/qcobjects-http-server.mjs.map +2 -2
  172. package/public/esm/qcobjects-http2-server.mjs +21 -31
  173. package/public/esm/qcobjects-http2-server.mjs.map +2 -2
  174. package/public/esm/qcobjects-shell.mjs +1 -1
  175. package/public/esm/qcobjects-shell.mjs.map +1 -1
  176. package/public/esm/templates/apps/spa-local.html +0 -0
  177. package/public/esm/templates/apps/spa-local.js +0 -0
  178. package/public/esm/templates/pwa/sw.js +0 -0
  179. package/public/esm/types/global/index.d.mjs +0 -9
  180. package/public/esm/types/global/index.d.mjs.map +3 -3
  181. package/public/types/index.d.ts +29 -3
  182. package/spec/support/jasmine.json +0 -0
  183. package/spec/testsSpec.ts +0 -0
  184. package/src/api-client_services.ts +1 -1
  185. package/src/backend/backend-microservice-static.ts +196 -196
  186. package/src/backend/backend-php.ts +240 -245
  187. package/src/cli-commands-build-esbuild.ts +375 -0
  188. package/src/cli-commands-build-typescript.ts +139 -0
  189. package/src/cli-commands-jira.ts +1 -1
  190. package/src/cli-commands-publish-static.ts +0 -0
  191. package/src/cli-commands-version.ts +1 -1
  192. package/src/cli-commands.ts +3 -1
  193. package/src/cli-main.ts +1 -1
  194. package/src/client_services.ts +1 -1
  195. package/src/collab-server.ts +1 -1
  196. package/src/common-pipelog.ts +1 -1
  197. package/src/defaultsettings.ts +65 -19
  198. package/src/enterprise-commands.ts +1 -1
  199. package/src/index.ts +0 -0
  200. package/src/main-file.ts +1 -1
  201. package/src/main-http-gae-server.ts +6 -1
  202. package/src/main-http-server.ts +6 -1
  203. package/src/main-http2-server.ts +6 -1
  204. package/src/qcobjects-cli.ts +1 -1
  205. package/src/qcobjects-collab.ts +1 -1
  206. package/src/qcobjects-createcert.ts +1 -1
  207. package/src/qcobjects-gae-http-server.ts +1 -1
  208. package/src/qcobjects-http-server.ts +1 -1
  209. package/src/qcobjects-http2-server.ts +4 -5
  210. package/src/qcobjects-shell.ts +1 -1
  211. package/src/templates/apps/spa-local.html +0 -0
  212. package/src/templates/apps/spa-local.js +0 -0
  213. package/src/templates/pwa/sw.js +0 -0
  214. package/src/types/global/index.d.ts +0 -0
  215. package/transpile.js +0 -0
  216. package/tsconfig.d.json +0 -0
  217. package/tsconfig.jasmine.json +0 -0
  218. package/tsconfig.json +3 -3
  219. package/public/cjs/api-client_services.cjs +0 -79
  220. package/public/cjs/api-client_services.cjs.map +0 -7
  221. package/public/cjs/backend/backend-microservice-static.cjs +0 -245
  222. package/public/cjs/backend/backend-microservice-static.cjs.map +0 -7
  223. package/public/cjs/backend/backend-php.cjs +0 -301
  224. package/public/cjs/backend/backend-php.cjs.map +0 -7
  225. package/public/cjs/cli-commands-jira.cjs +0 -112
  226. package/public/cjs/cli-commands-jira.cjs.map +0 -7
  227. package/public/cjs/cli-commands-publish-static.cjs +0 -109
  228. package/public/cjs/cli-commands-publish-static.cjs.map +0 -7
  229. package/public/cjs/cli-commands-version.cjs +0 -252
  230. package/public/cjs/cli-commands-version.cjs.map +0 -7
  231. package/public/cjs/cli-commands.cjs +0 -45
  232. package/public/cjs/cli-commands.cjs.map +0 -7
  233. package/public/cjs/cli-main.cjs +0 -417
  234. package/public/cjs/cli-main.cjs.map +0 -7
  235. package/public/cjs/client_services.cjs +0 -86
  236. package/public/cjs/client_services.cjs.map +0 -7
  237. package/public/cjs/collab-server.cjs +0 -444
  238. package/public/cjs/collab-server.cjs.map +0 -7
  239. package/public/cjs/common-pipelog.cjs +0 -50
  240. package/public/cjs/common-pipelog.cjs.map +0 -7
  241. package/public/cjs/defaultsettings.cjs +0 -432
  242. package/public/cjs/defaultsettings.cjs.map +0 -7
  243. package/public/cjs/enterprise-commands.cjs +0 -175
  244. package/public/cjs/enterprise-commands.cjs.map +0 -7
  245. package/public/cjs/index.cjs +0 -36
  246. package/public/cjs/index.cjs.map +0 -7
  247. package/public/cjs/main-file.cjs +0 -194
  248. package/public/cjs/main-file.cjs.map +0 -7
  249. package/public/cjs/main-http-gae-server.cjs +0 -519
  250. package/public/cjs/main-http-gae-server.cjs.map +0 -7
  251. package/public/cjs/main-http-server.cjs +0 -585
  252. package/public/cjs/main-http-server.cjs.map +0 -7
  253. package/public/cjs/main-http2-server.cjs +0 -428
  254. package/public/cjs/main-http2-server.cjs.map +0 -7
  255. package/public/cjs/qcobjects-cli.cjs +0 -92
  256. package/public/cjs/qcobjects-cli.cjs.map +0 -7
  257. package/public/cjs/qcobjects-collab.cjs +0 -43
  258. package/public/cjs/qcobjects-collab.cjs.map +0 -7
  259. package/public/cjs/qcobjects-createcert.cjs +0 -75
  260. package/public/cjs/qcobjects-createcert.cjs.map +0 -7
  261. package/public/cjs/qcobjects-gae-http-server.cjs +0 -43
  262. package/public/cjs/qcobjects-gae-http-server.cjs.map +0 -7
  263. package/public/cjs/qcobjects-http-server.cjs +0 -43
  264. package/public/cjs/qcobjects-http-server.cjs.map +0 -7
  265. package/public/cjs/qcobjects-http2-server.cjs +0 -49
  266. package/public/cjs/qcobjects-http2-server.cjs.map +0 -7
  267. package/public/cjs/qcobjects-shell.cjs +0 -185
  268. package/public/cjs/qcobjects-shell.cjs.map +0 -7
  269. package/public/cjs/types/global/index.d.cjs +0 -2
  270. package/public/cjs/types/global/index.d.cjs.map +0 -7
  271. package/public/types/index.d.ts.map +0 -1
  272. package/src/index.cts +0 -2
  273. package/src/index.mts +0 -2
@@ -1,30 +1,21 @@
1
1
  #!/usr/bin/env node
2
2
  var __defProp = Object.defineProperty;
3
- var __getOwnPropNames = Object.getOwnPropertyNames;
4
3
  var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
5
- var __commonJS = (cb, mod) => function __require() {
6
- return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
7
- };
8
4
  import path from "path";
9
5
  import { InheritClass, New, logger } from "qcobjects";
10
- import "./defaultsettings.mjs";
11
- import { HTTPServer } from "./main-http-gae-server.mjs";
12
- var require_qcobjects_gae_http_server = __commonJS({
13
- "src/qcobjects-gae-http-server.ts"() {
14
- const absolutePath = path.resolve(__dirname, "./");
15
- class Main extends InheritClass {
16
- static {
17
- __name(this, "Main");
18
- }
19
- constructor() {
20
- super();
21
- const app = New(HTTPServer);
22
- app.start();
23
- logger.debug("initialized");
24
- }
25
- }
26
- const __main__ = new Main();
6
+ import "./defaultsettings";
7
+ import { HTTPServer } from "./main-http-gae-server";
8
+ const absolutePath = path.resolve(__dirname, "./");
9
+ class Main extends InheritClass {
10
+ static {
11
+ __name(this, "Main");
27
12
  }
28
- });
29
- export default require_qcobjects_gae_http_server();
13
+ constructor() {
14
+ super();
15
+ const app = New(HTTPServer);
16
+ app.start();
17
+ logger.debug("initialized");
18
+ }
19
+ }
20
+ const __main__ = new Main();
30
21
  //# sourceMappingURL=qcobjects-gae-http-server.mjs.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/qcobjects-gae-http-server.ts"],
4
- "sourcesContent": ["#!/usr/bin/env node\n/**\n * QCObjects CLI 2.4.x\n * ________________\n *\n * Author: Jean Machuca <correojean@gmail.com>\n *\n * Cross Browser Javascript Framework for MVC Patterns\n * QuickCorp/QCObjects is licensed under the\n * GNU Lesser General Public License v3.0\n * [LICENSE] (https://github.com/QuickCorp/QCObjects/blob/master/LICENSE.txt)\n *\n * Permissions of this copyleft license are conditioned on making available\n * complete source code of licensed works and modifications under the same\n * license or the GNU GPLv3. Copyright and license notices must be preserved.\n * Contributors provide an express grant of patent rights. However, a larger\n * work using the licensed work through interfaces provided by the licensed\n * work may be distributed under different terms and without source code for\n * the larger work.\n *\n * Copyright (C) 2015 Jean Machuca,<correojean@gmail.com>\n *\n * Everyone is permitted to copy and distribute verbatim copies of this\n * license document, but changing it is not allowed.\n*/\n/*eslint no-unused-vars: \"off\"*/\n/*eslint no-redeclare: \"off\"*/\n/*eslint no-empty: \"off\"*/\n/*eslint strict: \"off\"*/\n/*eslint no-mixed-operators: \"off\"*/\n/*eslint no-undef: \"off\"*/\n\"use strict\";\nimport path from \"path\";\nimport { InheritClass, New, logger } from \"qcobjects\";\nimport \"./defaultsettings\";\nimport { HTTPServer } from \"./main-http-gae-server\";\n\n\nconst absolutePath = path.resolve(__dirname, \"./\");\n\n\nclass Main extends InheritClass {\n\n constructor() {\n super();\n const app = New(HTTPServer);\n app.start();\n\n logger.debug(\"initialized\");\n\n }\n}\n\nconst __main__ = new Main();\n"],
5
- "mappings": ";;;;;;;AAgCA,OAAO,UAAU;AACjB,SAAS,cAAc,KAAK,cAAc;AAC1C,OAAO;AACP,SAAS,kBAAkB;AAnC3B;AAAA;AAsCA,UAAM,eAAe,KAAK,QAAQ,WAAW,IAAI;AAAA,IAGjD,MAAM,aAAa,aAAa;AAAA,MAzChC,OAyCgC;AAAA;AAAA;AAAA,MAE9B,cAAc;AACZ,cAAM;AACN,cAAM,MAAM,IAAI,UAAU;AAC1B,YAAI,MAAM;AAEV,eAAO,MAAM,aAAa;AAAA,MAE5B;AAAA,IACF;AAEA,UAAM,WAAW,IAAI,KAAK;AAAA;AAAA;",
4
+ "sourcesContent": ["#!/usr/bin/env node\n/**\n * QCObjects CLI 2.5\n * ________________\n *\n * Author: Jean Machuca <correojean@gmail.com>\n *\n * Cross Browser Javascript Framework for MVC Patterns\n * QuickCorp/QCObjects is licensed under the\n * GNU Lesser General Public License v3.0\n * [LICENSE] (https://github.com/QuickCorp/QCObjects/blob/master/LICENSE.txt)\n *\n * Permissions of this copyleft license are conditioned on making available\n * complete source code of licensed works and modifications under the same\n * license or the GNU GPLv3. Copyright and license notices must be preserved.\n * Contributors provide an express grant of patent rights. However, a larger\n * work using the licensed work through interfaces provided by the licensed\n * work may be distributed under different terms and without source code for\n * the larger work.\n *\n * Copyright (C) 2015 Jean Machuca,<correojean@gmail.com>\n *\n * Everyone is permitted to copy and distribute verbatim copies of this\n * license document, but changing it is not allowed.\n*/\n/*eslint no-unused-vars: \"off\"*/\n/*eslint no-redeclare: \"off\"*/\n/*eslint no-empty: \"off\"*/\n/*eslint strict: \"off\"*/\n/*eslint no-mixed-operators: \"off\"*/\n/*eslint no-undef: \"off\"*/\n\"use strict\";\nimport path from \"path\";\nimport { InheritClass, New, logger } from \"qcobjects\";\nimport \"./defaultsettings\";\nimport { HTTPServer } from \"./main-http-gae-server\";\n\n\nconst absolutePath = path.resolve(__dirname, \"./\");\n\n\nclass Main extends InheritClass {\n\n constructor() {\n super();\n const app = New(HTTPServer);\n app.start();\n\n logger.debug(\"initialized\");\n\n }\n}\n\nconst __main__ = new Main();\n"],
5
+ "mappings": ";;;AAgCA,OAAO,UAAU;AACjB,SAAS,cAAc,KAAK,cAAc;AAC1C,OAAO;AACP,SAAS,kBAAkB;AAG3B,MAAM,eAAe,KAAK,QAAQ,WAAW,IAAI;AAGjD,MAAM,aAAa,aAAa;AAAA,EAzChC,OAyCgC;AAAA;AAAA;AAAA,EAE9B,cAAc;AACZ,UAAM;AACN,UAAM,MAAM,IAAI,UAAU;AAC1B,QAAI,MAAM;AAEV,WAAO,MAAM,aAAa;AAAA,EAE5B;AACF;AAEA,MAAM,WAAW,IAAI,KAAK;",
6
6
  "names": []
7
7
  }
@@ -1,30 +1,21 @@
1
1
  #!/usr/bin/env node
2
2
  var __defProp = Object.defineProperty;
3
- var __getOwnPropNames = Object.getOwnPropertyNames;
4
3
  var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
5
- var __commonJS = (cb, mod) => function __require() {
6
- return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
7
- };
8
4
  import path from "path";
9
5
  import { InheritClass, New, logger } from "qcobjects";
10
- import "./defaultsettings.mjs";
11
- import { HTTPServer } from "./main-http-server.mjs";
12
- var require_qcobjects_http_server = __commonJS({
13
- "src/qcobjects-http-server.ts"() {
14
- const absolutePath = path.resolve(__dirname, "./");
15
- class Main extends InheritClass {
16
- static {
17
- __name(this, "Main");
18
- }
19
- constructor() {
20
- super();
21
- const app = New(HTTPServer);
22
- app.start();
23
- logger.debug("initialized");
24
- }
25
- }
26
- const __main__ = new Main();
6
+ import "./defaultsettings";
7
+ import { HTTPServer } from "./main-http-server";
8
+ const absolutePath = path.resolve(__dirname, "./");
9
+ class Main extends InheritClass {
10
+ static {
11
+ __name(this, "Main");
27
12
  }
28
- });
29
- export default require_qcobjects_http_server();
13
+ constructor() {
14
+ super();
15
+ const app = New(HTTPServer);
16
+ app.start();
17
+ logger.debug("initialized");
18
+ }
19
+ }
20
+ const __main__ = new Main();
30
21
  //# sourceMappingURL=qcobjects-http-server.mjs.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/qcobjects-http-server.ts"],
4
- "sourcesContent": ["#!/usr/bin/env node\n/**\n * QCObjects CLI 2.4.x\n * ________________\n *\n * Author: Jean Machuca <correojean@gmail.com>\n *\n * Cross Browser Javascript Framework for MVC Patterns\n * QuickCorp/QCObjects is licensed under the\n * GNU Lesser General Public License v3.0\n * [LICENSE] (https://github.com/QuickCorp/QCObjects/blob/master/LICENSE.txt)\n *\n * Permissions of this copyleft license are conditioned on making available\n * complete source code of licensed works and modifications under the same\n * license or the GNU GPLv3. Copyright and license notices must be preserved.\n * Contributors provide an express grant of patent rights. However, a larger\n * work using the licensed work through interfaces provided by the licensed\n * work may be distributed under different terms and without source code for\n * the larger work.\n *\n * Copyright (C) 2015 Jean Machuca,<correojean@gmail.com>\n *\n * Everyone is permitted to copy and distribute verbatim copies of this\n * license document, but changing it is not allowed.\n*/\n/*eslint no-unused-vars: \"off\"*/\n/*eslint no-redeclare: \"off\"*/\n/*eslint no-empty: \"off\"*/\n/*eslint strict: \"off\"*/\n/*eslint no-mixed-operators: \"off\"*/\n/*eslint no-undef: \"off\"*/\n\"use strict\";\nimport path from \"path\";\nimport { InheritClass, New, logger } from \"qcobjects\";\nimport \"./defaultsettings\";\nimport { HTTPServer } from \"./main-http-server\";\n\n const absolutePath = path.resolve(__dirname, \"./\");\n\n\n\n\n class Main extends InheritClass {\n constructor() {\n super();\n const app = New(HTTPServer);\n app.start();\n\n logger.debug(\"initialized\");\n\n }\n }\n\n const __main__ = new Main();\n"],
5
- "mappings": ";;;;;;;AAgCA,OAAO,UAAU;AACjB,SAAS,cAAc,KAAK,cAAc;AAC1C,OAAO;AACP,SAAS,kBAAkB;AAnC3B;AAAA;AAqCE,UAAM,eAAe,KAAK,QAAQ,WAAW,IAAI;AAAA,IAKjD,MAAM,aAAa,aAAa;AAAA,MA1ClC,OA0CkC;AAAA;AAAA;AAAA,MAC9B,cAAc;AACZ,cAAM;AACN,cAAM,MAAM,IAAI,UAAU;AAC1B,YAAI,MAAM;AAEV,eAAO,MAAM,aAAa;AAAA,MAE5B;AAAA,IACF;AAEA,UAAM,WAAW,IAAI,KAAK;AAAA;AAAA;",
4
+ "sourcesContent": ["#!/usr/bin/env node\n/**\n * QCObjects CLI 2.5\n * ________________\n *\n * Author: Jean Machuca <correojean@gmail.com>\n *\n * Cross Browser Javascript Framework for MVC Patterns\n * QuickCorp/QCObjects is licensed under the\n * GNU Lesser General Public License v3.0\n * [LICENSE] (https://github.com/QuickCorp/QCObjects/blob/master/LICENSE.txt)\n *\n * Permissions of this copyleft license are conditioned on making available\n * complete source code of licensed works and modifications under the same\n * license or the GNU GPLv3. Copyright and license notices must be preserved.\n * Contributors provide an express grant of patent rights. However, a larger\n * work using the licensed work through interfaces provided by the licensed\n * work may be distributed under different terms and without source code for\n * the larger work.\n *\n * Copyright (C) 2015 Jean Machuca,<correojean@gmail.com>\n *\n * Everyone is permitted to copy and distribute verbatim copies of this\n * license document, but changing it is not allowed.\n*/\n/*eslint no-unused-vars: \"off\"*/\n/*eslint no-redeclare: \"off\"*/\n/*eslint no-empty: \"off\"*/\n/*eslint strict: \"off\"*/\n/*eslint no-mixed-operators: \"off\"*/\n/*eslint no-undef: \"off\"*/\n\"use strict\";\nimport path from \"path\";\nimport { InheritClass, New, logger } from \"qcobjects\";\nimport \"./defaultsettings\";\nimport { HTTPServer } from \"./main-http-server\";\n\n const absolutePath = path.resolve(__dirname, \"./\");\n\n\n\n\n class Main extends InheritClass {\n constructor() {\n super();\n const app = New(HTTPServer);\n app.start();\n\n logger.debug(\"initialized\");\n\n }\n }\n\n const __main__ = new Main();\n"],
5
+ "mappings": ";;;AAgCA,OAAO,UAAU;AACjB,SAAS,cAAc,KAAK,cAAc;AAC1C,OAAO;AACP,SAAS,kBAAkB;AAEzB,MAAM,eAAe,KAAK,QAAQ,WAAW,IAAI;AAKjD,MAAM,aAAa,aAAa;AAAA,EA1ClC,OA0CkC;AAAA;AAAA;AAAA,EAC9B,cAAc;AACZ,UAAM;AACN,UAAM,MAAM,IAAI,UAAU;AAC1B,QAAI,MAAM;AAEV,WAAO,MAAM,aAAa;AAAA,EAE5B;AACF;AAEA,MAAM,WAAW,IAAI,KAAK;",
6
6
  "names": []
7
7
  }
@@ -1,36 +1,26 @@
1
1
  #!/usr/bin/env node
2
2
  var __defProp = Object.defineProperty;
3
- var __getOwnPropNames = Object.getOwnPropertyNames;
4
3
  var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
5
- var __commonJS = (cb, mod) => function __require() {
6
- return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
7
- };
8
- import "./defaultsettings.mjs";
9
- import { HTTPServer } from "./main-http-server.mjs";
10
- import { HTTP2Server } from "./main-http2-server.mjs";
11
- var require_qcobjects_http2_server = __commonJS({
12
- "src/qcobjects-http2-server.ts"() {
13
- (async () => {
14
- "use strict";
15
- const path = await import("path");
16
- const absolutePath = path.resolve(__dirname, "./");
17
- await import("qcobjects");
18
- const { CONFIG, InheritClass, New, logger } = await import("qcobjects");
19
- class Main extends InheritClass {
20
- static {
21
- __name(this, "Main");
22
- }
23
- constructor() {
24
- super();
25
- const _ServerClass_ = CONFIG.get("useLegacyHTTP", false) ? HTTPServer : HTTP2Server;
26
- const app = New(_ServerClass_);
27
- app.start();
28
- logger.debug("initialized");
29
- }
30
- }
31
- const __main__ = new Main();
32
- })().catch((e) => console.error(e));
4
+ import "./defaultsettings";
5
+ import { HTTPServer } from "./main-http-server";
6
+ import { HTTP2Server } from "./main-http2-server";
7
+ import { CONFIG, InheritClass, New, logger } from "qcobjects";
8
+ (async () => {
9
+ "use strict";
10
+ const path = await import("path");
11
+ const absolutePath = path.resolve(__dirname, "./");
12
+ class Main extends InheritClass {
13
+ static {
14
+ __name(this, "Main");
15
+ }
16
+ constructor() {
17
+ super();
18
+ const _ServerClass_ = CONFIG.get("useLegacyHTTP", false) ? HTTPServer : HTTP2Server;
19
+ const app = New(_ServerClass_);
20
+ app.start();
21
+ logger.debug("initialized");
22
+ }
33
23
  }
34
- });
35
- export default require_qcobjects_http2_server();
24
+ const __main__ = new Main();
25
+ })().catch((e) => console.error(e));
36
26
  //# sourceMappingURL=qcobjects-http2-server.mjs.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/qcobjects-http2-server.ts"],
4
- "sourcesContent": ["#!/usr/bin/env node\n/**\n * QCObjects CLI 2.4.x\n * ________________\n *\n * Author: Jean Machuca <correojean@gmail.com>\n *\n * Cross Browser Javascript Framework for MVC Patterns\n * QuickCorp/QCObjects is licensed under the\n * GNU Lesser General Public License v3.0\n * [LICENSE] (https://github.com/QuickCorp/QCObjects/blob/master/LICENSE.txt)\n *\n * Permissions of this copyleft license are conditioned on making available\n * complete source code of licensed works and modifications under the same\n * license or the GNU GPLv3. Copyright and license notices must be preserved.\n * Contributors provide an express grant of patent rights. However, a larger\n * work using the licensed work through interfaces provided by the licensed\n * work may be distributed under different terms and without source code for\n * the larger work.\n *\n * Copyright (C) 2015 Jean Machuca,<correojean@gmail.com>\n *\n * Everyone is permitted to copy and distribute verbatim copies of this\n * license document, but changing it is not allowed.\n*/\n/*eslint no-unused-vars: \"off\"*/\n/*eslint no-redeclare: \"off\"*/\n/*eslint no-empty: \"off\"*/\n/*eslint strict: \"off\"*/\n/*eslint no-mixed-operators: \"off\"*/\n/*eslint no-undef: \"off\"*/\n\nimport \"./defaultsettings\";\nimport {HTTPServer} from \"./main-http-server\";\nimport {HTTP2Server} from \"./main-http2-server\";\n\n(async () => {\n \"use strict\";\n const path = await import(\"path\");\n const absolutePath = path.resolve(__dirname, \"./\");\n\n await import(\"qcobjects\");\n const { CONFIG, InheritClass, New, logger } = await import(\"qcobjects\");\n\n\n class Main extends InheritClass {\n constructor() {\n super();\n\n const _ServerClass_ = (CONFIG.get(\"useLegacyHTTP\", false)) ? (HTTPServer) : (HTTP2Server);\n const app = New(_ServerClass_);\n app.start();\n\n logger.debug(\"initialized\");\n\n }\n\n }\n\n const __main__ = new Main();\n})()\n.catch(e => console.error(e));"],
5
- "mappings": ";;;;;;;AAgCA,OAAO;AACP,SAAQ,kBAAiB;AACzB,SAAQ,mBAAkB;AAlC1B;AAAA;AAoCA,KAAC,YAAY;AACX;AACA,YAAM,OAAO,MAAM,OAAO,MAAM;AAChC,YAAM,eAAe,KAAK,QAAQ,WAAW,IAAI;AAEjD,YAAM,OAAO,WAAW;AACxB,YAAM,EAAE,QAAQ,cAAc,KAAK,OAAO,IAAI,MAAM,OAAO,WAAW;AAAA,MAGtE,MAAM,aAAa,aAAa;AAAA,QA7ClC,OA6CkC;AAAA;AAAA;AAAA,QAC9B,cAAc;AACZ,gBAAM;AAEN,gBAAM,gBAAiB,OAAO,IAAI,iBAAiB,KAAK,IAAM,aAAe;AAC7E,gBAAM,MAAM,IAAI,aAAa;AAC7B,cAAI,MAAM;AAEV,iBAAO,MAAM,aAAa;AAAA,QAE5B;AAAA,MAEF;AAEA,YAAM,WAAW,IAAI,KAAK;AAAA,IAC5B,GAAG,EACF,MAAM,OAAK,QAAQ,MAAM,CAAC,CAAC;AAAA;AAAA;",
4
+ "sourcesContent": ["#!/usr/bin/env node\n/**\n * QCObjects CLI 2.5\n * ________________\n *\n * Author: Jean Machuca <correojean@gmail.com>\n *\n * Cross Browser Javascript Framework for MVC Patterns\n * QuickCorp/QCObjects is licensed under the\n * GNU Lesser General Public License v3.0\n * [LICENSE] (https://github.com/QuickCorp/QCObjects/blob/master/LICENSE.txt)\n *\n * Permissions of this copyleft license are conditioned on making available\n * complete source code of licensed works and modifications under the same\n * license or the GNU GPLv3. Copyright and license notices must be preserved.\n * Contributors provide an express grant of patent rights. However, a larger\n * work using the licensed work through interfaces provided by the licensed\n * work may be distributed under different terms and without source code for\n * the larger work.\n *\n * Copyright (C) 2015 Jean Machuca,<correojean@gmail.com>\n *\n * Everyone is permitted to copy and distribute verbatim copies of this\n * license document, but changing it is not allowed.\n*/\n/*eslint no-unused-vars: \"off\"*/\n/*eslint no-redeclare: \"off\"*/\n/*eslint no-empty: \"off\"*/\n/*eslint strict: \"off\"*/\n/*eslint no-mixed-operators: \"off\"*/\n/*eslint no-undef: \"off\"*/\n\nimport \"./defaultsettings\";\nimport {HTTPServer} from \"./main-http-server\";\nimport {HTTP2Server} from \"./main-http2-server\";\nimport {getProjectPath} from \"./defaultsettings\";\nimport { CONFIG, InheritClass, New, logger } from \"qcobjects\";\n\n\n(async () => {\n \"use strict\";\n const path = await import(\"path\");\n const absolutePath = path.resolve(__dirname, \"./\");\n\n class Main extends InheritClass {\n constructor() {\n super();\n\n const _ServerClass_ = (CONFIG.get(\"useLegacyHTTP\", false)) ? (HTTPServer) : (HTTP2Server);\n const app = New(_ServerClass_);\n app.start();\n\n logger.debug(\"initialized\");\n\n }\n\n }\n\n const __main__ = new Main();\n})()\n.catch(e => console.error(e));"],
5
+ "mappings": ";;;AAgCA,OAAO;AACP,SAAQ,kBAAiB;AACzB,SAAQ,mBAAkB;AAE1B,SAAS,QAAQ,cAAc,KAAK,cAAc;AAAA,CAGjD,YAAY;AACX;AACA,QAAM,OAAO,MAAM,OAAO,MAAM;AAChC,QAAM,eAAe,KAAK,QAAQ,WAAW,IAAI;AAAA,EAEjD,MAAM,aAAa,aAAa;AAAA,IA5ClC,OA4CkC;AAAA;AAAA;AAAA,IAC9B,cAAc;AACZ,YAAM;AAEN,YAAM,gBAAiB,OAAO,IAAI,iBAAiB,KAAK,IAAM,aAAe;AAC7E,YAAM,MAAM,IAAI,aAAa;AAC7B,UAAI,MAAM;AAEV,aAAO,MAAM,aAAa;AAAA,IAE5B;AAAA,EAEF;AAEA,QAAM,WAAW,IAAI,KAAK;AAC5B,GAAG,EACF,MAAM,OAAK,QAAQ,MAAM,CAAC,CAAC;",
6
6
  "names": []
7
7
  }
@@ -8,7 +8,7 @@ var __commonJS = (cb, mod) => function __require() {
8
8
  import path from "path";
9
9
  import vm from "vm";
10
10
  import { InheritClass, global } from "qcobjects";
11
- import "./defaultsettings.mjs";
11
+ import "./defaultsettings";
12
12
  import readline from "readline";
13
13
  var require_qcobjects_shell = __commonJS({
14
14
  "src/qcobjects-shell.ts"(exports, module) {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/qcobjects-shell.ts"],
4
- "sourcesContent": ["#!/usr/bin/env node\n/**\n * QCObjects CLI 2.4.x\n * ________________\n *\n * Author: Jean Machuca <correojean@gmail.com>\n *\n * Cross Browser Javascript Framework for MVC Patterns\n * QuickCorp/QCObjects is licensed under the\n * GNU Lesser General Public License v3.0\n * [LICENSE] (https://github.com/QuickCorp/QCObjects/blob/master/LICENSE.txt)\n *\n * Permissions of this copyleft license are conditioned on making available\n * complete source code of licensed works and modifications under the same\n * license or the GNU GPLv3. Copyright and license notices must be preserved.\n * Contributors provide an express grant of patent rights. However, a larger\n * work using the licensed work through interfaces provided by the licensed\n * work may be distributed under different terms and without source code for\n * the larger work.\n *\n * Copyright (C) 2015 Jean Machuca,<correojean@gmail.com>\n *\n * Everyone is permitted to copy and distribute verbatim copies of this\n * license document, but changing it is not allowed.\n*/\n/*eslint no-unused-vars: \"off\"*/\n/*eslint no-redeclare: \"off\"*/\n/*eslint no-empty: \"off\"*/\n/*eslint strict: \"off\"*/\n/*eslint no-mixed-operators: \"off\"*/\n/*eslint no-undef: \"off\"*/\n\"use strict\";\n\nconst welcometo = \"Welcome to \\n\";\nconst instructions = \"Type:\\n .exit to quit\\n .help for see a quick guide\\n And any other command to execute like pure javascript \\n All the QCObjects stuff is already loaded for you\";\n//const logo = ' .88888. a88888b. .88888. dP oo dP \\r\\nd8\\' `8b d8\\' `88 d8\\' `8b 88 88 \\r\\n88 88 88 88 88 88d888b. dP .d8888b. .d8888b. d8888P .d8888b. \\r\\n88 db 88 88 88 88 88\\' `88 88 88ooood8 88\\' `\\\"\\\" 88 Y8ooooo. \\r\\nY8. Y88P Y8. .88 Y8. .8P 88. .88 88 88. ... 88. ... 88 88 \\r\\n `8888PY8b Y88888P\\' `8888P\\' 88Y8888\\' 88 `88888P\\' `88888P\\' dP `88888P\\' \\r\\noooooooooooooooooooooooooooooooooooooooo88~oooooooooooooooooooooooooooooooooo\\r\\n dP ';\nconst logo = \" .d88888b. .d8888b. .d88888b. 888 d8b 888 \\r\\nd88P\\\" \\\"Y88bd88P Y88bd88P\\\" \\\"Y88b888 Y8P 888 \\r\\n888 888888 888888 888888 888 \\r\\n888 888888 888 88888888b. 8888 .d88b. .d8888b888888.d8888b \\r\\n888 888888 888 888888 \\\"88b \\\"888d8P Y8bd88P\\\" 888 88K \\r\\n888 Y8b 888888 888888 888888 888 88888888888888 888 \\\"Y8888b. \\r\\nY88b.Y8b88PY88b d88PY88b. .d88P888 d88P 888Y8b. Y88b. Y88b. X88 \\r\\n \\\"Y888888\\\" \\\"Y8888P\\\" \\\"Y88888P\\\" 88888P\\\" 888 \\\"Y8888 \\\"Y8888P \\\"Y888 88888P' \\r\\n Y8b 888 \\r\\n d88P \\r\\n 888P\\\" \";\nimport path from \"path\";\nconst absolutePath = path.resolve( __dirname, \"./\" );\n\nimport vm from \"vm\";\n\nimport {InheritClass, global} from \"qcobjects\";\nimport \"./defaultsettings\";\nimport readline from \"readline\";\n\n\nclass Main extends InheritClass {\n constructor(){\n super();\n this.start();\n }\n\n start (){\n const sandbox = {\n require:require,\n module:module,\n __dirname:\"./\",\n __filename:\"qcobjects-shell-file.js\"\n };\n global.context = vm.createContext(sandbox);\n \n const runScript = (code: string,logOutput=false)=>{\n const options = {filename:sandbox.__filename};\n \n const backgroundRunScript = (code: string):any=>{\n var output = vm.runInContext(code,global.context,options);\n return output;\n };\n \n var output = backgroundRunScript(code);\n \n if (logOutput && typeof output !== \"undefined\"){\n console.log(output);\n }\n };\n \n const syncGlobal = ()=>{\n var s = \"Object.assign(this,this.constructor.constructor('return this')())\";\n runScript(s);\n };\n \n readline.emitKeypressEvents(process.stdin);\n if (process.stdin.isTTY)\n process.stdin.setRawMode(true);\n \n const qcobjects_version = global.__get_version_string__();\n \n const rl = readline.createInterface({\n input: process.stdin,\n output: process.stdout,\n prompt: qcobjects_version + \" >\"\n });\n \n const protected_symbols = [ \"clearInterval\",\n \"clearTimeout\",\n \"setInterval\",\n \"setTimeout\", \"queueMicrotask\",\n \"clearImmediate\", \"setImmediate\", \"_asyncLoad\",\n \"_fireAsyncLoad\", \"asyncLoad\", \"logger\",\n \"_Crypt\", \"CONFIG\", \"waitUntil\",\n \"_super_\", \"ComplexStorageCache\", \"TagElements\",\n \"onload\", \"InheritClass\", \"Component\",\n \"Controller\", \"View\", \"Service\",\n \"JSONService\", \"ConfigService\", \"VO\",\n \"serviceLoader\", \"componentLoader\", \"ComponentURI\",\n \"SourceJS\", \"SourceCSS\", \"ArrayList\",\n \"ArrayCollection\", \"Effect\", \"Timer\",\n \"Export\", \"Import\", \"Package\",\n \"Class\", \"New\", \"Tag\",\n \"Ready\", \"Contact\", \"FormField\",\n \"ButtonField\", \"InputField\", \"TextField\",\n \"EmailField\", \"GridComponent\", \"GridController\",\n \"GridView\", \"Move\", \"RotateX\",\n \"RotateY\", \"RotateZ\", \"Rotate\",\n \"Fade\", \"Radius\", \"CanvasTool\",\n \"BasicLayout\"\n ];\n \n const preloaded_scripts = [\n \"require('qcobjects')\",\n \"Object.assign(this,this.constructor.constructor('return this')())\"\n ];\n \n preloaded_scripts.map(preloaded_script =>\n runScript(preloaded_script.trim())\n );\n \n \n console.log(welcometo);\n console.log(logo);\n console.log(instructions);\n rl.prompt(true);\n \n rl.on(\"line\", (line) => {\n var codeline = line.trim();\n switch (true) {\n case codeline==\"hello\":\n console.log(\"world!\");\n break;\n case codeline==\".exit\":\n rl.close();\n break;\n default:\n try{\n runScript(codeline,true);\n syncGlobal.bind(sandbox)();\n }catch (e){\n console.log(\"An exeption ocurred while trying to run your awesome code! \");\n console.log(e);\n }\n break;\n }\n rl.prompt();\n }).on(\"close\", () => {\n console.log(\"Thank you for using QCObjects.\");\n console.log(\"Have a nice day!\");\n process.exit(0);\n });\n \n }\n}"],
4
+ "sourcesContent": ["#!/usr/bin/env node\n/**\n * QCObjects CLI 2.5\n * ________________\n *\n * Author: Jean Machuca <correojean@gmail.com>\n *\n * Cross Browser Javascript Framework for MVC Patterns\n * QuickCorp/QCObjects is licensed under the\n * GNU Lesser General Public License v3.0\n * [LICENSE] (https://github.com/QuickCorp/QCObjects/blob/master/LICENSE.txt)\n *\n * Permissions of this copyleft license are conditioned on making available\n * complete source code of licensed works and modifications under the same\n * license or the GNU GPLv3. Copyright and license notices must be preserved.\n * Contributors provide an express grant of patent rights. However, a larger\n * work using the licensed work through interfaces provided by the licensed\n * work may be distributed under different terms and without source code for\n * the larger work.\n *\n * Copyright (C) 2015 Jean Machuca,<correojean@gmail.com>\n *\n * Everyone is permitted to copy and distribute verbatim copies of this\n * license document, but changing it is not allowed.\n*/\n/*eslint no-unused-vars: \"off\"*/\n/*eslint no-redeclare: \"off\"*/\n/*eslint no-empty: \"off\"*/\n/*eslint strict: \"off\"*/\n/*eslint no-mixed-operators: \"off\"*/\n/*eslint no-undef: \"off\"*/\n\"use strict\";\n\nconst welcometo = \"Welcome to \\n\";\nconst instructions = \"Type:\\n .exit to quit\\n .help for see a quick guide\\n And any other command to execute like pure javascript \\n All the QCObjects stuff is already loaded for you\";\n//const logo = ' .88888. a88888b. .88888. dP oo dP \\r\\nd8\\' `8b d8\\' `88 d8\\' `8b 88 88 \\r\\n88 88 88 88 88 88d888b. dP .d8888b. .d8888b. d8888P .d8888b. \\r\\n88 db 88 88 88 88 88\\' `88 88 88ooood8 88\\' `\\\"\\\" 88 Y8ooooo. \\r\\nY8. Y88P Y8. .88 Y8. .8P 88. .88 88 88. ... 88. ... 88 88 \\r\\n `8888PY8b Y88888P\\' `8888P\\' 88Y8888\\' 88 `88888P\\' `88888P\\' dP `88888P\\' \\r\\noooooooooooooooooooooooooooooooooooooooo88~oooooooooooooooooooooooooooooooooo\\r\\n dP ';\nconst logo = \" .d88888b. .d8888b. .d88888b. 888 d8b 888 \\r\\nd88P\\\" \\\"Y88bd88P Y88bd88P\\\" \\\"Y88b888 Y8P 888 \\r\\n888 888888 888888 888888 888 \\r\\n888 888888 888 88888888b. 8888 .d88b. .d8888b888888.d8888b \\r\\n888 888888 888 888888 \\\"88b \\\"888d8P Y8bd88P\\\" 888 88K \\r\\n888 Y8b 888888 888888 888888 888 88888888888888 888 \\\"Y8888b. \\r\\nY88b.Y8b88PY88b d88PY88b. .d88P888 d88P 888Y8b. Y88b. Y88b. X88 \\r\\n \\\"Y888888\\\" \\\"Y8888P\\\" \\\"Y88888P\\\" 88888P\\\" 888 \\\"Y8888 \\\"Y8888P \\\"Y888 88888P' \\r\\n Y8b 888 \\r\\n d88P \\r\\n 888P\\\" \";\nimport path from \"path\";\nconst absolutePath = path.resolve( __dirname, \"./\" );\n\nimport vm from \"vm\";\n\nimport {InheritClass, global} from \"qcobjects\";\nimport \"./defaultsettings\";\nimport readline from \"readline\";\n\n\nclass Main extends InheritClass {\n constructor(){\n super();\n this.start();\n }\n\n start (){\n const sandbox = {\n require:require,\n module:module,\n __dirname:\"./\",\n __filename:\"qcobjects-shell-file.js\"\n };\n global.context = vm.createContext(sandbox);\n \n const runScript = (code: string,logOutput=false)=>{\n const options = {filename:sandbox.__filename};\n \n const backgroundRunScript = (code: string):any=>{\n var output = vm.runInContext(code,global.context,options);\n return output;\n };\n \n var output = backgroundRunScript(code);\n \n if (logOutput && typeof output !== \"undefined\"){\n console.log(output);\n }\n };\n \n const syncGlobal = ()=>{\n var s = \"Object.assign(this,this.constructor.constructor('return this')())\";\n runScript(s);\n };\n \n readline.emitKeypressEvents(process.stdin);\n if (process.stdin.isTTY)\n process.stdin.setRawMode(true);\n \n const qcobjects_version = global.__get_version_string__();\n \n const rl = readline.createInterface({\n input: process.stdin,\n output: process.stdout,\n prompt: qcobjects_version + \" >\"\n });\n \n const protected_symbols = [ \"clearInterval\",\n \"clearTimeout\",\n \"setInterval\",\n \"setTimeout\", \"queueMicrotask\",\n \"clearImmediate\", \"setImmediate\", \"_asyncLoad\",\n \"_fireAsyncLoad\", \"asyncLoad\", \"logger\",\n \"_Crypt\", \"CONFIG\", \"waitUntil\",\n \"_super_\", \"ComplexStorageCache\", \"TagElements\",\n \"onload\", \"InheritClass\", \"Component\",\n \"Controller\", \"View\", \"Service\",\n \"JSONService\", \"ConfigService\", \"VO\",\n \"serviceLoader\", \"componentLoader\", \"ComponentURI\",\n \"SourceJS\", \"SourceCSS\", \"ArrayList\",\n \"ArrayCollection\", \"Effect\", \"Timer\",\n \"Export\", \"Import\", \"Package\",\n \"Class\", \"New\", \"Tag\",\n \"Ready\", \"Contact\", \"FormField\",\n \"ButtonField\", \"InputField\", \"TextField\",\n \"EmailField\", \"GridComponent\", \"GridController\",\n \"GridView\", \"Move\", \"RotateX\",\n \"RotateY\", \"RotateZ\", \"Rotate\",\n \"Fade\", \"Radius\", \"CanvasTool\",\n \"BasicLayout\"\n ];\n \n const preloaded_scripts = [\n \"require('qcobjects')\",\n \"Object.assign(this,this.constructor.constructor('return this')())\"\n ];\n \n preloaded_scripts.map(preloaded_script =>\n runScript(preloaded_script.trim())\n );\n \n \n console.log(welcometo);\n console.log(logo);\n console.log(instructions);\n rl.prompt(true);\n \n rl.on(\"line\", (line) => {\n var codeline = line.trim();\n switch (true) {\n case codeline==\"hello\":\n console.log(\"world!\");\n break;\n case codeline==\".exit\":\n rl.close();\n break;\n default:\n try{\n runScript(codeline,true);\n syncGlobal.bind(sandbox)();\n }catch (e){\n console.log(\"An exeption ocurred while trying to run your awesome code! \");\n console.log(e);\n }\n break;\n }\n rl.prompt();\n }).on(\"close\", () => {\n console.log(\"Thank you for using QCObjects.\");\n console.log(\"Have a nice day!\");\n process.exit(0);\n });\n \n }\n}"],
5
5
  "mappings": "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",
6
6
  "names": ["code", "output"]
7
7
  }
File without changes
File without changes
File without changes
@@ -1,10 +1 @@
1
- var __getOwnPropNames = Object.getOwnPropertyNames;
2
- var __commonJS = (cb, mod) => function __require() {
3
- return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
4
- };
5
- var require_index_d = __commonJS({
6
- "src/types/global/index.d.ts"() {
7
- }
8
- });
9
- export default require_index_d();
10
1
  //# sourceMappingURL=index.d.mjs.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
- "sources": ["../../../../src/types/global/index.d.ts"],
4
- "sourcesContent": ["/* eslint-disable @typescript-eslint/no-misused-new */\n \n"],
5
- "mappings": ";;;;AAAA;AAAA;AAAA;AAAA;",
3
+ "sources": [],
4
+ "sourcesContent": [],
5
+ "mappings": "",
6
6
  "names": []
7
7
  }
@@ -25,6 +25,30 @@ declare module "api-client_services" {
25
25
  fail(e: any): void;
26
26
  }
27
27
  }
28
+ declare module "cli-commands-build-esbuild" {
29
+ import { InheritClass } from "qcobjects";
30
+ export class CommandHandler extends InheritClass {
31
+ choiceOption: {
32
+ [x: string]: any;
33
+ build_esbuild: () => Promise<void>;
34
+ };
35
+ constructor({ switchCommander }: {
36
+ switchCommander: any;
37
+ });
38
+ }
39
+ }
40
+ declare module "cli-commands-build-typescript" {
41
+ import { InheritClass } from "qcobjects";
42
+ export class CommandHandler extends InheritClass {
43
+ choiceOption: {
44
+ [x: string]: any;
45
+ build_typescript: (configFile: string) => void;
46
+ };
47
+ constructor({ switchCommander }: {
48
+ switchCommander: any;
49
+ });
50
+ }
51
+ }
28
52
  declare module "client_services" {
29
53
  import { Service } from "qcobjects";
30
54
  export class JiraCloud extends Service {
@@ -92,6 +116,8 @@ declare module "cli-commands" {
92
116
  export * as versionCommand from "cli-commands-version";
93
117
  export * as jiraCommand from "cli-commands-jira";
94
118
  export * as publishStatic from "cli-commands-publish-static";
119
+ export * as buildTypescript from "cli-commands-build-typescript";
120
+ export * as buildEsbuild from "cli-commands-build-esbuild";
95
121
  }
96
122
  declare module "defaultsettings" {
97
123
  import "qcobjects";
@@ -101,6 +127,7 @@ declare module "defaultsettings" {
101
127
  cli: any;
102
128
  };
103
129
  export const __get_version_string__: () => string;
130
+ export const getProjectPath: () => any;
104
131
  }
105
132
  declare module "cli-main" {
106
133
  import "qcobjects";
@@ -178,7 +205,7 @@ declare module "cli-commands-version" {
178
205
  }
179
206
  declare module "collab-server" {
180
207
  /**
181
- * QCObjects CLI 2.4.x
208
+ * QCObjects CLI 2.5
182
209
  * ________________
183
210
  *
184
211
  * Author: Jean Machuca <correojean@gmail.com>
@@ -348,7 +375,7 @@ declare module "qcobjects-http-server" {
348
375
  }
349
376
  declare module "qcobjects-http2-server" {
350
377
  /**
351
- * QCObjects CLI 2.4.x
378
+ * QCObjects CLI 2.5
352
379
  * ________________
353
380
  *
354
381
  * Author: Jean Machuca <correojean@gmail.com>
@@ -378,4 +405,3 @@ declare module "qcobjects-shell" {
378
405
  }
379
406
  declare module "backend/backend-microservice-static" { }
380
407
  declare module "backend/backend-php" { }
381
- //# sourceMappingURL=index.d.ts.map
File without changes
package/spec/testsSpec.ts CHANGED
File without changes
@@ -1,5 +1,5 @@
1
1
  /**
2
- * QCObjects CLI 2.4.x
2
+ * QCObjects CLI 2.5
3
3
  * ________________
4
4
  *
5
5
  * Author: Jean Machuca <correojean@gmail.com>