diff --git a/packages/common/src/foundry/index.ts b/packages/common/src/foundry/index.ts index a5b654d823..82bf9618d6 100644 --- a/packages/common/src/foundry/index.ts +++ b/packages/common/src/foundry/index.ts @@ -1,4 +1,3 @@ -// import { execa, Options } from "execa"; import execa, { Options } from "execa"; import chalk from "chalk"; diff --git a/packages/config/src/library/core.ts b/packages/config/src/library/core.ts index 9cfcbf0147..5325c5ec7e 100644 --- a/packages/config/src/library/core.ts +++ b/packages/config/src/library/core.ts @@ -14,7 +14,6 @@ export function mudCoreConfig(config: MUDCoreUserConfig): MUDCoreConfig { // eslint-disable-next-line @typescript-eslint/no-explicit-any let configAsAny = config as any; const context = MUDCoreContext.getContext(); - console.log(context); for (const extender of context.configExtenders) { configAsAny = extender(configAsAny); } diff --git a/packages/store-sync/src/createStoreSync.ts b/packages/store-sync/src/createStoreSync.ts index 19f5223cad..895e14f8ed 100644 --- a/packages/store-sync/src/createStoreSync.ts +++ b/packages/store-sync/src/createStoreSync.ts @@ -20,7 +20,7 @@ import { combineLatest, identity, } from "rxjs"; -import pRetry from "p-retry"; +// import pRetry from "p-retry"; import { BlockStorageOperations, blockLogsToStorage } from "./blockLogsToStorage"; import { debug as parentDebug } from "./debug"; import { createIndexerClient } from "./trpc-indexer"; diff --git a/packages/store/ts/config/defaults.ts b/packages/store/ts/config/defaults.ts index 6e86acc063..0aecf902da 100644 --- a/packages/store/ts/config/defaults.ts +++ b/packages/store/ts/config/defaults.ts @@ -6,7 +6,7 @@ export const PATH_DEFAULTS = { export const DEFAULTS = { namespace: "", - enums: {} as Record, + enums: {} as Record, } as const; export const TABLE_DEFAULTS = { diff --git a/packages/store/ts/config/storeConfig.ts b/packages/store/ts/config/storeConfig.ts index 48919d96fd..06b2c6d10c 100644 --- a/packages/store/ts/config/storeConfig.ts +++ b/packages/store/ts/config/storeConfig.ts @@ -305,8 +305,6 @@ function validateStoreConfig(config: z.output, ctx: // Global names must be unique const tableLibraryNames = Object.keys(config.tables); const staticUserTypeNames = Object.keys(config.enums); - console.log("ENUMS"); - console.log(staticUserTypeNames); const userTypeNames = staticUserTypeNames; const globalNames = [...tableLibraryNames, ...userTypeNames]; const duplicateGlobalNames = getDuplicates(globalNames); diff --git a/packages/store/ts/register/configExtensions.ts b/packages/store/ts/register/configExtensions.ts index 257383b94c..3daf8b35ab 100644 --- a/packages/store/ts/register/configExtensions.ts +++ b/packages/store/ts/register/configExtensions.ts @@ -6,8 +6,6 @@ extendMUDCoreConfig((config) => { // This function gets called within mudConfig. // The call order of config extenders depends on the order of their imports. // Any config validation and transformation should be placed here. - console.log("EXTENDEDDDDDD"); - console.log(config); try { return zPluginStoreConfig.parse(config); } catch (error) { diff --git a/packages/store/ts/scripts/tablegen.ts b/packages/store/ts/scripts/tablegen.ts index c56b682796..609d0e6255 100644 --- a/packages/store/ts/scripts/tablegen.ts +++ b/packages/store/ts/scripts/tablegen.ts @@ -6,6 +6,6 @@ import { StoreConfig } from ".."; (async () => { const config = (await loadConfig()) as StoreConfig; - // const srcDir = await getSrcDirectory(); - // await tablegen(config, path.join(srcDir, config.codegenDirectory)); + const srcDir = await getSrcDirectory(); + await tablegen(config, path.join(srcDir, config.codegenDirectory)); })(); diff --git a/packages/store/tsconfig.json b/packages/store/tsconfig.json index 66b1e89f2c..51d0b2f642 100644 --- a/packages/store/tsconfig.json +++ b/packages/store/tsconfig.json @@ -3,7 +3,7 @@ /* Visit https://aka.ms/tsconfig.json to read more about this file */ "target": "es2021", "types": ["node"], - "module": "CommonJS", + "module": "esnext", "moduleResolution": "node", "declaration": true, "sourceMap": true,