You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd like to start pulling in the package similar to how rules_typescript does - which is by including all of the pertinent bazel files in the npm package, and then in your workspace using a local_repository. Not only will this make installing easier by following a convention, but it also cleans up some dependency version snafus.
Some changes to achieve this:
Include the defs.bzl file in the npm package (I could use some direction on this one).
Build the protoc plugin binary within bazel differently. It currently relies on the src directory which isn't part of the npm package. Can investigate just pulling in the binary, or building using the lib directory.
Update readme.
Test to compare bazel's binary with the non-bazel one.
The text was updated successfully, but these errors were encountered:
coltonmorris
changed the title
Include bazel custom rule in npm package
Install project with bazel using a local_repository
Aug 12, 2018
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
I'd like to start pulling in the package similar to how
rules_typescript
does - which is by including all of the pertinentbazel
files in the npm package, and then in yourworkspace
using alocal_repository
. Not only will this make installing easier by following a convention, but it also cleans up some dependency version snafus.Some changes to achieve this:
defs.bzl
file in the npm package (I could use some direction on this one).bazel
differently. It currently relies on thesrc
directory which isn't part of the npm package. Can investigate just pulling in the binary, or building using thelib
directory.The text was updated successfully, but these errors were encountered: