Skip to content

Commit 2bdbd95

Browse files
committed
chore: move types to dist/types
Refs: aws#2175
1 parent 8eff5d9 commit 2bdbd95

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

packages/credential-provider-assume-role/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"build:cjs": "tsc -p tsconfig.cjs.json",
1111
"build:es": "tsc -p tsconfig.es.json",
1212
"build": "yarn build:es && yarn build:cjs",
13-
"postbuild": "downlevel-dts types types/ts3.4",
13+
"postbuild": "downlevel-dts dist/types dist/types/ts3.4",
1414
"test": "jest"
1515
},
1616
"keywords": [
@@ -36,7 +36,7 @@
3636
"jest": "^26.1.0",
3737
"typescript": "~4.1.2"
3838
},
39-
"types": "./types/index.d.ts",
39+
"types": "./dist/types/index.d.ts",
4040
"engines": {
4141
"node": ">= 10.0.0"
4242
},

packages/credential-provider-assume-role/tsconfig.cjs.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"compilerOptions": {
3-
"declarationDir": "./types",
3+
"declarationDir": "./dist/types",
44
"rootDir": "./src",
55
"outDir": "./dist/cjs",
66
"baseUrl": "."

packages/credential-provider-assume-role/tsconfig.es.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"compilerOptions": {
33
"lib": ["es5", "es2015.promise", "es2015.collection"],
4-
"declarationDir": "./types",
4+
"declarationDir": "./dist/types",
55
"rootDir": "./src",
66
"outDir": "./dist/es",
77
"baseUrl": "."

0 commit comments

Comments
 (0)