motia 0.17.9-beta.192-965524 → 0.17.9-beta.192-502786

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.
@@ -4,7 +4,10 @@ import { exec } from "child_process";
4
4
  const executeCommand = async (command, rootDir, options) => {
5
5
  const { silent = false } = options || {};
6
6
  return new Promise((resolve, reject) => {
7
- exec(command, { cwd: rootDir }, (error, stdout, stderr) => {
7
+ exec(command, {
8
+ cwd: rootDir,
9
+ env: process.env
10
+ }, (error, stdout, stderr) => {
8
11
  if (error) {
9
12
  if (!silent) console.error(`exec error: ${error}`);
10
13
  reject(error);
@@ -1 +1 @@
1
- {"version":3,"file":"execute-command.mjs","names":[],"sources":["../../src/utils/execute-command.ts"],"sourcesContent":["import { exec } from 'child_process'\n\ninterface ExecuteCommandOptions {\n silent?: boolean\n}\n\nexport const executeCommand = async (\n command: string,\n rootDir: string,\n options?: ExecuteCommandOptions,\n): Promise<string> => {\n const { silent = false } = options || {}\n\n return new Promise((resolve, reject) => {\n exec(command, { cwd: rootDir }, (error, stdout, stderr) => {\n if (error) {\n if (!silent) {\n console.error(`exec error: ${error}`)\n }\n reject(error)\n return\n }\n\n if (!silent) {\n if (stdout) console.log(stdout.toString())\n if (stderr) console.error(stderr.toString())\n }\n\n resolve(stdout.toString())\n })\n })\n}\n"],"mappings":";;;AAMA,MAAa,iBAAiB,OAC5B,SACA,SACA,YACoB;CACpB,MAAM,EAAE,SAAS,UAAU,WAAW,EAAE;AAExC,QAAO,IAAI,SAAS,SAAS,WAAW;AACtC,OAAK,SAAS,EAAE,KAAK,SAAS,GAAG,OAAO,QAAQ,WAAW;AACzD,OAAI,OAAO;AACT,QAAI,CAAC,OACH,SAAQ,MAAM,eAAe,QAAQ;AAEvC,WAAO,MAAM;AACb;;AAGF,OAAI,CAAC,QAAQ;AACX,QAAI,OAAQ,SAAQ,IAAI,OAAO,UAAU,CAAC;AAC1C,QAAI,OAAQ,SAAQ,MAAM,OAAO,UAAU,CAAC;;AAG9C,WAAQ,OAAO,UAAU,CAAC;IAC1B;GACF"}
1
+ {"version":3,"file":"execute-command.mjs","names":[],"sources":["../../src/utils/execute-command.ts"],"sourcesContent":["import { exec } from 'child_process'\n\ninterface ExecuteCommandOptions {\n silent?: boolean\n}\n\nexport const executeCommand = async (\n command: string,\n rootDir: string,\n options?: ExecuteCommandOptions,\n): Promise<string> => {\n const { silent = false } = options || {}\n\n return new Promise((resolve, reject) => {\n exec(command, { cwd: rootDir, env: process.env }, (error, stdout, stderr) => {\n if (error) {\n if (!silent) {\n console.error(`exec error: ${error}`)\n }\n reject(error)\n return\n }\n\n if (!silent) {\n if (stdout) console.log(stdout.toString())\n if (stderr) console.error(stderr.toString())\n }\n\n resolve(stdout.toString())\n })\n })\n}\n"],"mappings":";;;AAMA,MAAa,iBAAiB,OAC5B,SACA,SACA,YACoB;CACpB,MAAM,EAAE,SAAS,UAAU,WAAW,EAAE;AAExC,QAAO,IAAI,SAAS,SAAS,WAAW;AACtC,OAAK,SAAS;GAAE,KAAK;GAAS,KAAK,QAAQ;GAAK,GAAG,OAAO,QAAQ,WAAW;AAC3E,OAAI,OAAO;AACT,QAAI,CAAC,OACH,SAAQ,MAAM,eAAe,QAAQ;AAEvC,WAAO,MAAM;AACb;;AAGF,OAAI,CAAC,QAAQ;AACX,QAAI,OAAQ,SAAQ,IAAI,OAAO,UAAU,CAAC;AAC1C,QAAI,OAAQ,SAAQ,MAAM,OAAO,UAAU,CAAC;;AAG9C,WAAQ,OAAO,UAAU,CAAC;IAC1B;GACF"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "motia",
3
3
  "description": "Build production-grade backends with a single primitive. APIs, background jobs, Queues, Workflows, and AI agents - unified in one system with built-in State management, Streaming, and Observability.",
4
- "version": "0.17.9-beta.192-965524",
4
+ "version": "0.17.9-beta.192-502786",
5
5
  "license": "Elastic-2.0",
6
6
  "type": "module",
7
7
  "repository": {
@@ -46,13 +46,13 @@
46
46
  "table": "^6.9.0",
47
47
  "ts-node": "^10.9.2",
48
48
  "zod": "^4.1.13",
49
- "@motiadev/adapter-redis-cron": "0.17.9-beta.192-965524",
50
- "@motiadev/adapter-bullmq-events": "0.17.9-beta.192-965524",
51
- "@motiadev/adapter-redis-state": "0.17.9-beta.192-965524",
52
- "@motiadev/adapter-redis-streams": "0.17.9-beta.192-965524",
53
- "@motiadev/stream-client-node": "0.17.9-beta.192-965524",
54
- "@motiadev/workbench": "0.17.9-beta.192-965524",
55
- "@motiadev/core": "0.17.9-beta.192-965524"
49
+ "@motiadev/adapter-bullmq-events": "0.17.9-beta.192-502786",
50
+ "@motiadev/adapter-redis-cron": "0.17.9-beta.192-502786",
51
+ "@motiadev/adapter-redis-state": "0.17.9-beta.192-502786",
52
+ "@motiadev/adapter-redis-streams": "0.17.9-beta.192-502786",
53
+ "@motiadev/core": "0.17.9-beta.192-502786",
54
+ "@motiadev/stream-client-node": "0.17.9-beta.192-502786",
55
+ "@motiadev/workbench": "0.17.9-beta.192-502786"
56
56
  },
57
57
  "devDependencies": {
58
58
  "@amplitude/analytics-types": "^2.9.2",