export * from './lib/index.js';

import './server/database-import/database_import_new.js';
import './server/rss-integration/cron.js';
import './server/rss-integration/callbacks.js';
import './server/database-import/force_batch_update_scores.js';
import './server/database-import/cleanup_scripts.js';

// Scripts
import './server/scripts/sscImport.js';
import './server/scripts/hpmorImport.js';
import './server/scripts/algoliaExport.js';
import './server/scripts/brokenLinksReport.js';
import './server/scripts/fixBodyField.js';
import './server/scripts/fixKarmaField.js';
import './server/scripts/fixEmailField.js';
import './server/scripts/fixFrontpageCount.js';
import './server/scripts/voteMigration.js';
import './server/scripts/slugDeduplication.js';
import './server/scripts/debuggingScripts.js';
import './server/scripts/importOldPasswords.js';
import './server/scripts/postsEditCallbacks.js';
import './server/scripts/rerunAFvotes.js';
import './server/scripts/messagesEditCallbacks.js';
import './server/scripts/localgroupsEditCallbacks.js';
import './server/scripts/nullifyVotes.js';
import './server/scripts/fixSSCDrafts.js';
import './server/scripts/invites.js';
import './server/scripts/legacyKarma_aggregate2.js';
import './server/scripts/removeObsoleteIndexes.js';
import './server/legacy-redirects/routes.js';
import './server/material-ui/themeProvider';
import './server/editor/utils.js';
import './server/emails/index.js';
import './server/posts/index.js';

import './server/logging.js';
import './server/rss.js';

import './lib/collections/comments/callbacks.js';
import './lib/collections/comments/graphql.js';
import './lib/collections/posts/callbacks.js';
import './lib/collections/chapters/callbacks.js';
import './lib/collections/sequences/callbacks.js';
import './lib/collections/books/callbacks.js';
import './lib/collections/collections/callbacks.js';
import './lib/collections/messages/callbacks.js';
import './lib/collections/users/validate_login.js';
import './lib/collections/bans/callbacks.js';
import './lib/collections/lwevents/indexes.js';
import './lib/collections/posts/indexes.js';
import './lib/collections/posts/tableOfContents.js';
import './lib/collections/localgroups/indexes.js';
import './lib/collections/localgroups/callbacks.js';

import './lib/events/server.js';

import './lib/modules/connection_logs.js';

//eslint-disable-next-line no-console
console.log("Starting LessWrong server. Versions: "+JSON.stringify(process.versions));

export * from './lib/index.js';

import './server/database-import/database_import_new.js';
import './server/rss-integration/cron.js';
import './server/rss-integration/callbacks.js';
import './server/database-import/force_batch_update_scores.js';
import './server/database-import/cleanup_scripts.js';

// Scripts
import './server/scripts/sscImport.js';
import './server/scripts/hpmorImport.js';
import './server/scripts/algoliaExport.js';
import './server/scripts/brokenLinksReport.js';
import './server/scripts/fixBodyField.js';
import './server/scripts/fixKarmaField.js';
import './server/scripts/fixEmailField.js';
import './server/scripts/fixFrontpageCount.js';
import './server/scripts/voteMigration.js';
import './server/scripts/slugDeduplication.js';
import './server/scripts/debuggingScripts.js';
import './server/scripts/importOldPasswords.js';
import './server/scripts/postsEditCallbacks.js';
import './server/scripts/rerunAFvotes.js';
import './server/scripts/messagesEditCallbacks.js';
import './server/scripts/localgroupsEditCallbacks.js';
import './server/scripts/nullifyVotes.js';
import './server/scripts/fixSSCDrafts.js';
import './server/scripts/invites.js';
import './server/scripts/legacyKarma_aggregate2.js';
import './server/scripts/removeObsoleteIndexes.js';
import './server/legacy-redirects/routes.js';
import './server/material-ui/themeProvider';
import './server/editor/utils.js';
import './server/emails/index.js';
import './server/posts/index.js';

import './server/logging.js';
import './server/rss.js';

import './lib/collections/comments/callbacks.js';
import './lib/collections/comments/graphql.js';
import './lib/collections/posts/callbacks.js';
import './lib/collections/chapters/callbacks.js';
import './lib/collections/sequences/callbacks.js';
import './lib/collections/books/callbacks.js';
import './lib/collections/collections/callbacks.js';
import './lib/collections/messages/callbacks.js';
import './lib/collections/users/validate_login.js';
import './lib/collections/bans/callbacks.js';
import './lib/collections/posts/tableOfContents.js';
import './lib/collections/localgroups/callbacks.js';

import './lib/events/server.js';

import './lib/modules/connection_logs.js';

//eslint-disable-next-line no-console
console.log("Starting LessWrong server. Versions: "+JSON.stringify(process.versions));

Fix a merge oddity that broke build