forge-sql-orm-cli 2.1.9 → 2.1.10

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.
@@ -9,7 +9,7 @@ const __dirname$1 = path.dirname(__filename$1);
9
9
  const args = process.argv.slice(2).join(" ");
10
10
  const cliPath = path.resolve(__dirname$1, "cli.mjs");
11
11
  try {
12
- child_process.execSync(`npx --yes tsm --no-warnings ${cliPath} ${args}`, { stdio: "inherit" });
12
+ child_process.execSync(`npx --yes tsm --no-warnings "${cliPath}" ${args}`, { stdio: "inherit" });
13
13
  process.exit(0);
14
14
  } catch (e) {
15
15
  console.error("⚠️ Command execution failed:", e.message);
@@ -1 +1 @@
1
- {"version":3,"file":"forgeSqlOrmCLI.js","sources":["../src/forgeSqlOrmCLI.ts"],"sourcesContent":["#!/usr/bin/env node\nimport {execSync} from 'child_process'\nimport path from \"path\";\nimport { fileURLToPath } from 'url';\nimport { dirname } from 'path';\n\nconst __filename = fileURLToPath(import.meta.url);\nconst __dirname = dirname(__filename);\n// Get CLI arguments (excluding \"node\" and script path)\nconst args = process.argv.slice(2).join(\" \");\n\n// Resolve the path to cli.ts (your TypeScript entry file)\nconst cliPath = path.resolve(__dirname, \"cli.mjs\");\n\ntry {\n execSync(`npx --yes tsm --no-warnings ${cliPath} ${args}`, { stdio: \"inherit\" });\n process.exit(0);\n} catch (e:any) {\n console.error(\"⚠️ Command execution failed:\", e.message);\n process.exit(1);\n}"],"names":["__filename","fileURLToPath","__dirname","dirname","execSync"],"mappings":";;;;;;AAMA,MAAMA,eAAaC,IAAAA,wQAA6B;AAChD,MAAMC,cAAYC,KAAAA,QAAQH,YAAU;AAEpC,MAAM,OAAO,QAAQ,KAAK,MAAM,CAAC,EAAE,KAAK,GAAG;AAG3C,MAAM,UAAU,KAAK,QAAQE,aAAW,SAAS;AAEjD,IAAI;AACAE,yBAAS,gCAAgC,OAAO,IAAI,IAAI,IAAI,EAAE,OAAO,WAAW;AAChF,UAAQ,KAAK,CAAC;AAClB,SAAS,GAAO;AACZ,UAAQ,MAAM,iCAAiC,EAAE,OAAO;AACxD,UAAQ,KAAK,CAAC;AAClB;"}
1
+ {"version":3,"file":"forgeSqlOrmCLI.js","sources":["../src/forgeSqlOrmCLI.ts"],"sourcesContent":["#!/usr/bin/env node\nimport {execSync} from 'child_process'\nimport path from \"path\";\nimport { fileURLToPath } from 'url';\nimport { dirname } from 'path';\n\nconst __filename = fileURLToPath(import.meta.url);\nconst __dirname = dirname(__filename);\n// Get CLI arguments (excluding \"node\" and script path)\nconst args = process.argv.slice(2).join(\" \");\n\n// Resolve the path to cli.ts (your TypeScript entry file)\nconst cliPath = path.resolve(__dirname, \"cli.mjs\");\n\ntry {\n execSync(`npx --yes tsm --no-warnings \"${cliPath}\" ${args}`, { stdio: \"inherit\" });\n process.exit(0);\n} catch (e:any) {\n console.error(\"⚠️ Command execution failed:\", e.message);\n process.exit(1);\n}"],"names":["__filename","fileURLToPath","__dirname","dirname","execSync"],"mappings":";;;;;;AAMA,MAAMA,eAAaC,IAAAA,wQAA6B;AAChD,MAAMC,cAAYC,KAAAA,QAAQH,YAAU;AAEpC,MAAM,OAAO,QAAQ,KAAK,MAAM,CAAC,EAAE,KAAK,GAAG;AAG3C,MAAM,UAAU,KAAK,QAAQE,aAAW,SAAS;AAEjD,IAAI;AACAE,yBAAS,iCAAiC,OAAO,KAAK,IAAI,IAAI,EAAE,OAAO,WAAW;AAClF,UAAQ,KAAK,CAAC;AAClB,SAAS,GAAO;AACZ,UAAQ,MAAM,iCAAiC,EAAE,OAAO;AACxD,UAAQ,KAAK,CAAC;AAClB;"}
@@ -7,7 +7,7 @@ const __dirname = dirname(__filename);
7
7
  const args = process.argv.slice(2).join(" ");
8
8
  const cliPath = path.resolve(__dirname, "cli.mjs");
9
9
  try {
10
- execSync(`npx --yes tsm --no-warnings ${cliPath} ${args}`, { stdio: "inherit" });
10
+ execSync(`npx --yes tsm --no-warnings "${cliPath}" ${args}`, { stdio: "inherit" });
11
11
  process.exit(0);
12
12
  } catch (e) {
13
13
  console.error("⚠️ Command execution failed:", e.message);
@@ -1 +1 @@
1
- {"version":3,"file":"forgeSqlOrmCLI.mjs","sources":["../src/forgeSqlOrmCLI.ts"],"sourcesContent":["#!/usr/bin/env node\nimport {execSync} from 'child_process'\nimport path from \"path\";\nimport { fileURLToPath } from 'url';\nimport { dirname } from 'path';\n\nconst __filename = fileURLToPath(import.meta.url);\nconst __dirname = dirname(__filename);\n// Get CLI arguments (excluding \"node\" and script path)\nconst args = process.argv.slice(2).join(\" \");\n\n// Resolve the path to cli.ts (your TypeScript entry file)\nconst cliPath = path.resolve(__dirname, \"cli.mjs\");\n\ntry {\n execSync(`npx --yes tsm --no-warnings ${cliPath} ${args}`, { stdio: \"inherit\" });\n process.exit(0);\n} catch (e:any) {\n console.error(\"⚠️ Command execution failed:\", e.message);\n process.exit(1);\n}"],"names":[],"mappings":";;;;AAMA,MAAM,aAAa,cAAc,YAAY,GAAG;AAChD,MAAM,YAAY,QAAQ,UAAU;AAEpC,MAAM,OAAO,QAAQ,KAAK,MAAM,CAAC,EAAE,KAAK,GAAG;AAG3C,MAAM,UAAU,KAAK,QAAQ,WAAW,SAAS;AAEjD,IAAI;AACA,WAAS,gCAAgC,OAAO,IAAI,IAAI,IAAI,EAAE,OAAO,WAAW;AAChF,UAAQ,KAAK,CAAC;AAClB,SAAS,GAAO;AACZ,UAAQ,MAAM,iCAAiC,EAAE,OAAO;AACxD,UAAQ,KAAK,CAAC;AAClB;"}
1
+ {"version":3,"file":"forgeSqlOrmCLI.mjs","sources":["../src/forgeSqlOrmCLI.ts"],"sourcesContent":["#!/usr/bin/env node\nimport {execSync} from 'child_process'\nimport path from \"path\";\nimport { fileURLToPath } from 'url';\nimport { dirname } from 'path';\n\nconst __filename = fileURLToPath(import.meta.url);\nconst __dirname = dirname(__filename);\n// Get CLI arguments (excluding \"node\" and script path)\nconst args = process.argv.slice(2).join(\" \");\n\n// Resolve the path to cli.ts (your TypeScript entry file)\nconst cliPath = path.resolve(__dirname, \"cli.mjs\");\n\ntry {\n execSync(`npx --yes tsm --no-warnings \"${cliPath}\" ${args}`, { stdio: \"inherit\" });\n process.exit(0);\n} catch (e:any) {\n console.error(\"⚠️ Command execution failed:\", e.message);\n process.exit(1);\n}"],"names":[],"mappings":";;;;AAMA,MAAM,aAAa,cAAc,YAAY,GAAG;AAChD,MAAM,YAAY,QAAQ,UAAU;AAEpC,MAAM,OAAO,QAAQ,KAAK,MAAM,CAAC,EAAE,KAAK,GAAG;AAG3C,MAAM,UAAU,KAAK,QAAQ,WAAW,SAAS;AAEjD,IAAI;AACA,WAAS,iCAAiC,OAAO,KAAK,IAAI,IAAI,EAAE,OAAO,WAAW;AAClF,UAAQ,KAAK,CAAC;AAClB,SAAS,GAAO;AACZ,UAAQ,MAAM,iCAAiC,EAAE,OAAO;AACxD,UAAQ,KAAK,CAAC;AAClB;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "forge-sql-orm-cli",
3
- "version": "2.1.9",
3
+ "version": "2.1.10",
4
4
  "description": "CLI tool for Forge SQL ORM",
5
5
  "main": "dist-cli/cli.js",
6
6
  "types": "dist-cli/cli.d.ts",
@@ -46,22 +46,22 @@
46
46
  "dotenv": "^17.2.3",
47
47
  "drizzle-kit": "^0.31.5",
48
48
  "drizzle-orm": "^0.44.6",
49
- "forge-sql-orm": "^2.1.9",
50
- "inquirer": "^12.9.6",
51
- "mysql2": "^3.15.1",
49
+ "forge-sql-orm": "^2.1.10",
50
+ "inquirer": "^12.10.0",
51
+ "mysql2": "^3.15.3",
52
52
  "reflect-metadata": "^0.2.2"
53
53
  },
54
54
  "devDependencies": {
55
- "@eslint/js": "^9.36.0",
56
- "@types/node": "^24.6.2",
57
- "@typescript-eslint/eslint-plugin": "^8.45.0",
58
- "@typescript-eslint/parser": "^8.45.0",
55
+ "@eslint/js": "^9.38.0",
56
+ "@types/node": "^24.9.1",
57
+ "@typescript-eslint/eslint-plugin": "^8.46.2",
58
+ "@typescript-eslint/parser": "^8.46.2",
59
59
  "eslint-config-prettier": "^10.1.8",
60
60
  "eslint-plugin-import": "^2.32.0",
61
- "knip": "^5.64.1",
61
+ "knip": "^5.66.2",
62
62
  "reflect-metadata": "^0.2.2",
63
63
  "typescript": "^5.9.3",
64
- "vite": "^7.1.9"
64
+ "vite": "^7.1.11"
65
65
  },
66
66
  "overrides": {
67
67
  "esbuild": "npm:esbuild@0.25.0",
@@ -13,7 +13,7 @@ const args = process.argv.slice(2).join(" ");
13
13
  const cliPath = path.resolve(__dirname, "cli.mjs");
14
14
 
15
15
  try {
16
- execSync(`npx --yes tsm --no-warnings ${cliPath} ${args}`, { stdio: "inherit" });
16
+ execSync(`npx --yes tsm --no-warnings "${cliPath}" ${args}`, { stdio: "inherit" });
17
17
  process.exit(0);
18
18
  } catch (e:any) {
19
19
  console.error("⚠️ Command execution failed:", e.message);