From c82373fa2e2ee05eefe99b29f248e12008a317c4 Mon Sep 17 00:00:00 2001 From: Kevin Ingersoll Date: Sun, 17 Sep 2023 21:04:15 +0100 Subject: [PATCH] clean up --- packages/cli/package.json | 3 ++- packages/world/src/Tables.sol | 23 ----------------------- packages/world/src/Types.sol | 10 ---------- 3 files changed, 2 insertions(+), 34 deletions(-) delete mode 100644 packages/world/src/Tables.sol delete mode 100644 packages/world/src/Types.sol diff --git a/packages/cli/package.json b/packages/cli/package.json index 667a7d7765..4ebf52eae8 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -20,8 +20,9 @@ "build": "pnpm run build:js && pnpm run build:test-tables", "build:js": "tsup && chmod +x ./dist/mud.js", "build:test-tables": "tsx ./scripts/generate-test-tables.ts", - "clean": "pnpm run clean:js", + "clean": "pnpm run clean:js && pnpm run clean:test-tables", "clean:js": "rimraf dist", + "clean:test-tables": "rimraf src/codegen", "dev": "tsup --watch", "lint": "eslint . --ext .ts", "prepare": "mkdir -p ./dist && touch ./dist/mud.js", diff --git a/packages/world/src/Tables.sol b/packages/world/src/Tables.sol deleted file mode 100644 index 299c9081cf..0000000000 --- a/packages/world/src/Tables.sol +++ /dev/null @@ -1,23 +0,0 @@ -// SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; - -/* Autogenerated file. Do not edit manually. */ - -import { NamespaceOwner, NamespaceOwnerTableId } from "./tables/NamespaceOwner.sol"; -import { ResourceAccess, ResourceAccessTableId } from "./tables/ResourceAccess.sol"; -import { InstalledModules, InstalledModulesTableId } from "./tables/InstalledModules.sol"; -import { Delegations, DelegationsTableId } from "./tables/Delegations.sol"; -import { Balances, BalancesTableId } from "./modules/core/tables/Balances.sol"; -import { Systems, SystemsTableId } from "./modules/core/tables/Systems.sol"; -import { SystemRegistry, SystemRegistryTableId } from "./modules/core/tables/SystemRegistry.sol"; -import { SystemHooks, SystemHooksTableId } from "./modules/core/tables/SystemHooks.sol"; -import { ResourceType, ResourceTypeTableId } from "./modules/core/tables/ResourceType.sol"; -import { FunctionSelectors, FunctionSelectorsTableId } from "./modules/core/tables/FunctionSelectors.sol"; -import { KeysWithValue } from "./modules/keyswithvalue/tables/KeysWithValue.sol"; -import { KeysInTable, KeysInTableData, KeysInTableTableId } from "./modules/keysintable/tables/KeysInTable.sol"; -import { UsedKeysIndex, UsedKeysIndexTableId } from "./modules/keysintable/tables/UsedKeysIndex.sol"; -import { UniqueEntity } from "./modules/uniqueentity/tables/UniqueEntity.sol"; -import { CallboundDelegations, CallboundDelegationsTableId } from "./modules/std-delegations/tables/CallboundDelegations.sol"; -import { TimeboundDelegations, TimeboundDelegationsTableId } from "./modules/std-delegations/tables/TimeboundDelegations.sol"; -import { Bool } from "./../test/tables/Bool.sol"; -import { AddressArray } from "./../test/tables/AddressArray.sol"; diff --git a/packages/world/src/Types.sol b/packages/world/src/Types.sol deleted file mode 100644 index 0981d4f8db..0000000000 --- a/packages/world/src/Types.sol +++ /dev/null @@ -1,10 +0,0 @@ -// SPDX-License-Identifier: MIT -pragma solidity >=0.8.21; - -/* Autogenerated file. Do not edit manually. */ -enum Resource { - NONE, - NAMESPACE, - TABLE, - SYSTEM -}