Skip to content

Commit

Permalink
refactor: remove unused exclude_packages from npm_install & yarn_install
Browse files Browse the repository at this point in the history
BREAKING CHANGE:
Removed unused exclude_packages from npm_install & yarn_install
  • Loading branch information
gregmagolan authored and alexeagle committed Dec 17, 2019
1 parent cc64818 commit f50dea3
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 8 deletions.
5 changes: 4 additions & 1 deletion e2e/ts_devserver/WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,7 @@ web_test_repositories()

load("@io_bazel_rules_webtesting//web/versioned:browsers-0.3.2.bzl", "browser_repositories")

browser_repositories(chromium = True)
browser_repositories(
chromium = True,
firefox = True,
)
5 changes: 4 additions & 1 deletion examples/app/WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,7 @@ web_test_repositories()

load("@io_bazel_rules_webtesting//web/versioned:browsers-0.3.2.bzl", "browser_repositories")

browser_repositories(chromium = True)
browser_repositories(
chromium = True,
firefox = True,
)
5 changes: 4 additions & 1 deletion examples/web_testing/WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,10 @@ web_test_repositories()

load("@io_bazel_rules_webtesting//web/versioned:browsers-0.3.2.bzl", "browser_repositories")

browser_repositories(chromium = True)
browser_repositories(
chromium = True,
firefox = True,
)

load("@npm_bazel_typescript//:index.bzl", "ts_setup_workspace")

Expand Down
5 changes: 4 additions & 1 deletion examples/webapp/WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,7 @@ web_test_repositories()

load("@io_bazel_rules_webtesting//web/versioned:browsers-0.3.2.bzl", "browser_repositories")

browser_repositories(chromium = True)
browser_repositories(
chromium = True,
firefox = True,
)
3 changes: 0 additions & 3 deletions internal/npm_install/npm_install.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,6 @@ If symlink_node_modules is True, this attribute is ignored since
the dependency manager will run in the package.json location.
""",
),
"exclude_packages": attr.string_list(
doc = """DEPRECATED. This attribute is no longer used.""",
),
"included_files": attr.string_list(
doc = """List of file extensions to be included in the npm package targets.
Expand Down
5 changes: 4 additions & 1 deletion packages/karma/docs/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,10 @@ web_test_repositories()

load("@io_bazel_rules_webtesting//web/versioned:browsers-0.3.2.bzl", "browser_repositories")

browser_repositories(chromium = True)
browser_repositories(
chromium = True,
firefox = True,
)
```

## Installing with self-managed dependencies
Expand Down

0 comments on commit f50dea3

Please sign in to comment.