Skip to content

Commit cd15860

Browse files
sample() update samples tsconfig.json
1 parent 2cfc6cc commit cd15860

48 files changed

Lines changed: 85 additions & 179 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
11
{
22
"extends": "./tsconfig.json",
3-
"include": ["src/**/*"],
4-
"exclude": ["node_modules", "**/*.spec.ts"],
5-
"compilerOptions": {
6-
"types": []
7-
}
3+
"exclude": ["node_modules", "dist", "test", "**/*spec.ts"]
84
}

sample/01-cats-app/tsconfig.json

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,14 @@
22
"compilerOptions": {
33
"module": "commonjs",
44
"declaration": true,
5-
"noImplicitAny": false,
65
"removeComments": true,
7-
"noLib": false,
8-
"allowSyntheticDefaultImports": true,
96
"emitDecoratorMetadata": true,
107
"experimentalDecorators": true,
11-
"target": "es6",
8+
"target": "es2017",
129
"sourceMap": true,
1310
"outDir": "./dist",
14-
"baseUrl": "./"
11+
"baseUrl": "./",
12+
"incremental": true
1513
},
1614
"exclude": ["node_modules", "dist"]
1715
}
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
{
22
"extends": "./tsconfig.json",
3-
"include": ["src/**/*"],
4-
"exclude": ["node_modules", "**/*.spec.ts"]
3+
"exclude": ["node_modules", "dist", "test", "**/*spec.ts"]
54
}

sample/02-gateways/tsconfig.json

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,14 @@
22
"compilerOptions": {
33
"module": "commonjs",
44
"declaration": true,
5-
"noImplicitAny": false,
65
"removeComments": true,
7-
"noLib": false,
8-
"allowSyntheticDefaultImports": true,
96
"emitDecoratorMetadata": true,
107
"experimentalDecorators": true,
11-
"target": "es6",
8+
"target": "es2017",
129
"sourceMap": true,
1310
"outDir": "./dist",
1411
"baseUrl": "./",
15-
"skipLibCheck": true
12+
"incremental": true
1613
},
1714
"exclude": ["node_modules", "dist"]
1815
}
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
{
22
"extends": "./tsconfig.json",
3-
"include": ["src/**/*"],
4-
"exclude": ["node_modules", "**/*.spec.ts"]
3+
"exclude": ["node_modules", "dist", "test", "**/*spec.ts"]
54
}

sample/03-microservices/tsconfig.json

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,14 @@
22
"compilerOptions": {
33
"module": "commonjs",
44
"declaration": true,
5-
"noImplicitAny": false,
65
"removeComments": true,
7-
"noLib": false,
8-
"allowSyntheticDefaultImports": true,
96
"emitDecoratorMetadata": true,
107
"experimentalDecorators": true,
11-
"target": "es6",
8+
"target": "es2017",
129
"sourceMap": true,
1310
"outDir": "./dist",
14-
"baseUrl": "./"
11+
"baseUrl": "./",
12+
"incremental": true
1513
},
1614
"exclude": ["node_modules", "dist"]
1715
}

sample/04-grpc/tsconfig.build.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
{
22
"extends": "./tsconfig.json",
3-
"include": ["src/**/*"],
4-
"exclude": ["node_modules", "**/*.spec.ts"]
3+
"exclude": ["node_modules", "dist", "test", "**/*spec.ts"]
54
}

sample/04-grpc/tsconfig.json

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,14 @@
22
"compilerOptions": {
33
"module": "commonjs",
44
"declaration": true,
5-
"noImplicitAny": false,
65
"removeComments": true,
7-
"noLib": false,
8-
"allowSyntheticDefaultImports": true,
96
"emitDecoratorMetadata": true,
107
"experimentalDecorators": true,
11-
"target": "es6",
8+
"target": "es2017",
129
"sourceMap": true,
1310
"outDir": "./dist",
14-
"baseUrl": "./"
11+
"baseUrl": "./",
12+
"incremental": true
1513
},
1614
"exclude": ["node_modules", "dist"]
1715
}
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
{
22
"extends": "./tsconfig.json",
3-
"include": ["src/**/*"],
4-
"exclude": ["node_modules", "**/*.spec.ts"]
3+
"exclude": ["node_modules", "dist", "test", "**/*spec.ts"]
54
}

sample/05-sql-typeorm/tsconfig.json

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,14 @@
22
"compilerOptions": {
33
"module": "commonjs",
44
"declaration": true,
5-
"noImplicitAny": false,
65
"removeComments": true,
7-
"noLib": false,
8-
"allowSyntheticDefaultImports": true,
96
"emitDecoratorMetadata": true,
107
"experimentalDecorators": true,
11-
"target": "es6",
8+
"target": "es2017",
129
"sourceMap": true,
1310
"outDir": "./dist",
1411
"baseUrl": "./",
15-
"skipLibCheck": true
12+
"incremental": true
1613
},
1714
"exclude": ["node_modules", "dist"]
1815
}

0 commit comments

Comments
 (0)