-
-
Notifications
You must be signed in to change notification settings - Fork 187
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' of github.com:MetaMask/core into notifications/re…
…move-unused-mock
- Loading branch information
Showing
115 changed files
with
1,649 additions
and
1,328 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "@metamask/core-monorepo", | ||
"version": "201.0.0", | ||
"version": "202.0.0", | ||
"private": true, | ||
"description": "Monorepo for packages shared between MetaMask clients", | ||
"repository": { | ||
|
@@ -12,12 +12,10 @@ | |
"packages/*" | ||
], | ||
"scripts": { | ||
"build": "yarn run build:source && yarn run build:types", | ||
"build": "yarn ts-bridge --project tsconfig.build.json --verbose", | ||
"build:clean": "rimraf dist '**/*.tsbuildinfo' && yarn build", | ||
"build:docs": "yarn workspaces foreach --all --no-private --parallel --interlaced --verbose run build:docs", | ||
"build:source": "yarn workspaces foreach --all --no-private --parallel --interlaced --verbose run build", | ||
"build:types": "tsc --build tsconfig.build.json --verbose", | ||
"build:watch": "yarn run build --watch", | ||
"changelog:update": "yarn workspaces foreach --all --no-private --parallel --interlaced --verbose run changelog:update", | ||
"changelog:validate": "yarn workspaces foreach --all --no-private --parallel --interlaced --verbose run changelog:validate", | ||
"create-package": "ts-node scripts/create-package", | ||
|
@@ -45,7 +43,6 @@ | |
"resolutions": { | ||
"[email protected]": "^6.5.7", | ||
"fast-xml-parser@^4.3.4": "^4.4.1", | ||
"tsup@^8.0.2": "patch:tsup@npm%3A8.0.2#./.yarn/patches/tsup-npm-8.0.2-86e40f68a7.patch", | ||
"[email protected]": "^7.5.10" | ||
}, | ||
"devDependencies": { | ||
|
@@ -59,9 +56,10 @@ | |
"@metamask/eslint-config-nodejs": "^12.1.0", | ||
"@metamask/eslint-config-typescript": "^12.1.0", | ||
"@metamask/eth-block-tracker": "^10.0.0", | ||
"@metamask/eth-json-rpc-provider": "^4.1.3", | ||
"@metamask/json-rpc-engine": "^9.0.2", | ||
"@metamask/eth-json-rpc-provider": "^4.1.4", | ||
"@metamask/json-rpc-engine": "^9.0.3", | ||
"@metamask/utils": "^9.1.0", | ||
"@ts-bridge/cli": "^0.5.1", | ||
"@types/jest": "^27.4.1", | ||
"@types/lodash": "^4.14.191", | ||
"@types/node": "^16.18.54", | ||
|
@@ -93,7 +91,6 @@ | |
"semver": "^7.6.3", | ||
"simple-git-hooks": "^2.8.0", | ||
"ts-node": "^10.9.1", | ||
"tsup": "^8.0.2", | ||
"typescript": "~5.2.2", | ||
"yargs": "^17.7.2" | ||
}, | ||
|
@@ -106,8 +103,7 @@ | |
"@lavamoat/preinstall-always-fail": false, | ||
"@keystonehq/bc-ur-registry-eth>hdkey>secp256k1": true, | ||
"babel-runtime>core-js": false, | ||
"simple-git-hooks": false, | ||
"tsup>esbuild": true | ||
"simple-git-hooks": false | ||
} | ||
} | ||
} |
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 |
---|---|---|
|
@@ -7,6 +7,31 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 | |
|
||
## [Unreleased] | ||
|
||
## [18.2.1] | ||
|
||
### Changed | ||
|
||
- Bump `@metamask/eth-snap-keyring` from `^4.3.1` to `^4.3.3` ([#4689](https://github.com/MetaMask/core/pull/4689)) | ||
- Bump `@metamask/snaps-sdk` from `^6.1.1` to `^6.5.0` ([#4689](https://github.com/MetaMask/core/pull/4689)) | ||
- Bump `@metamask/snaps-utils` from `^7.8.1` to `^8.1.1` ([#4689](https://github.com/MetaMask/core/pull/4689)) | ||
- Bump peer dependency `@metamask/snaps-controllers` from `^9.3.0` to `^9.7.0` ([#4689](https://github.com/MetaMask/core/pull/4689)) | ||
|
||
### Fixed | ||
|
||
- Produce and export ESM-compatible TypeScript type declaration files in addition to CommonJS-compatible declaration files ([#4648](https://github.com/MetaMask/core/pull/4648)) | ||
- Previously, this package shipped with only one variant of type declaration | ||
files, and these files were only CommonJS-compatible, and the `exports` | ||
field in `package.json` linked to these files. This is an anti-pattern and | ||
was rightfully flagged by the | ||
["Are the Types Wrong?"](https://arethetypeswrong.github.io/) tool as | ||
["masquerading as CJS"](https://github.com/arethetypeswrong/arethetypeswrong.github.io/blob/main/docs/problems/FalseCJS.md). | ||
All of the ATTW checks now pass. | ||
- Remove chunk files ([#4648](https://github.com/MetaMask/core/pull/4648)). | ||
- Previously, the build tool we used to generate JavaScript files extracted | ||
common code to "chunk" files. While this was intended to make this package | ||
more tree-shakeable, it also made debugging more difficult for our | ||
development teams. These chunk files are no longer present. | ||
|
||
## [18.2.0] | ||
|
||
### Added | ||
|
@@ -295,7 +320,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 | |
|
||
- Initial release ([#1637](https://github.com/MetaMask/core/pull/1637)) | ||
|
||
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/[email protected] | ||
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/[email protected] | ||
[18.2.1]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected] | ||
[18.2.0]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected] | ||
[18.1.1]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected] | ||
[18.1.0]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected] | ||
|
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
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
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 |
---|---|---|
|
@@ -7,6 +7,24 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 | |
|
||
## [Unreleased] | ||
|
||
## [6.0.1] | ||
|
||
### Fixed | ||
|
||
- Produce and export ESM-compatible TypeScript type declaration files in addition to CommonJS-compatible declaration files ([#4648](https://github.com/MetaMask/core/pull/4648)) | ||
- Previously, this package shipped with only one variant of type declaration | ||
files, and these files were only CommonJS-compatible, and the `exports` | ||
field in `package.json` linked to these files. This is an anti-pattern and | ||
was rightfully flagged by the | ||
["Are the Types Wrong?"](https://arethetypeswrong.github.io/) tool as | ||
["masquerading as CJS"](https://github.com/arethetypeswrong/arethetypeswrong.github.io/blob/main/docs/problems/FalseCJS.md). | ||
All of the ATTW checks now pass. | ||
- Remove chunk files ([#4648](https://github.com/MetaMask/core/pull/4648)). | ||
- Previously, the build tool we used to generate JavaScript files extracted | ||
common code to "chunk" files. While this was intended to make this package | ||
more tree-shakeable, it also made debugging more difficult for our | ||
development teams. These chunk files are no longer present. | ||
|
||
## [6.0.0] | ||
|
||
### Added | ||
|
@@ -168,7 +186,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 | |
|
||
All changes listed after this point were applied to this package following the monorepo conversion. | ||
|
||
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/[email protected] | ||
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/[email protected] | ||
[6.0.1]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected] | ||
[6.0.0]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected] | ||
[5.0.0]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected] | ||
[4.0.2]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected] | ||
|
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
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
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 |
---|---|---|
|
@@ -7,6 +7,28 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 | |
|
||
## [Unreleased] | ||
|
||
## [7.0.1] | ||
|
||
### Changed | ||
|
||
- Bump TypeScript from `~4.9.5` to `~5.2.2` and set `moduleResolution` option to `Node16` ([#3645](https://github.com/MetaMask/core/pull/3645), [#4576](https://github.com/MetaMask/core/pull/4576), [#4584](https://github.com/MetaMask/core/pull/4584)) | ||
|
||
### Fixed | ||
|
||
- Produce and export ESM-compatible TypeScript type declaration files in addition to CommonJS-compatible declaration files ([#4648](https://github.com/MetaMask/core/pull/4648)) | ||
- Previously, this package shipped with only one variant of type declaration | ||
files, and these files were only CommonJS-compatible, and the `exports` | ||
field in `package.json` linked to these files. This is an anti-pattern and | ||
was rightfully flagged by the | ||
["Are the Types Wrong?"](https://arethetypeswrong.github.io/) tool as | ||
["masquerading as CJS"](https://github.com/arethetypeswrong/arethetypeswrong.github.io/blob/main/docs/problems/FalseCJS.md). | ||
All of the ATTW checks now pass. | ||
- Remove chunk files ([#4648](https://github.com/MetaMask/core/pull/4648)). | ||
- Previously, the build tool we used to generate JavaScript files extracted | ||
common code to "chunk" files. While this was intended to make this package | ||
more tree-shakeable, it also made debugging more difficult for our | ||
development teams. These chunk files are no longer present. | ||
|
||
## [7.0.0] | ||
|
||
### Changed | ||
|
@@ -142,7 +164,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 | |
|
||
All changes listed after this point were applied to this package following the monorepo conversion. | ||
|
||
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/[email protected] | ||
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/[email protected] | ||
[7.0.1]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected] | ||
[7.0.0]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected] | ||
[6.1.1]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected] | ||
[6.1.0]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected] | ||
|
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
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
Oops, something went wrong.