1016 Commits

Author SHA1 Message Date
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
Shannon Poole
05c52793cb feat: add support for class param declarations at the constructor (#1013) 2018-02-10 13:12:15 -08:00
Alexey Raspopov
647fdf4150 fix .npmignore for tests folder (#1010) 2018-02-06 14:52:48 -05: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
7d74060caf Eslint add new rules - no-var and prefer-const 2018-01-24 14:10:41 +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
Anton Shchekota
21c585a44c chore: update dev dependencies 2018-01-24 10:56:23 +03:00
Tom MacWright
77a3b981c9
chore(package): update flow-bin to version 0.63.1 (#998)
* chore(package): update flow-bin to version 0.63.1

Closes #984

* chore: Update yarn.lock
2018-01-17 11:07:09 -08:00
Tom MacWright
ef75a9fb80
chore(package): update jest to version 22.1.2 (#997)
* chore(package): update jest to version 22.1.2

Closes #979

* chore: Update yarn.lock
2018-01-17 11:03:07 -08:00
Anton
27f75a9dfc ci: run tests on multiple node versions (#983) 2018-01-15 09:52:38 -08:00
Jonas Bögle
f0c32278a8 docs(readme, usage): updated help command/message (#994) 2018-01-12 16:00:23 -08:00
Thomas Broadley
4bb2047064 Fix typos (#977) 2017-12-15 20:06:14 -08:00
Anton Shchekota
03429ae7de chore: udpate yarn lock file 2017-12-12 08:08:14 +03:00
greenkeeper[bot]
963e7dc867 chore(package): update fs-extra to version 5.0.0 2017-12-12 07:59:06 +03:00
greenkeeper[bot]
0bb3d0d7f0 fix(package): update remark-toc to version 5.0.0 2017-12-12 07:58:50 +03:00
Tom MacWright
442b509515
chore: Update tests for release 2017-12-11 17:22:16 -08:00
Tom MacWright
5a3a2390e0
chore(release): 5.3.5 v5.3.5 2017-12-11 17:19:24 -08:00
Tom MacWright
e0fa330175
ci(circle): Use CircleCI 2 (#974)
Now we're using CircleCI 2.0, and this also uses yarn on CircleCI for consistency.
2017-12-11 17:18:56 -08:00
Tom MacWright
aa661ffcbf
fix(globals-docs): Remove en-US from MDN links. (#973)
This allows the Mozilla Developer Network to infer the user language.

Fix #964
2017-12-11 17:04:28 -08:00
Tom MacWright
74bbbf72ae
chore(release): 5.3.4 v5.3.4 2017-12-11 16:47:55 -08:00
Hugo Josefson
7e0127819a Fix args regression: readme --shallow --format (Invalid second argument) (#968)
* Add shared_options to readme command.

This makes --shallow and --format work again.

* Update yarn.lock based on package.json.

* Move readme example to where it works,

remove superfluous usage string.

yargs@>=7 throws exceptions on incorrectly structured builder objects.

* Update expected readme test fixture.

* Update bin-readme snapshot.

* s/_.assign/Object.assign/g thanks to node@>=4.

* Update yarn.lock based on package.json (lint-staged@6)

* Override flow error message.
2017-12-10 15:04:32 +03:00
Anton Shchekota
b6e7e7d3f5 chore - update lint-staged --verbose options is deprecated 2017-12-09 16:13:41 +03:00
greenkeeper[bot]
359ba92fa9 chore(package): update flow-bin to version 0.61.0 2017-12-09 15:09:00 +03:00
greenkeeper[bot]
1d6fe80841 fix(package): update vinyl-fs to version 3.0.0 (#966) 2017-12-05 15:57:51 -08:00
greenkeeper[bot]
98428144bc fix(package): update remark-html to version 7.0.0 2017-12-05 08:17:09 +03:00
greenkeeper[bot]
f42cbe7b54 chore(package): update flow-bin to version 0.60.0 2017-12-02 14:01:43 +03:00
greenkeeper[bot]
436bfcb953 chore(package): update lint-staged to version 5.0.0 2017-11-12 08:28:33 +03:00
greenkeeper[bot]
84f383db59 chore(package): update flow-bin to version 0.59.0 2017-11-09 08:22:03 +03:00
greenkeeper[bot]
d8fbf2c427 fix(package): update read-pkg-up to version 3.0.0 2017-11-04 11:47:30 +03:00
greenkeeper[bot]
68000e6422 chore(package): update flow-bin to version 0.58.0 2017-11-02 08:43:07 +03:00
greenkeeper[bot]
bdbec7e963 chore(package): update cz-conventional-changelog to version 2.1.0 (#944) 2017-10-27 10:37:33 -07:00
greenkeeper[bot]
10dff6f536 fix(package): update babelify to version 8.0.0 2017-10-26 08:14:34 +03:00