[X] I have searched existing issues to ensure the bug has not already been reported
Fastify version
x
Plugin version
4.0.0
Node.js version
x
Operating system
Linux
Operating system version (i.e. 20.04, 11.3, 10)
22.04
Description
Lets say we have a package called fastify-kafka. getCamelCase modifies the plugin name to fastifyKafka. Now I rename the module to @fastify/kafka. I would actually still expect that the named export is fastifyKafka. But no. It is @fastify/kafka
Prerequisites
Fastify version
x
Plugin version
4.0.0
Node.js version
x
Operating system
Linux
Operating system version (i.e. 20.04, 11.3, 10)
22.04
Description
Lets say we have a package called fastify-kafka. getCamelCase modifies the plugin name to fastifyKafka. Now I rename the module to @fastify/kafka. I would actually still expect that the named export is fastifyKafka. But no. It is @fastify/kafka
Steps to Reproduce
See https://github.com/fastify/fastify-kafka/pull/69
Expected Behavior
I would expect that the name is fastifyKafka