Skip to content

Commit 4852871

Browse files
update gitlab tests
Signed-off-by: ivan katliarchuk <[email protected]>
1 parent f7825a1 commit 4852871

File tree

4 files changed

+249
-52
lines changed

4 files changed

+249
-52
lines changed
Lines changed: 15 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,34 @@
11
{
22
"compilerOptions": {
33
/* Basic Options */
4-
"target": "ES6", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017','ES2018' or 'ESNEXT'. */
4+
"target": "es6", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017','ES2018' or 'ESNEXT'. */
55
"module": "commonjs", /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */
66
"lib": [
77
"dom",
8-
"ES6",
9-
"ScriptHost"
8+
"es6",
9+
"dom.iterable",
10+
"scripthost"
1011
], /* Specify library files to be included in the compilation. */
1112
// "allowJs": true, /* Allow javascript files to be compiled. */
1213
// "checkJs": true, /* Report errors in .js files. */
1314
// "jsx": "preserve", /* Specify JSX code generation: 'preserve', 'react-native', or 'react'. */
1415
// "declaration": true, /* Generates corresponding '.d.ts' file. */
1516
// "declarationMap": true, /* Generates a sourcemap for each corresponding '.d.ts' file. */
16-
"sourceMap": true, /* Generates corresponding '.map' file. */
17+
// "sourceMap": true, /* Generates corresponding '.map' file. */
1718
// "outFile": "./", /* Concatenate and emit output to single file. */
18-
// "outDir": "./", /* Redirect output structure to the directory. */
19-
// "rootDir": "./", /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */
19+
"outDir": "./dist", /* Redirect output structure to the directory. */
20+
"rootDir": "./src", /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */
2021
// "composite": true, /* Enable project compilation */
21-
// "removeComments": true, /* Do not emit comments to output. */
22+
"removeComments": true, /* Do not emit comments to output. */
2223
// "noEmit": true, /* Do not emit outputs. */
2324
// "importHelpers": true, /* Import emit helpers from 'tslib'. */
2425
// "downlevelIteration": true, /* Provide full support for iterables in 'for-of', spread, and destructuring when targeting 'ES5' or 'ES3'. */
2526
// "isolatedModules": true, /* Transpile each file as a separate module (similar to 'ts.transpileModule'). */
27+
"noEmitOnError": true,
2628

2729
/* Strict Type-Checking Options */
2830
"strict": true, /* Enable all strict type-checking options. */
29-
// "noImplicitAny": true, /* Raise error on expressions and declarations with an implied 'any' type. */
31+
// "noImplicitAny": false, /* Raise error on expressions and declarations with an implied 'any' type. */
3032
// "strictNullChecks": true, /* Enable strict null checks. */
3133
// "strictFunctionTypes": true, /* Enable strict checking of function types. */
3234
// "strictBindCallApply": true, /* Enable strict 'bind', 'call', and 'apply' methods on functions. */
@@ -35,9 +37,9 @@
3537
// "alwaysStrict": true, /* Parse in strict mode and emit "use strict" for each source file. */
3638

3739
/* Additional Checks */
38-
// "noUnusedLocals": true, /* Report errors on unused locals. */
39-
// "noUnusedParameters": true, /* Report errors on unused parameters. */
40-
// "noImplicitReturns": true, /* Report error when not all code paths in function return a value. */
40+
"noUnusedLocals": true, /* Report errors on unused locals. */
41+
"noUnusedParameters": true, /* Report errors on unused parameters. */
42+
"noImplicitReturns": true, /* Report error when not all code paths in function return a value. */
4143
// "noFallthroughCasesInSwitch": true, /* Report errors for fallthrough cases in switch statement. */
4244

4345
/* Module Resolution Options */
@@ -62,14 +64,6 @@
6264
// "emitDecoratorMetadata": true, /* Enables experimental support for emitting type metadata for decorators. */
6365
},
6466
"exclude": [
65-
"analytics.ts",
66-
"*.dev.ts",
67-
"node_modules"
68-
],
69-
"include": [ // cold include folders
70-
"app.ts"
71-
],
72-
"files": [ // only files, no folders
73-
"app.ts"
67+
"node_modules" // would be the default
7468
]
75-
}
69+
}

tests/test-git-breaker/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"author": "",
1010
"license": "ISC",
1111
"dependencies": {
12-
"@gitbeaker/node": "^21.3.0",
12+
"@gitbeaker/node": "^35.7.0",
1313
"gitlab": "^10.0.1"
1414
}
1515
}

tests/test-git-breaker/types.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
import { Types as tnode } from '@gitbeaker/node';
2+
3+
const node: tnode.MergeRequestSchema = {}
4+
5+
console.log(node)

0 commit comments

Comments
 (0)