test(seeds): new environment config
Hey there! 👋🏻
This PR adds the option environment to the Seeder class.
This allows us to configure what environment our seeder should run more precisely.
The current developmentOnly setting is too restrictive.
Can we also deprecate the developmentOnly flag with a runtime warning and also using @deprecated docblock for TypeScript?
I have updated the code to add the deprecation warning.
However, I am unsure about the runtime warning since the flag is defined in BaseSeeder.
Small bump 😋
Can we also update the docs to reflect the usage of environment? https://docs.adonisjs.com/guides/database/seeders#development-only-seeders