Skip to content
This repository was archived by the owner on Mar 27, 2020. It is now read-only.

plugin@0.3.0

Choose a tag to compare

@deepsweet deepsweet released this 06 Feb 12:38
· 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