Page MenuHomePhabricator

adding parent dir web/ for web apps
AbandonedPublic

Authored by bytesofman on Nov 19 2020, 22:52.

Details

Reviewers
jasonbcox
deadalnix
Group Reviewers
Restricted Owners Package(Owns No Changed Paths)
Restricted Project
Summary

Adding parent dir web/ with its own "format" script to apply consistent prettier formatting to web apps in subdirectories

Test Plan

This is a starting point before adding web apps. If any js files are changed, the "format" script should run before diff is submitted

Event Timeline

Owners added a reviewer: Restricted Owners Package.Nov 19 2020, 22:52
.gitignore
83 ↗(On Diff #25897)

This doesn't appear to be used for anything.

85 ↗(On Diff #25897)

Nit: space after #

web/.prettierignore
23 ↗(On Diff #25897)

While this is ok for now, you could have added .prettierignore as it's own revision. A change like this is pretty well self-contained and can get reviewed quickly.

web/package.json
11 ↗(On Diff #25897)

I assume bitcoin-abc-web should be for bitcoinabc.org not phabricator?

web/yarn.lock
1 ↗(On Diff #25897)

Is it possible to edit yarn so that this message includes @generated? That way, it will get marked as such on phab.

web/yarn.lock
8

Why do we want to use yarn in addition to node? This seems to add dependencies for things that npm already does.

Abandoning in favor of https://reviews.bitcoinabc.org/D8477, which I think offers a better approach.