Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
db-console: downgrade to prettier 1.x
Bazel only installs a single version of each NPM dependency, even if a yarn workspace would typically ensure multiple versions are available for the various workspaces. Before using segmented Bazel repositories for NPM dependencies, Bazel would consistently select [email protected] when linting db-console despite the presence of `prettier: ^2.2.1` in its package.json. What's worse is that linting db-console outside of Bazel _also_ used [email protected], for reasons that are still unclear. Switching to segmented Bazel NPM repositories caused db-console to start using prettier^2.x, which has backwards-incompatible changes to the default settings. We don't provide a prettier config file, so those changes resulted in lint a very large number of failures. Downgrade db-console to prettier 1.x in its package.json, making its declared dependency match what's actually used at runtime. Upgrading everything to prettier 2.x is left as an exercise for a later date. Release note: None
- Loading branch information