374 Commits

Author SHA1 Message Date
Tom MacWright
80a06febf1
chore(release): 4.0.0 2017-07-27 13:31:00 -04:00
greenkeeper[bot]
1ae81366a1 fix(package): update remark to version 8.0.0 2017-07-20 17:42:53 -04:00
greenkeeper[bot]
a3e1fb8935 fix(package): update vfile-reporter to version 4.0.0 2017-07-17 13:11:03 -07:00
greenkeeper[bot]
4544886ff5 chore(package): update fs-extra to version 4.0.0 (#841) 2017-07-15 10:44:38 -07:00
greenkeeper[bot]
2329db4e54 fix(package): update chalk to version 2.0.0 (#833) 2017-07-07 19:24:37 -04:00
Anton
15239d1943 chore: Updated eslint. fixed no-useless-escape rule. (#834) 2017-07-05 10:01:26 -04:00
greenkeeper[bot]
15bd7af504 chore(package): update husky to version 0.14.0 (#823) 2017-06-23 15:41:30 -04:00
greenkeeper[bot]
e4725503b4 fix(package): update remark-html to version 6.0.1 (#815) 2017-06-18 02:13:22 -04:00
greenkeeper[bot]
1569644eb4 chore(package): update lint-staged to version 4.0.0 (#816) 2017-06-18 02:12:57 -04:00
greenkeeper[bot]
65f5a3722d fix(package): update babel-generator to version 6.25.0 (#804) 2017-06-08 20:05:23 -04:00
Tom MacWright
80799085d1 chore: Update in-range updates (#799)
This tries to make greenkeeper happy about these modules and confirm if they really do break.
2017-06-06 14:42:56 -04:00
Tom MacWright
35d24a20e7
chore: Bump minimum required version of babylon
Fixes #795
2017-06-06 14:33:38 -04:00
Tom MacWright
a0d0214dc0 chore: Upgrade dependencies that don't break everything (#798) 2017-06-06 14:22:54 -04:00
greenkeeper[bot]
74392cc83f fix(package): update github-slugger to version 1.1.3 (#793) 2017-05-31 12:59:38 -04:00
greenkeeper[bot]
3f2bf90eb3 fix(package): update micromatch to version 3.0.0 (#792) 2017-05-31 12:59:27 -04:00
Tom MacWright
4ba0a822a2 docs(api): Update API docs (#784) 2017-05-12 09:57:34 -04:00
greenkeeper[bot]
8131cf78ef chore(package): update babel-jest to version 20.0.1 (#779) 2017-05-11 11:58:03 -04:00
greenkeeper[bot]
961d4a7ec5 chore(package): update flow-bin to version 0.46.0 (#777) 2017-05-11 11:52:38 -04:00
greenkeeper[bot]
e7cba18a65 chore(package): update jest to version 20.0.1 (#780) 2017-05-11 10:32:45 -04:00
Tom MacWright
11d9045a00 Native Flow, use Jest (#767)
* build: Use Flow syntax without comments.

We're switching to Flow annotations - not Flow comments. This
gives documentation.js the ability to self-document without
JSDoc types and improves our compatibility with tools like
prettier.

Fixes #729. Fixes #709
2017-05-08 20:46:21 -04:00
Tom Macwright
3472aa2173
chore(release): 4.0.0-rc.1 2017-05-01 14:47:07 -04:00
Tom Macwright
0717119a8a test(eslint): Add eslint back to our test suite
Refs #710. Fixes #765
2017-05-01 14:45:52 -04:00
greenkeeper[bot]
b7fe0b24cd chore(package): update fs-extra to version 3.0.0
https://greenkeeper.io/
2017-04-27 22:54:44 -04:00
Tom MacWright
7f7ea0837c style(prettier): Include declarations, bin, and default_theme in prettier scope (#747)
This ensures all our formatting everywhere is consistent
2017-04-21 19:04:11 -04:00
Tom Macwright
b595c8f33f
chore(release): 4.0.0-rc.0 2017-04-21 19:01:10 -04:00
Tom MacWright
a15b0716fe refactor: Move index.js to lib (#744)
Fixes https://github.com/documentationjs/documentation/issues/736
2017-04-21 17:50:09 -04:00
Tom MacWright
73747306a0 refactor(nest): Better nesting implementation (#732)
* refactor(nest): Better nesting implementation

This nesting implementation uses a proper recursive tree algorithm

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

BREAKING CHANGE: referencing inferred destructure params without
renaming them, like $0.x, from JSDoc comments will no longer
work. To reference them, instead add a param tag to name the
destructuring param, and then refer to members of that name.

Before:

```js
/**
 * @param {number} $0.x a member of x
 */
function a({ x }) {}
```

After:

```js
/**
 * @param {Object} options
 * @param {number} options.x a member of x
 */
function a({ x }) {}
```

* Address review comments

* Reduce testing node requirement back down to 4

* Don't output empty properties, reduce diff noise

* Rearrange and document params

* Simplify param inference, update test fixtures. This is focused around Array destructuring: documenting destructured array elements with indices instead of names, because the names are purely internal details

* Use temporary fork to get through blocker
2017-04-21 17:28:53 -04:00
Tom MacWright
9eca36cdc3 build(husky): Run git add on formatted updated files (#733) 2017-04-15 15:59:55 -04:00
greenkeeper[bot]
fc1cd13e57 chore(package): update flow-bin to version 0.44.0 (#723)
https://greenkeeper.io/
2017-04-13 12:54:11 -04:00
Tom Macwright
09d282b073 chore(release): 4.0.0-beta.19 2017-04-10 18:46:06 -04:00
Tom MacWright
38b628ec66 chore(standard-version): Use standard-version to release new versions (#717)
https://github.com/documentationjs/documentation/issues/715
2017-04-10 18:45:37 -04:00
Tom MacWright
3a92ab9621 build(package): Remove extend, debounce, and resolve dependencies (#713)
extend and debounce are swapped for lodash versions, and resolve was no longer used

Fixes #712
2017-04-10 16:33:31 -04:00
greenkeeper[bot]
cf2ef2bc50 Update dependencies to enable Greenkeeper 🌴 (#711)
* chore(package): update dependencies

https://greenkeeper.io/

* docs(readme): add Greenkeeper badge 

https://greenkeeper.io/

* chore(greenkeeper): Exclude remote-origin-url and yargs from Greenkeeper for now
2017-04-10 16:19:11 -04:00
Tom MacWright
25152edeb9 style(prettier): Use prettier for code formatting (#710)
* style(prettier): Use prettier for code formatting

This saves us style issues. Also adds husky and lint-staged for pre-commit testing

Refs https://github.com/documentationjs/documentation/issues/709
2017-04-10 14:25:45 -04:00
Tom MacWright
631c6925d4 feat(core): Switch to Promises everywhere. Adopt Node v4 ES6 (#648)
* feat(core): Switch to Promises everywhere. Adopt Node v4 ES6

Big changes:

* Uses template strings where appropriate
* Config and argument parsing is unified and there is no such thing
  as formatterOptions anymore. All user-passed options go through
  mergeConfig.
* The node API surface changed (again): `buildSync` is removed,
  building operations return Promises.
* Now using Flow for internal type annotations.

More changes:

* Remove buildSync command
* feat(inference): Partially implement object shorthand support
* Refs #649
* Use Flow annotations to  enforce types
* Keep flow but switch to comment syntax
* Clarify types
* More flow improvements
* Turn server into class
* LinkerStack becomes class too
* Fix comment description type
* Run flow on lint
* Many more flow fixes
* More intense flow refactoring
* Simplify inference steps
* Update inference tests, flow errors down to 1
* Continue refining types
* Fix more flow issues
* Use 'use strict' everywhere
* Make 'ast' property configurable
* Fix many tests
* Fix more tests
* Fix more tests
* Fix augments
* Test Markdown meta support
* Improve test coverage
* Switch back from for of to for for speed
2017-01-27 16:14:19 -05:00
Tom MacWright
ec03e0b407 v4.0.0-beta.18 2016-12-29 16:52:30 -05:00
Tom MacWright
2ae5d8f304 fix(markdown): Start headings in Markdown at h2 (#644)
Fixes https://github.com/documentationjs/documentation/issues/641
2016-12-28 20:12:17 -05:00
Tom MacWright
cb8fdfa74f feat(bin): Support globs on windows and use smarter recursion (#629)
This brings logic from eslint over to documentation: instead of readdirSync, we're using the glob
module. This also, I hope, will let us support globs on Windows without changing OSX/Linux behavior.
Fixes #607
2016-12-26 10:24:30 -05:00
Tom MacWright
7a66b3f5bb perf(dependencies): Move standard-changelog to devDependencies (#636)
Saves install time and space.

Refs https://github.com/documentationjs/documentation/issues/622
2016-12-23 12:54:38 -05:00
Tom MacWright
44aab3fe44 beta.17 2016-12-23 12:10:18 -05:00
Tom MacWright
a4eddba384 chore(globals-docs): Update globals-docs to support linking TypedArray
Fixes https://github.com/documentationjs/globals-docs/pull/3
2016-12-13 15:50:39 -08:00
Tom MacWright
73ba79b37a Changelog and package for beta16 2016-12-07 17:38:36 -05:00
Tom MacWright
6998a05939 chore(dependencies): Update dependency ranges for all that can be seamlessly upgraded (#617)
We're pinning certain dependencies, still, like parse-filepath, because they alter

documentation.js's behavior: those will need further investigation
2016-11-23 16:47:38 -05:00
Tom MacWright
5783156033 Document deployment process, update changelog for beta15 2016-11-23 14:50:27 -05:00
Tom MacWright
a1eb45d21e Infer class augments tag with MemberExpression superClass. Fixes #458 (#616) 2016-11-23 13:52:52 -05:00
Tom MacWright
43e01ce076 Update changelog and package.json for beta14 2016-11-21 17:52:59 -05:00
Tom MacWright
4dc8cb0ca9 Support system.import with nice handy babel plugin (#603)
* Support system.import with nice handy babel plugin

* Use a smaller import

* Use smaller imports here too
2016-11-18 10:51:03 -05:00
Tom MacWright
375e8007b2 Update Node API to include only exposed API surface 2016-11-11 11:22:07 -05:00
Tom MacWright
bbe5578435 Update changelog and package for beta13 2016-11-10 15:27:38 -05:00
Tom MacWright
ade0bc1d32 Update package and changelog [skip ci] 2016-11-04 17:03:56 -04:00