From ed48047af0a84b181ab7cb2f7e0d48c7b328dccf Mon Sep 17 00:00:00 2001 From: Maarten Zuidhoorn Date: Wed, 13 Mar 2024 11:31:24 +0100 Subject: [PATCH] Fix `types` field in `package.json` for all packages --- constraints.pro | 2 +- packages/accounts-controller/package.json | 2 +- packages/address-book-controller/package.json | 2 +- packages/announcement-controller/package.json | 2 +- packages/approval-controller/package.json | 2 +- packages/assets-controllers/package.json | 2 +- packages/base-controller/package.json | 2 +- packages/build-utils/package.json | 2 +- packages/composable-controller/package.json | 2 +- packages/controller-utils/package.json | 2 +- packages/ens-controller/package.json | 2 +- packages/eth-json-rpc-provider/package.json | 2 +- packages/gas-fee-controller/package.json | 2 +- packages/json-rpc-engine/package.json | 2 +- packages/json-rpc-middleware-stream/package.json | 2 +- packages/keyring-controller/package.json | 2 +- packages/logging-controller/package.json | 2 +- packages/message-manager/package.json | 2 +- packages/name-controller/package.json | 2 +- packages/network-controller/package.json | 2 +- packages/notification-controller/package.json | 2 +- packages/permission-controller/package.json | 2 +- packages/permission-log-controller/package.json | 2 +- packages/phishing-controller/package.json | 2 +- packages/polling-controller/package.json | 2 +- packages/preferences-controller/package.json | 2 +- packages/queued-request-controller/package.json | 2 +- packages/rate-limit-controller/package.json | 2 +- packages/selected-network-controller/package.json | 2 +- packages/signature-controller/package.json | 2 +- packages/transaction-controller/package.json | 2 +- packages/user-operation-controller/package.json | 2 +- 32 files changed, 32 insertions(+), 32 deletions(-) diff --git a/constraints.pro b/constraints.pro index 15d5c33b28..985205b5a5 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 bfe348864d..af459db1f0 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 4eab55f4f8..ec8fabf346 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 052d942c65..ff593e0aef 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 3bcd1ea118..27a254bfe1 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 f5311586f3..c79ca5777f 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 af4f12a3a1..02fd6b8529 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 17366d974b..3f7e32843f 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 f55ed98fcd..98bc168e01 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 6167902d86..6d8c8ccd2e 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 d895e2abfd..0809656a2c 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 9f42b8e9fc..2ba853b344 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 2f8f485f5f..e51d17b675 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 d745395b39..0c928b54be 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 f123c69eec..c370a54eaa 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 fd3acfe65c..ecdfe4303e 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 4d0675049f..12dcc5216a 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 739d1eddad..ecb96bc49e 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 c7f175fc2f..e7e1c4e064 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 9f88401f54..885cbdb159 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 5f00810131..a1e73f411e 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 0ee60108dc..0f12fb04cb 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 483f7687b3..6c60af7285 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 52a05997db..4a47611e18 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 920fdc9655..3935774efa 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 d5d0074fd4..84992ede3f 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 8e3f592b20..ad17f3fa78 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 25d7aa017b..17ca1d6bb7 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 af875bd731..9cfc2f8e82 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 29c00189a0..68e905e6e3 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 068d43ac47..0dca866296 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 5e88634d2e..72dc67e5a9 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/" ],