Commit Graph

92 Commits

Author SHA1 Message Date
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
Peter Bacon Darwin 700b8e446a chore(gulpfile): ignore `node_modules` folders in examples
This should speed up watching as it is unusual to update files in these
folders during normal development.

If you do change files in an example `node_modules` folder then you must
restart the gulp task to trigger the shredder and reload.
2015-11-14 12:53:24 -08:00
Peter Bacon Darwin eb7533a6ef chore(gulpfile): ignore `node_modules` folders in examples
This should speed up watching as it is unusual to update files in these
folders during normal development.

If you do change files in an example `node_modules` folder then you must
restart the gulp task to trigger the shredder and reload.
2015-11-14 12:53:22 -08:00
Peter Bacon Darwin aa5767d38c chore(gulpfile): use `gutil.log` rather than `console.log` 2015-11-14 12:53:21 -08:00
Peter Bacon Darwin cd063b9188 chore(gulpfile): add 500ms read delay on all watches 2015-11-14 12:53:19 -08:00
Peter Bacon Darwin eddf5e7cf1 chore(gulpfile): refine the tasks for watching and synching 2015-11-14 12:53:19 -08:00
Peter Bacon Darwin 021c12d58a chore(gulp): re-enable browsersync watching for non-API files 2015-11-13 07:27:53 +00:00
Peter Bacon Darwin ebad24e94b chore(gulpfile): improve serve-and-sync task
Remove the `browserSync` watch as we are manually reloading the browser
when our own watchers complete.
Ensure that the API watcher actually triggers the browserSync reload.
2015-11-12 11:25:18 +00:00
Peter Bacon Darwin b68ef96472 api-builder: add target package 2015-11-07 09:30:55 +00:00
Peter Bacon Darwin 75d4cf86ec gulpfile: remove unused (and invalid) `_build-shred-maps` task 2015-11-06 21:46:44 +00:00
Peter Bacon Darwin 3e7f837f1a refact: complete move of libraries from `public` to `tools` folder 2015-11-04 11:20:47 +00:00
Jay Traband 53323851f8 exclude top level index.jade from being copied when generating api docs. 2015-10-27 20:37:14 -07:00
Jay Traband 9500a123f5 Work on zipping folders based on zipconfig.json files. Also involves refactoring of doc-shredder. 2015-10-27 09:35:37 -07:00
Jay Traband 0815895e8a reduce nodegit dependency to just those tasks that need it. 2015-10-16 18:17:36 -07:00
Jay Traband 680c9740f2 remove gulp 'serve-and-watch' ( never used) and replace it with a more useful 'build-and-serve' 2015-10-16 18:17:36 -07:00
Jay Traband b65d0e530b exclude /packages/ folders from shredding 2015-10-15 12:08:55 -07:00
Jay Traband a2fa48d0b4 check-deploy gulp task now builds all docs before deploying. 2015-10-10 09:04:27 -07:00
Jay Traband bb19588676 insure that the api docs appear under both public/docs/JS/latest and public/docs/TS/latest 2015-10-02 10:08:21 -07:00
Jay Traband 4f77b10a3c check-deploy task now can actually deploy 2015-09-28 11:14:12 -07:00
Jay Traband d0bfed6c98 updated so that all command executions use local npm packages. ( and added live-server). 2015-09-25 02:21:56 -07:00
Jay Traband 22c7b5cd25 added check-deploy gulp task 2015-09-25 01:28:36 -07:00
Jay Traband 6f6e83722e squashed commits for PR 222 from jtraband
- add warning when bad example tag is encountered.
- shredding for api docs + refactoring of gulpfile to clarify task names.
- added top level gulp tasks + error handling cleanup
- added test-api-builder gulp task
- added warning messages during build-shred-map processing
- mixin signature change
- updated styleguide ... continued.
- added @exampleTabs inlinetag support + refactoring shared services between @example and @exampleTabs
- added new inline tag @linkDevGuide + cleanup
- added angular source watch logic for serve-and-sync and source for examples changed from test -> examples + cleanup
- promisify del
- styleguide explanation of @example, @exampleTabs and @linkDevGuide
2015-09-23 14:04:58 -07:00
Jay Traband a30fddadd0 cleanup of shred-map logic to accommodate new api doc build 2015-09-18 13:27:39 -07:00
Jay Traband af3aacde19 remove basePath from docShredder options. Not useful and confusing when examplesDir and fragmentsDir don't share a basePath ( as when used for api shredding) 2015-09-18 13:27:38 -07:00
Jay Traband 44d066f14c cleanup 2015-09-18 13:22:33 -07:00
Jay Traband 3f6a9833dd fix merge conflict 2015-09-18 13:21:38 -07:00
Jay Traband 3d997d2994 Initial pass at moving api doc builder over to angular.io 2015-09-18 13:18:53 -07:00
Jay Traband a9e96389c0 json shredder/extract handling
style guide docs for makeJson
remove dups in git-changed-examples
support for git-changed-examples --after
file pattern exclusion for git-changed-examples
2015-09-18 13:18:50 -07:00
Jay Traband 50e758ba60 improved infrastructure for devguide and revised getting started (TS) 2015-09-10 13:32:57 -07:00
Jay Traband 64ea3b6f9a First pass at build-shred-map complete 2015-08-13 15:39:16 -07:00
Jay Traband 9b61d586bf added browser-sync, modified shred-single-dir in doc-shredder to return a promise, updated readme. 2015-08-13 15:39:13 -07:00
Jay Traband d9089f215c shred and watch build tooling - v2 ( dgeni, gulp, jade) 2015-08-07 14:49:35 -07:00
Jay Traband 7e6ff558e3 shred and watch build tooling ( dgeni, gulp, jade) 2015-08-07 14:49:35 -07:00