1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01: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
@fortawesome+fontawesome-free+5.13.0.patch
@keystonehq+bc-ur-registry+0.4.4.patch
@lavamoat+lavapack+3.1.0.patch
@metamask+smart-transactions-controller++fast-json-patch+3.1.0.patch
@reduxjs+toolkit+1.6.2.patch
@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
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
combine-source-map++convert-source-map+1.1.3.patch
error+7.0.2.patch
eslint-import-resolver-typescript+2.5.0.patch
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
gulp-sourcemaps+3.0.0.patch
inline-source-map+0.6.2.patch
luxon+1.26.0.patch
object.values+1.1.3.patch
plugin-error+1.0.1.patch
regenerator-runtime+0.13.7.patch
sass+1.35.2.patch
secp256k1+3.8.0.patch
squirrelly+8.0.8.patch
stylelint+13.6.1.patch
typescript+4.4.4.patch
undeclared-identifiers+1.1.2.patch
watchify+4.0.0.patch
web3+0.20.7.patch
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