This PR fixes Bazel builder to create yarn_install rule in WORKSPACE if yarn.lock is present, otherwise npm_install rule if package-lock.json is present. If none is present, default to yarn_install and create an empty yarn.lock file. PR closes https://github.com/angular/angular/issues/30164 PR closes https://github.com/angular/angular/pull/30359 PR Close #30438