Convert all modules to CJS with ESM wrapper. Currently, all modules are built in ESM format with CJS build output.