@bayoudhi/moose-lib-serverless 0.7.9 → 0.7.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.
@@ -319,7 +319,7 @@ function runSingleCompilation(moduleSystem) {
319
319
  (0, import_fs3.writeFileSync)(tempTsconfigPath, JSON.stringify(buildTsconfig, null, 2));
320
320
  console.log("Created temporary tsconfig with moose plugins...");
321
321
  const tspcArgs = [
322
- "tspc",
322
+ require.resolve("ts-patch/bin/tspc.js"),
323
323
  "-p",
324
324
  tempTsconfigPath,
325
325
  "--rootDir",
@@ -331,7 +331,7 @@ function runSingleCompilation(moduleSystem) {
331
331
  tspcArgs.push("--outDir", outDir);
332
332
  }
333
333
  try {
334
- (0, import_child_process.execFileSync)("npx", tspcArgs, {
334
+ (0, import_child_process.execFileSync)(process.execPath, tspcArgs, {
335
335
  stdio: "inherit",
336
336
  cwd: projectRoot2
337
337
  });
@@ -401,7 +401,7 @@ function runWatchCompilation(moduleSystem) {
401
401
  let errorCount = 0;
402
402
  let warningCount = 0;
403
403
  const tspcArgs = [
404
- "tspc",
404
+ require.resolve("ts-patch/bin/tspc.js"),
405
405
  "-p",
406
406
  tempTsconfigPath,
407
407
  "--rootDir",
@@ -414,7 +414,7 @@ function runWatchCompilation(moduleSystem) {
414
414
  if (shouldAddOutDir) {
415
415
  tspcArgs.splice(6, 0, "--outDir", outDir);
416
416
  }
417
- const tspcProcess = (0, import_child_process.spawn)("npx", tspcArgs, {
417
+ const tspcProcess = (0, import_child_process.spawn)(process.execPath, tspcArgs, {
418
418
  cwd: projectRoot2,
419
419
  stdio: ["ignore", "pipe", "pipe"]
420
420
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bayoudhi/moose-lib-serverless",
3
- "version": "0.7.9",
3
+ "version": "0.7.10",
4
4
  "description": "Serverless-compatible subset of @514labs/moose-lib for AWS Lambda and edge runtimes. Provides OlapTable, Stream, Workflow, View, and other Moose SDK classes without native C++ dependencies (Kafka, Temporal). Includes a patched compiler plugin for type-driven schema injection.",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",