Yuan Gao
1b0b69eeec
ci(aio): add back deploy-preview
2017-06-23 11:55:20 -07:00
Yuan Gao
0440251919
ci(aio): upload aio payload size to firebase
...
ci(aio): Add timestamp and change data
2017-06-23 11:55:20 -07:00
Georgios Kalpakas
494a0d064a
fix(aio): fix topbar nav-item focus style
...
Fixing it requires upgrading `@angular/material` to v2.0.0-beta.7.
Fixes #17216
2017-06-23 11:51:17 -07:00
Peter Bacon Darwin
1d93cf2e85
build(aio): ensure all doc tests are run
...
It is not possible to run all the docs tests directly via the jasmine CLI.
Instead we now have a small script that will run jasmine via its library.
2017-06-21 13:51:15 -07:00
Georgios Kalpakas
1c6a252596
build(aio): upgrade jasmine to v2.6.4
...
This version fixes the DISCONNECTED errors (described in #17543 ) and removes the
need to the workaround (8af203c).
The relevant jasmine commit is jasmine/jasmine@c60d66994 .
2017-06-19 15:12:25 -07:00
Alex Rickabaugh
3093c55e9e
build(aio): update @angular/service-worker to 1.0.0-beta.16
...
This version includes a fix for potential cache corruption and invalid redirect behavior in rare cases.
2017-06-16 13:33:37 -07:00
Georgios Kalpakas
ce00fa3627
build(aio): do not fail if `check-env` for the main angular project fails
...
Fixes #17434
2017-06-16 07:51:18 +01:00
Georgios Kalpakas
77e717e872
build(aio): remove dependency on build artifacts from parent folder
2017-06-16 07:51:18 +01:00
Georgios Kalpakas
f73a4c229c
build(aio): upgrade lighthouse to v2.1
2017-06-14 09:36:54 -07:00
Peter Bacon Darwin
052331fabc
build(aio): add staging environment
...
You can now specify what environment you are building
by add it to the `yarn build` command. For example:
```
yarn build -- --env=stage
```
Moreover the `deploy-to-firebase.sh` script will automatically apply the
appropriate environment.
2017-06-13 13:43:36 +01:00
Peter Bacon Darwin
0f56296c24
fix(aio): use locally hosted lunr library
...
The library is downloaded from npm but then
copied into the assets folder (and ignored by git)
as part of the postinstall step.
2017-06-13 11:26:35 +01:00
Georgios Kalpakas
234268eec2
ci(aio): deploy commits on the stable branch to production
...
The current stable branch is determined based on the current version mapped to
the npm `latest` tag (by replacing the patch version number with 'x' - e.g.
`1.2.3` --> `1.2.x`).
PRs against the stable branch will be deployed to the preview server (as long as
the rest of the requirements are met). Commits on the stable branch itself will
be deployed to production.
Fixes #16908
2017-06-12 15:49:22 -07:00
Georgios Kalpakas
a1065bfaf0
build(aio): upgrade Jasmine-related dependencies
...
According to https://github.com/jasmine/jasmine/issues/1327#issuecomment-306924549 ,
this might help with help with frequent DISCONNECTED errors (especially on Travis).
2017-06-12 13:59:44 +01:00
Georgios Kalpakas
d6f345cc3c
build(aio): upgrade Karma-related dependencies
2017-06-12 13:59:44 +01:00
Igor Minar
69ec1e2e31
build(aio): upgrade to @angular/*@4.2.1
2017-06-09 18:31:50 -07:00
Igor Minar
7e22a2fc0b
build(aio): remove duplicate webpack version
2017-06-09 18:31:50 -07:00
Igor Minar
991ca92a9d
build(aio): turn off vendor chunking
...
This was done to prevent webpack from generating cross chunk registry calls which prevent DCE.
2017-06-09 18:31:50 -07:00
Igor Minar
c550f885a4
build(aio): upgrade to an unreleased version of cli with webpack 3.0-rc.0
2017-06-09 18:31:50 -07:00
Igor Minar
851038c3a8
build(aio): upgrade @angular/service-worker to beta.15
2017-06-09 18:31:50 -07:00
Jesús Rodríguez
db5e5067a0
build(aio): update typescript to 2.3.2 ( #17382 )
2017-06-09 14:36:36 -07:00
Jesús Rodríguez
33df13ad65
build(aio): update to 4.2 ( #17369 )
2017-06-09 13:31:12 -07:00
Peter Bacon Darwin
3db6b6ca7a
build(aio): ignore example files that are gitignored
...
Rather than hard coding excludes into the dgeni config,
use the fact that we are already ignoring the boilerplate
and generated files via the .gitignore file.
2017-06-09 14:33:21 +01:00
Peter Bacon Darwin
92d99ba279
build(aio): upgrade to dgeni-packages 0.19.1
...
This provides the fix where static class members were not being displayed
in API docs, closes #17024
2017-05-31 08:45:50 +03:00
Peter Bacon Darwin
4d5fa5c855
build(aio): capture the h1 title and attach it to the document
...
The HTML post-processing now collects any h1
that is found in the renderedContent and attaches
it to the doc via the `doc.vFile.title` property.
2017-05-31 08:45:31 +03:00
Igor Minar
db3113ba16
build(aio): externalize @angular/cli patches into a js file
...
This improves code readability and maintainability.
2017-05-26 01:19:59 -07:00
Igor Minar
8443d199b2
build(aio): use purify to include tslib
...
cli's scripts setup evals strings which requires too much escaping that bloats the code
2017-05-26 01:19:59 -07:00
Igor Minar
8e2f72c644
build(aio): turn on pure_getters option in uglify
2017-05-26 01:19:59 -07:00
Georgios Kalpakas
670771da33
build(aio): make the postinstall script more Windows-friendly
2017-05-21 15:37:22 +01:00
Peter Bacon Darwin
be9e8b99ff
fix(aio): support IE via conditionally loaded polyfills
...
Closes #16519
2017-05-19 11:26:29 +01:00
Igor Minar
faacbe4dac
build(aio): upgrade to @angular/cli@1.1.0-rc.0
2017-05-18 15:48:49 +01:00
Igor Minar
59136fdbe4
build(aio): add ngo + purify
2017-05-18 15:48:49 +01:00
Igor Minar
baa3fbab46
build(aio): upgrade @angular/* and friends, remove obsolete deps
2017-05-18 15:48:49 +01:00
Peter Bacon Darwin
a9d9aa18a0
build(aio): automatically link code blocks to API docs
2017-05-15 10:56:38 +01:00
Alex Rickabaugh
abb36e3cba
fix(aio): switch to ngu-sw-manifest gen to unblock critical path ( #16709 )
2017-05-11 13:21:27 -07:00
Peter Bacon Darwin
e11f5294ab
build(aio): run docs after plunkers and zips (in setup)
2017-05-09 14:33:40 +01:00
Alex Rickabaugh
566dab1140
build(aio): upgrade to @angular/service-worker@1.0.0-beta.11 ( #16594 )
2017-05-05 16:16:55 -07:00
Peter Bacon Darwin
6748aeabb6
build(aio): update to dgeni-packages 0.19.0
...
This contains an updated dependency to TypeScript 2.1, which supports the
language constructs that we are using in Angular.
2017-05-03 19:33:58 -07:00
Jesús Rodríguez
55b8de9fdd
build(aio): lint examples
2017-05-03 13:44:41 -07:00
Peter Bacon Darwin
5b96fb9320
build(aio): rename `src/content` to `src/generated`
...
This commit will definitely require a clean up of your
working folder:
```
cd aio
git clean -xdf
yarn setup
```
2017-05-03 13:40:46 -07:00
Peter Bacon Darwin
cade722e48
build(aio): upgrade to dgeni-packages@0.18.0
...
This contains a fix for the typescript module reader.
Previously, TS modules that were of the form:
```
a/b/index.ts
```
Would be given the name `index` and id of `a/b/index`.
This is not desirable, so the new version of dgeni-packages/typescript
removes this `index` from the id and name, which results in name of
`b` and id of `a/b`.
2017-05-03 13:30:11 -07:00
Peter Bacon Darwin
ca17d4f639
build(aio): auto-fill width/height to all image tags
...
Parse all `<img>` tags, during doc-gen, and insert the width and height of
the sourceed image, if neither are already specified.
Warnings are reported if the `<img>` tag has no `src` attribute or the image
cannot be loaded.
The work is done in the `addImageDimensions` post-processor, which must be
configured with a `basePath` so that it knows where to find the images.
Closes #15888
2017-05-01 15:52:51 -07:00
Peter Bacon Darwin
de25cfc0cb
build(aio): move autolink-headings to post-processing ( #16336 )
...
The autolinking is now done on the `renderedContent` which means it also
captures and autolinks headings that were generated outside of markdown.
PR Close #16336
2017-04-27 23:42:04 -05:00
Peter Bacon Darwin
1ceb2f9c79
build(aio): add new post-process dgeni package
...
This package will allow us to do complex post-processing
on the HTML that is rendered by Nunjucks.
2017-04-27 23:42:04 -05:00
Georgios Kalpakas
2a7f63650c
build(aio): update @angular/service-worker to v1.0.0-beta.10
2017-04-27 10:14:32 +01:00
Pete Bacon Darwin
6bac4e65ce
build(aio): update dgeni-packages to 0.17.2 ( #16358 )
...
This version has fix for the jsdoc parser, which was
causing false negative warnings and errors in the doc
gen.
Closes #16319
2017-04-26 14:53:33 -07:00
Filipe Silva
d7719aa0f5
perf(aio): improve unit test rebuild time
2017-04-24 14:30:16 +01:00
Filipe Silva
bfd5f27525
feat(aio): add e2e ( #15976 )
...
PR Close #15976
2017-04-19 22:36:23 -05:00
Peter Bacon Darwin
1e848d696b
feat(aio): add GH-style anchor links to headings ( #16161 )
...
Closes #16126
PR Close #16161
2017-04-19 22:34:46 -05:00
Jesus Rodriguez
b6ddacdccf
build(aio): add setup script
2017-04-19 13:50:18 +01:00
Jesus Rodriguez
50174d9fb5
build(aio): ability to generate zips
2017-04-19 11:34:39 +01:00