27 Commits

Author SHA1 Message Date
Pete Bacon Darwin
34b74cecb6 build(docs-infra): add a tool to create new examples ()
This tool can be run from anywhere in the aio folder as:

```sh
yarn create-example <example-name>
```

It will create some basic scaffold files to get the example started.
After creation the developer should then use `yarn boilerplate:add`
or similar to ensure that the example can be run and tested.

You can optionally provide an absolute path to a pre-existing CLI
project and it will copy over appropriate files (ignoring boilerplate)
to the newly created example.

```sh
yarn create-example <example-name> /path/to/other/cli/project
```

Fixes 

PR Close 
2020-10-16 08:14:38 -07:00
George Kalpakas
c5e178997c build(docs-infra): update docs examples to Angular v10 ()
This commit updates the docs examples to Angular v10.1.3. In addition to
updating the dependencies versions, it also updates the project's
structure and config to more closely match what a new v10 CLI app would
look like. See, also, the [diff][1] between a basic v9.1.4 CLI app and a
v10.1.3 one.

[1]: https://github.com/cexbrayat/angular-cli-diff/compare/9.1.4..10.1.3

PR Close 
2020-09-28 16:24:59 -04:00
George Kalpakas
65da87722d fix(docs-infra): include .gitignore file in CLI-based docs examples ()
Previously, the `.gitignore` file that is part of the boilerplate files
for CLI-based docs examples (located in
`aio/tools/examples/shared/boilerplate/cli/`) was not added to the
example projects, because it was not included in the boilerplate file
list in `example-boilerplate.js`.

This commit fixes it by adding the `.gitignore` file to the list. This
ensures that docs examples more closely match CLI-generated projects.

PR Close 
2020-07-22 10:15:09 -07:00
George Kalpakas
ec5c108b60 refactor(docs-infra): update universal example to match latest CLI ()
Update the `universal` example (and related files) to match what would
be generated by the latest CLI.

Fixes 

PR Close 
2020-04-16 09:43:41 -07:00
Brandon Roberts
661a57d9e2 docs: update docs example dependencies to version 8 ()
PR Close 
2019-05-17 14:16:55 -07:00
Judy Bogart
bc99b774ba docs: add schematics guide ()
PR Close 
2019-03-19 15:47:14 -04:00
Brandon
99e3a04ea2 ci(docs-infra): test docs examples with Ivy ()
PR Close 
2019-02-11 17:16:52 +00:00
George Kalpakas
941d2cdaaf test(aio): fix upgrade-phonecat examples e2e tests ()
Closes 

PR Close 
2018-06-25 09:30:46 -07:00
Brandon Roberts
2278fe8f0e docs(aio): Upgrade examples to Angular 6 ()
PR Close 
2018-04-17 14:09:02 -07:00
Jesus Rodriguez
1a75934cc0 build(aio): migrate plunker to stackblitz ()
PR Close 
2018-01-23 21:30:27 -08:00
Jesus Rodriguez
c30eff898a docs(aio): update universal for CLI
PR Close 
2017-11-01 15:18:43 -07:00
Ward Bell
555b1cdf29 docs: add universal guide with production client app ()
Revises both universal and client build to use AOT and webpack for both.
Guide text adjusted accordingly
Dodges CLI client build, expected in near future.

PR Close 
2017-10-09 14:46:04 -07:00
Ward Bell
0b0d25fa33 docs: add universal guide ()
- based on original effort in PR 17573

PR Close 
2017-10-09 14:46:04 -07:00
Peter Bacon Darwin
9fe6363575 docs(aio): fix aot-compiler example to work with Angular v5 ()
PR Close 
2017-10-06 11:56:41 -07:00
Jesus Rodriguez
9bbf009dff build(aio): change examples to CLI ()
PR Close 
2017-09-21 17:05:54 -07:00
Ward Bell
697c6ed0fe docs: remove TypeScript to JavaScript guide & sample 2017-08-15 16:31:31 -07:00
Peter Bacon Darwin
c383048259 build(aio): ignore generated aot files
Assets such as images and data which are generated
by the aot build were not being ignored.
2017-07-28 15:28:28 -07:00
Peter Bacon Darwin
12c5ead39c docs(aio): do not ignore i18n example js file 2017-06-09 14:33:21 +01:00
Jesus Rodriguez
734f30d14c build(aio): ignore .ngsummary.ts files in examples 2017-06-05 11:12:59 -07:00
Ward Bell
93516ea8a1 docs(aio): rename cb- files and a few others 2017-04-24 14:00:51 +01:00
Jesus Rodriguez
a54fe634ee docs(aio): move file to the right folder 2017-04-20 16:02:07 +01:00
Filipe Silva
bfd5f27525 feat(aio): add e2e ()
PR Close 
2017-04-19 22:36:23 -05:00
Jesus Rodriguez
061475402c docs(aio): final migration from old site 2017-04-12 21:01:55 +01:00
Jesus Rodriguez
0e38bf9de0 build(aio): new migration 2017-04-03 15:41:05 -07:00
Peter Bacon Darwin
2d14c3b17a docs(aio): ensure blank lines before HTML blocks in markdown 2017-03-31 08:05:33 +01:00
Peter Bacon Darwin
fd72fad8fd docs(aio): update migrated content from anguar.io 2017-03-28 10:21:46 +01:00
Peter Bacon Darwin
1f3198cb50 feat(aio): copy example code from angular.io 2017-02-23 23:23:58 -08:00