File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -16,29 +16,29 @@ function runCommand(command) {
1616function copyFilesWindows ( ) {
1717 console . log ( 'Copying files for Windows...' ) ;
1818
19- runCommand ( 'mkdir dist\\api\\v1\\core\\db' ) ;
19+ runCommand ( 'mkdir dist\\api\\v1\\core\\src\\ db' ) ;
2020
21- runCommand ( 'xcopy .\\src\\api\\v1\\core\\db\\ .\\dist\\api\\v1\\core\\db\\ /s /e' ) ;
21+ runCommand ( 'xcopy .\\src\\api\\v1\\core\\src\\ db\\ .\\dist\\api\\v1\\core\\src \\db\\ /s /e' ) ;
2222
2323 console . log ( 'Files copied successfully for Windows.' ) ;
2424}
2525
2626function copyFilesLinux ( ) {
2727 console . log ( 'Copying files for Linux...' ) ;
2828
29- runCommand ( 'mkdir -p dist/api/v1/core/db' ) ;
29+ runCommand ( 'mkdir -p dist/api/v1/core/src/ db' ) ;
3030
31- runCommand ( 'cp -r ./src/api/v1/core/db/* ./dist/api/v1/core/db' ) ;
31+ runCommand ( 'cp -r ./src/api/v1/core/src/ db/* ./dist/api/v1/core/src /db' ) ;
3232
3333 console . log ( 'Files copied successfully for Linux.' ) ;
3434}
3535
3636function copyFilesMac ( ) {
3737 console . log ( 'Copying files for macOS...' ) ;
3838
39- runCommand ( 'mkdir -p dist/api/v1/core/db' ) ;
39+ runCommand ( 'mkdir -p dist/api/v1/core/src/ db' ) ;
4040
41- runCommand ( 'cp -r ./src/api/v1/core/db/* ./dist/api/v1/core/db' ) ;
41+ runCommand ( 'cp -r ./src/api/v1/core/src/ db/* ./dist/api/v1/core/src /db' ) ;
4242
4343 console . log ( 'Files copied successfully for macOS.' ) ;
4444}
Original file line number Diff line number Diff line change 99 "module" : " CommonJS" ,
1010 "outDir" : " ./dist" ,
1111 "strict" : true ,
12- "skipLibCheck" : true
12+ "skipLibCheck" : true ,
13+ "resolveJsonModule" : true
1314 },
1415 "include" : [
1516 " src"
You can’t perform that action at this time.
0 commit comments