import { appCompilerSpec, backendAppEntryType, createPluginModule, } from '@baseplate-dev/project-builder-lib';
import { bullmqGenerator } from './generators/index.js';
export default createPluginModule({
    name: 'node',
    dependencies: {
        appCompiler: appCompilerSpec,
    },
    initialize: ({ appCompiler }, { pluginKey }) => {
        appCompiler.compilers.push({
            pluginKey,
            appType: backendAppEntryType,
            compile: ({ appCompiler }) => {
                appCompiler.addRootChildren({
                    bullmq: bullmqGenerator({}),
                });
            },
        });
    },
});
//# sourceMappingURL=node.js.map