Commit Graph

382 Commits

Author SHA1 Message Date
Kristiyan Kostadinov 4c3e385b00 build: enforce that deprecated APIs have a deletion target (#9931)
Follow-up from #9881. Ensures that anything marked with `@deprecated` also has a `@deletion-target`.
2018-02-13 11:34:47 -08:00
Paul Gschwendtner 2f891e64f6 build: enforce consistent version names (#9917)
Ensures that versions are following a consistent format before publishing. e.g. versions like `6.0.0-beta-0` is not valid, because the last dash should be actually a dot.

Closes #9910.
2018-02-13 07:53:32 -08:00
Kristiyan Kostadinov b6e7174f62 build: add tslint rule to enforce deletion targets (#9881)
Adds a tslint rule that will mark any deletion targets that are due to be deleted.
2018-02-13 07:51:57 -08:00
Paul Gschwendtner 7feaeb1f9e docs(dgeni): fix typo in method name (#9892)
* Fixes a minor typo in the `MergeInheritedProperties` processor.
* Fixes an incorrectly placed comment inside of `decorators.ts`.
* Cleans up the `dgeni/index.ts` file
2018-02-13 07:51:13 -08:00
Paul Gschwendtner 47ab3367b9 docs(dgeni): simplify filtering of alias exports (#9893)
Simplifies the processor that filters alias exports. This is now possible with https://github.com/angular/dgeni-packages/commit/f7034143390293f908cd94ca424fcf9420653d70
2018-02-13 07:50:15 -08:00
Paul Gschwendtner cf54802e44 chore: less warnings for docs generation (#9864)
* Hides the warnings about unresolved TypeScript symbols for the mixin base classes. Those warnings are not fixable and are polluting the Dgeni output.
* Adds missing `@deprecated` tags to entries that already have the  `@deletion-target` set.
* Updates to the latest version of dgeni-packages because https://github.com/angular/dgeni-packages/commit/3a4e5685589b99b85dfb88e8fd8dbf46aab24088 landed.
2018-02-09 14:19:05 -08:00
Paul Gschwendtner 01f35ab1da build: prevent alpha/beta/rc publishing to latest tag (#9711)
* No longer allows publishing versions that include "beta" / "alpha" / "rc" to the "latest" tag on NPM. This safeguard can be still removed temporarily, if there is a real need to publish a beta in the latest tag.

Closes #9699.
2018-02-02 16:06:28 -08:00
Paul Gschwendtner 5e6822d6d3 chore(dgeni): fix duplicate api doc entries (#9666)
* Fixes that some API document entries are showing up twice (e.g. https://material.angular.io/cdk/scrolling/api). This happens because the `ScrollDispatcher` is exported multiple times across different packages (`cdk/scrolling` and `cdk/overlay`).
2018-01-31 10:25:28 -08:00
Paul Gschwendtner 664d69eb73 build: show deletion target in docs (#9648)
* Surfaces the @deletion-target JSDoc information into the Dgeni HTML output. Currently it will add a title to the deprecation marker.

Closes #9641
2018-01-31 10:25:17 -08:00
Kristiyan Kostadinov b201dc7d30 chore: fix demo app not serving the favicon (#9644)
Fixes the demo app 404ing on the favicon.
2018-01-31 10:24:47 -08:00
Paul Gschwendtner 34d6e6d8b4 chore(dgeni): add @deletion-target to valid tags (#9642)
* Currently Dgeni always shows warnings about the `@deletion-target` tag, because it considers non-jsdoc tags as invalid by default.
2018-01-31 10:24:34 -08:00
Juliano c306297b89 build: tslint rule to enforce html tags escaping in comments (#8200) 2018-01-25 16:48:28 -08:00
Paul Gschwendtner e7af740471 build: auto generate example module (#9590)
No longer pushes the example-module.ts file to the GitHub repository. The file will be auto-generated once the `material-examples` build package is being built.

References #9574.
2018-01-25 10:56:49 -08:00
Juliano 40a507043a docs: escape html tags and close unclosed backticks (#9583) 2018-01-25 10:36:31 -08:00
Paul Gschwendtner e0fc2bd51c chore(dgeni): better extraction of directive metadata (#9387)
* chore(dgeni): better extraction of directive metadata

* No longer extracts the directive/component metadata using Regular Expressions.
* Fixes that inherited properties from interfaces or super-classes are not showing up as inputs/outputs if they are specified in the component/directive metadata.
* Now handles multi-line selectors (this was not possible using the Regular Expression)
* Fixes that merged inherited properties have a reference to the original document (this causes unexpected behavior; if properties are updated).

References #9299
2018-01-23 16:08:11 -08:00
Rafael Santana 379a305182 docs: ensure docs are being shown for '@Input's (#9471) 2018-01-23 07:30:03 -08:00
Paul Gschwendtner 7024dc49f8 chore: update dashboard functions (#9504)
* Updates the package dependencies of the Dashboard dependencies. There seem to be errors with the old `node-github` API, but updating to the latest version (`@octokit/rest`) seems to work locally.
2018-01-22 12:50:50 -08:00
Rafael Santana 151e58142c docs: ensure jsdocs are properly set (#9390) 2018-01-18 10:41:39 -08:00
Roy 75eccb53f7 docs: use correct naming Sass (#9375) 2018-01-18 10:39:30 -08:00
Kristiyan Kostadinov 60b0625667 docs: clean up example config and data generation (#9223)
* Removes all of the optional properties being passed in as null in the example config. Also adds stronger typing to the list.
* Cleans up the example data generation to be closer to the rest of the project.
2018-01-12 09:41:01 -08:00
Paul Gschwendtner e5a0f7d5a7 docs: show inherited properties (#9299)
* Fixes that properties from mixins (e.g color, disabled) are not showing up in the docs.
* No longer runs Dgeni twice when executing the docs task.

Fixes #5284
2018-01-12 09:40:09 -08:00
Paul Gschwendtner 7187670d14 fix: too strict peer dependency of angular (#9355)
* Right now the `peerDependency` of Angular will be the one from the `package.json`. This means that upcoming minor versions of Angular cause peer dependency warnings within Yarn or NPM.

Fixes #9328
2018-01-12 09:27:17 -08:00
Kristiyan Kostadinov 6777427cc6 build: fix builds not failing with compilation errors in unit tests (#9248)
Fixes the CI continuing to run even though it failed to compile, due to a couple of promises that weren't rejecting properly. This should avoids things like #9073 slipping through.
2018-01-05 12:28:19 -08:00
Kristiyan Kostadinov e3d5ffde86 build: remove duplicate ngc compilation logic (#9175)
Abstracts away the logic for compiling with ngc that was duplicated between the `build-package.ts` and `compile-entry-point.ts`.
2018-01-02 14:24:42 -08:00
Paul Gschwendtner 900237b431 build: docs task should not clean (#9197)
* No longer cleans the dist/ folder because some deploy scripts depend on previous output inside of the dist folder.
2018-01-02 13:46:44 -08:00
Paul Gschwendtner e18292c7d2 chore(docs): minify markdown files (#9151)
* Right now, only the API HTML files will be minified. The markdown files like guides, and overview HTML files can be minified as well.
2018-01-02 12:04:10 -08:00
Kristiyan Kostadinov 2163c176e5 build: fix dashboard deployment (#9118)
Fixes the dashboard failing to deploy due to an error in `firebase@4.8.1`. Locks down the version to 4.8.0 for now. See https://github.com/angular/angularfire2/issues/1385.
2018-01-02 11:48:23 -08:00
Paul Gschwendtner c3d7cd96de build: missing overview files in docs-content (#9100) 2017-12-22 12:04:56 -08:00
Paul Gschwendtner d773102a1f build: fix sourcemap paths (#9068) 2017-12-20 15:13:25 -08:00
Joey Perrott 2c4f4e28b6 chore: fix build errors related to material-experimental dialog-container style file (#9072) 2017-12-20 09:59:31 -08:00
Paul Gschwendtner 291f6cf3af chore: filter alias exports in docs (#8782) 2017-12-19 17:29:40 -08:00
Jeremy Elbourn 444784bcc9 build(material): add bazel rules for all components (#8457) 2017-12-19 17:12:39 -08:00
Joey Perrott 1121d53af7 chore: create cdk-experimental package (#9059) 2017-12-19 16:45:54 -08:00
Kristiyan Kostadinov dc045967d8 build: expand validateDecoratorsRule to support blacklisting (#8897)
Expands the decorator validation rule to support blacklisting properties whose values match a pattern. This allows disabling things like inline styles.
2017-12-14 15:33:34 -08:00
Paul Gschwendtner f5a2faf22a chore: missing type for parameter in autosize (#8906)
* The ``MatTextareaAutosize` directive misses a type for the `resizeToFitContent` method. The `gulp api-docs` task showed that the type is missing.
* Improves the `normalizeMethodParameters` method in the Dgeni setup, to also add type information to parameters that have been parsed properly by Dgeni, but still miss a type.
2017-12-14 15:33:00 -08:00
Andrew Seguin 2c63f6589a chore(screenshot): remove use of deprecated mat-tooltip (#8785) 2017-12-05 15:07:04 -08:00
Paul Gschwendtner 71305ce8f6 build: add material experimental package (#8591)
* Adds the material-experimental package.
2017-11-29 13:46:04 -08:00
Paul Gschwendtner 23c09b488d build: fix invalid umd globals for rxjs operators (#8572)
Previously in `RxJS`, operators were part of the `Rx.Observable` namespace, but now since those will be imported separately from the `rxjs/operators` path, the UMD module name mapping needs to be updated to `Rx.operators` (https://unpkg.com/rxjs@5.5.2/bundles/Rx.js)

Fixes #8530
2017-11-28 10:34:54 -08:00
Paul Gschwendtner 2eab16cf8d build: fix dashboard typescript failures (#8616)
* Fixes TypeScript errors for the dashboard app.
2017-11-28 10:33:51 -08:00
CaerusKaru 4dd8a315ca chore(demo-app): replace rxjs patch operators w/ lettable operators (#8548)
Fixes #8501
2017-11-21 11:00:01 -08:00
Austin e055b9f13c docs: convert demos to stackblitz (#8546) 2017-11-21 09:01:05 -08:00
Kristiyan Kostadinov 623be22e58 refactor: replace first operator usages (#8352)
Replaces all usages of the `first` operator with `take(1)` in order to avoid some cryptic errors that `first` throws when the observable completes before it has emitted a value.
2017-11-21 08:59:50 -08:00
Paul Gschwendtner 7bcb0d8b94 chore: remove tslint type workaround (#8451)
Due to a TSLint issue (https://github.com/palantir/tslint/issues/2470) imports that were used as a type argument were treated as unused. This has been fixed with TypeScript ^2.4.0 and the workaround (using `//tslint:disable` comments)  can be removed.
2017-11-20 11:36:00 -08:00
Trotyl Yu 40be1f26e5 fix: using correct global name in bundle (#8407) 2017-11-20 11:35:34 -08:00
Kristiyan Kostadinov 2a3baa1a6f build: remove unused tslint rule (#8453)
Since the `noViewEncapsulation` rule logic is now in the `validateDecorators`, we don't have to keep the file around anymore.
2017-11-20 11:22:07 -08:00
Paul Gschwendtner 3b41005289 docs: show interfaces (#8376)
Also adds documentation for the `RippleGlobalOptions`

Closes #8298
2017-11-20 10:59:41 -08:00
Jeremy Elbourn cf39a419ff build(cdk): add bazel ng_module rules (#8370)
Part of #8369
2017-11-15 11:47:56 -08:00
mmalerba c088a0f372 test(select): switch all select tests to fakeAsync (#7913) 2017-11-06 14:17:35 -08:00
Paul Gschwendtner 0c257705a3 build: fix screenshot-tool app deployment (#8174) 2017-11-06 14:15:33 -08:00
Paul Gschwendtner 4e8626b8ad build: remove es5 tsconfig files (#8203) 2017-11-06 13:59:33 -08:00