Skip to content

Commit

Permalink
refactor: default npm_package(publishable) to false (#1683)
Browse files Browse the repository at this point in the history
  • Loading branch information
jbedard authored May 2, 2024
1 parent 5d69610 commit df06bf6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/npm_package.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion npm/private/npm_package.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ def npm_package(
include_transitive_types = True,
include_runfiles = False,
hardlink = "auto",
publishable = True,
publishable = False,
verbose = False,
**kwargs):
"""A macro that packages sources into a directory (a tree artifact) and provides an `NpmPackageInfo`.
Expand Down
2 changes: 2 additions & 0 deletions npm/private/test/npm_package_publish/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ npm_package(
"index.js",
"package.json",
],
publishable = True,
)

npm_package(
Expand All @@ -15,6 +16,7 @@ npm_package(
"index.d.ts",
"index.js",
],
publishable = True,
)

sh_test(
Expand Down

0 comments on commit df06bf6

Please sign in to comment.