motia 0.5.10-beta.118 → 0.5.11-beta.119
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/cli.js +3 -1
- package/dist/esm/cli.js +3 -1
- package/package.json +4 -4
package/dist/cjs/cli.js
CHANGED
|
@@ -32,6 +32,7 @@ commander_1.program
|
|
|
32
32
|
.option('-c, --cursor', 'Copy .cursor folder from template')
|
|
33
33
|
.option('-i, --interactive', 'Use interactive prompts to create project')
|
|
34
34
|
.option('-y, --skip-confirmation', 'Skip confirmation prompt')
|
|
35
|
+
.option('-d, --skip-tutorial', 'Skip the motia tutorial', false)
|
|
35
36
|
.action((0, config_utils_1.handler)(async (arg, context) => {
|
|
36
37
|
if (arg.name || arg.template || arg.cursor) {
|
|
37
38
|
const { create } = require('./create');
|
|
@@ -39,7 +40,8 @@ commander_1.program
|
|
|
39
40
|
type: 'confirm',
|
|
40
41
|
name: 'disableTutorial',
|
|
41
42
|
message: 'Do you wish to disable the motia tutorial?',
|
|
42
|
-
default:
|
|
43
|
+
default: arg.skipTutorial,
|
|
44
|
+
when: () => arg.skipTutorial === false,
|
|
43
45
|
});
|
|
44
46
|
await create({
|
|
45
47
|
projectName: arg.name ?? '.',
|
package/dist/esm/cli.js
CHANGED
|
@@ -27,6 +27,7 @@ program
|
|
|
27
27
|
.option('-c, --cursor', 'Copy .cursor folder from template')
|
|
28
28
|
.option('-i, --interactive', 'Use interactive prompts to create project')
|
|
29
29
|
.option('-y, --skip-confirmation', 'Skip confirmation prompt')
|
|
30
|
+
.option('-d, --skip-tutorial', 'Skip the motia tutorial', false)
|
|
30
31
|
.action(handler(async (arg, context) => {
|
|
31
32
|
if (arg.name || arg.template || arg.cursor) {
|
|
32
33
|
const { create } = require('./create');
|
|
@@ -34,7 +35,8 @@ program
|
|
|
34
35
|
type: 'confirm',
|
|
35
36
|
name: 'disableTutorial',
|
|
36
37
|
message: 'Do you wish to disable the motia tutorial?',
|
|
37
|
-
default:
|
|
38
|
+
default: arg.skipTutorial,
|
|
39
|
+
when: () => arg.skipTutorial === false,
|
|
38
40
|
});
|
|
39
41
|
await create({
|
|
40
42
|
projectName: arg.name ?? '.',
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "motia",
|
|
3
3
|
"description": "A Modern Unified Backend Framework for APIs, Events and Agents",
|
|
4
|
-
"version": "0.5.
|
|
4
|
+
"version": "0.5.11-beta.119",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -43,9 +43,9 @@
|
|
|
43
43
|
"inquirer": "^8.2.5",
|
|
44
44
|
"table": "^6.9.0",
|
|
45
45
|
"ts-node": "^10.9.2",
|
|
46
|
-
"@motiadev/core": "0.5.
|
|
47
|
-
"@motiadev/stream-client-node": "0.5.
|
|
48
|
-
"@motiadev/workbench": "0.5.
|
|
46
|
+
"@motiadev/core": "0.5.11-beta.119",
|
|
47
|
+
"@motiadev/stream-client-node": "0.5.11-beta.119",
|
|
48
|
+
"@motiadev/workbench": "0.5.11-beta.119"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
51
|
"@amplitude/analytics-types": "^2.9.2",
|