-
-
Notifications
You must be signed in to change notification settings - Fork 184
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: add package.json files for aliased paths
this ensures that JS projects are able to find and resolve the paths to the module sub-files. E.g. "Unable to resolve path to module '@metamask-previews/profile-sync-controller/user-storage'. (eslintimport/no-unresolved)"
- Loading branch information
1 parent
84fa5d7
commit 634a1bd
Showing
16 changed files
with
132 additions
and
2 deletions.
There are no files selected for viewing
9 changes: 9 additions & 0 deletions
9
packages/notification-services-controller/notification-services/constants/package.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"name": "@metamask/notification-services-controller", | ||
"version": "1.0.0", | ||
"description": "", | ||
"license": "MIT", | ||
"sideEffects": false, | ||
"main": "../../dist/NotificationServicesController/constants/index.js", | ||
"types": "../../dist/types/NotificationServicesController/constants/index.d.ts" | ||
} |
9 changes: 9 additions & 0 deletions
9
packages/notification-services-controller/notification-services/mocks/package.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"name": "@metamask/notification-services-controller", | ||
"version": "1.0.0", | ||
"description": "", | ||
"license": "MIT", | ||
"sideEffects": false, | ||
"main": "../../dist/NotificationServicesController/__fixtures__/index.js", | ||
"types": "../../dist/types/NotificationServicesController/__fixtures__/index.d.ts" | ||
} |
9 changes: 9 additions & 0 deletions
9
packages/notification-services-controller/notification-services/package.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"name": "@metamask/notification-services-controller", | ||
"version": "1.0.0", | ||
"description": "", | ||
"license": "MIT", | ||
"sideEffects": false, | ||
"main": "../dist/NotificationServicesController/index.js", | ||
"types": "../dist/types/NotificationServicesController/index.d.ts" | ||
} |
9 changes: 9 additions & 0 deletions
9
packages/notification-services-controller/notification-services/processors/package.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"name": "@metamask/notification-services-controller", | ||
"version": "1.0.0", | ||
"description": "", | ||
"license": "MIT", | ||
"sideEffects": false, | ||
"main": "../../dist/NotificationServicesController/processors/index.js", | ||
"types": "../../dist/types/NotificationServicesController/processors/index.d.ts" | ||
} |
9 changes: 9 additions & 0 deletions
9
packages/notification-services-controller/notification-services/types/package.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"name": "@metamask/notification-services-controller", | ||
"version": "1.0.0", | ||
"description": "", | ||
"license": "MIT", | ||
"sideEffects": false, | ||
"main": "../../dist/NotificationServicesController/types/index.js", | ||
"types": "../../dist/types/NotificationServicesController/types/index.d.ts" | ||
} |
9 changes: 9 additions & 0 deletions
9
packages/notification-services-controller/notification-services/ui/package.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"name": "@metamask/notification-services-controller", | ||
"version": "1.0.0", | ||
"description": "", | ||
"license": "MIT", | ||
"sideEffects": false, | ||
"main": "../../dist/NotificationServicesController/ui/index.js", | ||
"types": "../../dist/types/NotificationServicesController/ui/index.d.ts" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 9 additions & 0 deletions
9
packages/notification-services-controller/push-services/mocks/package.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"name": "@metamask/notification-services-controller", | ||
"version": "1.0.0", | ||
"description": "", | ||
"license": "MIT", | ||
"sideEffects": false, | ||
"main": "../../dist/NotificationServicesPushController/__fixtures__/index.js", | ||
"types": "../../dist/types/NotificationServicesPushController/__fixtures__/index.d.ts" | ||
} |
9 changes: 9 additions & 0 deletions
9
packages/notification-services-controller/push-services/package.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"name": "@metamask/notification-services-controller", | ||
"version": "1.0.0", | ||
"description": "", | ||
"license": "MIT", | ||
"sideEffects": false, | ||
"main": "../dist/NotificationServicesPushController/index.js", | ||
"types": "../dist/types/NotificationServicesPushController/index.d.ts" | ||
} |
9 changes: 9 additions & 0 deletions
9
packages/notification-services-controller/push-services/types/package.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"name": "@metamask/notification-services-controller", | ||
"version": "1.0.0", | ||
"description": "", | ||
"license": "MIT", | ||
"sideEffects": false, | ||
"main": "../../dist/NotificationServicesPushController/types/index.js", | ||
"types": "../../dist/types/NotificationServicesPushController/types/index.d.ts" | ||
} |
9 changes: 9 additions & 0 deletions
9
packages/notification-services-controller/push-services/utils/package.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"name": "@metamask/notification-services-controller", | ||
"version": "1.0.0", | ||
"description": "", | ||
"license": "MIT", | ||
"sideEffects": false, | ||
"main": "../../dist/NotificationServicesPushController/utils/index.js", | ||
"types": "../../dist/types/NotificationServicesPushController/utils/index.d.ts" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"name": "@metamask/profile-sync-controller", | ||
"version": "1.0.0", | ||
"description": "", | ||
"license": "MIT", | ||
"sideEffects": false, | ||
"main": "../../dist/controllers/authentication/__fixtures__/index.js", | ||
"types": "../../dist/types/controllers/authentication/__fixtures__/index.d.ts" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"name": "@metamask/profile-sync-controller", | ||
"version": "1.0.0", | ||
"description": "", | ||
"license": "MIT", | ||
"sideEffects": false, | ||
"main": "../dist/controllers/authentication/index.js", | ||
"types": "../dist/types/controllers/authentication/index.d.ts" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 9 additions & 0 deletions
9
packages/profile-sync-controller/user-storage/mocks/package.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"name": "@metamask/profile-sync-controller", | ||
"version": "1.0.0", | ||
"description": "", | ||
"license": "MIT", | ||
"sideEffects": false, | ||
"main": "../../dist/controllers/user-storage/__fixtures__/index.js", | ||
"types": "../../dist/types/controllers/user-storage/__fixtures__/index.d.ts" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"name": "@metamask/profile-sync-controller", | ||
"version": "1.0.0", | ||
"description": "", | ||
"license": "MIT", | ||
"sideEffects": false, | ||
"main": "../dist/controllers/user-storage/index.js", | ||
"types": "../dist/types/controllers/user-storage/index.d.ts" | ||
} |