Commit 0104be7
fix(builtin): always hide bazel files in yarn_install & npm install---
---if @bazel/hide-bazel-files is detected.
Fixes a @bazel/hide-bazel-files bug when adding an npm package with a bazel BUILD files after the initial node_modules install. In this case @bazel/hide-bazel-files postinstall does not run so it does not hide the newly added BUILD files. The repo rules, however, will run before the next build as the package.json & lock files will have changed so we can hide the bazel BUILD files at that point and avoid any build failures.1 parent 2a63ed6 commit 0104be7
1 file changed
Lines changed: 12 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
127 | 127 | | |
128 | 128 | | |
129 | 129 | | |
| 130 | + | |
130 | 131 | | |
131 | 132 | | |
132 | 133 | | |
133 | 134 | | |
134 | | - | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
135 | 145 | | |
136 | 146 | | |
137 | 147 | | |
| |||
446 | 456 | | |
447 | 457 | | |
448 | 458 | | |
| 459 | + | |
449 | 460 | | |
450 | 461 | | |
451 | 462 | | |
| |||
0 commit comments