This repository was archived by the owner on Mar 27, 2020. It is now read-only.
plugin@0.3.0
·
132 commits
to master
since this release
πͺ strong TypeScript, sequence validates things like missing read plugin before babel and so on
π₯ plugin: split single argument into 2 calls with "utils" and "props":
before:
export default plugin('foo', async ({ logPath, logMessage, reporter, prop1, prop2 }) => {})after:
export default plugin('foo', ({ logPath, logMessage, reporter }) => async ({ prop1, prop2 }) => {})π₯ plugin: make reporter an argument instead of options object as a task runner input:
before:
taskRunner({ reporter: reporter(taskName) })(props)after:
taskRunner(reporter(taskName))(props)π₯ Node.js >= 8.6.0 is required