diff --git a/configure.ts b/configure.ts index 42eda4e..20b3e0b 100644 --- a/configure.ts +++ b/configure.ts @@ -5,4 +5,9 @@ export async function configure(command: ConfigureCommand) { const codemods = await command.createCodemods() await codemods.makeUsingStub(stubsRoot, 'config.stub', {}) + + // add provider and directory to rc file + await codemods.updateRcFile((transformer) => { + transformer.addProvider('@stouder-io/adonis-geolite2/geolite2_provider') + }) }