Skip to content

Commit

Permalink
Prepare to Push to BCR
Browse files Browse the repository at this point in the history
Last bit of housecleaning before attempting to push this version to the BCR. Primarily just updates examples/bzlmod/ to use clarodocs().

Updates the JS related Module deps to not be considered "dev" dependencies as they need to be available for downstream Modules depending on claro-lang.
  • Loading branch information
JasonSteving99 committed Apr 4, 2024
1 parent 6704a8e commit d114f70
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 9 deletions.
12 changes: 6 additions & 6 deletions MODULE.bazel
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module(
name = "claro-lang",
repo_name = "claro-lang",
version = "0.1.500",
version = "0.1.501",
)

bazel_dep(name = "aspect_bazel_lib", version = "2.0.1")
Expand All @@ -10,11 +10,11 @@ bazel_dep(name = "rules_proto", version = "5.3.0-21.7")
bazel_dep(name = "rules_jvm_external", version = "5.3")

# Deps related to ClaroDocs
bazel_dep(name = "aspect_rules_lint", version = "0.12.0", dev_dependency = True)
bazel_dep(name = "aspect_rules_jest", version = "0.19.6", dev_dependency = True)
bazel_dep(name = "aspect_rules_js", version = "1.38.0", dev_dependency = True)
bazel_dep(name = "aspect_rules_swc", version = "1.2.2", dev_dependency = True)
bazel_dep(name = "aspect_rules_ts", version = "2.1.1", dev_dependency = True)
bazel_dep(name = "aspect_rules_lint", version = "0.12.0")
bazel_dep(name = "aspect_rules_jest", version = "0.19.6")
bazel_dep(name = "aspect_rules_js", version = "1.38.0")
bazel_dep(name = "aspect_rules_swc", version = "1.2.2")
bazel_dep(name = "aspect_rules_ts", version = "2.1.1")

# -- bazel_dep definitions -- #

Expand Down
2 changes: 1 addition & 1 deletion examples/bzlmod/MODULE.bazel
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module(name = "example-claro-module")

bazel_dep(name = "claro-lang", version = "0.1.500")
bazel_dep(name = "claro-lang", version = "0.1.501")

2 changes: 0 additions & 2 deletions tools/clarodocs/generator/clarodocs_rules.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,6 @@ def clarodocs(name, root, out = None):
js_run_devserver(
name = name,
args = [".", "--config", generated_vite_config_relative_location + "/" + name + "-vite-config.js"],
# TODO(steving) Figure out why js_run_devserver() isn't noticing that the dep_graph_json_config is changing as
# TODO(steving) the program's source code changes.
data = RUNTIME_DEPS + [dep_graph_json_config + "_lib", name + "-vite-config.js"],
tool = "@claro-lang//tools/clarodocs:vite",
)
Expand Down

0 comments on commit d114f70

Please sign in to comment.