qcobjects-cli 2.5.128-beta → 2.5.129-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.
package/VERSION CHANGED
@@ -1 +1 @@
1
- 2.5.128-beta
1
+ 2.5.129-beta
package/build-esbuild.js CHANGED
@@ -98,13 +98,23 @@ const copyDir = async (source, dest, exclude) => {
98
98
  await copyDir("./src/templates", "./public/browser/templates", []);
99
99
  })();
100
100
 
101
+ const ignorePlugin = {
102
+ name: 'ignore-packages',
103
+ setup(build) {
104
+ // Tell esbuild to ignore these packages
105
+ build.onResolve({ filter: /^(qcobjects-sdk|qcobjects)$/ }, args => {
106
+ return { external: true }
107
+ })
108
+ }
109
+ }
110
+
101
111
  const baseSettings = {
102
- entryPoints: entryPoints, // Your entry file
112
+ entryPoints: entryPoints,
103
113
  bundle: false,
104
- outdir: "public/cjs", // Output dir
105
- format: "cjs", // or "esm" depending on your module system
106
- target: ["node22"], // Adjust based on your target environment
107
- tsconfig: "tsconfig.json", // Path to your tsconfig.json,
114
+ outdir: "public/cjs",
115
+ format: "cjs",
116
+ target: ["node22"],
117
+ tsconfig: "tsconfig.json",
108
118
  globalName: "global",
109
119
  minify: false,
110
120
  keepNames: true,
@@ -112,6 +122,7 @@ const baseSettings = {
112
122
  splitting: false,
113
123
  chunkNames: "chunks/[name]-[hash]",
114
124
  plugins: [
125
+ ignorePlugin,
115
126
  alias({
116
127
  "types": path.join(__dirname, "src/types/global/index.d.ts")
117
128
  })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "qcobjects-cli",
3
- "version": "2.5.128-beta",
3
+ "version": "2.5.129-beta",
4
4
  "description": "qcobjects cli command line tool",
5
5
  "main": "public/cjs/index.cjs",
6
6
  "module": "public/esm/index.mjs",
@@ -42,6 +42,10 @@
42
42
  "require": "./public/cjs/qcobjects-createcert.cjs",
43
43
  "import": "./public/mjs/qcobjects-createcert.mjs"
44
44
  },
45
+ "./createcert": {
46
+ "require": "./public/cjs/qcobjects-createcert.cjs",
47
+ "import": "./public/mjs/qcobjects-createcert.mjs"
48
+ },
45
49
  "./qcobjects-gae-http-server": {
46
50
  "require": "./public/cjs/qcobjects-gae-http-server.cjs",
47
51
  "import": "./public/mjs/qcobjects-gae-http-server.mjs"
@@ -32,6 +32,7 @@ var global = (() => {
32
32
  var import_node_path = __toESM(require("node:path"));
33
33
  var import_node_os = __toESM(require("node:os"));
34
34
  var import_defaultsettings = require("./defaultsettings");
35
+ var import_qcobjects = require("qcobjects");
35
36
  (async () => {
36
37
  "use strict";
37
38
  const absolutePath = import_node_path.default.resolve(__dirname, "./");
@@ -42,9 +43,8 @@ var global = (() => {
42
43
  const isMac = /* @__PURE__ */ __name(() => {
43
44
  return import_node_os.default.platform().toLowerCase().startsWith("darwin");
44
45
  }, "isMac");
45
- const { InheritClass, CONFIG } = await import("qcobjects");
46
46
  const { execSync } = await import("node:child_process");
47
- class Main extends InheritClass {
47
+ class Main extends import_qcobjects.InheritClass {
48
48
  static {
49
49
  __name(this, "Main");
50
50
  }
@@ -53,14 +53,14 @@ var global = (() => {
53
53
  this.start();
54
54
  }
55
55
  start() {
56
- const certificate_provider = CONFIG.get("certificate_provider", "self_signed");
56
+ const certificate_provider = import_qcobjects.CONFIG.get("certificate_provider", "self_signed");
57
57
  let stdout;
58
58
  switch (certificate_provider) {
59
59
  case "self_signed":
60
60
  if (isWindows()) {
61
- stdout = execSync('openssl req -x509 -newkey rsa:2048 -nodes -sha256 -subj "/CN=' + CONFIG.get("domain") + '" -keyout ' + CONFIG.get("private-key-pem") + " -out " + CONFIG.get("private-cert-pem"));
61
+ stdout = execSync('openssl req -x509 -newkey rsa:2048 -nodes -sha256 -subj "/CN=' + import_qcobjects.CONFIG.get("domain") + '" -keyout ' + import_qcobjects.CONFIG.get("private-key-pem") + " -out " + import_qcobjects.CONFIG.get("private-cert-pem"));
62
62
  } else {
63
- stdout = execSync("openssl req -x509 -newkey rsa:2048 -nodes -sha256 -subj '/CN=" + CONFIG.get("domain") + "' -keyout " + CONFIG.get("private-key-pem") + " -out " + CONFIG.get("private-cert-pem"));
63
+ stdout = execSync("openssl req -x509 -newkey rsa:2048 -nodes -sha256 -subj '/CN=" + import_qcobjects.CONFIG.get("domain") + "' -keyout " + import_qcobjects.CONFIG.get("private-key-pem") + " -out " + import_qcobjects.CONFIG.get("private-cert-pem"));
64
64
  }
65
65
  break;
66
66
  case "letsencrypt":
@@ -68,7 +68,7 @@ var global = (() => {
68
68
  throw Error("Letsencrypt certificate is not supported in Windows");
69
69
  } else {
70
70
  var prehook_posthook = '--pre-hook "service qcobjects stop" --post-hook="service qcobjects start"';
71
- stdout = execSync(`certbot -n -d ${CONFIG.get("domain")} certonly --standalone ${prehook_posthook}`);
71
+ stdout = execSync(`certbot -n -d ${import_qcobjects.CONFIG.get("domain")} certonly --standalone ${prehook_posthook}`);
72
72
  }
73
73
  break;
74
74
  default:
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/qcobjects-createcert.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\"*/\nimport path from \"node:path\";\nimport os from \"node:os\";\nimport \"./defaultsettings\";\n\n(async () => {\n \"use strict\";\n const absolutePath = path.resolve(__dirname, \"./\");\n const templatePath = path.resolve(__dirname, \"./templates/apps/\") + \"/\";\n const isWindows = () => {\n // eslint-disable-next-line @typescript-eslint/no-unsafe-return\n return os.platform().toLowerCase().startsWith(\"win\");\n };\n const isMac = () => {\n // eslint-disable-next-line @typescript-eslint/no-unsafe-return\n return os.platform().toLowerCase().startsWith(\"darwin\");\n };\n\n\n const { InheritClass, CONFIG } = await import(\"qcobjects\");\n\n\n const { execSync } = await import(\"node:child_process\");\n\n class Main extends InheritClass {\n constructor() {\n super();\n this.start();\n }\n\n start() {\n const certificate_provider = CONFIG.get(\"certificate_provider\", \"self_signed\");\n let stdout;\n switch (certificate_provider) {\n case \"self_signed\":\n // stderr is sent to stderr of parent process\n // you can set options.stdio if you want it to go elsewhere\n if (isWindows()) {\n stdout = execSync(\"openssl req -x509 -newkey rsa:2048 -nodes -sha256 -subj \\\"/CN=\" + CONFIG.get(\"domain\") + \"\\\" -keyout \" + CONFIG.get(\"private-key-pem\") + \" -out \" + CONFIG.get(\"private-cert-pem\"));\n } else {\n stdout = execSync(\"openssl req -x509 -newkey rsa:2048 -nodes -sha256 -subj '/CN=\" + CONFIG.get(\"domain\") + \"' -keyout \" + CONFIG.get(\"private-key-pem\") + \" -out \" + CONFIG.get(\"private-cert-pem\"));\n }\n break;\n case \"letsencrypt\":\n if (isWindows()) {\n throw Error(\"Letsencrypt certificate is not supported in Windows\");\n } else {\n var prehook_posthook = \"--pre-hook \\\"service qcobjects stop\\\" --post-hook=\\\"service qcobjects start\\\"\";\n stdout = execSync(`certbot -n -d ${CONFIG.get(\"domain\")} certonly --standalone ${prehook_posthook}`);\n }\n break;\n default:\n break;\n }\n\n }\n }\n\n const __main__ = new Main();\n})().catch(e => console.error(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,SAAS,iBAAiB,OAAO,IAAI,QAAQ,CAAC,0BAA0B,gBAAgB,EAAE;AAAA,gBACrG;AACA;AAAA,cACF;AACE;AAAA,YACJ;AAAA,UAEF;AAAA,QACF;AAEA,cAAM,WAAW,IAAI,KAAK;AAAA,MAC5B,GAAG,EAAE,MAAM,OAAK,QAAQ,MAAM,CAAC,CAAC;AAAA;AAAA;",
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\"*/\nimport path from \"node:path\";\nimport os from \"node:os\";\nimport \"./defaultsettings\";\nimport { InheritClass, CONFIG } from \"qcobjects\";\n\n(async () => {\n \"use strict\";\n const absolutePath = path.resolve(__dirname, \"./\");\n const templatePath = path.resolve(__dirname, \"./templates/apps/\") + \"/\";\n const isWindows = () => {\n // eslint-disable-next-line @typescript-eslint/no-unsafe-return\n return os.platform().toLowerCase().startsWith(\"win\");\n };\n const isMac = () => {\n // eslint-disable-next-line @typescript-eslint/no-unsafe-return\n return os.platform().toLowerCase().startsWith(\"darwin\");\n };\n\n const { execSync } = await import(\"node:child_process\");\n\n class Main extends InheritClass {\n constructor() {\n super();\n this.start();\n }\n\n start() {\n const certificate_provider = CONFIG.get(\"certificate_provider\", \"self_signed\");\n let stdout;\n switch (certificate_provider) {\n case \"self_signed\":\n // stderr is sent to stderr of parent process\n // you can set options.stdio if you want it to go elsewhere\n if (isWindows()) {\n stdout = execSync(\"openssl req -x509 -newkey rsa:2048 -nodes -sha256 -subj \\\"/CN=\" + CONFIG.get(\"domain\") + \"\\\" -keyout \" + CONFIG.get(\"private-key-pem\") + \" -out \" + CONFIG.get(\"private-cert-pem\"));\n } else {\n stdout = execSync(\"openssl req -x509 -newkey rsa:2048 -nodes -sha256 -subj '/CN=\" + CONFIG.get(\"domain\") + \"' -keyout \" + CONFIG.get(\"private-key-pem\") + \" -out \" + CONFIG.get(\"private-cert-pem\"));\n }\n break;\n case \"letsencrypt\":\n if (isWindows()) {\n throw Error(\"Letsencrypt certificate is not supported in Windows\");\n } else {\n var prehook_posthook = \"--pre-hook \\\"service qcobjects stop\\\" --post-hook=\\\"service qcobjects start\\\"\";\n stdout = execSync(`certbot -n -d ${CONFIG.get(\"domain\")} certonly --standalone ${prehook_posthook}`);\n }\n break;\n default:\n break;\n }\n\n }\n }\n\n const __main__ = new Main();\n})().catch(e => console.error(e));"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AA+BA,6BAAiB;AACjB,2BAAe;AACf,mCAAO;AACP,6BAAqC;AAErC,OAAC,YAAY;AACX;AACA,cAAM,eAAe,iBAAAA,QAAK,QAAQ,WAAW,IAAI;AACjD,cAAM,eAAe,iBAAAA,QAAK,QAAQ,WAAW,mBAAmB,IAAI;AACpE,cAAM,YAAY,6BAAM;AAEtB,iBAAO,eAAAC,QAAG,SAAS,EAAE,YAAY,EAAE,WAAW,KAAK;AAAA,QACrD,GAHkB;AAIlB,cAAM,QAAQ,6BAAM;AAElB,iBAAO,eAAAA,QAAG,SAAS,EAAE,YAAY,EAAE,WAAW,QAAQ;AAAA,QACxD,GAHc;AAKd,cAAM,EAAE,SAAS,IAAI,MAAM,OAAO,oBAAoB;AAAA,QAEtD,MAAM,aAAa,8BAAa;AAAA,UAnDlC,OAmDkC;AAAA;AAAA;AAAA,UAC9B,cAAc;AACZ,kBAAM;AACN,iBAAK,MAAM;AAAA,UACb;AAAA,UAEA,QAAQ;AACN,kBAAM,uBAAuB,wBAAO,IAAI,wBAAwB,aAAa;AAC7E,gBAAI;AACJ,oBAAQ,sBAAsB;AAAA,cAC5B,KAAK;AAGH,oBAAI,UAAU,GAAG;AACf,2BAAS,SAAS,kEAAmE,wBAAO,IAAI,QAAQ,IAAI,gBAAiB,wBAAO,IAAI,iBAAiB,IAAI,WAAW,wBAAO,IAAI,kBAAkB,CAAC;AAAA,gBACxM,OAAO;AACL,2BAAS,SAAS,kEAAkE,wBAAO,IAAI,QAAQ,IAAI,gBAAgB,wBAAO,IAAI,iBAAiB,IAAI,WAAW,wBAAO,IAAI,kBAAkB,CAAC;AAAA,gBACtM;AACA;AAAA,cACF,KAAK;AACH,oBAAI,UAAU,GAAG;AACf,wBAAM,MAAM,qDAAqD;AAAA,gBACnE,OAAO;AACL,sBAAI,mBAAmB;AACvB,2BAAS,SAAS,iBAAiB,wBAAO,IAAI,QAAQ,CAAC,0BAA0B,gBAAgB,EAAE;AAAA,gBACrG;AACA;AAAA,cACF;AACE;AAAA,YACJ;AAAA,UAEF;AAAA,QACF;AAEA,cAAM,WAAW,IAAI,KAAK;AAAA,MAC5B,GAAG,EAAE,MAAM,OAAK,QAAQ,MAAM,CAAC,CAAC;AAAA;AAAA;",
6
6
  "names": ["path", "os"]
7
7
  }
@@ -26,6 +26,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
26
26
  var import_node_path = __toESM(require("node:path"));
27
27
  var import_node_os = __toESM(require("node:os"));
28
28
  var import_defaultsettings = require("./defaultsettings.cjs");
29
+ var import_qcobjects = require("qcobjects");
29
30
  (async () => {
30
31
  "use strict";
31
32
  const absolutePath = import_node_path.default.resolve(__dirname, "./");
@@ -36,9 +37,8 @@ var import_defaultsettings = require("./defaultsettings.cjs");
36
37
  const isMac = /* @__PURE__ */ __name(() => {
37
38
  return import_node_os.default.platform().toLowerCase().startsWith("darwin");
38
39
  }, "isMac");
39
- const { InheritClass, CONFIG } = await import("qcobjects");
40
40
  const { execSync } = await import("node:child_process");
41
- class Main extends InheritClass {
41
+ class Main extends import_qcobjects.InheritClass {
42
42
  static {
43
43
  __name(this, "Main");
44
44
  }
@@ -47,14 +47,14 @@ var import_defaultsettings = require("./defaultsettings.cjs");
47
47
  this.start();
48
48
  }
49
49
  start() {
50
- const certificate_provider = CONFIG.get("certificate_provider", "self_signed");
50
+ const certificate_provider = import_qcobjects.CONFIG.get("certificate_provider", "self_signed");
51
51
  let stdout;
52
52
  switch (certificate_provider) {
53
53
  case "self_signed":
54
54
  if (isWindows()) {
55
- stdout = execSync('openssl req -x509 -newkey rsa:2048 -nodes -sha256 -subj "/CN=' + CONFIG.get("domain") + '" -keyout ' + CONFIG.get("private-key-pem") + " -out " + CONFIG.get("private-cert-pem"));
55
+ stdout = execSync('openssl req -x509 -newkey rsa:2048 -nodes -sha256 -subj "/CN=' + import_qcobjects.CONFIG.get("domain") + '" -keyout ' + import_qcobjects.CONFIG.get("private-key-pem") + " -out " + import_qcobjects.CONFIG.get("private-cert-pem"));
56
56
  } else {
57
- stdout = execSync("openssl req -x509 -newkey rsa:2048 -nodes -sha256 -subj '/CN=" + CONFIG.get("domain") + "' -keyout " + CONFIG.get("private-key-pem") + " -out " + CONFIG.get("private-cert-pem"));
57
+ stdout = execSync("openssl req -x509 -newkey rsa:2048 -nodes -sha256 -subj '/CN=" + import_qcobjects.CONFIG.get("domain") + "' -keyout " + import_qcobjects.CONFIG.get("private-key-pem") + " -out " + import_qcobjects.CONFIG.get("private-cert-pem"));
58
58
  }
59
59
  break;
60
60
  case "letsencrypt":
@@ -62,7 +62,7 @@ var import_defaultsettings = require("./defaultsettings.cjs");
62
62
  throw Error("Letsencrypt certificate is not supported in Windows");
63
63
  } else {
64
64
  var prehook_posthook = '--pre-hook "service qcobjects stop" --post-hook="service qcobjects start"';
65
- stdout = execSync(`certbot -n -d ${CONFIG.get("domain")} certonly --standalone ${prehook_posthook}`);
65
+ stdout = execSync(`certbot -n -d ${import_qcobjects.CONFIG.get("domain")} certonly --standalone ${prehook_posthook}`);
66
66
  }
67
67
  break;
68
68
  default:
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/qcobjects-createcert.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\"*/\nimport path from \"node:path\";\nimport os from \"node:os\";\nimport \"./defaultsettings\";\n\n(async () => {\n \"use strict\";\n const absolutePath = path.resolve(__dirname, \"./\");\n const templatePath = path.resolve(__dirname, \"./templates/apps/\") + \"/\";\n const isWindows = () => {\n // eslint-disable-next-line @typescript-eslint/no-unsafe-return\n return os.platform().toLowerCase().startsWith(\"win\");\n };\n const isMac = () => {\n // eslint-disable-next-line @typescript-eslint/no-unsafe-return\n return os.platform().toLowerCase().startsWith(\"darwin\");\n };\n\n\n const { InheritClass, CONFIG } = await import(\"qcobjects\");\n\n\n const { execSync } = await import(\"node:child_process\");\n\n class Main extends InheritClass {\n constructor() {\n super();\n this.start();\n }\n\n start() {\n const certificate_provider = CONFIG.get(\"certificate_provider\", \"self_signed\");\n let stdout;\n switch (certificate_provider) {\n case \"self_signed\":\n // stderr is sent to stderr of parent process\n // you can set options.stdio if you want it to go elsewhere\n if (isWindows()) {\n stdout = execSync(\"openssl req -x509 -newkey rsa:2048 -nodes -sha256 -subj \\\"/CN=\" + CONFIG.get(\"domain\") + \"\\\" -keyout \" + CONFIG.get(\"private-key-pem\") + \" -out \" + CONFIG.get(\"private-cert-pem\"));\n } else {\n stdout = execSync(\"openssl req -x509 -newkey rsa:2048 -nodes -sha256 -subj '/CN=\" + CONFIG.get(\"domain\") + \"' -keyout \" + CONFIG.get(\"private-key-pem\") + \" -out \" + CONFIG.get(\"private-cert-pem\"));\n }\n break;\n case \"letsencrypt\":\n if (isWindows()) {\n throw Error(\"Letsencrypt certificate is not supported in Windows\");\n } else {\n var prehook_posthook = \"--pre-hook \\\"service qcobjects stop\\\" --post-hook=\\\"service qcobjects start\\\"\";\n stdout = execSync(`certbot -n -d ${CONFIG.get(\"domain\")} certonly --standalone ${prehook_posthook}`);\n }\n break;\n default:\n break;\n }\n\n }\n }\n\n const __main__ = new Main();\n})().catch(e => console.error(e));"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;AA+BA,uBAAiB;AACjB,qBAAe;AACf,6BAAO;AAAA,CAEN,YAAY;AACX;AACA,QAAM,eAAe,iBAAAA,QAAK,QAAQ,WAAW,IAAI;AACjD,QAAM,eAAe,iBAAAA,QAAK,QAAQ,WAAW,mBAAmB,IAAI;AACpE,QAAM,YAAY,6BAAM;AAEtB,WAAO,eAAAC,QAAG,SAAS,EAA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>\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\"*/\nimport path from \"node:path\";\nimport os from \"node:os\";\nimport \"./defaultsettings\";\nimport { InheritClass, CONFIG } from \"qcobjects\";\n\n(async () => {\n \"use strict\";\n const absolutePath = path.resolve(__dirname, \"./\");\n const templatePath = path.resolve(__dirname, \"./templates/apps/\") + \"/\";\n const isWindows = () => {\n // eslint-disable-next-line @typescript-eslint/no-unsafe-return\n return os.platform().toLowerCase().startsWith(\"win\");\n };\n const isMac = () => {\n // eslint-disable-next-line @typescript-eslint/no-unsafe-return\n return os.platform().toLowerCase().startsWith(\"darwin\");\n };\n\n const { execSync } = await import(\"node:child_process\");\n\n class Main extends InheritClass {\n constructor() {\n super();\n this.start();\n }\n\n start() {\n const certificate_provider = CONFIG.get(\"certificate_provider\", \"self_signed\");\n let stdout;\n switch (certificate_provider) {\n case \"self_signed\":\n // stderr is sent to stderr of parent process\n // you can set options.stdio if you want it to go elsewhere\n if (isWindows()) {\n stdout = execSync(\"openssl req -x509 -newkey rsa:2048 -nodes -sha256 -subj \\\"/CN=\" + CONFIG.get(\"domain\") + \"\\\" -keyout \" + CONFIG.get(\"private-key-pem\") + \" -out \" + CONFIG.get(\"private-cert-pem\"));\n } else {\n stdout = execSync(\"openssl req -x509 -newkey rsa:2048 -nodes -sha256 -subj '/CN=\" + CONFIG.get(\"domain\") + \"' -keyout \" + CONFIG.get(\"private-key-pem\") + \" -out \" + CONFIG.get(\"private-cert-pem\"));\n }\n break;\n case \"letsencrypt\":\n if (isWindows()) {\n throw Error(\"Letsencrypt certificate is not supported in Windows\");\n } else {\n var prehook_posthook = \"--pre-hook \\\"service qcobjects stop\\\" --post-hook=\\\"service qcobjects start\\\"\";\n stdout = execSync(`certbot -n -d ${CONFIG.get(\"domain\")} certonly --standalone ${prehook_posthook}`);\n }\n break;\n default:\n break;\n }\n\n }\n }\n\n const __main__ = new Main();\n})().catch(e => console.error(e));"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;AA+BA,uBAAiB;AACjB,qBAAe;AACf,6BAAO;AACP,uBAAqC;AAAA,CAEpC,YAAY;AACX;AACA,QAAM,eAAe,iBAAAA,QAAK,QAAQ,WAAW,IAAI;AACjD,QAAM,eAAe,iBAAAA,QAAK,QAAQ,WAAW,mBAAmB,IAAI;AACpE,QAAM,YAAY,6BAAM;AAEtB,WAAO,eAAAC,QAAG,SAAS,EAAE,YAAY,EAAE,WAAW,KAAK;AAAA,EACrD,GAHkB;AAIlB,QAAM,QAAQ,6BAAM;AAElB,WAAO,eAAAA,QAAG,SAAS,EAAE,YAAY,EAAE,WAAW,QAAQ;AAAA,EACxD,GAHc;AAKd,QAAM,EAAE,SAAS,IAAI,MAAM,OAAO,oBAAoB;AAAA,EAEtD,MAAM,aAAa,8BAAa;AAAA,IAnDlC,OAmDkC;AAAA;AAAA;AAAA,IAC9B,cAAc;AACZ,YAAM;AACN,WAAK,MAAM;AAAA,IACb;AAAA,IAEA,QAAQ;AACN,YAAM,uBAAuB,wBAAO,IAAI,wBAAwB,aAAa;AAC7E,UAAI;AACJ,cAAQ,sBAAsB;AAAA,QAC5B,KAAK;AAGH,cAAI,UAAU,GAAG;AACf,qBAAS,SAAS,kEAAmE,wBAAO,IAAI,QAAQ,IAAI,gBAAiB,wBAAO,IAAI,iBAAiB,IAAI,WAAW,wBAAO,IAAI,kBAAkB,CAAC;AAAA,UACxM,OAAO;AACL,qBAAS,SAAS,kEAAkE,wBAAO,IAAI,QAAQ,IAAI,gBAAgB,wBAAO,IAAI,iBAAiB,IAAI,WAAW,wBAAO,IAAI,kBAAkB,CAAC;AAAA,UACtM;AACA;AAAA,QACF,KAAK;AACH,cAAI,UAAU,GAAG;AACf,kBAAM,MAAM,qDAAqD;AAAA,UACnE,OAAO;AACL,gBAAI,mBAAmB;AACvB,qBAAS,SAAS,iBAAiB,wBAAO,IAAI,QAAQ,CAAC,0BAA0B,gBAAgB,EAAE;AAAA,UACrG;AACA;AAAA,QACF;AACE;AAAA,MACJ;AAAA,IAEF;AAAA,EACF;AAEA,QAAM,WAAW,IAAI,KAAK;AAC5B,GAAG,EAAE,MAAM,OAAK,QAAQ,MAAM,CAAC,CAAC;",
6
6
  "names": ["path", "os"]
7
7
  }
@@ -8,6 +8,7 @@ var __commonJS = (cb, mod) => function __require() {
8
8
  import path from "node:path";
9
9
  import os from "node:os";
10
10
  import "./defaultsettings.mjs";
11
+ import { InheritClass, CONFIG } from "qcobjects";
11
12
  var require_qcobjects_createcert = __commonJS({
12
13
  "src/qcobjects-createcert.ts"() {
13
14
  (async () => {
@@ -20,7 +21,6 @@ var require_qcobjects_createcert = __commonJS({
20
21
  const isMac = /* @__PURE__ */ __name(() => {
21
22
  return os.platform().toLowerCase().startsWith("darwin");
22
23
  }, "isMac");
23
- const { InheritClass, CONFIG } = await import("qcobjects");
24
24
  const { execSync } = await import("node:child_process");
25
25
  class Main extends InheritClass {
26
26
  static {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/qcobjects-createcert.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\"*/\nimport path from \"node:path\";\nimport os from \"node:os\";\nimport \"./defaultsettings\";\n\n(async () => {\n \"use strict\";\n const absolutePath = path.resolve(__dirname, \"./\");\n const templatePath = path.resolve(__dirname, \"./templates/apps/\") + \"/\";\n const isWindows = () => {\n // eslint-disable-next-line @typescript-eslint/no-unsafe-return\n return os.platform().toLowerCase().startsWith(\"win\");\n };\n const isMac = () => {\n // eslint-disable-next-line @typescript-eslint/no-unsafe-return\n return os.platform().toLowerCase().startsWith(\"darwin\");\n };\n\n\n const { InheritClass, CONFIG } = await import(\"qcobjects\");\n\n\n const { execSync } = await import(\"node:child_process\");\n\n class Main extends InheritClass {\n constructor() {\n super();\n this.start();\n }\n\n start() {\n const certificate_provider = CONFIG.get(\"certificate_provider\", \"self_signed\");\n let stdout;\n switch (certificate_provider) {\n case \"self_signed\":\n // stderr is sent to stderr of parent process\n // you can set options.stdio if you want it to go elsewhere\n if (isWindows()) {\n stdout = execSync(\"openssl req -x509 -newkey rsa:2048 -nodes -sha256 -subj \\\"/CN=\" + CONFIG.get(\"domain\") + \"\\\" -keyout \" + CONFIG.get(\"private-key-pem\") + \" -out \" + CONFIG.get(\"private-cert-pem\"));\n } else {\n stdout = execSync(\"openssl req -x509 -newkey rsa:2048 -nodes -sha256 -subj '/CN=\" + CONFIG.get(\"domain\") + \"' -keyout \" + CONFIG.get(\"private-key-pem\") + \" -out \" + CONFIG.get(\"private-cert-pem\"));\n }\n break;\n case \"letsencrypt\":\n if (isWindows()) {\n throw Error(\"Letsencrypt certificate is not supported in Windows\");\n } else {\n var prehook_posthook = \"--pre-hook \\\"service qcobjects stop\\\" --post-hook=\\\"service qcobjects start\\\"\";\n stdout = execSync(`certbot -n -d ${CONFIG.get(\"domain\")} certonly --standalone ${prehook_posthook}`);\n }\n break;\n default:\n break;\n }\n\n }\n }\n\n const __main__ = new Main();\n})().catch(e => console.error(e));"],
5
- "mappings": ";;;;;;;AA+BA,OAAO,UAAU;AACjB,OAAO,QAAQ;AACf,OAAO;AAjCP;AAAA;AAmCA,KAAC,YAAY;AACX;AACA,YAAM,eAAe,KAAK,QAAQ,WAAW,IAAI;AACjD,YAAM,eAAe,KAAK,QAAQ,WAAW,mBAAmB,IAAI;AACpE,YAAM,YAAY,6BAAM;AAEtB,eAAO,GAAG,SAAS,EAAE,YAAY,EAAE,WAAW,KAAK;AAAA,MACrD,GAHkB;AAIlB,YAAM,QAAQ,6BAAM;AAElB,eAAO,GAAG,SAAS,EAAE,YAAY,EAAE,WAAW,QAAQ;AAAA,MACxD,GAHc;AAMd,YAAM,EAAE,cAAc,OAAO,IAAI,MAAM,OAAO,WAAW;AAGzD,YAAM,EAAE,SAAS,IAAI,MAAM,OAAO,oBAAoB;AAAA,MAEtD,MAAM,aAAa,aAAa;AAAA,QAtDlC,OAsDkC;AAAA;AAAA;AAAA,QAC9B,cAAc;AACZ,gBAAM;AACN,eAAK,MAAM;AAAA,QACb;AAAA,QAEA,QAAQ;AACN,gBAAM,uBAAuB,OAAO,IAAI,wBAAwB,aAAa;AAC7E,cAAI;AACJ,kBAAQ,sBAAsB;AAAA,YAC5B,KAAK;AAGH,kBAAI,UAAU,GAAG;AACf,yBAAS,SAAS,kEAAmE,OAAO,IAAI,QAAQ,IAAI,gBAAiB,OAAO,IAAI,iBAAiB,IAAI,WAAW,OAAO,IAAI,kBAAkB,CAAC;AAAA,cACxM,OAAO;AACL,yBAAS,SAAS,kEAAkE,OAAO,IAAI,QAAQ,IAAI,gBAAgB,OAAO,IAAI,iBAAiB,IAAI,WAAW,OAAO,IAAI,kBAAkB,CAAC;AAAA,cACtM;AACA;AAAA,YACF,KAAK;AACH,kBAAI,UAAU,GAAG;AACf,sBAAM,MAAM,qDAAqD;AAAA,cACnE,OAAO;AACL,oBAAI,mBAAmB;AACvB,yBAAS,SAAS,iBAAiB,OAAO,IAAI,QAAQ,CAAC,0BAA0B,gBAAgB,EAAE;AAAA,cACrG;AACA;AAAA,YACF;AACE;AAAA,UACJ;AAAA,QAEF;AAAA,MACF;AAEA,YAAM,WAAW,IAAI,KAAK;AAAA,IAC5B,GAAG,EAAE,MAAM,OAAK,QAAQ,MAAM,CAAC,CAAC;AAAA;AAAA;",
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\"*/\nimport path from \"node:path\";\nimport os from \"node:os\";\nimport \"./defaultsettings\";\nimport { InheritClass, CONFIG } from \"qcobjects\";\n\n(async () => {\n \"use strict\";\n const absolutePath = path.resolve(__dirname, \"./\");\n const templatePath = path.resolve(__dirname, \"./templates/apps/\") + \"/\";\n const isWindows = () => {\n // eslint-disable-next-line @typescript-eslint/no-unsafe-return\n return os.platform().toLowerCase().startsWith(\"win\");\n };\n const isMac = () => {\n // eslint-disable-next-line @typescript-eslint/no-unsafe-return\n return os.platform().toLowerCase().startsWith(\"darwin\");\n };\n\n const { execSync } = await import(\"node:child_process\");\n\n class Main extends InheritClass {\n constructor() {\n super();\n this.start();\n }\n\n start() {\n const certificate_provider = CONFIG.get(\"certificate_provider\", \"self_signed\");\n let stdout;\n switch (certificate_provider) {\n case \"self_signed\":\n // stderr is sent to stderr of parent process\n // you can set options.stdio if you want it to go elsewhere\n if (isWindows()) {\n stdout = execSync(\"openssl req -x509 -newkey rsa:2048 -nodes -sha256 -subj \\\"/CN=\" + CONFIG.get(\"domain\") + \"\\\" -keyout \" + CONFIG.get(\"private-key-pem\") + \" -out \" + CONFIG.get(\"private-cert-pem\"));\n } else {\n stdout = execSync(\"openssl req -x509 -newkey rsa:2048 -nodes -sha256 -subj '/CN=\" + CONFIG.get(\"domain\") + \"' -keyout \" + CONFIG.get(\"private-key-pem\") + \" -out \" + CONFIG.get(\"private-cert-pem\"));\n }\n break;\n case \"letsencrypt\":\n if (isWindows()) {\n throw Error(\"Letsencrypt certificate is not supported in Windows\");\n } else {\n var prehook_posthook = \"--pre-hook \\\"service qcobjects stop\\\" --post-hook=\\\"service qcobjects start\\\"\";\n stdout = execSync(`certbot -n -d ${CONFIG.get(\"domain\")} certonly --standalone ${prehook_posthook}`);\n }\n break;\n default:\n break;\n }\n\n }\n }\n\n const __main__ = new Main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,cACrG;AACA;AAAA,YACF;AACE;AAAA,UACJ;AAAA,QAEF;AAAA,MACF;AAEA,YAAM,WAAW,IAAI,KAAK;AAAA,IAC5B,GAAG,EAAE,MAAM,OAAK,QAAQ,MAAM,CAAC,CAAC;AAAA;AAAA;",
6
6
  "names": []
7
7
  }
@@ -32,6 +32,7 @@
32
32
  import path from "node:path";
33
33
  import os from "node:os";
34
34
  import "./defaultsettings";
35
+ import { InheritClass, CONFIG } from "qcobjects";
35
36
 
36
37
  (async () => {
37
38
  "use strict";
@@ -46,10 +47,6 @@ import "./defaultsettings";
46
47
  return os.platform().toLowerCase().startsWith("darwin");
47
48
  };
48
49
 
49
-
50
- const { InheritClass, CONFIG } = await import("qcobjects");
51
-
52
-
53
50
  const { execSync } = await import("node:child_process");
54
51
 
55
52
  class Main extends InheritClass {