@@ -25,15 +25,15 @@ export const env = {
2525 port : normalizePort ( process . env . PORT || '3000' ) ,
2626 banner : toBool ( getOsEnv ( 'APP_BANNER' ) ) ,
2727 dirs : {
28- migrations : [ path . relative ( path . join ( process . cwd ( ) ) , path . join ( __dirname , '..' , ' database/migrations/*.ts') ) ] ,
29- migrationsDir : path . relative ( path . join ( process . cwd ( ) ) , path . join ( __dirname , '..' , ' database/migrations') ) ,
30- entities : [ path . relative ( path . join ( process . cwd ( ) ) , path . join ( __dirname , '..' , ' api/**/models/*{.js,.ts}') ) ] ,
31- subscribers : [ path . join ( __dirname , '..' , ' api/**/*Subscriber{.js,.ts}') ] ,
32- controllers : [ path . join ( __dirname , '..' , ' api/**/*Controller{.js,.ts}') ] ,
33- middlewares : [ path . join ( __dirname , '..' , ' api/**/*Middleware{.js,.ts}') ] ,
34- interceptors : [ path . join ( __dirname , '..' , ' api/**/*Interceptor{.js,.ts}') ] ,
35- queries : [ path . join ( __dirname , '..' , ' api/**/*Query{.js,.ts}') ] ,
36- mutations : [ path . join ( __dirname , '..' , ' api/**/*Mutation{.js,.ts}') ] ,
28+ migrations : [ path . relative ( path . join ( process . cwd ( ) ) , path . join ( __dirname , 'database/migrations/*.ts' ) ) ] ,
29+ migrationsDir : path . relative ( path . join ( process . cwd ( ) ) , path . join ( __dirname , 'database/migrations' ) ) ,
30+ entities : [ path . relative ( path . join ( process . cwd ( ) ) , path . join ( __dirname , 'api/**/models/*{.js,.ts}' ) ) ] ,
31+ subscribers : [ path . join ( __dirname , 'api/**/*Subscriber{.js,.ts}' ) ] ,
32+ controllers : [ path . join ( __dirname , 'api/**/*Controller{.js,.ts}' ) ] ,
33+ middlewares : [ path . join ( __dirname , 'api/**/*Middleware{.js,.ts}' ) ] ,
34+ interceptors : [ path . join ( __dirname , 'api/**/*Interceptor{.js,.ts}' ) ] ,
35+ queries : [ path . join ( __dirname , 'api/**/*Query{.js,.ts}' ) ] ,
36+ mutations : [ path . join ( __dirname , 'api/**/*Mutation{.js,.ts}' ) ] ,
3737 } ,
3838 } ,
3939 log : {
0 commit comments