1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-30 08:09:15 +01:00
Commit Graph

11 Commits

Author SHA1 Message Date
Mark Stacey
1fd3dc9ecf
Switch from npm to yarn (#6843)
As a solution to the constant lockfile churn issues we've had with
`npm`, the project now uses `yarn` to manage dependencies.

The `package-lock.json` file has been replaced with `yarn.lock`, which
was created using `yarn import`. It should approximate the contents of
`package-lock.json` fairly well, though there may be some changes due to
deduplication. The codeowners file has been updated to reference this
new lockfile.

All documentation and npm scripts have been updated to reference `yarn`
rather than `npm`. Note that running scripts using `npm run` still works
fine, but it seemed better to switch those to `yarn` as well to avoid
confusion.

The `npm-audit` Bash script has been replaced with `yarn-audit`. The
output of `yarn audit` is a bit different than `npm audit` in that it
returns a bitmask to describe which severity issues were found. This
made it simpler to check the results directly from the Bash script, so
the associated `npm-audit-check.js` script was no longer required. The
output should be exactly the same, and the information is still sourced
from the same place (the npm registry).

The new `yarn-audit` script does have an external dependency: `jq`.
However, `jq` is already assumed to be present by another CI script, and
is present on all CI images we use. `jq` was not added to `package.json`
as a dependency because there is no official package on the npm
registry, just wrapper scripts. We don't need it anywhere exept on CI
anyway.

The section in `CONTRIBUTING` about how to develop inside the
`node_modules` folder was removed, as the advice was a bit dated, and
wasn't specific to this project anyway.
2019-07-30 15:36:23 -03:00
Whymarrh Whitby
618c1caf40
Update publishing doc to reflect automation (#6899) 2019-07-30 10:53:04 -02:30
Dan Finlay
ee049aee87 Document hotfix protocol 2019-05-09 12:35:24 -07:00
bobby dresser
e71cac5460
update publishing.md with dev diagram 2019-04-17 10:30:17 -07:00
kumavis
12cca73000 doc - publishing - typo fix (#6399) 2019-04-04 16:19:37 -02:30
Dan Finlay
160f196165 Add sensitive publishing protocol 2019-02-19 12:35:59 -08:00
Dan Finlay
4cc2273c20
Update publishing.md 2018-05-23 14:58:09 -07:00
Dan Finlay
07cda8264d
Update publishing guide 2018-05-23 14:48:05 -07:00
Dan Finlay
bf17d7e115 Add version bumping script
One step towards automating our deploy process is automating our version
bumping scheme. This PR does that.
2018-03-02 13:55:56 -08:00
Dan Finlay
d0144c2853 Break docs up into individual files 2017-06-05 13:55:48 -07:00
Dan Finlay
7f991e5574 Add publishing guide 2017-06-05 13:46:18 -07:00