Skip to content

Commit

Permalink
chore: run buildifier
Browse files Browse the repository at this point in the history
  • Loading branch information
jbedard committed Jun 10, 2023
1 parent a4a31d1 commit 5e0efc4
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 11 deletions.
5 changes: 2 additions & 3 deletions MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,14 @@

module(
name = "aspect_rules_jasmine",
compatibility_level = 1,
version = "0.0.0",
compatibility_level = 1,
)

bazel_dep(name = "aspect_bazel_lib", version = "1.32.0")
bazel_dep(name = "aspect_rules_js", version = "1.27.0")
bazel_dep(name = "bazel_skylib", version = "1.4.1")
bazel_dep(name = "rules_nodejs", version = "5.8.2")

bazel_dep(name = "gazelle", version = "0.29.0", repo_name = "bazel_gazelle", dev_dependency = True)
bazel_dep(name = "gazelle", version = "0.29.0", dev_dependency = True, repo_name = "bazel_gazelle")
bazel_dep(name = "buildifier_prebuilt", version = "6.0.0.1", dev_dependency = True)
bazel_dep(name = "bazel_skylib_gazelle_plugin", version = "1.4.1", dev_dependency = True)
5 changes: 2 additions & 3 deletions e2e/smoke/MODULE.bazel
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
"Bazel dependencies"
bazel_dep(name = "aspect_rules_jasmine", dev_dependency = True, version = "0.0.0")

bazel_dep(name = "aspect_rules_jasmine", version = "0.0.0", dev_dependency = True)
bazel_dep(name = "aspect_rules_js", version = "1.27.0")

local_path_override(
Expand All @@ -8,10 +9,8 @@ local_path_override(
)

npm = use_extension("@aspect_rules_js//npm:extensions.bzl", "npm")

npm.npm_translate_lock(
name = "npm",
pnpm_lock = "@aspect_rules_jasmine//:pnpm-lock.yaml",
)

use_repo(npm, "npm")
1 change: 0 additions & 1 deletion e2e/smoke/WORKSPACE.bzlmod
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
# Marker file that this is the root of a Bazel workspace.
# This file replaces WORKSPACE.bazel under --enable_bzlmod.

2 changes: 1 addition & 1 deletion jasmine/defs.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def jasmine_test(
`jasmine-core` is required when using sharding.
jasmine_reporters: Whether `jasmine-reporters` is present in the supplied node_modules tree.
When enabled, adds a custom reporter to output junit XML to the path where Bazel expects to find it.
config: jasmine config file. See: https://jasmine.github.io/setup/nodejs.html#configuration
Expand Down
6 changes: 3 additions & 3 deletions jasmine/tests/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ jasmine_test(

jasmine_test(
name = "focused",
data = ["focused.test.js"],
args = [
"**/*.test.js",
],
data = ["focused.test.js"],
expected_exit_code = 2,
node_modules = "//:node_modules",
)
Expand All @@ -37,10 +37,10 @@ jasmine_test(

jasmine_test(
name = "stack",
data = ["stack.test.js"],
args = [
"**/*.test.js",
],
data = ["stack.test.js"],
node_modules = "//:node_modules",
)

Expand Down Expand Up @@ -105,4 +105,4 @@ jasmine_test(
],
data = ["cjs.test.cjs"],
node_modules = "//:node_modules",
)
)

0 comments on commit 5e0efc4

Please sign in to comment.