diff --git a/constraints.pro b/constraints.pro index 15d5c33b288..985205b5a53 100644 --- a/constraints.pro +++ b/constraints.pro @@ -238,7 +238,7 @@ gen_enforced_field(WorkspaceCwd, 'main', null) :- workspace_field(WorkspaceCwd, 'private', true). % The type definitions entrypoint for all publishable packages must be the same. -gen_enforced_field(WorkspaceCwd, 'types', './dist/index.d.ts') :- +gen_enforced_field(WorkspaceCwd, 'types', './dist/types/index.d.ts') :- \+ workspace_field(WorkspaceCwd, 'private', true). % Non-published packages must not specify a type definitions entrypoint. gen_enforced_field(WorkspaceCwd, 'types', null) :- diff --git a/packages/accounts-controller/package.json b/packages/accounts-controller/package.json index bfe348864df..af459db1f0a 100644 --- a/packages/accounts-controller/package.json +++ b/packages/accounts-controller/package.json @@ -25,7 +25,7 @@ "./package.json": "./package.json" }, "main": "./dist/index.js", - "types": "./dist/index.d.ts", + "types": "./dist/types/index.d.ts", "files": [ "dist/" ], diff --git a/packages/address-book-controller/package.json b/packages/address-book-controller/package.json index 4eab55f4f8c..ec8fabf3460 100644 --- a/packages/address-book-controller/package.json +++ b/packages/address-book-controller/package.json @@ -25,7 +25,7 @@ "./package.json": "./package.json" }, "main": "./dist/index.js", - "types": "./dist/index.d.ts", + "types": "./dist/types/index.d.ts", "files": [ "dist/" ], diff --git a/packages/announcement-controller/package.json b/packages/announcement-controller/package.json index 052d942c65c..ff593e0aef4 100644 --- a/packages/announcement-controller/package.json +++ b/packages/announcement-controller/package.json @@ -25,7 +25,7 @@ "./package.json": "./package.json" }, "main": "./dist/index.js", - "types": "./dist/index.d.ts", + "types": "./dist/types/index.d.ts", "files": [ "dist/" ], diff --git a/packages/approval-controller/package.json b/packages/approval-controller/package.json index 3bcd1ea118c..27a254bfe19 100644 --- a/packages/approval-controller/package.json +++ b/packages/approval-controller/package.json @@ -25,7 +25,7 @@ "./package.json": "./package.json" }, "main": "./dist/index.js", - "types": "./dist/index.d.ts", + "types": "./dist/types/index.d.ts", "files": [ "dist/" ], diff --git a/packages/assets-controllers/package.json b/packages/assets-controllers/package.json index f5311586f3a..c79ca5777ff 100644 --- a/packages/assets-controllers/package.json +++ b/packages/assets-controllers/package.json @@ -25,7 +25,7 @@ "./package.json": "./package.json" }, "main": "./dist/index.js", - "types": "./dist/index.d.ts", + "types": "./dist/types/index.d.ts", "files": [ "dist/" ], diff --git a/packages/base-controller/package.json b/packages/base-controller/package.json index af4f12a3a1a..02fd6b85294 100644 --- a/packages/base-controller/package.json +++ b/packages/base-controller/package.json @@ -24,7 +24,7 @@ "./package.json": "./package.json" }, "main": "./dist/index.js", - "types": "./dist/index.d.ts", + "types": "./dist/types/index.d.ts", "files": [ "dist/" ], diff --git a/packages/build-utils/package.json b/packages/build-utils/package.json index 17366d974b3..3f7e32843f3 100644 --- a/packages/build-utils/package.json +++ b/packages/build-utils/package.json @@ -25,7 +25,7 @@ "./package.json": "./package.json" }, "main": "./dist/index.js", - "types": "./dist/index.d.ts", + "types": "./dist/types/index.d.ts", "files": [ "dist/" ], diff --git a/packages/composable-controller/package.json b/packages/composable-controller/package.json index f55ed98fcd6..98bc168e01b 100644 --- a/packages/composable-controller/package.json +++ b/packages/composable-controller/package.json @@ -25,7 +25,7 @@ "./package.json": "./package.json" }, "main": "./dist/index.js", - "types": "./dist/index.d.ts", + "types": "./dist/types/index.d.ts", "files": [ "dist/" ], diff --git a/packages/controller-utils/package.json b/packages/controller-utils/package.json index 6167902d861..6d8c8ccd2eb 100644 --- a/packages/controller-utils/package.json +++ b/packages/controller-utils/package.json @@ -25,7 +25,7 @@ "./package.json": "./package.json" }, "main": "./dist/index.js", - "types": "./dist/index.d.ts", + "types": "./dist/types/index.d.ts", "files": [ "dist/" ], diff --git a/packages/ens-controller/package.json b/packages/ens-controller/package.json index d895e2abfdc..0809656a2c0 100644 --- a/packages/ens-controller/package.json +++ b/packages/ens-controller/package.json @@ -25,7 +25,7 @@ "./package.json": "./package.json" }, "main": "./dist/index.js", - "types": "./dist/index.d.ts", + "types": "./dist/types/index.d.ts", "files": [ "dist/" ], diff --git a/packages/eth-json-rpc-provider/package.json b/packages/eth-json-rpc-provider/package.json index 9f42b8e9fc5..2ba853b3444 100644 --- a/packages/eth-json-rpc-provider/package.json +++ b/packages/eth-json-rpc-provider/package.json @@ -25,7 +25,7 @@ "./package.json": "./package.json" }, "main": "./dist/index.js", - "types": "./dist/index.d.ts", + "types": "./dist/types/index.d.ts", "files": [ "dist/" ], diff --git a/packages/gas-fee-controller/package.json b/packages/gas-fee-controller/package.json index 2f8f485f5ff..e51d17b675b 100644 --- a/packages/gas-fee-controller/package.json +++ b/packages/gas-fee-controller/package.json @@ -25,7 +25,7 @@ "./package.json": "./package.json" }, "main": "./dist/index.js", - "types": "./dist/index.d.ts", + "types": "./dist/types/index.d.ts", "files": [ "dist/" ], diff --git a/packages/json-rpc-engine/package.json b/packages/json-rpc-engine/package.json index d745395b39a..0c928b54be5 100644 --- a/packages/json-rpc-engine/package.json +++ b/packages/json-rpc-engine/package.json @@ -25,7 +25,7 @@ "./package.json": "./package.json" }, "main": "./dist/index.js", - "types": "./dist/index.d.ts", + "types": "./dist/types/index.d.ts", "directories": { "test": "test" }, diff --git a/packages/json-rpc-middleware-stream/package.json b/packages/json-rpc-middleware-stream/package.json index f123c69eecd..c370a54eaa1 100644 --- a/packages/json-rpc-middleware-stream/package.json +++ b/packages/json-rpc-middleware-stream/package.json @@ -25,7 +25,7 @@ "./package.json": "./package.json" }, "main": "./dist/index.js", - "types": "./dist/index.d.ts", + "types": "./dist/types/index.d.ts", "files": [ "dist/" ], diff --git a/packages/keyring-controller/package.json b/packages/keyring-controller/package.json index fd3acfe65c4..ecdfe4303e9 100644 --- a/packages/keyring-controller/package.json +++ b/packages/keyring-controller/package.json @@ -25,7 +25,7 @@ "./package.json": "./package.json" }, "main": "./dist/index.js", - "types": "./dist/index.d.ts", + "types": "./dist/types/index.d.ts", "files": [ "dist/" ], diff --git a/packages/logging-controller/package.json b/packages/logging-controller/package.json index 4d0675049f4..12dcc5216a3 100644 --- a/packages/logging-controller/package.json +++ b/packages/logging-controller/package.json @@ -25,7 +25,7 @@ "./package.json": "./package.json" }, "main": "./dist/index.js", - "types": "./dist/index.d.ts", + "types": "./dist/types/index.d.ts", "files": [ "dist/" ], diff --git a/packages/message-manager/package.json b/packages/message-manager/package.json index 739d1eddad4..ecb96bc49e0 100644 --- a/packages/message-manager/package.json +++ b/packages/message-manager/package.json @@ -25,7 +25,7 @@ "./package.json": "./package.json" }, "main": "./dist/index.js", - "types": "./dist/index.d.ts", + "types": "./dist/types/index.d.ts", "files": [ "dist/" ], diff --git a/packages/name-controller/package.json b/packages/name-controller/package.json index c7f175fc2fb..e7e1c4e064f 100644 --- a/packages/name-controller/package.json +++ b/packages/name-controller/package.json @@ -25,7 +25,7 @@ "./package.json": "./package.json" }, "main": "./dist/index.js", - "types": "./dist/index.d.ts", + "types": "./dist/types/index.d.ts", "files": [ "dist/" ], diff --git a/packages/network-controller/package.json b/packages/network-controller/package.json index 9f88401f547..885cbdb1595 100644 --- a/packages/network-controller/package.json +++ b/packages/network-controller/package.json @@ -25,7 +25,7 @@ "./package.json": "./package.json" }, "main": "./dist/index.js", - "types": "./dist/index.d.ts", + "types": "./dist/types/index.d.ts", "files": [ "dist/" ], diff --git a/packages/notification-controller/package.json b/packages/notification-controller/package.json index 5f00810131e..a1e73f411e2 100644 --- a/packages/notification-controller/package.json +++ b/packages/notification-controller/package.json @@ -25,7 +25,7 @@ "./package.json": "./package.json" }, "main": "./dist/index.js", - "types": "./dist/index.d.ts", + "types": "./dist/types/index.d.ts", "files": [ "dist/" ], diff --git a/packages/permission-controller/package.json b/packages/permission-controller/package.json index 0ee60108dc7..0f12fb04cb2 100644 --- a/packages/permission-controller/package.json +++ b/packages/permission-controller/package.json @@ -25,7 +25,7 @@ "./package.json": "./package.json" }, "main": "./dist/index.js", - "types": "./dist/index.d.ts", + "types": "./dist/types/index.d.ts", "files": [ "dist/" ], diff --git a/packages/permission-log-controller/package.json b/packages/permission-log-controller/package.json index 483f7687b31..6c60af72855 100644 --- a/packages/permission-log-controller/package.json +++ b/packages/permission-log-controller/package.json @@ -25,7 +25,7 @@ "./package.json": "./package.json" }, "main": "./dist/index.js", - "types": "./dist/index.d.ts", + "types": "./dist/types/index.d.ts", "files": [ "dist/" ], diff --git a/packages/phishing-controller/package.json b/packages/phishing-controller/package.json index 52a05997dbd..4a47611e18b 100644 --- a/packages/phishing-controller/package.json +++ b/packages/phishing-controller/package.json @@ -25,7 +25,7 @@ "./package.json": "./package.json" }, "main": "./dist/index.js", - "types": "./dist/index.d.ts", + "types": "./dist/types/index.d.ts", "files": [ "dist/" ], diff --git a/packages/polling-controller/package.json b/packages/polling-controller/package.json index 920fdc9655a..3935774efa1 100644 --- a/packages/polling-controller/package.json +++ b/packages/polling-controller/package.json @@ -25,7 +25,7 @@ "./package.json": "./package.json" }, "main": "./dist/index.js", - "types": "./dist/index.d.ts", + "types": "./dist/types/index.d.ts", "files": [ "dist/" ], diff --git a/packages/preferences-controller/package.json b/packages/preferences-controller/package.json index d5d0074fd4a..84992ede3f2 100644 --- a/packages/preferences-controller/package.json +++ b/packages/preferences-controller/package.json @@ -25,7 +25,7 @@ "./package.json": "./package.json" }, "main": "./dist/index.js", - "types": "./dist/index.d.ts", + "types": "./dist/types/index.d.ts", "files": [ "dist/" ], diff --git a/packages/queued-request-controller/package.json b/packages/queued-request-controller/package.json index 8e3f592b201..ad17f3fa783 100644 --- a/packages/queued-request-controller/package.json +++ b/packages/queued-request-controller/package.json @@ -25,7 +25,7 @@ "./package.json": "./package.json" }, "main": "./dist/index.js", - "types": "./dist/index.d.ts", + "types": "./dist/types/index.d.ts", "files": [ "dist/" ], diff --git a/packages/rate-limit-controller/package.json b/packages/rate-limit-controller/package.json index 25d7aa017be..17ca1d6bb76 100644 --- a/packages/rate-limit-controller/package.json +++ b/packages/rate-limit-controller/package.json @@ -25,7 +25,7 @@ "./package.json": "./package.json" }, "main": "./dist/index.js", - "types": "./dist/index.d.ts", + "types": "./dist/types/index.d.ts", "files": [ "dist/" ], diff --git a/packages/selected-network-controller/package.json b/packages/selected-network-controller/package.json index af875bd7316..9cfc2f8e82f 100644 --- a/packages/selected-network-controller/package.json +++ b/packages/selected-network-controller/package.json @@ -25,7 +25,7 @@ "./package.json": "./package.json" }, "main": "./dist/index.js", - "types": "./dist/index.d.ts", + "types": "./dist/types/index.d.ts", "files": [ "dist/" ], diff --git a/packages/signature-controller/package.json b/packages/signature-controller/package.json index 29c00189a02..68e905e6e39 100644 --- a/packages/signature-controller/package.json +++ b/packages/signature-controller/package.json @@ -25,7 +25,7 @@ "./package.json": "./package.json" }, "main": "./dist/index.js", - "types": "./dist/index.d.ts", + "types": "./dist/types/index.d.ts", "files": [ "dist/" ], diff --git a/packages/transaction-controller/package.json b/packages/transaction-controller/package.json index 068d43ac479..0dca866296e 100644 --- a/packages/transaction-controller/package.json +++ b/packages/transaction-controller/package.json @@ -25,7 +25,7 @@ "./package.json": "./package.json" }, "main": "./dist/index.js", - "types": "./dist/index.d.ts", + "types": "./dist/types/index.d.ts", "files": [ "dist/" ], diff --git a/packages/user-operation-controller/package.json b/packages/user-operation-controller/package.json index 5e88634d2e8..72dc67e5a91 100644 --- a/packages/user-operation-controller/package.json +++ b/packages/user-operation-controller/package.json @@ -25,7 +25,7 @@ "./package.json": "./package.json" }, "main": "./dist/index.js", - "types": "./dist/index.d.ts", + "types": "./dist/types/index.d.ts", "files": [ "dist/" ],