Skip to content

Commit 394cac5

Browse files
committed
build: add ng_package rule for @angular/material
In order to make this work, this includes: * Move schematics under src/lib * Change sass rules to omit sourcemaps * Add cdk/text-field and lib/tree to packages list * Add bazel rules for prebuilt themes * Add html assets to all ng_module rules * Point all ng_module rules to a package common tsconfig * Add missing index.ts for src/lib * Add bazel rules for schematics * Fix incorrect module_name for hyphenated lib ng_module rules * Add NgModules to `imports` of the example module (formerly were just exports)
1 parent 7fd7ad3 commit 394cac5

File tree

145 files changed

+2533
-534
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

145 files changed

+2533
-534
lines changed

.gitignore

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,5 +41,5 @@ testem.log
4141
/.git
4242

4343
# schematics
44-
/schematics/**/*.js
45-
/schematics/**/*.map
44+
/src/lib/schematics/**/*.js
45+
/src/lib/schematics/**/*.map

BUILD.bazel

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,15 @@ filegroup(
1414
# TODO(alexeagle): figure out what to do
1515
srcs = glob(["/".join(["node_modules", pkg, "**", ext]) for pkg in [
1616
"@angular",
17+
"@angular-devkit",
18+
"@schematics",
1719
"@types",
1820
"bytebuffer",
1921
"hammerjs",
2022
"jasmine",
2123
"minimist",
2224
"moment",
25+
"parse5",
2326
"protobufjs",
2427
"protractor",
2528
"reflect-metadata",

0 commit comments

Comments
 (0)