(file, data)
| 18 | |
| 19 | // Deliberately dependency-free (no prettier): the CI job that runs this has no node_modules installed. |
| 20 | const writeJson = (file, data) => { |
| 21 | mkdirSync(path.dirname(file), { recursive: true }); |
| 22 | writeFileSync(file, `${JSON.stringify(data, null, 2)}\n`); |
| 23 | }; |
| 24 | |
| 25 | const sourceOf = plugin => `./plugins/${plugin.name}`; |
| 26 |
no test coverage detected