Skip to content

Commit caa953a

Browse files
Move ssdk lib types into dist/types
1 parent b0a0cce commit caa953a

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

smithy-typescript-ssdk-libs/server-apigateway/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@
33
"version": "1.0.0",
44
"description": "Base components for Smithy services behind APIGateway",
55
"main": "./dist/cjs/index.js",
6-
"types": "./types/index.d.ts",
6+
"types": "./dist/types/index.d.ts",
77
"scripts": {
88
"prepublishOnly": "yarn build:cjs",
99
"pretest": "yarn build:cjs",
1010
"build:cjs": "tsc -p tsconfig.cjs.json",
1111
"build": "yarn build:cjs",
12-
"postbuild": "downlevel-dts types types/ts3.4",
12+
"postbuild": "downlevel-dts dist/types dist/types/ts3.4",
1313
"test": "jest"
1414
},
1515
"repository": {

smithy-typescript-ssdk-libs/server-apigateway/tsconfig.cjs.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"compilerOptions": {
33
"stripInternal": true,
4-
"declarationDir": "./types",
4+
"declarationDir": "./dist/types",
55
"rootDir": "./src",
66
"outDir": "./dist/cjs",
77
"baseUrl": ".",

smithy-typescript-ssdk-libs/server-common/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@
33
"version": "1.0.0",
44
"description": "Base components for Smithy services",
55
"main": "./dist/cjs/index.js",
6-
"types": "./types/index.d.ts",
6+
"types": "./dist/types/index.d.ts",
77
"scripts": {
88
"prepublishOnly": "yarn build:cjs",
99
"pretest": "yarn build:cjs",
1010
"build:cjs": "tsc -p tsconfig.cjs.json",
1111
"build": "yarn build:cjs",
12-
"postbuild": "downlevel-dts types types/ts3.4",
12+
"postbuild": "downlevel-dts dist/types dist/types/ts3.4",
1313
"test": "jest"
1414
},
1515
"repository": {

smithy-typescript-ssdk-libs/server-common/tsconfig.cjs.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"compilerOptions": {
33
"stripInternal": true,
4-
"declarationDir": "./types",
4+
"declarationDir": "./dist/types",
55
"rootDir": "./src",
66
"outDir": "./dist/cjs",
77
"baseUrl": ".",

0 commit comments

Comments
 (0)