Skip to content

Commit bb20400

Browse files
authored
Merge pull request #130 from nicolelim02/chore/build
Update tsconfig and package.json
2 parents dff9969 + 56518d4 commit bb20400

File tree

14 files changed

+47
-47
lines changed

14 files changed

+47
-47
lines changed

backend/code-execution-service/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"main": "server.ts",
55
"type": "module",
66
"scripts": {
7-
"start": "tsx dist/server.js",
7+
"start": "tsx dist/src/server.js",
88
"dev": "tsx watch src/server.ts",
99
"build": "tsc",
1010
"test": "cross-env NODE_ENV=test && jest",

backend/code-execution-service/tsconfig.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
// "disableReferencedProjectLoad": true, /* Reduce the number of projects loaded automatically by TypeScript. */
1212

1313
/* Language and Environment */
14-
"target": "es2016" /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */,
14+
"target": "es2017" /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */,
1515
// "lib": [], /* Specify a set of bundled library declaration files that describe the target runtime environment. */
1616
// "jsx": "preserve", /* Specify what JSX code is generated. */
1717
// "experimentalDecorators": true, /* Enable experimental support for legacy experimental decorators. */
@@ -26,7 +26,7 @@
2626

2727
/* Modules */
2828
"module": "ESNext" /* Specify what module code is generated. */,
29-
"rootDir": "./src" /* Specify the root folder within your source files. */,
29+
"rootDir": "." /* Specify the root folder within your source files. */,
3030
"moduleResolution": "Node" /* Specify how TypeScript looks up a file from a given module specifier. */,
3131
// "baseUrl": "./", /* Specify the base directory to resolve non-relative module names. */
3232
// "paths": {}, /* Specify a set of entries that re-map imports to additional lookup locations. */
@@ -53,9 +53,9 @@
5353
// "declaration": true, /* Generate .d.ts files from TypeScript and JavaScript files in your project. */
5454
// "declarationMap": true, /* Create sourcemaps for d.ts files. */
5555
// "emitDeclarationOnly": true, /* Only output d.ts files and not JavaScript files. */
56-
// "sourceMap": true, /* Create source map files for emitted JavaScript files. */
56+
// "sourceMap": true /* Create source map files for emitted JavaScript files. */,
5757
// "inlineSourceMap": true, /* Include sourcemap files inside the emitted JavaScript. */
58-
// "noEmit": true, /* Disable emitting files from a compilation. */
58+
// "noEmit": true /* Disable emitting files from a compilation. */,
5959
// "outFile": "./", /* Specify a file that bundles all outputs into one JavaScript file. If 'declaration' is true, also designates a file that bundles all .d.ts output. */
6060
"outDir": "./dist" /* Specify an output folder for all emitted files. */,
6161
// "removeComments": true, /* Disable emitting comments. */
@@ -107,6 +107,6 @@
107107
// "skipDefaultLibCheck": true, /* Skip type checking .d.ts files that are included with TypeScript. */
108108
"skipLibCheck": true /* Skip type checking all .d.ts files. */
109109
},
110-
"include": ["src/**/*"],
111-
"exclude": ["node_modules", "dist"]
110+
"exclude": ["node_modules", "dist"],
111+
"include": ["**/**/*.ts"]
112112
}

backend/collab-service/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"main": "server.ts",
55
"type": "module",
66
"scripts": {
7-
"start": "tsx src/server.js",
7+
"start": "tsx dist/src/server.js",
88
"dev": "tsx watch src/server.ts",
99
"build": "tsc",
1010
"test": "cross-env NODE_ENV=test && jest",

backend/collab-service/tsconfig.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
// "disableReferencedProjectLoad": true, /* Reduce the number of projects loaded automatically by TypeScript. */
1212

1313
/* Language and Environment */
14-
"target": "es2016" /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */,
14+
"target": "es2017" /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */,
1515
// "lib": [], /* Specify a set of bundled library declaration files that describe the target runtime environment. */
1616
// "jsx": "preserve", /* Specify what JSX code is generated. */
1717
// "experimentalDecorators": true, /* Enable experimental support for legacy experimental decorators. */
@@ -26,7 +26,7 @@
2626

2727
/* Modules */
2828
"module": "ESNext" /* Specify what module code is generated. */,
29-
"rootDir": "./src" /* Specify the root folder within your source files. */,
29+
"rootDir": "." /* Specify the root folder within your source files. */,
3030
"moduleResolution": "Node" /* Specify how TypeScript looks up a file from a given module specifier. */,
3131
// "baseUrl": "./", /* Specify the base directory to resolve non-relative module names. */
3232
// "paths": {}, /* Specify a set of entries that re-map imports to additional lookup locations. */
@@ -53,9 +53,9 @@
5353
// "declaration": true, /* Generate .d.ts files from TypeScript and JavaScript files in your project. */
5454
// "declarationMap": true, /* Create sourcemaps for d.ts files. */
5555
// "emitDeclarationOnly": true, /* Only output d.ts files and not JavaScript files. */
56-
// "sourceMap": true, /* Create source map files for emitted JavaScript files. */
56+
// "sourceMap": true /* Create source map files for emitted JavaScript files. */,
5757
// "inlineSourceMap": true, /* Include sourcemap files inside the emitted JavaScript. */
58-
// "noEmit": true, /* Disable emitting files from a compilation. */
58+
// "noEmit": true /* Disable emitting files from a compilation. */,
5959
// "outFile": "./", /* Specify a file that bundles all outputs into one JavaScript file. If 'declaration' is true, also designates a file that bundles all .d.ts output. */
6060
"outDir": "./dist" /* Specify an output folder for all emitted files. */,
6161
// "removeComments": true, /* Disable emitting comments. */
@@ -107,6 +107,6 @@
107107
// "skipDefaultLibCheck": true, /* Skip type checking .d.ts files that are included with TypeScript. */
108108
"skipLibCheck": true /* Skip type checking all .d.ts files. */
109109
},
110-
"include": ["src/**/*"],
111-
"exclude": ["node_modules", "dist"]
110+
"exclude": ["node_modules", "dist"],
111+
"include": ["**/**/*.ts"]
112112
}

