-
-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add docs for parallel and root hooks #4246
Conversation
a312e24
to
f24c3a8
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great docs. Small comment.
|
||
## Root Hook Plugins | ||
|
||
> _New in v8.0.0._ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
> _New in v8.0.0._ | |
> _New in v7.2.0._ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we need to discuss whether we want to do this in v7.2.0 or v8.0.0. I would prefer the latter, for marketing reasons. 😜
docs/index.md
Outdated
There are a (minimum of) two workarounds for this: | ||
|
||
1. `require('./setup.js')` or `import './setup.js'` at the top of every test file. Best avoided for those averse to boilerplate. | ||
1. _Recommended_: Define root-level hooks in a required file, using the new (also as of v8.0.0) [Root Hook Plugin](#root-hook-plugins) system. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
1. _Recommended_: Define root-level hooks in a required file, using the new (also as of v8.0.0) [Root Hook Plugin](#root-hook-plugins) system. | |
1. _Recommended_: Define root-level hooks in a required file, using the new (as of v7.2.0) [Root Hook Plugin](#root-hook-plugins) system. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Rebasing on master needed to resolve conflict and render emoji in netlify preview.
3dcd491
to
5100fb8
Compare
> this PR needs the changes from the `boneskull/issue/2839-11ty-changes` branch
5100fb8
to
cb80a05
Compare
kept these references as v8.0.0 above, and changed a reference to v7.3.0 to v8.0.0 |
Build might not work until that one gets merged