import { appCompilerSpec, backendAppEntryType, createPluginModule, } from '@baseplate-dev/project-builder-lib';
import { queuesGenerator } 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({
                    queues: queuesGenerator({}),
                });
            },
        });
    },
});
//# sourceMappingURL=node.js.map