1198 Commits

Author SHA1 Message Date
Tom MacWright
693eb53032 chore(yarn): Update yarn.lock 2018-05-29 10:36:35 -07:00
greenkeeper[bot]
b1b52d2871 chore(package): update p-event to version 2.0.0 2018-05-29 10:36:35 -07:00
Tom MacWright
b27af251d2
chore(release): 7.1.0 v7.1.0 2018-05-26 10:20:41 -07:00
Felix Gnass
46ee751f45 test: flow comment types 2018-05-26 10:17:24 -07:00
Felix Gnass
85d50f9568 feat: support flow comment types 2018-05-26 10:17:24 -07:00
Tom MacWright
976e484b07
chore(release): 7.0.0 v7.0.0 2018-05-21 20:47:32 -07:00
Tom MacWright
4fd776b16a
feat: Auto-detect readme filename
BREAKING CHANGE: the --readme-file option now has a smart default value
2018-05-21 20:44:59 -07:00
Tom MacWright
251650424b chore: Minor refactor of getReadmeFile code 2018-05-21 20:42:52 -07:00
Travis Fischer
0c48198ce2 move readme-file into its own file 2018-05-21 20:42:52 -07:00
Travis Fischer
f70961d8d0 infer readme name instead of defaulting to README.md 2018-05-21 20:42:52 -07:00
Tom MacWright
2b4612a158
chore(release): 6.3.3 v6.3.3 2018-05-14 11:23:44 -07:00
Tom MacWright
4e7673a0b8
chore(package): Update lodash, to keep david-dm from crying wolf about security (#1071)
I’m strongly considering removing David DM, because it yields so many false positives - reports that
only apply in the narrowest circumstances that don’t ever occur in my projects.
2018-05-14 11:22:21 -07:00
Tom MacWright
acb9e344f6
chore(package): update fs-extra to version 6.0.1 (#1070)
* chore(package): update fs-extra to version 6.0.1

Closes #1063

* chore(lockfile): Update yarn.lock
2018-05-14 11:08:57 -07:00
Tom MacWright
82c6de2d4c
chore(package): update flow-bin to version 0.71.0 (#1069)
* chore(package): update flow-bin to version 0.71.0

Closes #1054

* chore: Update yarn.lock

* style: Add new flow annotations required by new version
2018-05-14 10:57:27 -07:00
Tom MacWright
f35068098c
chore(release): 6.3.2 v6.3.2 2018-04-24 13:16:42 -07:00
Tom MacWright
8f9bc7b353
fix(vue): Make vue parser tolerant of components that don't contain scripts (#1061)
Fixes #1060
2018-04-24 13:14:16 -07:00
Tom MacWright
d2516e517d
chore(release): 6.3.1 v6.3.1 2018-04-23 10:53:24 -07:00
Reinier Battenberg
9d7bd2eff6 fix: adding vue support broke tests that are not file based (#1058)
* fix: adding vue support broke tests that are not file based

fix #1057

* Got the tests and code working for supporting non-file documenting

* Added fresh snapshot
2018-04-23 10:53:07 -07:00
Tom MacWright
e5cb9fb6ae
chore(release): 6.3.0 v6.3.0 2018-04-20 11:48:35 -07:00
Tom MacWright
f60d90cf9e
feat: Vue Support
Thanks to @batje, documentation.js now supports Vue! .vue files are parsed for their JavaScript contents by default.
2018-04-20 11:45:14 -07:00
Tom MacWright
542031e06c chore(git): Adjust to new parse-git-url API 2018-04-12 13:01:21 -07:00
greenkeeper[bot]
94a1fb6c2e fix(package): update git-url-parse to version 9.0.0 2018-04-12 13:01:21 -07:00
Tom MacWright
0e23b7cdc0 test: Another tweak to make tests resistant to versioning 2018-04-11 11:51:22 -07:00
Tom MacWright
b92b8acb14
chore(release): 6.2.0 v6.2.0 2018-04-11 10:37:46 -07:00
Bohdan Lyzanets
630625d04e fix: get rid of shelljs dependency 2018-04-11 10:33:25 -07:00
Tom MacWright
b309d39e93 feat(doctrine): Support decorator syntax in examples
Support decorators is an unspecified part of JSDoc: we're just going forward and implementing a new
syntax here because it's unlikely that JSDoc will move fast enough.

Fixes #1016
2018-04-11 10:33:09 -07:00
Tom MacWright
22d8740c23 feat(inferTypes): Support class properties
Previously we did not properly infer params on methods that were located on class properties. This
changes things so that we do. It carefully tries to avoid messing up the existing support of class
type annotations, which are similar to class properties at the AST level, but do not have an
associated node, only a type alias.

Fixes #1043
2018-04-11 10:16:38 -07:00
Tom MacWright
0d629d6dec test: Update Flow annotations for improved analysis 2018-04-11 09:34:40 -07:00
Tom MacWright
c411f00447 chore: Update lockfile for new flow 2018-04-11 09:34:40 -07:00
greenkeeper[bot]
b55e68ec84 chore(package): update flow-bin to version 0.69.0
Closes #1037
2018-04-11 09:34:40 -07:00
Tom MacWright
6bf3f9716d
test: Make tests resilient between versions: no more annoying chores (#1045) 2018-04-11 09:10:07 -07:00
Tom MacWright
3a6aba8b15
chore(release): 6.1.0 v6.1.0 2018-03-07 16:14:53 -08:00
Tim De Pauw
4ed5edf88d feat: Support class property @type tag (#1028) 2018-03-07 16:12:17 -08:00
Maciej Kasprzyk
99ad49b833 fix: lends with object property using literal key (#1035) 2018-03-03 17:25:51 -08:00
Tom MacWright
e1528c4ace
chore: update tests for new version 2018-03-02 08:18:30 -08:00
Tom MacWright
4e322fdace
chore(release): 6.0.0 v6.0.0 2018-03-01 22:28:17 -08:00
Tom MacWright
23315346a4
chore: update tests for last version 2018-03-01 22:25:00 -08:00
Tom MacWright
ccce516b49
feat: documentation.js now requires node v6 or newer. (#1034)
BREAKING CHANGE: documentation.js requires node v6 or newer.
2018-03-01 22:19:53 -08:00
Tom MacWright
6d5972ecf9
chore(release): 5.5.0 v5.5.0 2018-03-01 21:56:42 -08:00
Tom MacWright
5067ee09fd
fix: Make documentation.js compatible with node 4.x for one more version (#1033)
After a release containing this commit is rolled, documentation.js will
go to 6.x and will require Node > 6.x
2018-03-01 21:56:03 -08:00
Tom MacWright
d2006d1486
chore(package): update flow-bin to version 0.66.0 (#1032)
* chore(package): update flow-bin to version 0.66.0

Closes #1011

* chore: update yarn.lock
2018-03-01 21:38:41 -08:00
greenkeeper[bot]
b069f08c92 Update lint-staged to the latest version 🚀 (#1019)
* chore(package): update lint-staged to version 7.0.0

* chore: update yarn.lock
2018-03-01 21:24:40 -08:00
Tom MacWright
ab494dd1b3
feat: use reference links for Markdown output, improving brevity
* Use reference links in Markdown.

Fixes https://github.com/documentationjs/documentation/issues/948.

This approach might be problematic when inserting markdown under a readme heading if the readme already has link references with conflicting ID’s.

* Reference links edits:

- fix broken normalize() utility in test suite so that it produces
  output that doesn't choke referenceLinks.
- add DocumentationConfig option `--noReferenceLinks` which will be
  **internal only**, and turns off reference links for `readme` mode
- rebuilds test output with these changes

unrelated but minor

- includes .prettierrc and updates calls to prettier to use that instead
  of CLI options

* chore: update test snapshots

* Update readme snap
2018-03-01 15:18:20 -08:00
Anatoly Bubenkov
64f660dc87 feat: Support --shallow argument for lint command. Closes #956 (#995) 2018-03-01 12:07:44 -08:00
Bob Lannon
37a91b2199 fix: github links for @typedef comments should link to comment, not context (#1024)
* github link to typedef points to comment lines

* adding test for typedef github links

* adding comment.loc for flow check

* reverting to original formatting

* use afterEach to restore mock even if tests fail

* fixing line numbers in expected value
2018-03-01 12:01:35 -08:00
Taylor Ackley
43682b20f8 docs: Update THEMING.MD (#1026)
* Docs: Update THEMING.MD

Add instructions to effectively fork the default theme for the purpose of creating and using your own custom theme.

* Docs: Revise THEMING.MD per Pull Request Feedback

Chanted the script line example to use documentation instead of referring to the node_modules bin folder.
2018-03-01 09:07:23 -08:00
Jayden Seric
b8a7e0ddc2 feat: Support the .mjs extension by default. (#1023)
Fixes https://github.com/documentationjs/documentation/issues/1022.

`.mjs` is ordered before `.js` as that is the resolution order in other tools such as Webpack v4.
2018-03-01 09:06:49 -08:00
John Firebaugh
487336fcd8 chore: Update tests for release (#1017) 2018-02-20 15:49:04 -08:00
Karna
5236ddf3a0 docs: Improve README
* Update to README.md

Few changes of corrections and fixes here and there!

* Updated

Changes requested accordingly, my apologies.

* Update README.md

Amended
2018-02-14 16:06:59 -08:00
Tom MacWright
99f4236029
chore(release): 5.4.0 v5.4.0 2018-02-10 13:13:43 -08:00