backend/communication-service/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"main": "server.ts",
55
"type": "module",
66
"scripts": {
7-
"start": "tsx src/server.js",
7+
"start": "tsx dist/src/server.js",
88
"dev": "tsx watch src/server.ts",
99
"build": "tsc",
1010
"test": "cross-env NODE_ENV=test && jest",

backend/communication-service/tsconfig.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
// "disableReferencedProjectLoad": true, /* Reduce the number of projects loaded automatically by TypeScript. */
1212

1313
/* Language and Environment */
14-
"target": "es2016" /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */,
14+
"target": "es2017" /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */,
1515
// "lib": [], /* Specify a set of bundled library declaration files that describe the target runtime environment. */
1616
// "jsx": "preserve", /* Specify what JSX code is generated. */
1717
// "experimentalDecorators": true, /* Enable experimental support for legacy experimental decorators. */
@@ -26,7 +26,7 @@
2626

2727
/* Modules */
2828
"module": "ESNext" /* Specify what module code is generated. */,
29-
"rootDir": "./src" /* Specify the root folder within your source files. */,
29+
"rootDir": "." /* Specify the root folder within your source files. */,
3030
"moduleResolution": "Node" /* Specify how TypeScript looks up a file from a given module specifier. */,
3131
// "baseUrl": "./", /* Specify the base directory to resolve non-relative module names. */
3232
// "paths": {}, /* Specify a set of entries that re-map imports to additional lookup locations. */
@@ -53,9 +53,9 @@
5353
// "declaration": true, /* Generate .d.ts files from TypeScript and JavaScript files in your project. */
5454
// "declarationMap": true, /* Create sourcemaps for d.ts files. */
5555
// "emitDeclarationOnly": true, /* Only output d.ts files and not JavaScript files. */
56-
// "sourceMap": true, /* Create source map files for emitted JavaScript files. */
56+
// "sourceMap": true /* Create source map files for emitted JavaScript files. */,
5757
// "inlineSourceMap": true, /* Include sourcemap files inside the emitted JavaScript. */
58-
// "noEmit": true, /* Disable emitting files from a compilation. */
58+
// "noEmit": true /* Disable emitting files from a compilation. */,
5959
// "outFile": "./", /* Specify a file that bundles all outputs into one JavaScript file. If 'declaration' is true, also designates a file that bundles all .d.ts output. */
6060
"outDir": "./dist" /* Specify an output folder for all emitted files. */,
6161
// "removeComments": true, /* Disable emitting comments. */
@@ -107,6 +107,6 @@
107107
// "skipDefaultLibCheck": true, /* Skip type checking .d.ts files that are included with TypeScript. */
108108
"skipLibCheck": true /* Skip type checking all .d.ts files. */
109109
},
110-
"include": ["src/**/*"],
111-
"exclude": ["node_modules", "dist"]
110+
"exclude": ["node_modules", "dist"],
111+
"include": ["**/**/*.ts"]
112112
}

