1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-10-22 19:26:13 +02:00
metamask-extension/patches
Elliot Winkler a7d98b695f
Add TypeScript migration dashboard (#13820)
As we convert parts of the codebase to TypeScript, we will want a way to
track progress. This commit adds a dashboard which displays all of the
files that we wish to convert to TypeScript and which files we've
already converted.

The list of all possible files to convert is predetermined by walking
the dependency graph of each entrypoint the build system uses to compile
the extension (the files that the entrypoint imports, the files that the
imports import, etc). The list should not need to be regenerated, but
you can do it by running:

    yarn ts-migration:enumerate

The dashboard is implemented as a separate React app. The CircleCI
configuration has been updated so that when a new commit is pushed, the
React app is built and stored in the CircleCI artifacts. When a PR is
merged, the built files will be pushed to a separate repo whose sole
purpose is to serve the dashboard via GitHub Pages (this is the same
way that the Storybook works). All of the app code and script to build
the app are self-contained under
`development/ts-migration-dashboard`. To build this app yourself, you
can run:

    yarn ts-migration:dashboard:build

or if you want to build automatically as you change files, run:

    yarn ts-migration:dashboard:watch

Then open the following file in your browser (there is no server
component):

    development/ts-migration-dashboard/build/index.html

Finally, although you shouldn't have to do this, to manually deploy the
dashboard once built, you can run:

    git remote add ts-migration-dashboard git@github.com:MetaMask/metamask-extension-ts-migration-dashboard.git
    yarn ts-migration:dashboard:deploy
2022-08-09 14:16:08 -06:00
..
@babel+runtime+7.18.9.patch Update Babel and dependencies (#15392) 2022-08-05 10:04:44 -05:00
@eslint+eslintrc+1.3.0.patch Update Eslint and deps (#15293) 2022-07-26 13:10:51 -05:00
@formatjs+intl-utils+3.3.1.patch Dep upgrades and patches (#10903) 2021-04-20 13:39:49 +08:00
@fortawesome+fontawesome-free+5.13.0.patch Clear Sass deprecations (#13227) 2022-01-07 12:17:21 -07:00
@keystonehq+bc-ur-registry+0.4.4.patch Add TypeScript to the linting process (#13495) 2022-03-21 12:54:47 -06:00
@lavamoat+lavapack+3.1.0.patch Remove module paths from bundle (#14763) 2022-05-24 12:59:21 -02:30
@metamask+smart-transactions-controller++fast-json-patch+3.1.0.patch Add support for Smart Transactions (#12676) 2022-02-18 17:48:38 +01:00
@reduxjs+toolkit+1.6.2.patch Update build system lockdown parameter (#12556) 2021-11-01 22:13:22 -10:00
@types+madge+5.0.0.patch Add TypeScript migration dashboard (#13820) 2022-08-09 14:16:08 -06:00
abort-controller+3.0.0.patch Bump controllers v30.0.2 (#14906) 2022-07-18 09:43:30 -05:00
acorn-node++acorn+7.4.1.patch fix storybook (#15387) 2022-07-29 14:15:48 -05:00
await-semaphore+0.1.3.patch Add TypeScript to the linting process (#13495) 2022-03-21 12:54:47 -06:00
borc+2.1.2.patch fix: patch borc to avoid v8 bailing out of caching bytecode for the entire bundle chunk (#15385) 2022-07-29 16:24:12 -05:00
colors+1.4.0.patch Feature: Transaction Insights (#12881) 2021-12-01 13:52:08 -03:30
combine-source-map++convert-source-map+1.1.3.patch Fix Buffer warnings during build (#10495) 2021-09-27 19:05:35 -02:30
error+7.0.2.patch Add Lavamoat to build system (#9939) 2021-02-22 22:43:29 +08:00
eslint-import-resolver-typescript+2.5.0.patch Add TypeScript to the linting process (#13495) 2022-03-21 12:54:47 -06:00
eslint+8.20.0.patch Update Eslint and deps (#15293) 2022-07-26 13:10:51 -05:00
eth-sig-util++ethereumjs-util+5.2.1.patch deps - patch ethereumjs-util/dist/secp256k1 for fast module init via lazy loading (#14682) 2022-08-09 13:40:33 -05:00
fast-json-patch+2.2.1.patch Dep Upgrades for Lavamoat Patches (#10902) 2021-04-20 11:37:21 +08:00
gulp-sourcemaps+3.0.0.patch Fix Buffer warnings during build (#10495) 2021-09-27 19:05:35 -02:30
inline-source-map+0.6.2.patch Fix Buffer warnings during build (#10495) 2021-09-27 19:05:35 -02:30
luxon+1.26.0.patch Dep Upgrades for Lavamoat Patches (#10902) 2021-04-20 11:37:21 +08:00
object.values+1.1.3.patch ci - enforce yarn lock deduplications (#12737) 2021-11-23 09:17:27 -10:00
plugin-error+1.0.1.patch Add Lavamoat to build system (#9939) 2021-02-22 22:43:29 +08:00
regenerator-runtime+0.13.7.patch LavaMoat Node update and various small enhancements (#12239) 2021-09-28 20:56:08 -10:00
sass+1.35.2.patch ci - enforce yarn lock deduplications (#12737) 2021-11-23 09:17:27 -10:00
secp256k1+3.8.0.patch deps - patch secp256k1 for fast module init via lazy loading (#14677) 2022-05-11 13:21:23 -10:00
squirrelly+8.0.8.patch Build - refactor for bundle factoring and swappable runtime (#11080) 2021-07-15 10:59:34 -07:00
stylelint+13.6.1.patch Add Lavamoat to build system (#9939) 2021-02-22 22:43:29 +08:00
typescript+4.4.4.patch Add TypeScript to the linting process (#13495) 2022-03-21 12:54:47 -06:00
undeclared-identifiers+1.1.2.patch Dep upgrades and patches (#10903) 2021-04-20 13:39:49 +08:00
watchify+4.0.0.patch Improve autorebuilding in dev to reduce CPU load (#11886) 2021-10-25 13:56:26 -06:00
web3+0.20.7.patch Dep upgrades and patches (#10903) 2021-04-20 13:39:49 +08:00
yargs+17.4.1.patch Migrate the build script to yargs (#14836) 2022-06-21 17:37:05 -02:30
zxcvbn+4.4.2.patch Lavamoat - protect all UI contexts (#14537) 2022-04-28 08:45:46 -10:00