-
Notifications
You must be signed in to change notification settings - Fork 193
Commit
Co-authored-by: Kevin Ingersoll <[email protected]>
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
--- | ||
"@latticexyz/cli": patch | ||
"@latticexyz/world-modules": patch | ||
"@latticexyz/world": major | ||
--- | ||
|
||
Tables and interfaces in the `world` package are now generated to the `codegen` folder. | ||
This is only a breaking change if you imported tables or codegenerated interfaces from `@latticexyz/world` directly. | ||
If you're using the MUD CLI, the changed import paths are already integrated and no further changes are necessary. | ||
|
||
```diff | ||
- import { IBaseWorld } from "@latticexyz/world/src/interfaces/IBaseWorld.sol"; | ||
+ import { IBaseWorld } from "@latticexyz/world/src/codegen/interfaces/IBaseWorld.sol"; | ||
|
||
``` |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -73,5 +73,5 @@ export default mudConfig({ | |
}, | ||
}, | ||
}, | ||
excludeSystems: [], | ||
excludeSystems: ["UniqueEntitySystem"], | ||
}); |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,7 @@ | ||
// SPDX-License-Identifier: MIT | ||
pragma solidity >=0.8.21; | ||
|
||
/* Autogenerated file. Do not edit manually. */ | ||
|
||
// TODO allow overriding namespace per-system (or a separate config for modules?) | ||
interface IUniqueEntitySystem { | ||
function getUniqueEntity() external returns (bytes32); | ||
function uniqueEntity_system_getUniqueEntity() external returns (bytes32 uniqueEntity); | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
This file was deleted.