Commit Graph

82 Commits

Author SHA1 Message Date
Patrice Chalin 67ee007fb0 chore(docs build): add flag to control log output level
closes #1823

Gulp targets like `check-deploy` and `serve-and-sync-devguide` are
quite verbose. This PR allows the `dgeni` logging level to be
controlled using the `--dgeni-log` flag. E.g., use `--dgen-log="error"`
to see only errors.

Also sets log level to "error" when gulp is silent
and log level for createShredMapPackage
2016-07-05 23:14:43 -07:00
Patrice Chalin 1b58a86ced chore(gulp): lint should ignore dart build directories 2016-06-30 11:50:28 -07:00
Filipe Silva 560bf2be6c chore: optimize gulp watchers
Reduce amount of watchers for `gulp serve-and-sync-devguide` by roughly 50% (~4900-ish to ~2500).

This should help with the 100% CPU usage #1082, on my machine it went from ~90% to ~50%.

At the end of the day we're still watching an insane amount of files, so it is a demanding process. Maybe using better watcher libs would also help.
2016-06-20 16:55:21 -07:00
Patrice Chalin 2739fb11a5 chore(gulp): don't symlink node_modules for dart examples
Oups, missed this earlier.
2016-06-15 15:30:48 -07:00
Foxandxss 34447904b9 make the example lintable 2016-06-15 15:14:45 -07:00
Filipe Silva 49a7bc3860 chore: Partition example shredder to do one directory at a time
also exclude /dist/ folder and exclude _examples from jade shredder
closes #1661
2016-06-13 22:20:45 -07:00
Patrice Chalin 5adbfb9502 chore(ignored/boilerplate files): cleanup
closes #1646
2016-06-13 11:33:12 -07:00
Foxandxss 4dcea96b6d chore: better protractor task
closes #1641
2016-06-13 10:39:51 -07:00
Patrice Chalin e6643b0869 chore(gulpfile): don't watch generated dart packages (#1601) 2016-06-08 08:54:43 -07:00
Foxandxss fb49cbe33f docs(cli-quickstart): add cli 5 min quickstart
closes #1606
2016-06-07 18:51:27 -07:00
Foxandxss f3205f5beb chore: first sweep on linting the codebase
closes #1616
2016-06-07 16:45:13 -07:00
Foxandxss 21d74d531a chore: update all packages to latest versions
closes #1607
2016-06-06 12:24:25 -07:00
Foxandxss 90b1e0be8d chore: fix git-changed-examples
closes #1585
2016-06-04 01:19:40 -07:00
Ward Bell 41947cbd1f chore: fix gulp serve-and-sync tasks and many broken example links
The serve-and-sync tasks wait for `_copy-example-boilerplate` to finish
Differentiates app compile, spec compile, and test failures
StyleGuide (for documentators) up-to-date
2016-06-01 16:17:06 -07:00
Ward Bell b2262c2bc9 chore: updated broken-link-checker package and tweaked logging. 2016-06-01 00:12:51 -07:00
Ward Bell 8a5df4cfa9 chore: support e2e-specs written in TypeScript
Update gulpfile and project to add a tsconfig to protractor test folders
Change all sample e2e-spec.js -> e2e-spec.ts
Split typings between e2e-spec & app code
Use same config for all e2e tests
Only 1/3 e2e specs truly converted.
Most don't pass because they fail TS transpile by Protractor due to missing type annotations
2016-05-31 22:03:13 -07:00
Eric Jimenez d12b74d244 fix(gulp): rename angular2 to @angular, fixes api doc examples 2016-05-26 09:22:25 -07:00
Filipe Silva 6c797d752a chore(travis): add Travis CI
closes #1526
2016-05-25 16:47:30 -07:00
Ward Bell e188e472f1 docs(e2e-tests): improve gulp e2e tasks and fix samples that were failing 2016-05-20 20:33:38 -07:00
Patrice Chalin 6751f779d0 test(e2e/dart): add support for Dart e2e testing
closes #1369
Add `--lang` option whose values are any combo of `(ts|js|dart)`
default is `(ts|js)`
`--lang=all` runs all language tests;
2016-05-17 10:31:49 -07:00
Foxandxss 773afc5f17 chore: make protractor report failed suites
closes #1242
2016-05-10 17:08:28 -07:00
Patrice Chalin 55bec4a097 chore(gulpfile): don't watch the dart build folder (#1344) 2016-05-10 13:17:10 +01:00
Ward Bell 3d5302adce chore: update to rc.0 2016-05-02 19:57:28 -07:00
John Papa d5e909bde0 docs(style-guide): add style-guide - v.4 2016-04-28 00:52:20 -07:00
Ward Bell e1862887ae docs(testing): more testing samples and infrastructure setup
added wallaby config; revised karma-test-shim
2016-04-22 13:24:44 -07:00
Ward Bell 7fdb40caa3 chore: replace VSCode-specific settings.json with broadly recommended .editorconfig
closes #1022
2016-04-05 10:15:27 -07:00
Torgeir Helgevold c1f2c397ff docs: add DI cookbook 2016-04-05 10:15:18 -07:00
Filipe Silva 3ec0e7147b fix(e2e): fix race condition 2016-04-02 15:08:48 -07:00
Ward Bell 1a154daa2e chore: add gulp link-checker task
also fix some of the broken links that it found
2016-03-10 23:53:43 -08:00
Ward Bell ad7f172ea5 docs: share 'styles.css' across all samples all langs; fix styles 2016-02-28 12:47:01 -08:00
Ward Bell d401716fc2 chore(gulpfile): ensure NODE_ENV=production before running harp 2016-02-16 17:52:25 -08:00
Ward Bell 8c291ab760 chore: exclude all fragment files from shred watchers
closes #845
Faster authoring process although must kick the browser more frequently with F5 because the refresh timing isn't quite right.
2016-02-16 10:21:43 -08:00
Ward Bell 79d251cfad devtools: fix jade-shredding watch exclusions 2016-02-15 18:40:25 -08:00
Jay Traband 3926d4202f chore: move jade fragments into separate _fragments subdirs.
closes #842
2016-02-15 13:31:08 -08:00
Ward Bell 3d992384c3 chore(devguide/ts): to beta.6 + typings + related doc updates 2016-02-12 00:56:22 -08:00
Jay Traband 59204bfbc8 chore(tooling): Fix for jade shredding thrashing
closes #731
2016-01-21 22:32:01 -08:00
Jay Traband 45ac0ee37d docs(tooling): new mixin for sharing jade files
merges #725
2016-01-19 15:43:47 -08:00
Jay Traband a53bfbc0c1 chore(harp compile): Fix for issue with harp compile not being able to coexist with large node_modules
closes #670
+ added support for making harp compile errors visible when running check-deploy task.
2016-01-08 18:47:46 -08:00
Jay Traband a5067e6bab chore(testing): e2e testing improvements; more devguide sample tests
closes #643
2016-01-04 11:23:48 -08:00
Jay Traband 872064e12e feat(e2e testing): testing framework + initial tests
close #604
2015-12-30 17:58:09 -08:00
Jay Traband cabec9c458 fix gulp check-deploy to run build-docs first 2015-12-14 23:14:30 -08:00
Jay Traband 296b501483 chore(devguide-tooling): add enforce-example-boilerplate gulp task
closes #485 and 479
removal all package.json from _example subdirs and add an example-config.json to each. Update add-example-symlinks to use new fns
updated gitignore, package.json
add tests to QuickStart
2015-12-12 13:57:18 -08:00
Jay Traband acb2dab91e chore(devguide-tooling): node_modules symlinks caused globbing problems for harp
closes #466
2015-12-10 01:16:36 -08:00
Peter Bacon Darwin 9c79be52c0 chore(doc-gen): generate the dart cheatsheet as part of `build-api-docs` 2015-12-09 17:19:29 +00:00
Peter Bacon Darwin 8459a4dd5c chore(doc-gen): allow dart cheatsheet to be generated 2015-12-08 17:31:53 -08:00
Jay Traband 0018e75d01 chore(devguide-tooling): node_modules symlink support for _examples and subdirs
closes #450.  READ COMMENTS IN PR450 FOR INSTRUCTIONS ON USAGE
We'll put these instructions some place better soon.

Also replace globule with globby ( perf issues) and explicitly exclude node_modules where possible.
Updated _examples/package.json for latest 3rd party libs (e.g. alpha.48) and
updated template-syntax/ts/package.json to be a prototypical example
2015-12-08 14:27:39 -08:00
Jay Traband f19e2f44ed chore(gulpfile): add gulp serve-and-sync-devguide task
closes #431
2015-12-01 13:21:17 -08:00
Jay Traband b06f2dcec6 (fix) plunker generation fixes
closes #424
plnkr - change plnkr.config -> plnkr.json and change output paths and names
update jade plunkers to new 'resources/live-examples' path + minor cleanup
update gulpfile to run build-plunkers as part of build-docs.
2015-11-30 21:00:02 -08:00
Jay Traband 4bbd9784ef dev-tooling: add plunker generation from _examples
closes #408, Dev Tooling 15
2015-11-25 12:23:14 -08:00
Peter Bacon Darwin 40d528b9de chore(gulpfile): use `gulp.watch` rather than `gulp-watch`
closes #371

This change makes the exclude (ignore) paths work properly.
Unfortunately this will not pick up "new" files that are added after
the watch has begun. Once gulp 4.0 is released, this will be fixed.
2015-11-14 12:53:44 -08:00