create-mud 2.0.13-main-e5c28df39 → 2.0.13-main-a04761b63
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/dist/cli.js +1 -1
- package/dist/templates/phaser/packages/contracts/src/codegen/world/{app__IIncrementSystem.sol → IIncrementSystem.sol} +2 -2
- package/dist/templates/phaser/packages/contracts/src/codegen/world/IWorld.sol +2 -2
- package/dist/templates/react/packages/contracts/src/codegen/world/{app__ITasksSystem.sol → ITasksSystem.sol} +2 -2
- package/dist/templates/react/packages/contracts/src/codegen/world/IWorld.sol +2 -2
- package/dist/templates/react-ecs/packages/contracts/src/codegen/world/{app__IIncrementSystem.sol → IIncrementSystem.sol} +2 -2
- package/dist/templates/react-ecs/packages/contracts/src/codegen/world/IWorld.sol +2 -2
- package/dist/templates/threejs/packages/contracts/src/codegen/world/{app__IMoveSystem.sol → IMoveSystem.sol} +2 -2
- package/dist/templates/threejs/packages/contracts/src/codegen/world/IWorld.sol +2 -2
- package/dist/templates/vanilla/packages/contracts/src/codegen/world/{app__IIncrementSystem.sol → IIncrementSystem.sol} +2 -2
- package/dist/templates/vanilla/packages/contracts/src/codegen/world/IWorld.sol +2 -2
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
var t=require("create-create-app"),s=require("path");var e={name:"create-mud",version:"2.0.13-main-
|
|
2
|
+
var t=require("create-create-app"),s=require("path");var e={name:"create-mud",version:"2.0.13-main-a04761b63",description:"Create a new MUD project",license:"MIT",author:"Lattice <mud@lattice.xyz>",bin:"dist/cli.js",files:["dist"],scripts:{build:"pnpm run build:js","build:js":"tsup && ./scripts/copy-templates.sh",clean:"pnpm run clean:js","clean:js":"rimraf dist",dev:"tsup --watch",prepublishOnly:"npm run clean && npm run build",test:"pnpm run test:vanilla && pnpm run test:react && pnpm run test:react-ecs && pnpm run test:phaser && pnpm run test:threejs","test:ci":"pnpm run test","test:phaser":"dist/cli.js test-project --template phaser && rimraf test-project","test:react":"dist/cli.js test-project --template react && rimraf test-project","test:react-ecs":"dist/cli.js test-project --template react-ecs && rimraf test-project","test:threejs":"dist/cli.js test-project --template threejs && rimraf test-project","test:vanilla":"dist/cli.js test-project --template vanilla && rimraf test-project"},dependencies:{"create-create-app":"git+https://github.com/holic/create-create-app#74376c59b48a04aabbe94d9cacfe9cb1cecccd63"},devDependencies:{"@types/node":"^18.15.11",tsup:"^6.7.0"},publishConfig:{access:"public",registry:"https://registry.npmjs.org"}};var c=(0,s.resolve)(__dirname,"..","dist","templates");(0,t.create)("create-mud",{templateRoot:c,defaultTemplate:"vanilla",defaultPackageManager:"pnpm",promptForDescription:!1,promptForAuthor:!1,promptForEmail:!1,promptForLicense:!1,promptForTemplate:!0,caveat:({answers:r,packageManager:a})=>`Done! Play in the MUD with \`cd ${r.name}\` and \`${a} run dev\``,extra:{"mud-version":{type:"input",describe:"The version of MUD packages to use, defaults to latest",default:e.version}}});
|
|
@@ -4,10 +4,10 @@ pragma solidity >=0.8.24;
|
|
|
4
4
|
/* Autogenerated file. Do not edit manually. */
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
|
-
* @title
|
|
7
|
+
* @title IIncrementSystem
|
|
8
8
|
* @author MUD (https://mud.dev) by Lattice (https://lattice.xyz)
|
|
9
9
|
* @dev This interface is automatically generated from the corresponding system contract. Do not edit manually.
|
|
10
10
|
*/
|
|
11
|
-
interface
|
|
11
|
+
interface IIncrementSystem {
|
|
12
12
|
function app__increment() external returns (uint32);
|
|
13
13
|
}
|
|
@@ -5,7 +5,7 @@ pragma solidity >=0.8.24;
|
|
|
5
5
|
|
|
6
6
|
import { IBaseWorld } from "@latticexyz/world/src/codegen/interfaces/IBaseWorld.sol";
|
|
7
7
|
|
|
8
|
-
import {
|
|
8
|
+
import { IIncrementSystem } from "./IIncrementSystem.sol";
|
|
9
9
|
|
|
10
10
|
/**
|
|
11
11
|
* @title IWorld
|
|
@@ -14,4 +14,4 @@ import { app__IIncrementSystem } from "./app__IIncrementSystem.sol";
|
|
|
14
14
|
* that are dynamically registered in the World during deployment.
|
|
15
15
|
* @dev This is an autogenerated file; do not edit manually.
|
|
16
16
|
*/
|
|
17
|
-
interface IWorld is IBaseWorld,
|
|
17
|
+
interface IWorld is IBaseWorld, IIncrementSystem {}
|
|
@@ -4,11 +4,11 @@ pragma solidity >=0.8.24;
|
|
|
4
4
|
/* Autogenerated file. Do not edit manually. */
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
|
-
* @title
|
|
7
|
+
* @title ITasksSystem
|
|
8
8
|
* @author MUD (https://mud.dev) by Lattice (https://lattice.xyz)
|
|
9
9
|
* @dev This interface is automatically generated from the corresponding system contract. Do not edit manually.
|
|
10
10
|
*/
|
|
11
|
-
interface
|
|
11
|
+
interface ITasksSystem {
|
|
12
12
|
function app__addTask(string memory description) external returns (bytes32 id);
|
|
13
13
|
|
|
14
14
|
function app__completeTask(bytes32 id) external;
|
|
@@ -5,7 +5,7 @@ pragma solidity >=0.8.24;
|
|
|
5
5
|
|
|
6
6
|
import { IBaseWorld } from "@latticexyz/world/src/codegen/interfaces/IBaseWorld.sol";
|
|
7
7
|
|
|
8
|
-
import {
|
|
8
|
+
import { ITasksSystem } from "./ITasksSystem.sol";
|
|
9
9
|
|
|
10
10
|
/**
|
|
11
11
|
* @title IWorld
|
|
@@ -14,4 +14,4 @@ import { app__ITasksSystem } from "./app__ITasksSystem.sol";
|
|
|
14
14
|
* that are dynamically registered in the World during deployment.
|
|
15
15
|
* @dev This is an autogenerated file; do not edit manually.
|
|
16
16
|
*/
|
|
17
|
-
interface IWorld is IBaseWorld,
|
|
17
|
+
interface IWorld is IBaseWorld, ITasksSystem {}
|
|
@@ -4,10 +4,10 @@ pragma solidity >=0.8.24;
|
|
|
4
4
|
/* Autogenerated file. Do not edit manually. */
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
|
-
* @title
|
|
7
|
+
* @title IIncrementSystem
|
|
8
8
|
* @author MUD (https://mud.dev) by Lattice (https://lattice.xyz)
|
|
9
9
|
* @dev This interface is automatically generated from the corresponding system contract. Do not edit manually.
|
|
10
10
|
*/
|
|
11
|
-
interface
|
|
11
|
+
interface IIncrementSystem {
|
|
12
12
|
function app__increment() external returns (uint32);
|
|
13
13
|
}
|
|
@@ -5,7 +5,7 @@ pragma solidity >=0.8.24;
|
|
|
5
5
|
|
|
6
6
|
import { IBaseWorld } from "@latticexyz/world/src/codegen/interfaces/IBaseWorld.sol";
|
|
7
7
|
|
|
8
|
-
import {
|
|
8
|
+
import { IIncrementSystem } from "./IIncrementSystem.sol";
|
|
9
9
|
|
|
10
10
|
/**
|
|
11
11
|
* @title IWorld
|
|
@@ -14,4 +14,4 @@ import { app__IIncrementSystem } from "./app__IIncrementSystem.sol";
|
|
|
14
14
|
* that are dynamically registered in the World during deployment.
|
|
15
15
|
* @dev This is an autogenerated file; do not edit manually.
|
|
16
16
|
*/
|
|
17
|
-
interface IWorld is IBaseWorld,
|
|
17
|
+
interface IWorld is IBaseWorld, IIncrementSystem {}
|
|
@@ -4,10 +4,10 @@ pragma solidity >=0.8.24;
|
|
|
4
4
|
/* Autogenerated file. Do not edit manually. */
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
|
-
* @title
|
|
7
|
+
* @title IMoveSystem
|
|
8
8
|
* @author MUD (https://mud.dev) by Lattice (https://lattice.xyz)
|
|
9
9
|
* @dev This interface is automatically generated from the corresponding system contract. Do not edit manually.
|
|
10
10
|
*/
|
|
11
|
-
interface
|
|
11
|
+
interface IMoveSystem {
|
|
12
12
|
function app__move(int32 x, int32 y, int32 z) external;
|
|
13
13
|
}
|
|
@@ -5,7 +5,7 @@ pragma solidity >=0.8.24;
|
|
|
5
5
|
|
|
6
6
|
import { IBaseWorld } from "@latticexyz/world/src/codegen/interfaces/IBaseWorld.sol";
|
|
7
7
|
|
|
8
|
-
import {
|
|
8
|
+
import { IMoveSystem } from "./IMoveSystem.sol";
|
|
9
9
|
|
|
10
10
|
/**
|
|
11
11
|
* @title IWorld
|
|
@@ -14,4 +14,4 @@ import { app__IMoveSystem } from "./app__IMoveSystem.sol";
|
|
|
14
14
|
* that are dynamically registered in the World during deployment.
|
|
15
15
|
* @dev This is an autogenerated file; do not edit manually.
|
|
16
16
|
*/
|
|
17
|
-
interface IWorld is IBaseWorld,
|
|
17
|
+
interface IWorld is IBaseWorld, IMoveSystem {}
|
|
@@ -4,10 +4,10 @@ pragma solidity >=0.8.24;
|
|
|
4
4
|
/* Autogenerated file. Do not edit manually. */
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
|
-
* @title
|
|
7
|
+
* @title IIncrementSystem
|
|
8
8
|
* @author MUD (https://mud.dev) by Lattice (https://lattice.xyz)
|
|
9
9
|
* @dev This interface is automatically generated from the corresponding system contract. Do not edit manually.
|
|
10
10
|
*/
|
|
11
|
-
interface
|
|
11
|
+
interface IIncrementSystem {
|
|
12
12
|
function app__increment() external returns (uint32);
|
|
13
13
|
}
|
|
@@ -5,7 +5,7 @@ pragma solidity >=0.8.24;
|
|
|
5
5
|
|
|
6
6
|
import { IBaseWorld } from "@latticexyz/world/src/codegen/interfaces/IBaseWorld.sol";
|
|
7
7
|
|
|
8
|
-
import {
|
|
8
|
+
import { IIncrementSystem } from "./IIncrementSystem.sol";
|
|
9
9
|
|
|
10
10
|
/**
|
|
11
11
|
* @title IWorld
|
|
@@ -14,4 +14,4 @@ import { app__IIncrementSystem } from "./app__IIncrementSystem.sol";
|
|
|
14
14
|
* that are dynamically registered in the World during deployment.
|
|
15
15
|
* @dev This is an autogenerated file; do not edit manually.
|
|
16
16
|
*/
|
|
17
|
-
interface IWorld is IBaseWorld,
|
|
17
|
+
interface IWorld is IBaseWorld, IIncrementSystem {}
|