File tree Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Original file line number Diff line number Diff line change 32
32
- ' nestjs'
33
33
- ' protobufjs'
34
34
- ' ts_project_transpiler'
35
- # TODO: failing
36
- # - 'vue'
35
+ - ' vue'
37
36
- ' write_source_files'
38
37
39
38
steps :
Original file line number Diff line number Diff line change @@ -2,6 +2,9 @@ load("@npm//:defs.bzl", "npm_link_all_packages")
2
2
load ("@npm//:vite/package_json.bzl" , vite_bin = "bin" )
3
3
load ("@npm//:vue-tsc/package_json.bzl" , vue_tsc_bin = "bin" )
4
4
5
+ # TODO: add unit tests instead of only testing building
6
+ load ("@bazel_skylib//rules:build_test.bzl" , "build_test" )
7
+
5
8
# This macro expands to a link_npm_package for each third-party package in package.json
6
9
npm_link_all_packages (name = "node_modules" )
7
10
@@ -45,3 +48,11 @@ vite_bin.vite_binary(
45
48
name = "vite" ,
46
49
data = SRCS + BUILD_DEPS ,
47
50
)
51
+
52
+ build_test (
53
+ name = "build_test" ,
54
+ targets = [
55
+ ":build" ,
56
+ ":type-check" ,
57
+ ],
58
+ )
You can’t perform that action at this time.
0 commit comments