Skip to content

Conversation

@jelbourn
Copy link
Member

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)

However, the rule won't actually succeed until Angular 6.0.0-rc.1 comes out.

@jelbourn jelbourn requested review from alexeagle and mmalerba March 29, 2018 19:49
@googlebot googlebot added the cla: yes PR author has agreed to Google's Contributor License Agreement label Mar 29, 2018
srcs = glob(["**/*.ts"], exclude=["**/*.spec.ts"]),
module_name = "@angular/material/divider",
assets = [":divider_css"],
assets = [":divider_css"] + glob(["**/*.html"]),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need this here since divider has no html files (and likely never will)?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's better to have it for consistency with other components; it's just a no-op without any inputs

@jelbourn jelbourn force-pushed the bazel-material-package branch from 394cac5 to 2f04bf2 Compare March 29, 2018 21:38
@josephperrott josephperrott added the target: patch This PR is targeted for the next patch release label Mar 29, 2018
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)
@jelbourn jelbourn force-pushed the bazel-material-package branch from 2f04bf2 to f6b50d2 Compare March 30, 2018 17:44
@josephperrott josephperrott merged commit 872952e into angular:master Mar 30, 2018
@jelbourn jelbourn deleted the bazel-material-package branch April 2, 2018 22:32
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 8, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

cla: yes PR author has agreed to Google's Contributor License Agreement target: patch This PR is targeted for the next patch release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants