@ezetgalaxy/titan 25.13.2 → 25.13.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.js +4 -3
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- #!/usr/bin/env node
1
+ #!/usr/bin/env node
2
2
  import fs from "fs";
3
3
  import path from "path";
4
4
  import { execSync, spawn } from "child_process";
@@ -202,19 +202,20 @@ function buildProd() {
202
202
  const outDir = path.join(root, "server", "actions");
203
203
  fs.mkdirSync(outDir, { recursive: true });
204
204
 
205
- const builtActions = path.join(root, "titan", "actions");
205
+ const builtActions = path.join(projectRoot, "server", "actions");
206
206
 
207
207
  if (fs.existsSync(builtActions)) {
208
208
  for (const file of fs.readdirSync(builtActions)) {
209
209
  if (file.endsWith(".jsbundle")) {
210
210
  fs.copyFileSync(
211
211
  path.join(builtActions, file),
212
- path.join(outDir, file)
212
+ path.join(actionsOut, file)
213
213
  );
214
214
  }
215
215
  }
216
216
  }
217
217
 
218
+
218
219
  console.log(green("✔ Actions copied to server/actions"));
219
220
 
220
221
  /* Rust release build */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ezetgalaxy/titan",
3
- "version": "25.13.2",
3
+ "version": "25.13.3",
4
4
  "description": "JavaScript backend framework that compiles your JS into a Rust + Axum server.",
5
5
  "license": "ISC",
6
6
  "author": "ezetgalaxy",