Commit ed61922 1 parent 6870581 commit ed61922 Copy full SHA for ed61922
File tree 2 files changed +8
-0
lines changed
packages/cli/src/commands/generate/dbAuth
2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change 1
1
global . __dirname = __dirname
2
2
3
3
vi . mock ( 'fs-extra' )
4
+ vi . mock ( 'execa' )
4
5
5
6
import path from 'path'
6
7
Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ import path from 'path'
2
2
3
3
import { camelCase } from 'camel-case'
4
4
import Enquirer from 'enquirer'
5
+ import execa from 'execa'
5
6
import fs from 'fs-extra'
6
7
import { Listr } from 'listr2'
7
8
import terminalLink from 'terminal-link'
@@ -396,6 +397,12 @@ const tasks = ({
396
397
title : 'Adding scaffold import...' ,
397
398
task : ( ) => addScaffoldImport ( ) ,
398
399
} ,
400
+ {
401
+ title : 'Generate types...' ,
402
+ task : ( ) => {
403
+ execa . commandSync ( 'yarn rw g types' )
404
+ } ,
405
+ } ,
399
406
{
400
407
title : 'One more thing...' ,
401
408
task : ( ) => {
You can’t perform that action at this time.
0 commit comments