create-mud 2.0.0-alpha.48 → 2.0.0-alpha.5
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/{templates → dist/templates}/minimal/.vscode/settings.json +0 -1
- package/dist/templates/minimal/package.json +18 -0
- package/{templates → dist/templates}/minimal/packages/client/package.json +9 -7
- package/dist/templates/minimal/packages/client/vite.config.ts +10 -0
- package/{templates → dist/templates}/minimal/packages/contracts/.prettierrc +1 -0
- package/{templates → dist/templates}/minimal/packages/contracts/foundry.toml +1 -1
- package/{templates → dist/templates}/minimal/packages/contracts/package.json +10 -12
- package/dist/templates/minimal/packages/contracts/remappings.txt +9 -0
- package/dist/templates/minimal/pnpm-workspace.yaml +2 -0
- package/{templates → dist/templates}/react/.vscode/settings.json +0 -1
- package/dist/templates/react/package.json +18 -0
- package/{templates → dist/templates}/react/packages/client/package.json +9 -8
- package/dist/templates/react/packages/client/vite.config.ts +12 -0
- package/{templates → dist/templates}/react/packages/contracts/.prettierrc +1 -0
- package/{templates → dist/templates}/react/packages/contracts/foundry.toml +1 -1
- package/{templates → dist/templates}/react/packages/contracts/package.json +11 -14
- package/dist/templates/react/packages/contracts/remappings.txt +9 -0
- package/dist/templates/react/pnpm-workspace.yaml +2 -0
- package/package.json +9 -10
- package/templates/minimal/package.json +0 -17
- package/templates/minimal/packages/client/vite.config.ts +0 -29
- package/templates/minimal/packages/contracts/remappings.txt +0 -9
- package/templates/react/package.json +0 -17
- package/templates/react/packages/client/vite.config.ts +0 -32
- package/templates/react/packages/contracts/remappings.txt +0 -9
- /package/{templates → dist/templates}/minimal/.gitignore +0 -0
- /package/{templates → dist/templates}/minimal/packages/client/.eslintrc +0 -0
- /package/{templates → dist/templates}/minimal/packages/client/.gitignore +0 -0
- /package/{templates → dist/templates}/minimal/packages/client/index.html +0 -0
- /package/{templates → dist/templates}/minimal/packages/client/src/config.ts +0 -0
- /package/{templates → dist/templates}/minimal/packages/client/src/index.ts +0 -0
- /package/{templates → dist/templates}/minimal/packages/client/tsconfig.json +0 -0
- /package/{templates → dist/templates}/minimal/packages/contracts/.gitignore +0 -0
- /package/{templates → dist/templates}/minimal/packages/contracts/.solhint.json +0 -0
- /package/{templates → dist/templates}/minimal/packages/contracts/chainSpec.json +0 -0
- /package/{templates → dist/templates}/minimal/packages/contracts/deploy.json +0 -0
- /package/{templates → dist/templates}/minimal/packages/contracts/exports.sh +0 -0
- /package/{templates → dist/templates}/minimal/packages/contracts/src/components/CounterComponent.sol +0 -0
- /package/{templates → dist/templates}/minimal/packages/contracts/src/libraries/LibMath.sol +0 -0
- /package/{templates → dist/templates}/minimal/packages/contracts/src/systems/IncrementSystem.sol +0 -0
- /package/{templates → dist/templates}/minimal/packages/contracts/src/systems/README.md +0 -0
- /package/{templates → dist/templates}/minimal/packages/contracts/src/test/Deploy.sol +0 -0
- /package/{templates → dist/templates}/minimal/packages/contracts/src/test/Deploy.t.sol +0 -0
- /package/{templates → dist/templates}/minimal/packages/contracts/src/test/LibDeploy.sol +0 -0
- /package/{templates → dist/templates}/minimal/packages/contracts/tsconfig.json +0 -0
- /package/{templates → dist/templates}/react/.gitignore +0 -0
- /package/{templates → dist/templates}/react/packages/client/.eslintrc +0 -0
- /package/{templates → dist/templates}/react/packages/client/.gitignore +0 -0
- /package/{templates → dist/templates}/react/packages/client/index.html +0 -0
- /package/{templates → dist/templates}/react/packages/client/src/App.tsx +0 -0
- /package/{templates → dist/templates}/react/packages/client/src/config.ts +0 -0
- /package/{templates → dist/templates}/react/packages/client/src/index.tsx +0 -0
- /package/{templates → dist/templates}/react/packages/client/tsconfig.json +0 -0
- /package/{templates → dist/templates}/react/packages/contracts/.gitignore +0 -0
- /package/{templates → dist/templates}/react/packages/contracts/.solhint.json +0 -0
- /package/{templates → dist/templates}/react/packages/contracts/chainSpec.json +0 -0
- /package/{templates → dist/templates}/react/packages/contracts/deploy.json +0 -0
- /package/{templates → dist/templates}/react/packages/contracts/exports.sh +0 -0
- /package/{templates → dist/templates}/react/packages/contracts/src/components/CounterComponent.sol +0 -0
- /package/{templates → dist/templates}/react/packages/contracts/src/libraries/LibMath.sol +0 -0
- /package/{templates → dist/templates}/react/packages/contracts/src/systems/IncrementSystem.sol +0 -0
- /package/{templates → dist/templates}/react/packages/contracts/src/systems/README.md +0 -0
- /package/{templates → dist/templates}/react/packages/contracts/src/test/Deploy.sol +0 -0
- /package/{templates → dist/templates}/react/packages/contracts/src/test/Deploy.t.sol +0 -0
- /package/{templates → dist/templates}/react/packages/contracts/src/test/LibDeploy.sol +0 -0
- /package/{templates → dist/templates}/react/packages/contracts/tsconfig.json +0 -0
package/dist/cli.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
"use strict";var t=require("create-create-app"),a=require("path");var e={name:"create-mud",description:"Create a new MUD project",version:"2.0.0-alpha.
|
|
2
|
+
"use strict";var t=require("create-create-app"),a=require("path");var e={name:"create-mud",description:"Create a new MUD project",version:"2.0.0-alpha.5+01167ab3",author:"Lattice <mud@lattice.xyz>",license:"MIT",bin:"dist/cli.js",files:["dist"],scripts:{build:"tsup src/cli.ts --minify && ./scripts/copy-templates.sh",clean:"rimraf dist",dev:"tsup src/cli.ts --watch",prepublishOnly:"npm run clean && npm run build",test:"pnpm test:minimal && pnpm test:react","test:minimal":"dist/cli.js test-project --template minimal && rimraf test-project","test:react":"dist/cli.js test-project --template react && rimraf test-project",release:"npm publish --access=public"},dependencies:{"create-create-app":"git+https://github.com/holic/create-create-app#74376c59b48a04aabbe94d9cacfe9cb1cecccd63"},devDependencies:{"@types/node":"^17.0.29",tsup:"^5.12.1",typescript:"^4.9.5"},publishConfig:{access:"public",registry:"https://registry.npmjs.org"},gitHead:"01167ab366c9e677fd84161401c07e44066f5f03"};var p=(0,a.resolve)(__dirname,"..","dist","templates");(0,t.create)("create-mud",{templateRoot:p,defaultTemplate:"minimal",defaultPackageManager:"pnpm",promptForDescription:!1,promptForAuthor:!1,promptForEmail:!1,promptForLicense:!1,promptForTemplate:!0,caveat:({answers:s,packageManager:r})=>`Done! Play in the MUD with \`cd ${s.name}\` and \`${r} run dev\``,extra:{"mud-version":{type:"input",describe:"The version of MUD packages to use, defaults to latest",default:e.version}}});
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
{
|
|
2
|
+
"private": true,
|
|
3
|
+
"name": "mud-template-minimal",
|
|
4
|
+
"engines": {
|
|
5
|
+
"node": "18.x",
|
|
6
|
+
"pnpm": "8.x"
|
|
7
|
+
},
|
|
8
|
+
"scripts": {
|
|
9
|
+
"build": "pnpm recursive run build",
|
|
10
|
+
"dev": "run-pty % pnpm dev:node % pnpm dev:client % pnpm dev:contracts",
|
|
11
|
+
"dev:client": "pnpm --filter 'client' run dev",
|
|
12
|
+
"dev:node": "pnpm --filter 'contracts' devnode",
|
|
13
|
+
"dev:contracts": "pnpm --filter 'contracts' dev"
|
|
14
|
+
},
|
|
15
|
+
"devDependencies": {
|
|
16
|
+
"run-pty": "^4.0.3"
|
|
17
|
+
}
|
|
18
|
+
}
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
"type": "module",
|
|
7
7
|
"scripts": {
|
|
8
8
|
"dev": "vite",
|
|
9
|
-
"build": "
|
|
9
|
+
"build": "vite build",
|
|
10
10
|
"preview": "vite preview"
|
|
11
11
|
},
|
|
12
12
|
"devDependencies": {
|
|
@@ -14,16 +14,18 @@
|
|
|
14
14
|
"@typescript-eslint/parser": "^5.46.1",
|
|
15
15
|
"eslint": "^8.29.0",
|
|
16
16
|
"typescript": "^4.9.5",
|
|
17
|
-
"vite": "^
|
|
17
|
+
"vite": "^4.2.1"
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"@improbable-eng/grpc-web": "^0.15.0",
|
|
21
|
-
"@latticexyz/network": "
|
|
22
|
-
"@latticexyz/
|
|
23
|
-
"@latticexyz/
|
|
24
|
-
"@latticexyz/
|
|
25
|
-
"@latticexyz/
|
|
21
|
+
"@latticexyz/network": "link:../../../../packages/network",
|
|
22
|
+
"@latticexyz/react": "link:../../../../packages/react",
|
|
23
|
+
"@latticexyz/recs": "link:../../../../packages/recs",
|
|
24
|
+
"@latticexyz/services": "link:../../../../packages/services",
|
|
25
|
+
"@latticexyz/std-client": "link:../../../../packages/std-client",
|
|
26
|
+
"@latticexyz/utils": "link:../../../../packages/utils",
|
|
26
27
|
"async-mutex": "^0.4.0",
|
|
28
|
+
"contracts": "workspace:*",
|
|
27
29
|
"ethers": "^5.7.2",
|
|
28
30
|
"mobx": "^6.7.0",
|
|
29
31
|
"nice-grpc": "^2.0.1",
|
|
@@ -5,13 +5,13 @@
|
|
|
5
5
|
"private": true,
|
|
6
6
|
"scripts": {
|
|
7
7
|
"----- EXTERNAL -----": "---------------------------",
|
|
8
|
-
"
|
|
8
|
+
"build": "mud types",
|
|
9
9
|
"devnode": "mud devnode",
|
|
10
10
|
"test": "mud test",
|
|
11
11
|
"types": "mud types",
|
|
12
12
|
"dev": "mud deploy-contracts --dev --watch --openUrl http://localhost:3000?dev=true",
|
|
13
13
|
"deploy": "mud deploy-contracts",
|
|
14
|
-
"lint": "
|
|
14
|
+
"lint": "prettier && solhint",
|
|
15
15
|
"----- INTERNAL -----": "---------------------------",
|
|
16
16
|
"prettier": "prettier --write 'src/**/*.sol'",
|
|
17
17
|
"solhint": "solhint --config ./.solhint.json 'src/**/*.sol' --fix"
|
|
@@ -19,24 +19,22 @@
|
|
|
19
19
|
"devDependencies": {
|
|
20
20
|
"@ethersproject/abi": "^5.7.0",
|
|
21
21
|
"@ethersproject/bytes": "^5.7.0",
|
|
22
|
-
"@ethersproject/providers": "^5.7.
|
|
23
|
-
"@latticexyz/cli": "
|
|
24
|
-
"@latticexyz/solecs": "
|
|
25
|
-
"@latticexyz/std-contracts": "
|
|
26
|
-
"@rari-capital/solmate": "https://github.com/rari-capital/solmate.git#851ea3baa4327f453da723df75b1093b58b964dc",
|
|
22
|
+
"@ethersproject/providers": "^5.7.2",
|
|
23
|
+
"@latticexyz/cli": "link:../../../../packages/cli",
|
|
24
|
+
"@latticexyz/solecs": "link:../../../../packages/solecs",
|
|
25
|
+
"@latticexyz/std-contracts": "link:../../../../packages/std-contracts",
|
|
27
26
|
"@solidstate/contracts": "^0.0.52",
|
|
28
|
-
"@typechain/ethers-v5": "^10.
|
|
27
|
+
"@typechain/ethers-v5": "^10.2.0",
|
|
29
28
|
"@types/node": "^18.11.9",
|
|
30
|
-
"ds-test": "https://github.com/dapphub/ds-test.git#
|
|
31
|
-
"ethers": "^5.7.
|
|
29
|
+
"ds-test": "https://github.com/dapphub/ds-test.git#c9ce3f25bde29fc5eb9901842bf02850dfd2d084",
|
|
30
|
+
"ethers": "^5.7.2",
|
|
32
31
|
"forge-std": "https://github.com/foundry-rs/forge-std.git#b4f121555729b3afb3c5ffccb62ff4b6e2818fd3",
|
|
33
|
-
"memmove": "https://github.com/brockelmore/memmove.git#
|
|
32
|
+
"memmove": "https://github.com/brockelmore/memmove.git#ffd71cd77b1708574ef46a667b23ca3a5cc9fa27",
|
|
34
33
|
"prettier": "^2.8.4",
|
|
35
34
|
"prettier-plugin-solidity": "^1.1.2",
|
|
36
35
|
"rimraf": "^3.0.2",
|
|
37
36
|
"run-pty": "^4.0.3",
|
|
38
37
|
"solhint": "^3.3.7",
|
|
39
|
-
"ts-node": "^10.7.0",
|
|
40
38
|
"typechain": "^8.1.1",
|
|
41
39
|
"typescript": "^4.9.5",
|
|
42
40
|
"wait-on": "^6.0.1"
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
components/=./src/components
|
|
2
|
+
systems/=./src/systems
|
|
3
|
+
libraries/=./src/libraries
|
|
4
|
+
std-contracts/=node_modules/@latticexyz/std-contracts/src/
|
|
5
|
+
solecs/=node_modules/@latticexyz/solecs/src/
|
|
6
|
+
memmove/=node_modules/memmove/src/
|
|
7
|
+
ds-test/=node_modules/ds-test/src/
|
|
8
|
+
forge-std/=node_modules/forge-std/src/
|
|
9
|
+
@solidstate/=node_modules/@solidstate/
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
{
|
|
2
|
+
"private": true,
|
|
3
|
+
"name": "mud-template-react",
|
|
4
|
+
"engines": {
|
|
5
|
+
"node": "18.x",
|
|
6
|
+
"pnpm": "8.x"
|
|
7
|
+
},
|
|
8
|
+
"scripts": {
|
|
9
|
+
"build": "pnpm recursive run build",
|
|
10
|
+
"dev": "run-pty % pnpm dev:node % pnpm dev:client % pnpm dev:contracts",
|
|
11
|
+
"dev:client": "pnpm --filter 'client' run dev",
|
|
12
|
+
"dev:node": "pnpm --filter 'contracts' devnode",
|
|
13
|
+
"dev:contracts": "pnpm --filter 'contracts' dev"
|
|
14
|
+
},
|
|
15
|
+
"devDependencies": {
|
|
16
|
+
"run-pty": "^4.0.3"
|
|
17
|
+
}
|
|
18
|
+
}
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
"type": "module",
|
|
7
7
|
"scripts": {
|
|
8
8
|
"dev": "vite",
|
|
9
|
-
"build": "
|
|
9
|
+
"build": "vite build",
|
|
10
10
|
"preview": "vite preview"
|
|
11
11
|
},
|
|
12
12
|
"devDependencies": {
|
|
@@ -19,17 +19,18 @@
|
|
|
19
19
|
"eslint-plugin-react": "^7.31.11",
|
|
20
20
|
"eslint-plugin-react-hooks": "^4.6.0",
|
|
21
21
|
"typescript": "^4.9.5",
|
|
22
|
-
"vite": "^
|
|
22
|
+
"vite": "^4.2.1"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
25
|
"@improbable-eng/grpc-web": "^0.15.0",
|
|
26
|
-
"@latticexyz/network": "
|
|
27
|
-
"@latticexyz/react": "
|
|
28
|
-
"@latticexyz/recs": "
|
|
29
|
-
"@latticexyz/services": "
|
|
30
|
-
"@latticexyz/std-client": "
|
|
31
|
-
"@latticexyz/utils": "
|
|
26
|
+
"@latticexyz/network": "link:../../../../packages/network",
|
|
27
|
+
"@latticexyz/react": "link:../../../../packages/react",
|
|
28
|
+
"@latticexyz/recs": "link:../../../../packages/recs",
|
|
29
|
+
"@latticexyz/services": "link:../../../../packages/services",
|
|
30
|
+
"@latticexyz/std-client": "link:../../../../packages/std-client",
|
|
31
|
+
"@latticexyz/utils": "link:../../../../packages/utils",
|
|
32
32
|
"async-mutex": "^0.4.0",
|
|
33
|
+
"contracts": "workspace:*",
|
|
33
34
|
"ethers": "^5.7.2",
|
|
34
35
|
"mobx": "^6.7.0",
|
|
35
36
|
"nice-grpc": "^2.0.1",
|
|
@@ -5,13 +5,13 @@
|
|
|
5
5
|
"private": true,
|
|
6
6
|
"scripts": {
|
|
7
7
|
"----- EXTERNAL -----": "---------------------------",
|
|
8
|
-
"
|
|
8
|
+
"build": "mud types",
|
|
9
9
|
"devnode": "mud devnode",
|
|
10
10
|
"test": "mud test",
|
|
11
11
|
"types": "mud types",
|
|
12
12
|
"dev": "mud deploy-contracts --dev --watch --openUrl http://localhost:3000?dev=true",
|
|
13
13
|
"deploy": "mud deploy-contracts",
|
|
14
|
-
"lint": "
|
|
14
|
+
"lint": "prettier && solhint",
|
|
15
15
|
"----- INTERNAL -----": "---------------------------",
|
|
16
16
|
"prettier": "prettier --write 'src/**/*.sol'",
|
|
17
17
|
"solhint": "solhint --config ./.solhint.json 'src/**/*.sol' --fix"
|
|
@@ -19,27 +19,24 @@
|
|
|
19
19
|
"devDependencies": {
|
|
20
20
|
"@ethersproject/abi": "^5.7.0",
|
|
21
21
|
"@ethersproject/bytes": "^5.7.0",
|
|
22
|
-
"@ethersproject/providers": "^5.7.
|
|
23
|
-
"@latticexyz/cli": "
|
|
24
|
-
"@latticexyz/solecs": "
|
|
25
|
-
"@latticexyz/std-contracts": "
|
|
26
|
-
"@rari-capital/solmate": "https://github.com/rari-capital/solmate.git#851ea3baa4327f453da723df75b1093b58b964dc",
|
|
22
|
+
"@ethersproject/providers": "^5.7.2",
|
|
23
|
+
"@latticexyz/cli": "link:../../../../packages/cli",
|
|
24
|
+
"@latticexyz/solecs": "link:../../../../packages/solecs",
|
|
25
|
+
"@latticexyz/std-contracts": "link:../../../../packages/std-contracts",
|
|
27
26
|
"@solidstate/contracts": "^0.0.52",
|
|
28
|
-
"@typechain/ethers-v5": "^10.
|
|
27
|
+
"@typechain/ethers-v5": "^10.2.0",
|
|
29
28
|
"@types/node": "^18.11.9",
|
|
30
|
-
"ds-test": "https://github.com/dapphub/ds-test.git#
|
|
31
|
-
"ethers": "^5.7.
|
|
29
|
+
"ds-test": "https://github.com/dapphub/ds-test.git#c9ce3f25bde29fc5eb9901842bf02850dfd2d084",
|
|
30
|
+
"ethers": "^5.7.2",
|
|
32
31
|
"forge-std": "https://github.com/foundry-rs/forge-std.git#b4f121555729b3afb3c5ffccb62ff4b6e2818fd3",
|
|
33
|
-
"memmove": "https://github.com/brockelmore/memmove.git#
|
|
32
|
+
"memmove": "https://github.com/brockelmore/memmove.git#ffd71cd77b1708574ef46a667b23ca3a5cc9fa27",
|
|
34
33
|
"prettier": "^2.8.4",
|
|
35
34
|
"prettier-plugin-solidity": "^1.1.2",
|
|
36
35
|
"rimraf": "^3.0.2",
|
|
37
36
|
"run-pty": "^4.0.3",
|
|
38
37
|
"solhint": "^3.3.7",
|
|
39
|
-
"ts-node": "^10.7.0",
|
|
40
38
|
"typechain": "^8.1.1",
|
|
41
39
|
"typescript": "^4.9.5",
|
|
42
40
|
"wait-on": "^6.0.1"
|
|
43
|
-
}
|
|
44
|
-
"dependencies": {}
|
|
41
|
+
}
|
|
45
42
|
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
components/=./src/components
|
|
2
|
+
systems/=./src/systems
|
|
3
|
+
libraries/=./src/libraries
|
|
4
|
+
std-contracts/=node_modules/@latticexyz/std-contracts/src/
|
|
5
|
+
solecs/=node_modules/@latticexyz/solecs/src/
|
|
6
|
+
memmove/=node_modules/memmove/src/
|
|
7
|
+
ds-test/=node_modules/ds-test/src/
|
|
8
|
+
forge-std/=node_modules/forge-std/src/
|
|
9
|
+
@solidstate/=node_modules/@solidstate/
|
package/package.json
CHANGED
|
@@ -1,29 +1,28 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-mud",
|
|
3
3
|
"description": "Create a new MUD project",
|
|
4
|
-
"version": "2.0.0-alpha.
|
|
4
|
+
"version": "2.0.0-alpha.5+01167ab3",
|
|
5
5
|
"author": "Lattice <mud@lattice.xyz>",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"bin": "dist/cli.js",
|
|
8
8
|
"files": [
|
|
9
|
-
"dist"
|
|
10
|
-
"templates"
|
|
9
|
+
"dist"
|
|
11
10
|
],
|
|
12
11
|
"scripts": {
|
|
13
|
-
"
|
|
14
|
-
"
|
|
15
|
-
"clean": "shx rm -rf lib",
|
|
12
|
+
"build": "tsup src/cli.ts --minify && ./scripts/copy-templates.sh",
|
|
13
|
+
"clean": "rimraf dist",
|
|
16
14
|
"dev": "tsup src/cli.ts --watch",
|
|
17
15
|
"prepublishOnly": "npm run clean && npm run build",
|
|
18
|
-
"test": "
|
|
16
|
+
"test": "pnpm test:minimal && pnpm test:react",
|
|
17
|
+
"test:minimal": "dist/cli.js test-project --template minimal && rimraf test-project",
|
|
18
|
+
"test:react": "dist/cli.js test-project --template react && rimraf test-project",
|
|
19
19
|
"release": "npm publish --access=public"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"create-create-app": "git+https://github.com/holic/create-create-app#
|
|
22
|
+
"create-create-app": "git+https://github.com/holic/create-create-app#74376c59b48a04aabbe94d9cacfe9cb1cecccd63"
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|
|
25
25
|
"@types/node": "^17.0.29",
|
|
26
|
-
"shx": "^0.3.4",
|
|
27
26
|
"tsup": "^5.12.1",
|
|
28
27
|
"typescript": "^4.9.5"
|
|
29
28
|
},
|
|
@@ -31,5 +30,5 @@
|
|
|
31
30
|
"access": "public",
|
|
32
31
|
"registry": "https://registry.npmjs.org"
|
|
33
32
|
},
|
|
34
|
-
"gitHead": "
|
|
33
|
+
"gitHead": "01167ab366c9e677fd84161401c07e44066f5f03"
|
|
35
34
|
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"private": true,
|
|
3
|
-
"name": "{{kebab name}}",
|
|
4
|
-
"workspaces": [
|
|
5
|
-
"packages/*"
|
|
6
|
-
],
|
|
7
|
-
"scripts": {
|
|
8
|
-
"prepare": "yarn workspace contracts prepare",
|
|
9
|
-
"dev": "run-pty % yarn dev:node % yarn dev:client % yarn dev:contracts",
|
|
10
|
-
"dev:client": "yarn workspace client run dev",
|
|
11
|
-
"dev:node": "yarn workspace contracts run devnode",
|
|
12
|
-
"dev:contracts": "yarn workspace contracts run dev"
|
|
13
|
-
},
|
|
14
|
-
"devDependencies": {
|
|
15
|
-
"run-pty": "^4.0.3"
|
|
16
|
-
}
|
|
17
|
-
}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { defineConfig } from "vite";
|
|
2
|
-
export default defineConfig({
|
|
3
|
-
server: {
|
|
4
|
-
port: 3000,
|
|
5
|
-
fs: {
|
|
6
|
-
strict: false,
|
|
7
|
-
},
|
|
8
|
-
},
|
|
9
|
-
optimizeDeps: {
|
|
10
|
-
esbuildOptions: {
|
|
11
|
-
target: "es2020",
|
|
12
|
-
},
|
|
13
|
-
exclude: ["@latticexyz/network"],
|
|
14
|
-
include: [
|
|
15
|
-
"proxy-deep",
|
|
16
|
-
"ethers/lib/utils",
|
|
17
|
-
"bn.js",
|
|
18
|
-
"js-sha3",
|
|
19
|
-
"hash.js",
|
|
20
|
-
"bech32",
|
|
21
|
-
"long",
|
|
22
|
-
"protobufjs/minimal",
|
|
23
|
-
"debug",
|
|
24
|
-
"is-observable",
|
|
25
|
-
"nice-grpc-web",
|
|
26
|
-
"@improbable-eng/grpc-web",
|
|
27
|
-
],
|
|
28
|
-
},
|
|
29
|
-
});
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
components/=./src/components
|
|
2
|
-
systems/=./src/systems
|
|
3
|
-
libraries/=./src/libraries
|
|
4
|
-
std-contracts/=../../node_modules/@latticexyz/std-contracts/src/
|
|
5
|
-
solecs/=../../node_modules/@latticexyz/solecs/src/
|
|
6
|
-
memmove/=../../node_modules/memmove/src/
|
|
7
|
-
ds-test/=../../node_modules/ds-test/src/
|
|
8
|
-
solmate/=../../node_modules/@rari-capital/solmate/src/
|
|
9
|
-
forge-std/=../../node_modules/forge-std/src/
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"private": true,
|
|
3
|
-
"name": "{{kebab name}}",
|
|
4
|
-
"workspaces": [
|
|
5
|
-
"packages/*"
|
|
6
|
-
],
|
|
7
|
-
"scripts": {
|
|
8
|
-
"prepare": "yarn workspace contracts prepare",
|
|
9
|
-
"dev": "run-pty % yarn dev:node % yarn dev:client % yarn dev:contracts",
|
|
10
|
-
"dev:client": "yarn workspace client run dev",
|
|
11
|
-
"dev:node": "yarn workspace contracts run devnode",
|
|
12
|
-
"dev:contracts": "yarn workspace contracts run dev"
|
|
13
|
-
},
|
|
14
|
-
"devDependencies": {
|
|
15
|
-
"run-pty": "^4.0.3"
|
|
16
|
-
}
|
|
17
|
-
}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { defineConfig } from "vite";
|
|
2
|
-
import react from "@vitejs/plugin-react";
|
|
3
|
-
|
|
4
|
-
export default defineConfig({
|
|
5
|
-
plugins: [react()],
|
|
6
|
-
server: {
|
|
7
|
-
port: 3000,
|
|
8
|
-
fs: {
|
|
9
|
-
strict: false,
|
|
10
|
-
},
|
|
11
|
-
},
|
|
12
|
-
optimizeDeps: {
|
|
13
|
-
esbuildOptions: {
|
|
14
|
-
target: "es2020",
|
|
15
|
-
},
|
|
16
|
-
exclude: ["@latticexyz/network"],
|
|
17
|
-
include: [
|
|
18
|
-
"proxy-deep",
|
|
19
|
-
"ethers/lib/utils",
|
|
20
|
-
"bn.js",
|
|
21
|
-
"js-sha3",
|
|
22
|
-
"hash.js",
|
|
23
|
-
"bech32",
|
|
24
|
-
"long",
|
|
25
|
-
"protobufjs/minimal",
|
|
26
|
-
"debug",
|
|
27
|
-
"is-observable",
|
|
28
|
-
"nice-grpc-web",
|
|
29
|
-
"@improbable-eng/grpc-web",
|
|
30
|
-
],
|
|
31
|
-
},
|
|
32
|
-
});
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
components/=./src/components
|
|
2
|
-
systems/=./src/systems
|
|
3
|
-
libraries/=./src/libraries
|
|
4
|
-
std-contracts/=../../node_modules/@latticexyz/std-contracts/src/
|
|
5
|
-
solecs/=../../node_modules/@latticexyz/solecs/src/
|
|
6
|
-
memmove/=../../node_modules/memmove/src/
|
|
7
|
-
ds-test/=../../node_modules/ds-test/src/
|
|
8
|
-
solmate/=../../node_modules/@rari-capital/solmate/src/
|
|
9
|
-
forge-std/=../../node_modules/forge-std/src/
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/{templates → dist/templates}/minimal/packages/contracts/src/components/CounterComponent.sol
RENAMED
|
File without changes
|
|
File without changes
|
/package/{templates → dist/templates}/minimal/packages/contracts/src/systems/IncrementSystem.sol
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/{templates → dist/templates}/react/packages/contracts/src/components/CounterComponent.sol
RENAMED
|
File without changes
|
|
File without changes
|
/package/{templates → dist/templates}/react/packages/contracts/src/systems/IncrementSystem.sol
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|