Skip to content

Commit c60241b

Browse files
committed
chore: update tsconfig to genenerte types only once
1 parent 96bb132 commit c60241b

File tree

3 files changed

+9
-13
lines changed

3 files changed

+9
-13
lines changed

clients/node/client-rds-data-node/package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"build": "yarn pretest && yarn build:es && yarn build:browser"
1919
},
2020
"main": "./index.js",
21-
"types": "./typings/index.d.ts",
21+
"types": "./types/index.d.ts",
2222
"author": {
2323
"name": "AWS SDK for JavaScript Team",
2424
"url": "https://aws.amazon.com/javascript/"
@@ -28,6 +28,7 @@
2828
"sideEffects": false,
2929
"license": "Apache-2.0",
3030
"dependencies": {
31+
"@aws-sdk/protocol-http": "^0.1.0-preview.1",
3132
"@aws-crypto/sha256-browser": "^0.1.0-preview.1",
3233
"@aws-sdk/config-resolver": "^0.1.0-preview.5",
3334
"@aws-sdk/credential-provider-node": "^0.1.0-preview.7",
@@ -70,4 +71,4 @@
7071
"typedoc": "^0.14.2",
7172
"typescript": "^3.7.0-dev.20190926"
7273
}
73-
}
74+
}

clients/node/client-rds-data-node/tsconfig.es.json

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,21 +4,15 @@
44
"target": "es5",
55
"module": "esnext",
66
"moduleResolution": "node",
7-
"declaration": true,
8-
"strict": true,
9-
"sourceMap": true,
10-
"downlevelIteration": true,
11-
"importHelpers": true,
12-
"noEmitHelpers": true,
7+
"declaration": false,
8+
"declarationDir": null,
139
"lib": [
1410
"es5",
1511
"es2015.promise",
1612
"es2015.collection",
1713
"es2015.iterable",
1814
"es2015.symbol.wellknown"
1915
],
20-
"outDir": "dist/es",
21-
"declarationDir": "./typings",
22-
"incremental": true
16+
"outDir": "dist/es"
2317
}
24-
}
18+
}

clients/node/client-rds-data-node/tsconfig.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@
99
"importHelpers": true,
1010
"noEmitHelpers": true,
1111
"incremental": true,
12-
"resolveJsonModule": true
12+
"resolveJsonModule": true,
13+
"declarationDir": "./types"
1314
},
1415
"typedocOptions": {
1516
"exclude": "**/node_modules/**",

0 commit comments

Comments
 (0)