From 8bc5fb2ab6777bac3031b24606c3f786d5343f46 Mon Sep 17 00:00:00 2001 From: Greg Magolan Date: Tue, 22 Oct 2019 13:23:53 -0700 Subject: [PATCH] fix(bazel): remove deprecated ng_setup_workspace() function (#33330) This should be removed before for 9.0.0 rc BREAKING CHANGE: @angular/bazel ng_setup_workspace() is no longer needed and has been removed. We assume you will fetch rules_nodejs in your WORKSPACE file, and no other dependencies remain here. Simply remove any calls to this function and the corresponding load statement. PR Close #33330 --- packages/bazel/index.bzl | 7 ------- 1 file changed, 7 deletions(-) diff --git a/packages/bazel/index.bzl b/packages/bazel/index.bzl index 9d1bb3d2ad..1783855bfc 100644 --- a/packages/bazel/index.bzl +++ b/packages/bazel/index.bzl @@ -14,10 +14,3 @@ ng_module = _ng_module ng_package = _ng_package # DO NOT ADD PUBLIC API without including in the documentation generation # Run `yarn bazel build //packages/bazel/docs` to verify - -def ng_setup_workspace(): - print("""DEPRECATION WARNING: - ng_setup_workspace is no longer needed, and will be removed in a future release. - We assume you will fetch rules_nodejs in your WORKSPACE file, and no other dependencies remain here. - Simply remove any calls to this function and the corresponding load statement. - """)