@latticexyz/world 2.0.0-main-cea754dd → 2.0.0-main-0b8ce3f2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@latticexyz/world",
3
- "version": "2.0.0-main-cea754dd",
3
+ "version": "2.0.0-main-0b8ce3f2",
4
4
  "description": "World framework",
5
5
  "repository": {
6
6
  "type": "git",
@@ -31,10 +31,10 @@
31
31
  },
32
32
  "dependencies": {
33
33
  "zod": "^3.21.4",
34
- "@latticexyz/common": "2.0.0-main-cea754dd",
35
- "@latticexyz/config": "2.0.0-main-cea754dd",
36
- "@latticexyz/schema-type": "2.0.0-main-cea754dd",
37
- "@latticexyz/store": "2.0.0-main-cea754dd"
34
+ "@latticexyz/common": "2.0.0-main-0b8ce3f2",
35
+ "@latticexyz/config": "2.0.0-main-0b8ce3f2",
36
+ "@latticexyz/schema-type": "2.0.0-main-0b8ce3f2",
37
+ "@latticexyz/store": "2.0.0-main-0b8ce3f2"
38
38
  },
39
39
  "devDependencies": {
40
40
  "@types/ejs": "^3.1.1",
@@ -50,8 +50,8 @@
50
50
  "tsup": "^6.7.0",
51
51
  "tsx": "^3.12.6",
52
52
  "vitest": "0.31.4",
53
- "@latticexyz/abi-ts": "2.0.0-main-cea754dd",
54
- "@latticexyz/gas-report": "2.0.0-main-cea754dd"
53
+ "@latticexyz/abi-ts": "2.0.0-main-0b8ce3f2",
54
+ "@latticexyz/gas-report": "2.0.0-main-0b8ce3f2"
55
55
  },
56
56
  "gitHead": "914a1e0ae4a573d685841ca2ea921435057deb8f",
57
57
  "scripts": {
@@ -1,10 +1,11 @@
1
1
  import path from "path";
2
2
  import { loadConfig } from "@latticexyz/config/node";
3
- import { getSrcDirectory } from "@latticexyz/common/foundry";
3
+ import { getRemappings, getSrcDirectory } from "@latticexyz/common/foundry";
4
4
  import { StoreConfig } from "@latticexyz/store";
5
5
  import { tablegen } from "@latticexyz/store/codegen";
6
6
 
7
7
  const config = (await loadConfig()) as StoreConfig;
8
8
  const srcDir = await getSrcDirectory();
9
+ const remappings = await getRemappings();
9
10
 
10
- await tablegen(config, path.join(srcDir, config.codegenDirectory));
11
+ await tablegen(config, path.join(srcDir, config.codegenDirectory), remappings);