Skip to content

Commit fde980c

Browse files
jelbournmmalerba
authored andcommitted
chore: update "material2" to "components" (#15905)
This should capture things that reference the GitHub repository. There are many other places we use "material2" that we can clean up in subsequent changes.
1 parent 87b2cf6 commit fde980c

Some content is hidden

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

54 files changed

+126
-126
lines changed

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Configuration file for https://circleci.com/gh/angular/material2
1+
# Configuration file for https://circleci.com/gh/angular/components
22

33
# Note: YAML anchors allow an object to be re-used, reducing duplication.
44
# The ampersand declares an alias for an object, then later the `<<: *name`

CONTRIBUTING.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -70,13 +70,13 @@ chances of your issue being dealt with quickly:
7070
* **Suggest a Fix** - if you can't fix the bug yourself, perhaps you can point to what might be
7171
causing the problem (line of code or commit)
7272

73-
You can file new issues by providing the above information [here](https://github.com/angular/material2/issues/new).
73+
You can file new issues by providing the above information [here](https://github.com/angular/components/issues/new).
7474

7575

7676
### <a name="submit-pr"></a> Submitting a Pull Request (PR)
7777
Before you submit your Pull Request (PR) consider the following guidelines:
7878

79-
* Search [GitHub](https://github.com/angular/material2/pulls) for an open or closed PR
79+
* Search [GitHub](https://github.com/angular/components/pulls) for an open or closed PR
8080
that relates to your submission. You don't want to duplicate effort.
8181
* Please sign our [Contributor License Agreement (CLA)](#cla) before sending PRs.
8282
We cannot accept code without this.
@@ -106,7 +106,7 @@ Before you submit your Pull Request (PR) consider the following guidelines:
106106
git push my-fork my-fix-branch
107107
```
108108

109-
* In GitHub, send a pull request to `material2:master`.
109+
* In GitHub, send a pull request to `components:master`.
110110
* If we suggest changes then:
111111
* Make the required updates.
112112
* Re-run the Angular Material test suites to ensure tests are still passing.
@@ -239,9 +239,9 @@ changes to be accepted, the CLA must be signed. It's a quick process, we promise
239239
[coc]: https://github.com/angular/code-of-conduct/blob/master/CODE_OF_CONDUCT.md
240240
[commit-message-format]: https://docs.google.com/document/d/1QrDFcIiPjSLDn3EL15IJygNPiHORgU1_OOAqWjiDU5Y/preview
241241
[corporate-cla]: http://code.google.com/legal/corporate-cla-v1.0.html
242-
[dev-doc]: https://github.com/angular/material2/blob/master/DEV_ENVIRONMENT.md
243-
[github]: https://github.com/angular/material2
244-
[gitter]: https://gitter.im/angular/material2
242+
[dev-doc]: https://github.com/angular/components/blob/master/DEV_ENVIRONMENT.md
243+
[github]: https://github.com/angular/components
244+
[gitter]: https://gitter.im/angular/components
245245
[individual-cla]: http://code.google.com/legal/individual-cla-v1.0.html
246246
[js-style-guide]: https://google.github.io/styleguide/jsguide.html
247247
[codepen]: http://codepen.io/

DEV_ENVIRONMENT.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
1. Make sure you have `node` installed with a version at _least_ 10.0.0 and `yarn` with a version
44
of at least 1.10.0. We recommend using `nvm` to manage your node versions.
55
2. Run `yarn global add gulp` to install gulp.
6-
3. Fork the `angular/material2` repo on GitHub.
6+
3. Fork the `angular/components` repo on GitHub.
77
4. Clone your fork to your machine with `git clone`.
8-
Recommendation: name your git remotes `upstream` for `angular/material2`
9-
and `<your-username>` for your fork. Also see the [team git shortcuts](https://github.com/angular/material2/wiki/Team-git----bash-shortcuts).
8+
Recommendation: name your git remotes `upstream` for `angular/components`
9+
and `<your-username>` for your fork. Also see the [team git shortcuts](https://github.com/angular/components/wiki/Team-git----bash-shortcuts).
1010
5. From the root of the project, run `yarn`.
1111

1212

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,34 @@
11
# Components and Material Design for Angular
22
[![npm version](https://badge.fury.io/js/%40angular%2Fmaterial.svg)](https://www.npmjs.com/package/%40angular%2Fmaterial)
3-
[![Build status](https://circleci.com/gh/angular/material2.svg?style=svg)](https://circleci.com/gh/angular/material2)
4-
[![Gitter](https://badges.gitter.im/angular/material2.svg)](https://gitter.im/angular/material2?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)
3+
[![Build status](https://circleci.com/gh/angular/components.svg?style=svg)](https://circleci.com/gh/angular/components)
4+
[![Gitter](https://badges.gitter.im/angular/components.svg)](https://gitter.im/angular/material2?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)
55

66
This is the home for the Angular team's UI components built for and with Angular.
77
These include Material Design components and the Angular Component Development Kit (CDK).
88

99
#### Quick links
1010
[Documentation, demos, and guides][aio] |
1111
[Google group](https://groups.google.com/forum/#!forum/angular-material2) |
12-
[Contributing](https://github.com/angular/material2/blob/master/CONTRIBUTING.md) |
12+
[Contributing](https://github.com/angular/components/blob/master/CONTRIBUTING.md) |
1313
[StackBlitz Template](https://goo.gl/wwnhMV)
1414

1515
### Getting started
1616

1717
See our [Getting Started Guide][getting-started]
1818
if you're building your first project with Angular Material.
1919

20-
Check out our [directory of design documents](https://github.com/angular/material2/wiki/Design-doc-directory)
20+
Check out our [directory of design documents](https://github.com/angular/components/wiki/Design-doc-directory)
2121
for more insight into our process.
2222

23-
If you'd like to contribute, you must follow our [contributing guidelines](https://github.com/angular/material2/blob/master/CONTRIBUTING.md).
23+
If you'd like to contribute, you must follow our [contributing guidelines](https://github.com/angular/components/blob/master/CONTRIBUTING.md).
2424
You can look through the GitHub issues (which should be up-to-date on who is working on which features
2525
and which pieces are blocked) and make a comment.
2626

27-
Please see our [`help wanted`](https://github.com/angular/material2/issues?q=is%3Aissue+is%3Aopen+label%3A%22help+wanted%22)
27+
Please see our [`help wanted`](https://github.com/angular/components/issues?q=is%3Aissue+is%3Aopen+label%3A%22help+wanted%22)
2828
label for a list of issues where we could use help from the community.
2929

3030
#### High level stuff planned for Q1 → Q2 2019 (January - June):
31-
* Most of the Angular Material team is on loan to the framework team
31+
* Most of the Angular Components team is on loan to the framework team
3232
helping with [Ivy](https://blog.angular.io/a-plan-for-version-8-0-and-ivy-b3318dfc19f7).
3333
We've been using the Angular CDK and Angular Material tests to validate code paths as well
3434
as helping debug issues in switching Google applications to the new rendering pipeline.
@@ -103,7 +103,7 @@ label for a list of issues where we could use help from the community.
103103
[16]: https://material.angular.io/components/slider/overview
104104
[17]: https://material.angular.io/components/menu/overview
105105
[18]: https://material.angular.io/components/tooltip/overview
106-
[19]: https://github.com/angular/material2/blob/master/src/material/core/ripple/ripple.md
106+
[19]: https://github.com/angular/components/blob/master/src/material/core/ripple/ripple.md
107107
[20]: https://material.angular.io/guide/theming
108108
[21]: https://material.angular.io/components/snack-bar/overview
109109
[22]: https://material.angular.io/components/dialog/overview

guides/theming.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ export class UnicornCandyAppModule {
185185
```
186186

187187
#### Theming only certain components
188-
The `angular-material-theme` mixin will output styles for [all components in the library](https://github.com/angular/material2/blob/master/src/material/core/theming/_all-theme.scss).
188+
The `angular-material-theme` mixin will output styles for [all components in the library](https://github.com/angular/components/blob/master/src/material/core/theming/_all-theme.scss).
189189
If you are only using a subset of the components (or if you want to change the theme for specific
190190
components), you can include component-specific theme mixins. You also will need to include
191191
the `mat-core-theme` mixin as well, which contains theme-specific styles for common behaviors

guides/typography.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ If you're using Material's theming, you can also pass in your typography config
101101
```
102102

103103
For more details about the typography functions and default config, see the
104-
[source](https://github.com/angular/material2/blob/master/src/material/core/typography/_typography.scss).
104+
[source](https://github.com/angular/components/blob/master/src/material/core/typography/_typography.scss).
105105

106106

107107
### Material typography in your custom CSS

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
2-
"name": "material2-srcs",
2+
"name": "components-srcs",
33
"description": "Material Design components for Angular",
4-
"homepage": "https://github.com/angular/material2",
5-
"bugs": "https://github.com/angular/material2/issues",
4+
"homepage": "https://github.com/angular/components",
5+
"bugs": "https://github.com/angular/components/issues",
66
"repository": {
77
"type": "git",
8-
"url": "https://github.com/angular/material2.git"
8+
"url": "https://github.com/angular/components.git"
99
},
1010
"license": "MIT",
1111
"engines": {

scripts/caretaking/write-presubmit-scheduler.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const github = new GitHubApi();
88

99
/** CONFIGURATION: change these things if you want to tweak how the runs are made. */
1010

11-
/** Path to the local material2. By default based on the location of this script. */
11+
/** Path to the local components repo. By default based on the location of this script. */
1212
const localRepo = path.resolve(__dirname, '..', '..');
1313

1414
/** Where to write the output from the presubmit script. */
@@ -32,7 +32,7 @@ const githubSearchOptions = {
3232
// Use the maximum of allowed items per Github API query. 100 pull requests should be
3333
// enough to continuously run presubmits through night.
3434
per_page: 100,
35-
q: 'repo:angular/material2 is:open type:pr label:"pr: merge ready" -label:"pr: merge safe"',
35+
q: 'repo:angular/components is:open type:pr label:"pr: merge ready" -label:"pr: merge safe"',
3636
};
3737

3838
/** END OF CONFIGURATION. */

scripts/deploy/publish-docs-content.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ docsContentPath="${projectPath}/tmp/material2-docs-content"
2727
examplesPackagePath="$(bazel info bazel-bin)/src/material-examples/npm_package"
2828

2929
# Git clone URL for the material2-docs-content repository.
30-
docsContentRepoUrl="https://github.com/angular/material2-docs-content"
30+
docsContentRepoUrl="https://github.com/angular/components-docs-content"
3131

3232
# Current version of Angular Material from the package.json file
3333
buildVersion=$(node -pe "require('./package.json').version")

src/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Angular Material
22
=======
33

4-
The sources for this package are in the main [Angular Material](https://github.com/angular/material2) repo. Please file issues and pull requests against that repo.
4+
The sources for this package are in the main [Angular Material](https://github.com/angular/components) repo. Please file issues and pull requests against that repo.
55

6-
License: MIT
6+
License: MIT

0 commit comments

Comments
 (0)