deepsweet / start

:red_circle: Functional task runner for Node.js
https://start.js.org/
MIT License
476 stars 19 forks source link

Next #46

Closed deepsweet closed 5 years ago

deepsweet commented 5 years ago

💪 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