1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-25 20:02:58 +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 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
@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 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
combine-source-map++convert-source-map+1.1.3.patch
error+7.0.2.patch
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
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 deps - patch secp256k1 for fast module init via lazy loading (#14677) 2022-05-11 13:21:23 -10:00
squirrelly+8.0.8.patch
stylelint+13.6.1.patch
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
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 Lavamoat - protect all UI contexts (#14537) 2022-04-28 08:45:46 -10:00