motia 0.11.0-beta.155-832951 → 0.11.0-beta.155-574632
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.
- package/dist/cjs/start.js +1 -1
- package/dist/esm/start.js +2 -2
- package/package.json +4 -4
package/dist/cjs/start.js
CHANGED
|
@@ -19,7 +19,7 @@ require('ts-node').register({
|
|
|
19
19
|
const start = async (port, hostname, disableVerbose, motiaFileStorageDir) => {
|
|
20
20
|
const baseDir = process.cwd();
|
|
21
21
|
const isVerbose = !disableVerbose;
|
|
22
|
-
const stepFiles = (0, generate_locked_data_1.getStepFiles)(baseDir);
|
|
22
|
+
const stepFiles = [...(0, generate_locked_data_1.getStepFiles)(baseDir), ...(0, generate_locked_data_1.getStreamFiles)(baseDir)];
|
|
23
23
|
const hasPythonFiles = stepFiles.some((file) => file.endsWith('.py'));
|
|
24
24
|
if (hasPythonFiles) {
|
|
25
25
|
console.log('⚙️ Activating Python environment...');
|
package/dist/esm/start.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createServer, createStateAdapter, DefaultCronAdapter, DefaultQueueEventAdapter, FileStreamAdapterManager, } from '@motiadev/core';
|
|
2
2
|
import path from 'path';
|
|
3
3
|
import { workbenchBase } from './constants';
|
|
4
|
-
import { generateLockedData, getStepFiles } from './generate-locked-data';
|
|
4
|
+
import { generateLockedData, getStepFiles, getStreamFiles } from './generate-locked-data';
|
|
5
5
|
import { loadMotiaConfig } from './load-motia-config';
|
|
6
6
|
import { processPlugins } from './plugins';
|
|
7
7
|
import { activatePythonVenv } from './utils/activate-python-env';
|
|
@@ -13,7 +13,7 @@ require('ts-node').register({
|
|
|
13
13
|
export const start = async (port, hostname, disableVerbose, motiaFileStorageDir) => {
|
|
14
14
|
const baseDir = process.cwd();
|
|
15
15
|
const isVerbose = !disableVerbose;
|
|
16
|
-
const stepFiles = getStepFiles(baseDir);
|
|
16
|
+
const stepFiles = [...getStepFiles(baseDir), ...getStreamFiles(baseDir)];
|
|
17
17
|
const hasPythonFiles = stepFiles.some((file) => file.endsWith('.py'));
|
|
18
18
|
if (hasPythonFiles) {
|
|
19
19
|
console.log('⚙️ Activating Python environment...');
|
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.11.0-beta.155-
|
|
4
|
+
"version": "0.11.0-beta.155-574632",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -47,9 +47,9 @@
|
|
|
47
47
|
"table": "^6.9.0",
|
|
48
48
|
"ts-node": "^10.9.2",
|
|
49
49
|
"zod": "^4.1.12",
|
|
50
|
-
"@motiadev/
|
|
51
|
-
"@motiadev/
|
|
52
|
-
"@motiadev/workbench": "0.11.0-beta.155-
|
|
50
|
+
"@motiadev/core": "0.11.0-beta.155-574632",
|
|
51
|
+
"@motiadev/stream-client-node": "0.11.0-beta.155-574632",
|
|
52
|
+
"@motiadev/workbench": "0.11.0-beta.155-574632"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
55
|
"@amplitude/analytics-types": "^2.9.2",
|