forge-sql-orm 1.0.21 → 1.0.22

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,6 +9,7 @@ const args = process.argv.slice(2).join(" ");
9
9
 
10
10
  // Resolve the path to cli.ts (your TypeScript entry file)
11
11
  const cliPath = path.resolve(__dirname, "cli.js");
12
+ const tsmPath = path.resolve(__dirname, "tsm","bin.js");
12
13
 
13
14
  // Function to run a command
14
15
  const runCommand = (cmd) => {
@@ -21,4 +22,4 @@ const runCommand = (cmd) => {
21
22
  }
22
23
  };
23
24
 
24
- runCommand(`node ./tsm/bin.js cli.js ${cliPath} ${args}`);
25
+ runCommand(`node ${tsmPath} ${cliPath} ${args}`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "forge-sql-orm",
3
- "version": "1.0.21",
3
+ "version": "1.0.22",
4
4
  "description": "Mikro-ORM integration for Forge-SQL in Atlassian Forge applications.",
5
5
  "main": "dist/ForgeSQLORM.js",
6
6
  "module": "dist/ForgeSQLORM.mjs",