Skip to content

Commit

Permalink
build: fixing module resolution for typescript
Browse files Browse the repository at this point in the history
  • Loading branch information
manchuck committed Jul 25, 2024
1 parent bb06d33 commit 7241844
Show file tree
Hide file tree
Showing 27 changed files with 2 additions and 28 deletions.
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
"url": "https://github.com/dragonmantank"
}
],
"type": "module",
"workspaces": [
"packages/*"
],
Expand Down
1 change: 0 additions & 1 deletion packages/accounts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
"url": "https://github.com/manchuck"
}
],
"type": "module",
"main": "dist/lib/index.js",
"types": "dist/lib/index.d.ts",
"directories": {
Expand Down
1 change: 0 additions & 1 deletion packages/applications/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
"url": "https://github.com/manchuck"
}
],
"type": "module",
"main": "dist/lib/index.js",
"types": "dist/lib/index.d.ts",
"directories": {
Expand Down
1 change: 0 additions & 1 deletion packages/audit/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
"url": "https://github.com/manchuck"
}
],
"type": "module",
"main": "dist/lib/index.js",
"types": "dist/lib/index.d.ts",
"directories": {
Expand Down
1 change: 0 additions & 1 deletion packages/auth/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
"url": "https://github.com/manchuck"
}
],
"type": "module",
"main": "dist/lib/index.js",
"types": "dist/lib/index.d.ts",
"files": [
Expand Down
1 change: 0 additions & 1 deletion packages/conversations/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
"url": "https://github.com/manchuck"
}
],
"type": "module",
"main": "dist/lib/index.js",
"types": "dist/lib/index.d.ts",
"directories": {
Expand Down
1 change: 0 additions & 1 deletion packages/jwt/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
"url": "https://github.com/manchuck"
}
],
"type": "module",
"main": "dist/lib/index.js",
"types": "dist/lib/index.d.ts",
"files": [
Expand Down
1 change: 0 additions & 1 deletion packages/media/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
"url": "https://github.com/manchuck"
}
],
"type": "module",
"main": "dist/lib/index.js",
"types": "dist/lib/index.d.ts",
"directories": {
Expand Down
1 change: 0 additions & 1 deletion packages/meetings/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
"url": "https://github.com/dragonmantank"
}
],
"type": "module",
"main": "dist/lib/index.js",
"types": "dist/lib/index.d.ts",
"directories": {
Expand Down
1 change: 0 additions & 1 deletion packages/messages/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
"url": "https://github.com/manchuck"
}
],
"type": "module",
"main": "dist/lib/index.js",
"types": "dist/lib/index.d.ts",
"directories": {
Expand Down
1 change: 0 additions & 1 deletion packages/number-insight-v2/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
"url": "https://github.com/dragonmantank"
}
],
"type": "module",
"main": "dist/lib/index.js",
"types": "dist/lib/index.d.ts",
"directories": {
Expand Down
1 change: 0 additions & 1 deletion packages/number-insights/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
"url": "https://github.com/manchuck"
}
],
"type": "module",
"main": "dist/lib/index.js",
"types": "dist/lib/index.d.ts",
"directories": {
Expand Down
1 change: 0 additions & 1 deletion packages/numbers/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
"url": "https://github.com/manchuck"
}
],
"type": "module",
"main": "dist/lib/index.js",
"types": "dist/lib/index.d.ts",
"directories": {
Expand Down
1 change: 0 additions & 1 deletion packages/pricing/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
"url": "https://github.com/manchuck"
}
],
"type": "module",
"main": "dist/lib/index.js",
"types": "dist/lib/index.d.ts",
"directories": {
Expand Down
1 change: 0 additions & 1 deletion packages/proactive-connect/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
"url": "https://github.com/manchuck"
}
],
"type": "module",
"main": "dist/lib/index.js",
"types": "dist/lib/index.d.ts",
"directories": {
Expand Down
1 change: 0 additions & 1 deletion packages/redact/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
"url": "https://github.com/dragonmantank"
}
],
"type": "module",
"main": "dist/lib/index.js",
"types": "dist/lib/index.d.ts",
"directories": {
Expand Down
1 change: 0 additions & 1 deletion packages/server-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
"url": "https://github.com/manchuck"
}
],
"type": "module",
"main": "dist/lib/index.js",
"types": "dist/lib/index.d.ts",
"directories": {
Expand Down
1 change: 0 additions & 1 deletion packages/server-sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
"url": "https://github.com/manchuck"
}
],
"type": "module",
"main": "dist/lib/index.js",
"types": "dist/lib/index.d.ts",
"directories": {
Expand Down
1 change: 0 additions & 1 deletion packages/sms/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
"url": "https://github.com/manchuck"
}
],
"type": "module",
"main": "dist/lib/index.js",
"types": "dist/lib/index.d.ts",
"directories": {
Expand Down
1 change: 0 additions & 1 deletion packages/subaccounts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
"url": "https://github.com/dragonmantank"
}
],
"type": "module",
"main": "dist/lib/index.js",
"types": "dist/lib/index.d.ts",
"directories": {
Expand Down
1 change: 0 additions & 1 deletion packages/users/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
"url": "https://github.com/dragonmantank"
}
],
"type": "module",
"main": "dist/lib/index.js",
"types": "dist/lib/index.d.ts",
"directories": {
Expand Down
1 change: 0 additions & 1 deletion packages/verify/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
"url": "https://github.com/manchuck"
}
],
"type": "module",
"main": "dist/lib/index.js",
"types": "dist/lib/index.d.ts",
"directories": {
Expand Down
1 change: 0 additions & 1 deletion packages/verify2/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
"url": "https://github.com/dragonmantank"
}
],
"type": "module",
"main": "dist/lib/index.js",
"types": "dist/lib/index.d.ts",
"directories": {
Expand Down
1 change: 0 additions & 1 deletion packages/vetch/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
"url": "https://github.com/manchuck"
}
],
"type": "module",
"main": "dist/lib/index.js",
"types": "dist/lib/index.d.ts",
"files": [
Expand Down
1 change: 0 additions & 1 deletion packages/video/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
"url": "https://github.com/manchuck"
}
],
"type": "module",
"main": "dist/lib/index.js",
"types": "dist/lib/index.d.ts",
"directories": {
Expand Down
1 change: 0 additions & 1 deletion packages/voice/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
"url": "https://github.com/manchuck"
}
],
"type": "module",
"main": "dist/lib/index.js",
"types": "dist/lib/index.d.ts",
"directories": {
Expand Down
4 changes: 2 additions & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"extends": "@tsconfig/node18/tsconfig.json",

"compilerOptions": {
"module": "ES2022",
"moduleResolution": "Bundler",
"module": "NodeNext",
"moduleResolution": "NodeNext",

"composite": true,
"incremental": true,
Expand Down

0 comments on commit 7241844

Please sign in to comment.