type PluginData = { importer: string content: string } type AdditionalConfigItem = { devDependencies?: Record beforeVuePlugin?: PluginData[] afterVuePlugin?: PluginData[] } export default function createConfig(options: { styleGuide?: 'default' hasTypeScript?: boolean needsPrettier?: boolean needsOxlint?: boolean additionalConfigs?: AdditionalConfigItem[] }): { pkg: { scripts: Record devDependencies: Record } files: { 'eslint.config.js'?: string 'eslint.config.ts'?: string '.editorconfig': string '.gitattributes': string '.oxfmtrc.jsonc'?: string '.prettierrc.json'?: string } } /** * Recursively merge the content of the new object to the existing one * @param {object} target the existing object * @param {object} obj the new object */ export function deepMerge(target: object, obj: object): object