Commit Graph

235 Commits

Author SHA1 Message Date
Filipe Silva 338e9e9438 docs: update to Angular 4.0 (#3415) 2017-03-23 19:50:10 -07:00
Jesús Rodríguez 77af42dba9 chore: fix broken merge (#3420) 2017-03-24 00:20:04 +01:00
Jesús Rodríguez 38f823e357 chore: better package.json for zipper (#3344) 2017-03-24 00:12:19 +01:00
Jesús Rodríguez d231f82b4a tool(zipper): add support for the moduleId loader (#3394) 2017-03-19 21:24:24 +01:00
Jesús Rodríguez e6741efd8f chore: remove moduleId from examples (#3362)
* chore: remove moduleId from examples

* add support for testing and plunkers

* delete component-relative cookbook

* latest touches

* ward teaks and travis fixes

* fix typo in style-guide
2017-03-14 12:30:37 +01:00
Pete Bacon Darwin 0cc9ad2acd fix(api-builder): tighten up check for decorator (#3369) 2017-03-12 12:52:06 -07:00
Ward Bell 56ed772b39 fix(zipper): add ‘use strict’ to exampleZipper.js (#3327)
To beat error “SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode”
2017-03-01 14:53:23 -08:00
Jesús Rodríguez e8a062bdd2 build: zipper revival (#3319) 2017-02-28 23:31:24 +01:00
Jesús Rodríguez dbe7d70bbf chore: refactor plunker translators with a new systemjs one (#3221) 2017-02-28 23:18:04 +01:00
Jesús Rodríguez 044a0c6e5f chore: add systemjs.config.js back to plunkers (#3219)
* chore: add systemjs.config.js back to plunkers

* remove the non needed options from plnkr.json as well
2017-02-13 15:32:38 -08:00
Jesús Rodríguez f5271d71f1 chore: update date for plunkers (#3218) 2017-02-13 15:31:51 -08:00
Jesús Rodríguez 61f46d29b7 chore: remove stale plunkerBuilder (#3217) 2017-02-13 15:31:21 -08:00
William KOZA d6a91c6bb5 API(template class) : Add space after static keyword (#3131) 2017-02-09 09:42:19 -08:00
Filipe Silva 1101f07ef2 refactor: add src folder (#3171)
* boilerplate, gulpfile, quickstart

* move ts files up to cookbooks

* move rest of ts files

* fix tsconfig, default build task, json file

* fix js examples

* fix webpack example

* remove a2docs.css references

* fix aot examples

* fix webpack run task

* fix cb-i18n

* fix upgrade examples

* fix unit tests

* fix comment in deployment index

* removed unused typings.json

* fix plunkers

* fix js example paths

* fix ts quickstart/setup prose

* add src folder note to setup

* broadly replace app/ -> src/app/

* broadly replace main.ts

* broadly replaced index.html

* broadly replace tsconfig

* replace systemjs

* fix filetrees

* Minor prose fixes to aot, i18n cookbooks

* remove char harp was complaining about

* update new reactive forms example

* fix quickstart jade error

* fix mistakes uncovered by CI

* fix bad filename errors

* edit style guide 04-06 rule to use src

* add changelog

* Incorporate Jesus's feedback

* fix snippet headers in toh1/2

* chore: tweak changelog and setup text
2017-02-02 19:38:17 +01:00
Ward Bell de4903be56 chore: Angular 1 -> AngularJS / Angular 2 -> Angular (#3143)
* chore: Angular 1 -> AngularJS / Angular 2 -> Angular

* Jesus' tweaks
2017-01-26 12:26:11 +01:00
William KOZA 30e44ad2f8 chore: update copyrights in docs to 2017 (#3067) 2017-01-05 15:14:32 -08:00
Filipe Silva 0f3d5810a8 chore(deps): remove reflect-metadata (#3058)
Blocked on https://github.com/angular/in-memory-web-api/pull/86

As per https://github.com/zloirock/core-js/issues/152, `core-js` already includes `reflect-metadata`.
2017-01-02 21:15:24 +00:00
Filipe Silva 07b8e2bbf1 build(plunkers): don't emit AoT files (#3035) 2016-12-27 13:19:38 +00:00
Jesús Rodríguez e4eb75502d chore: update to 2.4.0 (#3016) 2016-12-21 21:39:40 +00:00
Pete Bacon Darwin 81bc9feca6 Fix display of heritage (#2792)
* style(matchUpDirectiveDecorators): fix linting errors

* fix(doc-gen/templates): ensure heritage is displayed
2016-12-14 11:17:37 -08:00
Patrice Chalin 5ea668c1da chore(dart): drop api and cheatsheet scripts and gulp tasks (#2970)
* chore(dart): drop the tools/dart-api-builder

* chore(gulp): remove Dart cheatsheet and api tasks

* chore(tools): remove tools/api-builder/dart-package

* chore(gulp): drop pub task
2016-12-14 17:33:31 +01:00
Ward Bell 0d5073e74b chore(plunker): substitute systemjs.config.extras.web.js for systemjs.config.extras.js (#2968)
Solves sudden problem with plunker not handling the non-plunker version
Also switch from `pluck` to `map` because `pluck` typing stopped working.
2016-12-13 20:57:47 -08:00
Filipe Silva 1a5f4f4907 chore: update to 2.3.0 (#2942)
* chore: update to 2.3.0

* add 2.3.0 versions in package.json

* update _data.json

* update angular-in-memory-web-api
2016-12-08 00:10:39 +00:00
Ward Bell 695df67929 docs(testing): simplify and accelerate path to Angular component testing (#2879)
Rob Wormald recognized that we had no plunker for a simple component test. Inspired improved learning path for testing including:
* Add plunkers for both inline and external template versions of  the simplest `BannerComponent`
* Added the banner-specs for that purpose and also a quickstart-specs in the setup folder
* Adjusted prose in testing and setup-systemjs-anatomy to call these out
* Moved testing of external template spec earlier in the guide because it is likely to be needed right away.
* Add comments on the optional "testing" folder and corrects var names to match
* Leaves Jasmine Spec Runner output visible when tests finish
2016-12-05 11:46:53 -08:00
Patrice Chalin ab988b4e22 Dart upgrade to 2.2.0
```
Suites passed:
  public/docs/_examples/architecture/dart
  public/docs/_examples/attribute-directives/dart
  public/docs/_examples/dependency-injection/dart
  public/docs/_examples/displaying-data/dart
  public/docs/_examples/forms/dart
  public/docs/_examples/lifecycle-hooks/dart
  public/docs/_examples/pipes/dart
  public/docs/_examples/quickstart/dart
  public/docs/_examples/server-communication/dart
  public/docs/_examples/template-syntax/dart
  public/docs/_examples/toh-1/dart
  public/docs/_examples/toh-2/dart
  public/docs/_examples/toh-3/dart
  public/docs/_examples/toh-4/dart
  public/docs/_examples/toh-5/dart
  public/docs/_examples/toh-6/dart
  public/docs/_examples/user-input/dart
All tests passed

Elapsed time: 1355.134 seconds
```
2016-12-01 08:12:43 -08:00
Patrice Chalin 56e6513659 docs(dart): upgrade to 2.1.1 (#2893)
* update docs home banner

* update example and main repo pubspec.yaml files

* update shredder tests

(Not strictly necessary, but avoids tripping regex triggers when doing
updates.)
2016-11-29 09:36:19 -08:00
Ward Bell ec2e6cb2c7 [WIP] docs(quickstart): QuickStart reboot (#2762) 2016-11-21 17:36:16 -08:00
Ward Bell a7525721c0 Revert "[WIP] docs(quickstart): QuickStart reboot (#2762)"
This reverts commit 8ccc33e6ff.
2016-11-21 17:29:00 -08:00
Ward Bell 8ccc33e6ff [WIP] docs(quickstart): QuickStart reboot (#2762) 2016-11-21 17:13:21 -08:00
Ward Bell 66dc8afcec chore(plunker-builder): don't strip `import ('app')` from index (#2843) 2016-11-20 23:25:09 -08:00
Ward Bell b3c65a9a93 docs(systemjs.web): auto-bootstrap option that creates its own AppModule and boots it. (#2833)
For specific plunkers, e.g. "QuickStart (reboot edition)" PR #2762, that shouldn't have AppModule or main.ts
Rescinds the automatic bootstrapping and exclusion of `main.ts` in #2786 and #2756
Only autoBootstraps when `window.autoBootstrap === true`.
2016-11-18 20:29:05 -08:00
Patrice Chalin f993315931 chore(dart): complete the renaming of "Angular 2" to "Angular" (#2820)
Contributes to #2407

- Dropped the “2” in “Angular 2” and “angular2_*” where appropriate.
- Did a partial sync of `_cache/guide/pipes.jade`
- In quickstart, changed `Try changing the message to "Hello Angular
2!”` to `Try changing the message to "Hello Again Angular!”`.
2016-11-17 14:10:28 -08:00
Jesús Rodríguez 43457e9765 chore: add upgrade/static to API reference (#2755) 2016-11-14 21:38:49 +01:00
Filipe Silva 12eb19fa3c feat(cb-ts-to-js): add es6 examples
update docshredder to shred .es6
optimized focus gulp task
convert imports and metadate sections
add DI section
add host and query metadata section
add intro
fix capitalization and grammar
2016-11-11 19:44:17 -08:00
Jesús Rodríguez 7619cdf4a4 chore: ability to open a plunker on a specific file (#2778) 2016-11-10 14:47:30 -08:00
Jesús Rodríguez f92983cc6f docs(ngmodule): fix plunkers (#2786) 2016-11-10 14:44:51 -08:00
Ward Bell 8fafa8a01e docs(plunkers): prepare plunkers for the quickstart reboot (#2759)
* plunker builder removes files and scripts not needed in plunkers (e.g., systemjs.config.js)
* no longer adds placeholder README.md (deemed a distraction)
* tag is now "Angular" instead of "Angular2"
* new plnkr.json "includeSystemConfig" option adds systemjs.config.js back; needed for testing plnkrs.
* incidentally changes comment "Polyfill(s)" to "Polyfills" in all index.html
2016-11-05 12:53:47 -07:00
Ward Bell 74ef87feac docs: systemjs.config.plunker -> systemjs.config.web w/ auto-bootstrap (#2756)
see PR #2756
2016-11-04 21:59:51 -07:00
Jesus Rodriguez 2649647ecb chore: add upgrade/static to API reference 2016-11-05 00:37:47 +01:00
Patrice Chalin a3466b9cd3 chore: don't shred _boilerplate files nor dart build files (#2747) 2016-11-04 15:06:13 +00:00
Ward Bell e9d78133e1 docs(testing): revert to jasmine v.2.4.1 (#2697)
Bug in Jasmine v.2.5.x.  Stick with v.2.4.1 (as karma-jasmine does) until the following issue is resolved:
https://github.com/jasmine/jasmine/issues/1231

Unfortunately, there is no `@types/jasmine` for v.2.4 but only for v.2.5.
2016-10-29 23:53:21 -07:00
Jesús Rodríguez 323becee32 chore: remove bootstrap package (#2691) 2016-10-29 10:44:57 -07:00
Filipe Silva 4c85f0a91d chore: update to 2.1.1 (#2650) 2016-10-21 22:31:09 +01:00
Filipe Silva 0d49fecd30 chore: update to @types (#1872)
* chore: update examples to @types
* fix toh-6 aot and add types link
2016-10-20 17:01:16 -07:00
Patrice Chalin 75f37b76eb chore: Dart API doc gen cleanup and refactoring (#2641)
- gulp task: don’t copy over internal libraries.
- Adjust anchor hrefs rather than use `<base href>` in generated API
pages. The net effect is the same.
2016-10-20 22:29:08 +01:00
Filipe Silva 19a9e355a1 fix(plunkers):use correct tsconfig (#2611) 2016-10-15 15:29:32 +02:00
Filipe Silva 5042b3021c chore(test): add protractor4 (#2233)
* chore(test): add protractor4

* fix lint, remove boilerplate files, fix less gen

* separate scripts between package.json

* ignore a2docs.css in boilerplate

* remove tslint in _examples
2016-10-06 15:25:52 -07:00
Patrice Chalin db6625eb30 Fix dartdoc styles and prep layout for ng2 pages (#2530)
- Use custom bootstrap grid system styles
- Cache a copy of the dartdoc static-assets styles.css w/ footer styles
disabled.
- Alternate page layout controlled by jade2ng harp global
2016-10-03 14:58:50 -07:00
Jesús Rodríguez fe220a5cab chore: fix zone.js for plunkers (#2421) 2016-09-21 14:19:22 +02:00
Ward Bell 03680e23bb chore: more "angular2" to "angular" cleanup (#2417) 2016-09-20 11:37:16 +02:00