69 Commits

Author SHA1 Message Date
Guillaume Grossetie
344e8045ff fix: upgrade git-url-parse to fix a parsing issue (#1296) 2019-11-04 08:51:28 -08:00
Vladimir Agafonkin
ec36b41aa9 feat: Add git submodules support to github linking (#1270)
* add git submodules support in github linking

* more reliable submodule origin parsing
2019-07-31 16:40:22 -07:00
Ben Turner
226a666d1e deps: Remove unmaintained dependency: disparity (#1264)
* Remove unmaintained dependency: disparity

The dependency disparity has not been updated for 4 years and is using
a very old version of the diff package which has a security alert.

This alert is not relevant to the current usage of the package, however
it does generate noise when installing. Additionally, it seems unwise to
be relying on unmaintained packages.

This commit replaces disparity with diff and adds some code to color the
output which is based on disparity's logic.

* Use chalk to color diff output instead of ansi-styles
2019-07-16 14:37:41 -07:00
Tom MacWright
4fd8552dbb deps: Upgrade vfile 2019-07-09 21:56:26 -07:00
Tom MacWright
c5af108788 chore(deps): Update husky 2019-04-18 09:47:51 -07:00
Tom MacWright
15235339f3 chore(deps): Update doctrine 2019-04-18 09:47:51 -07:00
Tom MacWright
f3511f9905 chore(deps): Update highlight.js 2019-03-12 11:47:13 -07:00
Joe DeBruycker
04a0a29aa4 chore(deps): update yargs to 12.0.2 (#1214)
Removes potential security vulnerability:
https://snyk.io/test/npm/yargs/9.0.1
2019-03-12 11:41:26 -07:00
Tom MacWright
8ff9331311 chore: Upgrade yarn.lock for test deps 2019-02-25 17:14:21 -08:00
Tom MacWright
f5f042a6a5
chore(deps): Bump highlight.js to known working version (#1210) 2019-02-25 17:08:19 -08:00
Tom MacWright
ccd56b61e7 ci(coveralls): Remove coveralls 2018-12-17 10:29:18 -08:00
Tom MacWright
1ebc48fdaf chore: remove .flowconfig, update yarn.lock 2018-12-09 17:06:29 -08:00
Tom MacWright
c3aaa86dc2
refactor: remove flow and related dependencies, test on 10 not latest, skip slow tests 2018-12-09 16:56:56 -08:00
Conor
7a73be3339 chore: Bumping dependency for Node 10 support (#1186) 2018-11-28 13:56:00 -08:00
Tom MacWright
bd330e08af chore(yarn.lock): Update yarn.lock 2018-10-24 11:07:05 -07:00
greenkeeper[bot]
2aa7b59f7a chore(package): update lockfile yarn.lock 2018-10-24 09:30:08 -07:00
greenkeeper[bot]
372c8caa48 chore(package): update lockfile yarn.lock 2018-09-20 23:25:02 -07:00
Tom MacWright
7ff4399d34 chore: Create and use new sortable deps 2018-09-20 23:22:30 -07:00
Tom MacWright
8c6ea4d7eb chore: upgrade dependencies 2018-09-20 23:22:30 -07:00
Victor
49c0f72793 feat: Babel 7 support
BREAKING CHANGE: This moves documentation.js to Babel 7. From now on,
documentation.js will only support Babel 7: please stick to older
releases if you need to support Babel 6. Additionally, this work
temporarily disables support for following dynamic imports.
2018-09-20 23:21:14 -07:00
Tom MacWright
255d8eeae7 chore: Update yarn.lock 2018-08-19 14:11:29 -07:00
Tom MacWright
7fd02a7040 chore: Update yarn.lock 2018-08-19 14:02:53 -07:00
greenkeeper[bot]
1b7309c434 Update pify to the latest version 🚀 (#1116)
* fix(package): update pify to version 4.0.0

* chore: Update yarn.lock
2018-08-19 13:52:47 -07:00
Tom MacWright
9146560a66 chore: Update lint-staged 2018-08-03 15:40:50 -07:00
Tom MacWright
3384c0868e chore: update yarn.lock 2018-07-24 15:29:31 -07:00
Tom MacWright
d8f4509391 chore: Update yarn.lock 2018-07-24 15:27:14 -07:00
Tom MacWright
53df4320ec chore: Update yarn.lock 2018-07-19 17:03:20 -07:00
Tom MacWright
1f3ab04669 chore: Update lockfile 2018-07-15 20:53:38 -07:00
Tom MacWright
1968f7c779 chore: Update lockfile 2018-07-15 20:53:24 -07:00
Tom MacWright
12c55fec60 chore(yarn): Update yarn.lock 2018-05-29 10:47:35 -07:00
Tom MacWright
9d622bdcf8 chore(yarn): Update yarn.lock 2018-05-29 10:39:16 -07:00
Tom MacWright
693eb53032 chore(yarn): Update yarn.lock 2018-05-29 10:36:35 -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
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
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
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
c411f00447 chore: Update lockfile for new flow 2018-04-11 09:34:40 -07: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
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
Anton Shchekota
41bd944c31 chore: update git-url-parse and flow-bin
git-url-parse already fixed issue with git urls
2018-01-26 10:21:03 +03:00
Anton Shchekota
c1611ca16c chore: update dependencies 2018-01-24 12:10:36 +03:00
Anton Shchekota
debf471cf6 chore: update mime package to next major version 2018-01-24 11:31:09 +03:00