backend/matching-service/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"main": "server.ts",
55
"type": "module",
66
"scripts": {
7-
"start": "tsx dist/server.js",
7+
"start": "tsx dist/src/server.js",
88
"dev": "tsx watch src/server.ts",
99
"build": "tsc",
1010
"test": "cross-env NODE_ENV=test && jest",

backend/matching-service/tsconfig.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
// "disableReferencedProjectLoad": true, /* Reduce the number of projects loaded automatically by TypeScript. */
1212

1313
/* Language and Environment */
14-
"target": "es2016" /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */,
14+
"target": "es2017" /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */,
1515
// "lib": [], /* Specify a set of bundled library declaration files that describe the target runtime environment. */
1616
// "jsx": "preserve", /* Specify what JSX code is generated. */
1717
// "experimentalDecorators": true, /* Enable experimental support for legacy experimental decorators. */
@@ -26,7 +26,7 @@
2626

2727
/* Modules */
2828
"module": "ESNext" /* Specify what module code is generated. */,
29-
"rootDir": "./src" /* Specify the root folder within your source files. */,
29+
"rootDir": "." /* Specify the root folder within your source files. */,
3030
"moduleResolution": "Node" /* Specify how TypeScript looks up a file from a given module specifier. */,
3131
// "baseUrl": "./", /* Specify the base directory to resolve non-relative module names. */
3232
// "paths": {}, /* Specify a set of entries that re-map imports to additional lookup locations. */
@@ -53,9 +53,9 @@
5353
// "declaration": true, /* Generate .d.ts files from TypeScript and JavaScript files in your project. */
5454
// "declarationMap": true, /* Create sourcemaps for d.ts files. */
5555
// "emitDeclarationOnly": true, /* Only output d.ts files and not JavaScript files. */
56-
// "sourceMap": true, /* Create source map files for emitted JavaScript files. */
56+
// "sourceMap": true /* Create source map files for emitted JavaScript files. */,
5757
// "inlineSourceMap": true, /* Include sourcemap files inside the emitted JavaScript. */
58-
// "noEmit": true, /* Disable emitting files from a compilation. */
58+
// "noEmit": true /* Disable emitting files from a compilation. */,
5959
// "outFile": "./", /* Specify a file that bundles all outputs into one JavaScript file. If 'declaration' is true, also designates a file that bundles all .d.ts output. */
6060
"outDir": "./dist" /* Specify an output folder for all emitted files. */,
6161
// "removeComments": true, /* Disable emitting comments. */
@@ -107,6 +107,6 @@
107107
// "skipDefaultLibCheck": true, /* Skip type checking .d.ts files that are included with TypeScript. */
108108
"skipLibCheck": true /* Skip type checking all .d.ts files. */
109109
},
110-
"include": ["src/**/*"],
111-
"exclude": ["node_modules", "dist"]
110+
"exclude": ["node_modules", "dist"],
111+
"include": ["**/**/*.ts"]
112112
}

backend/qn-history-service/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"main": "server.ts",
55
"type": "module",
66
"scripts": {
7-
"start": "tsx dist/server.js",
7+
"start": "tsx dist/src/server.js",
88
"dev": "tsx watch src/server.ts",
99
"build": "tsc",
1010
"test": "cross-env NODE_ENV=test && jest",

backend/qn-history-service/tsconfig.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
// "disableReferencedProjectLoad": true, /* Reduce the number of projects loaded automatically by TypeScript. */
1212

1313
/* Language and Environment */
14-
"target": "es2016" /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */,
14+
"target": "es2017" /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */,
1515
// "lib": [], /* Specify a set of bundled library declaration files that describe the target runtime environment. */
1616
// "jsx": "preserve", /* Specify what JSX code is generated. */
1717
// "experimentalDecorators": true, /* Enable experimental support for legacy experimental decorators. */
@@ -26,7 +26,7 @@
2626

2727
/* Modules */
2828
"module": "ESNext" /* Specify what module code is generated. */,
29-
"rootDir": "./src" /* Specify the root folder within your source files. */,
29+
"rootDir": "." /* Specify the root folder within your source files. */,
3030
"moduleResolution": "Node" /* Specify how TypeScript looks up a file from a given module specifier. */,
3131
// "baseUrl": "./", /* Specify the base directory to resolve non-relative module names. */
3232
// "paths": {}, /* Specify a set of entries that re-map imports to additional lookup locations. */
@@ -53,9 +53,9 @@
5353
// "declaration": true, /* Generate .d.ts files from TypeScript and JavaScript files in your project. */
5454
// "declarationMap": true, /* Create sourcemaps for d.ts files. */
5555
// "emitDeclarationOnly": true, /* Only output d.ts files and not JavaScript files. */
56-
// "sourceMap": true, /* Create source map files for emitted JavaScript files. */
56+
// "sourceMap": true /* Create source map files for emitted JavaScript files. */,
5757
// "inlineSourceMap": true, /* Include sourcemap files inside the emitted JavaScript. */
58-
// "noEmit": true, /* Disable emitting files from a compilation. */
58+
// "noEmit": true /* Disable emitting files from a compilation. */,
5959
// "outFile": "./", /* Specify a file that bundles all outputs into one JavaScript file. If 'declaration' is true, also designates a file that bundles all .d.ts output. */
6060
"outDir": "./dist" /* Specify an output folder for all emitted files. */,
6161
// "removeComments": true, /* Disable emitting comments. */
@@ -107,6 +107,6 @@
107107
// "skipDefaultLibCheck": true, /* Skip type checking .d.ts files that are included with TypeScript. */
108108
"skipLibCheck": true /* Skip type checking all .d.ts files. */
109109
},
110-
"include": ["src/**/*"],
111-
"exclude": ["node_modules", "dist"]
110+
"exclude": ["node_modules", "dist"],
111+
"include": ["**/**/*.ts"]
112112
}

0 commit comments

Comments
 (0)