@@ -27,15 +27,15 @@ export const env = {
2727 port : normalizePort ( process . env . PORT || getOsEnv ( 'APP_PORT' ) ) ,
2828 banner : toBool ( getOsEnv ( 'APP_BANNER' ) ) ,
2929 dirs : {
30- migrations : [ path . relative ( path . join ( process . cwd ( ) ) , path . join ( __dirname , 'database/migrations/*.ts' ) ) ] ,
30+ migrations : [ path . relative ( path . join ( process . cwd ( ) ) , path . join ( __dirname , 'database/migrations/**/* .ts' ) ) ] ,
3131 migrationsDir : path . relative ( path . join ( process . cwd ( ) ) , path . join ( __dirname , 'database/migrations' ) ) ,
32- entities : [ path . relative ( path . join ( process . cwd ( ) ) , path . join ( __dirname , 'api/**/models /*{.js,.ts}' ) ) ] ,
33- subscribers : [ path . join ( __dirname , 'api/**/*Subscriber{.js,.ts}' ) ] ,
34- controllers : [ path . join ( __dirname , 'api/**/*Controller{.js,.ts}' ) ] ,
35- middlewares : [ path . join ( __dirname , 'api/**/*Middleware{.js,.ts}' ) ] ,
36- interceptors : [ path . join ( __dirname , 'api/**/*Interceptor{.js,.ts}' ) ] ,
37- queries : [ path . join ( __dirname , 'api/**/*Query{.js,.ts}' ) ] ,
38- mutations : [ path . join ( __dirname , 'api/**/*Mutation{.js,.ts}' ) ] ,
32+ entities : [ path . relative ( path . join ( process . cwd ( ) ) , path . join ( __dirname , 'api/models/** /*{.js,.ts}' ) ) ] ,
33+ subscribers : [ path . join ( __dirname , 'api/subscribers/ **/*Subscriber{.js,.ts}' ) ] ,
34+ controllers : [ path . join ( __dirname , 'api/controllers/ **/*Controller{.js,.ts}' ) ] ,
35+ middlewares : [ path . join ( __dirname , 'api/middlewares/ **/*Middleware{.js,.ts}' ) ] ,
36+ interceptors : [ path . join ( __dirname , 'api/interceptors/ **/*Interceptor{.js,.ts}' ) ] ,
37+ queries : [ path . join ( __dirname , 'api/queries/ **/*Query{.js,.ts}' ) ] ,
38+ mutations : [ path . join ( __dirname , 'api/mutations/ **/*Mutation{.js,.ts}' ) ] ,
3939 } ,
4040 } ,
4141 log : {
0 commit comments