Skip to content

Commit 0b3d996

Browse files
hanslKeen Yee Liau
authored and
Keen Yee Liau
committed
refactor(@angular/pwa): automated JSON Schema generation
1 parent a6d515a commit 0b3d996

File tree

2 files changed

+7
-26
lines changed

2 files changed

+7
-26
lines changed

packages/angular/pwa/BUILD

+7
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
licenses(["notice"]) # MIT
77

88
load("@build_bazel_rules_typescript//:defs.bzl", "ts_library")
9+
load("//tools:ts_json_schema.bzl", "ts_json_schema")
910

1011
package(default_visibility = ["//visibility:public"])
1112

@@ -25,9 +26,15 @@ ts_library(
2526
],
2627
),
2728
deps = [
29+
":pwa_schema",
2830
"//packages/angular_devkit/core",
2931
"//packages/angular_devkit/schematics",
3032
"@rxjs",
3133
# @typings: node
3234
],
3335
)
36+
37+
ts_json_schema(
38+
name = "pwa_schema",
39+
src = "pwa/schema.json",
40+
)

packages/angular/pwa/pwa/schema.d.ts

-26
This file was deleted.

0 commit comments

Comments
 (0)