Skip to content

Commit

Permalink
fix: add proper typings to all packages
Browse files Browse the repository at this point in the history
[Fixes #185723931]
  • Loading branch information
ianwremmel committed Jul 31, 2023
1 parent c7d02ab commit 3370c07
Show file tree
Hide file tree
Showing 23 changed files with 50 additions and 28 deletions.
10 changes: 5 additions & 5 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion packages/@code-like-a-carpenter/assert/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
"exports": {
".": {
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js"
"require": "./dist/cjs/index.js",
"types": "./dist/types/index.d.ts"
},
"./package.json": "./package.json"
},
Expand Down
3 changes: 2 additions & 1 deletion packages/@code-like-a-carpenter/aws-env-loader/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
"exports": {
".": {
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js"
"require": "./dist/cjs/index.js",
"types": "./dist/types/index.d.ts"
},
"./package.json": "./package.json"
},
Expand Down
3 changes: 2 additions & 1 deletion packages/@code-like-a-carpenter/contract-tests/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
"exports": {
".": {
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js"
"require": "./dist/cjs/index.js",
"types": "./dist/types/index.d.ts"
},
"./package.json": "./package.json"
},
Expand Down
3 changes: 2 additions & 1 deletion packages/@code-like-a-carpenter/dotenv/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
"exports": {
".": {
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js"
"require": "./dist/cjs/index.js",
"types": "./dist/types/index.d.ts"
},
"./package.json": "./package.json"
},
Expand Down
3 changes: 2 additions & 1 deletion packages/@code-like-a-carpenter/env/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
"exports": {
".": {
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js"
"require": "./dist/cjs/index.js",
"types": "./dist/types/index.d.ts"
},
"./package.json": "./package.json"
},
Expand Down
3 changes: 2 additions & 1 deletion packages/@code-like-a-carpenter/errors/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
"exports": {
".": {
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js"
"require": "./dist/cjs/index.js",
"types": "./dist/types/index.d.ts"
},
"./package.json": "./package.json"
},
Expand Down
3 changes: 2 additions & 1 deletion packages/@code-like-a-carpenter/exception/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
"exports": {
".": {
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js"
"require": "./dist/cjs/index.js",
"types": "./dist/types/index.d.ts"
},
"./package.json": "./package.json"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
"exports": {
".": {
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js"
"require": "./dist/cjs/index.js",
"types": "./dist/types/index.d.ts"
},
"./package.json": "./package.json"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
"exports": {
".": {
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js"
"require": "./dist/cjs/index.js",
"types": "./dist/types/index.d.ts"
},
"./package.json": "./package.json"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
"exports": {
".": {
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js"
"require": "./dist/cjs/index.js",
"types": "./dist/types/index.d.ts"
},
"./package.json": "./package.json"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
"exports": {
".": {
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js"
"require": "./dist/cjs/index.js",
"types": "./dist/types/index.d.ts"
},
"./package.json": "./package.json"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
"exports": {
".": {
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js"
"require": "./dist/cjs/index.js",
"types": "./dist/types/index.d.ts"
},
"./package.json": "./package.json"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
"exports": {
".": {
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js"
"require": "./dist/cjs/index.js",
"types": "./dist/types/index.d.ts"
},
"./package.json": "./package.json"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
"exports": {
".": {
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js"
"require": "./dist/cjs/index.js",
"types": "./dist/types/index.d.ts"
},
"./package.json": "./package.json"
},
Expand Down
3 changes: 2 additions & 1 deletion packages/@code-like-a-carpenter/interact/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
"exports": {
".": {
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js"
"require": "./dist/cjs/index.js",
"types": "./dist/types/index.d.ts"
},
"./package.json": "./package.json"
},
Expand Down
5 changes: 3 additions & 2 deletions packages/@code-like-a-carpenter/lambda-handlers/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@
"exports": {
".": {
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js"
"require": "./dist/cjs/index.js",
"types": "./dist/types/index.d.ts"
},
"./package.json": "./package.json"
},
Expand All @@ -29,7 +30,7 @@
"access": "public"
},
"devDependencies": {
"@types/aws-lambda": "^8.10.115",
"@types/aws-lambda": "^8.10.119",
"openapi-typescript": "^6.2.0"
}
}
3 changes: 2 additions & 1 deletion packages/@code-like-a-carpenter/logger/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
"exports": {
".": {
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js"
"require": "./dist/cjs/index.js",
"types": "./dist/types/index.d.ts"
},
"./package.json": "./package.json"
},
Expand Down
3 changes: 2 additions & 1 deletion packages/@code-like-a-carpenter/multiglob/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
"exports": {
".": {
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js"
"require": "./dist/cjs/index.js",
"types": "./dist/types/index.d.ts"
},
"./package.json": "./package.json"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ async function config(packageName, type) {
'.': {
import: './dist/esm/index.js',
require: './dist/cjs/index.js',
types: './dist/types/index.d.ts',
},
'./package.json': './package.json',
};
Expand Down
3 changes: 2 additions & 1 deletion packages/@code-like-a-carpenter/parallel/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
"exports": {
".": {
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js"
"require": "./dist/cjs/index.js",
"types": "./dist/types/index.d.ts"
},
"./package.json": "./package.json"
},
Expand Down
5 changes: 3 additions & 2 deletions packages/@code-like-a-carpenter/telemetry/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
"exports": {
".": {
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js"
"require": "./dist/cjs/index.js",
"types": "./dist/types/index.d.ts"
},
"./package.json": "./package.json"
},
Expand All @@ -34,6 +35,6 @@
"snake-case": "^3.0.4"
},
"devDependencies": {
"@types/aws-lambda": "^8.10.115"
"@types/aws-lambda": "^8.10.119"
}
}
3 changes: 2 additions & 1 deletion packages/@code-like-a-carpenter/wait-for/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
"exports": {
".": {
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js"
"require": "./dist/cjs/index.js",
"types": "./dist/types/index.d.ts"
},
"./package.json": "./package.json"
},
Expand Down

0 comments on commit 3370c07

Please sign in to comment.