()
| 5 | import type { Context } from './types'; |
| 6 | |
| 7 | const init = async (): Promise<void> => { |
| 8 | const configPath = path.join(process.cwd(), 'font-publish.json'); |
| 9 | |
| 10 | const defaultConfig: Context = { |
| 11 | packages: ['./packages/'], |
| 12 | commitMessage: 'chore: release new versions', |
| 13 | }; |
| 14 | |
| 15 | await fs.writeFile(configPath, stringify(defaultConfig)); |
| 16 | }; |
| 17 | |
| 18 | export { init }; |
no outgoing calls
no test coverage detected