mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
8c3a22f994
We now use two separate Infura project IDs for production builds, and for all other builds. Previously all CI builds used the production Infura project ID. Separating them will make our Infura dashboard metrics more representative of real production usage. The new environment variable for production has been setup in CI already, but the old environment variable will remain set to the production project ID until this commit is included in a release. We can't switch the old environment variable out until we're confident that it won't get used for a production build. We now use constants for the various different build environments. This was done to improve the JSDoc types of the `getInfuraProjectId` helper method. The `getConfigValue` function was added to make it easier to validate that required config values are set. This should ensure builds fail early with an informative error message when they are missing the necessary configuration. |
||
---|---|---|
.. | ||
build | ||
highlights | ||
lib | ||
announcer.js | ||
chromereload.js | ||
create-static-server.js | ||
empty.js | ||
generate-migration.sh | ||
gource-viz.sh | ||
jest.config.js | ||
metamaskbot-build-announce.js | ||
missing-locale-strings.js | ||
mock-3box.js | ||
mock-segment.js | ||
README.md | ||
run-ganache.sh | ||
sentry-publish.js | ||
sentry-upload-artifacts.sh | ||
shellcheck.sh | ||
show-deps-install-scripts.js | ||
source-map-explorer.sh | ||
sourcemap-validator.js | ||
static-server.js | ||
stream-flat-map.js | ||
verify-locale-strings.js |
Development
Several files which are needed for developing on MetaMask.
Usually each file or directory contains information about its scope / usage.