@bayoudhi/moose-lib-serverless 0.7.9 → 0.7.11

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,19 +319,17 @@ 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",
326
- ".",
327
- "--sourceMap",
328
- "--inlineSources"
326
+ "."
329
327
  ];
330
328
  if (shouldAddOutDir) {
331
329
  tspcArgs.push("--outDir", outDir);
332
330
  }
333
331
  try {
334
- (0, import_child_process.execFileSync)("npx", tspcArgs, {
332
+ (0, import_child_process.execFileSync)(process.execPath, tspcArgs, {
335
333
  stdio: "inherit",
336
334
  cwd: projectRoot2
337
335
  });
@@ -401,20 +399,18 @@ function runWatchCompilation(moduleSystem) {
401
399
  let errorCount = 0;
402
400
  let warningCount = 0;
403
401
  const tspcArgs = [
404
- "tspc",
402
+ require.resolve("ts-patch/bin/tspc.js"),
405
403
  "-p",
406
404
  tempTsconfigPath,
407
405
  "--rootDir",
408
406
  ".",
409
- "--sourceMap",
410
- "--inlineSources",
411
407
  "--watch",
412
408
  "--preserveWatchOutput"
413
409
  ];
414
410
  if (shouldAddOutDir) {
415
411
  tspcArgs.splice(6, 0, "--outDir", outDir);
416
412
  }
417
- const tspcProcess = (0, import_child_process.spawn)("npx", tspcArgs, {
413
+ const tspcProcess = (0, import_child_process.spawn)(process.execPath, tspcArgs, {
418
414
  cwd: projectRoot2,
419
415
  stdio: ["ignore", "pipe", "pipe"]
420
416
  });
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.11",
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",