create-mud 2.0.12-type-resolutions-8538f80e → 2.0.12-type-resolutions-817b0b0e
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/client/package.json +1 -1
- package/dist/templates/phaser/packages/client/tsconfig.json +1 -9
- package/dist/templates/phaser/packages/contracts/tsconfig.json +1 -11
- package/dist/templates/phaser/tsconfig.json +18 -0
- package/dist/templates/react/packages/client/tsconfig.json +1 -9
- package/dist/templates/react/packages/contracts/tsconfig.json +1 -11
- package/dist/templates/react/tsconfig.json +18 -0
- package/dist/templates/react-ecs/packages/client/tsconfig.json +1 -9
- package/dist/templates/react-ecs/packages/contracts/tsconfig.json +1 -11
- package/dist/templates/react-ecs/tsconfig.json +18 -0
- package/dist/templates/threejs/packages/client/tsconfig.json +1 -9
- package/dist/templates/threejs/packages/contracts/tsconfig.json +1 -11
- package/dist/templates/threejs/tsconfig.json +18 -0
- package/dist/templates/vanilla/packages/client/tsconfig.json +2 -11
- package/dist/templates/vanilla/packages/contracts/tsconfig.json +1 -11
- package/dist/templates/vanilla/tsconfig.json +18 -0
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
|
|
2
|
+
var t=require("create-create-app"),s=require("path");var e={name:"create-mud",version:"2.0.12-type-resolutions-817b0b0e",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:p})=>`Done! Play in the MUD with \`cd ${r.name}\` and \`${p} run dev\``,extra:{"mud-version":{type:"input",describe:"The version of MUD packages to use, defaults to latest",default:e.version}}});
|
|
@@ -1,17 +1,9 @@
|
|
|
1
1
|
{
|
|
2
|
+
"extends": "../../tsconfig.json",
|
|
2
3
|
"compilerOptions": {
|
|
3
4
|
"types": ["vite/client"],
|
|
4
5
|
"target": "ESNext",
|
|
5
|
-
"useDefineForClassFields": true,
|
|
6
|
-
"module": "ESNext",
|
|
7
6
|
"lib": ["ESNext", "DOM"],
|
|
8
|
-
"moduleResolution": "Bundler",
|
|
9
|
-
"strict": true,
|
|
10
|
-
"resolveJsonModule": true,
|
|
11
|
-
"isolatedModules": true,
|
|
12
|
-
"esModuleInterop": true,
|
|
13
|
-
"noEmit": true,
|
|
14
|
-
"skipLibCheck": true,
|
|
15
7
|
"jsx": "react-jsx",
|
|
16
8
|
"jsxImportSource": "react"
|
|
17
9
|
},
|
|
@@ -1,13 +1,3 @@
|
|
|
1
|
-
// Visit https://aka.ms/tsconfig.json for all config options
|
|
2
1
|
{
|
|
3
|
-
"
|
|
4
|
-
"target": "ES2020",
|
|
5
|
-
"module": "Preserve",
|
|
6
|
-
"strict": true,
|
|
7
|
-
"resolveJsonModule": true,
|
|
8
|
-
"esModuleInterop": true,
|
|
9
|
-
"skipLibCheck": true,
|
|
10
|
-
"forceConsistentCasingInFileNames": true,
|
|
11
|
-
"moduleResolution": "node"
|
|
12
|
-
}
|
|
2
|
+
"extends": "../../tsconfig.json"
|
|
13
3
|
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
{
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
"module": "esnext",
|
|
4
|
+
"moduleResolution": "Bundler",
|
|
5
|
+
"target": "es2021",
|
|
6
|
+
"lib": ["ESNext"],
|
|
7
|
+
"noEmit": true,
|
|
8
|
+
"skipLibCheck": true,
|
|
9
|
+
"strict": true,
|
|
10
|
+
"declaration": true,
|
|
11
|
+
"esModuleInterop": true,
|
|
12
|
+
"noErrorTruncation": true,
|
|
13
|
+
"resolveJsonModule": true,
|
|
14
|
+
"forceConsistentCasingInFileNames": true,
|
|
15
|
+
"sourceMap": true
|
|
16
|
+
},
|
|
17
|
+
"exclude": ["**/dist", "**/node_modules", "**/docs", "**/e2e"]
|
|
18
|
+
}
|
|
@@ -1,17 +1,9 @@
|
|
|
1
1
|
{
|
|
2
|
+
"extends": "../../tsconfig.json",
|
|
2
3
|
"compilerOptions": {
|
|
3
4
|
"types": ["vite/client"],
|
|
4
5
|
"target": "ESNext",
|
|
5
|
-
"useDefineForClassFields": true,
|
|
6
|
-
"module": "ESNext",
|
|
7
6
|
"lib": ["ESNext", "DOM"],
|
|
8
|
-
"moduleResolution": "Bundler",
|
|
9
|
-
"strict": true,
|
|
10
|
-
"resolveJsonModule": true,
|
|
11
|
-
"isolatedModules": true,
|
|
12
|
-
"esModuleInterop": true,
|
|
13
|
-
"noEmit": true,
|
|
14
|
-
"skipLibCheck": true,
|
|
15
7
|
"jsx": "react-jsx",
|
|
16
8
|
"jsxImportSource": "react"
|
|
17
9
|
},
|
|
@@ -1,13 +1,3 @@
|
|
|
1
|
-
// Visit https://aka.ms/tsconfig.json for all config options
|
|
2
1
|
{
|
|
3
|
-
"
|
|
4
|
-
"target": "ES2020",
|
|
5
|
-
"module": "Preserve",
|
|
6
|
-
"strict": true,
|
|
7
|
-
"resolveJsonModule": true,
|
|
8
|
-
"esModuleInterop": true,
|
|
9
|
-
"skipLibCheck": true,
|
|
10
|
-
"forceConsistentCasingInFileNames": true,
|
|
11
|
-
"moduleResolution": "node"
|
|
12
|
-
}
|
|
2
|
+
"extends": "../../tsconfig.json"
|
|
13
3
|
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
{
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
"module": "esnext",
|
|
4
|
+
"moduleResolution": "Bundler",
|
|
5
|
+
"target": "es2021",
|
|
6
|
+
"lib": ["ESNext"],
|
|
7
|
+
"noEmit": true,
|
|
8
|
+
"skipLibCheck": true,
|
|
9
|
+
"strict": true,
|
|
10
|
+
"declaration": true,
|
|
11
|
+
"esModuleInterop": true,
|
|
12
|
+
"noErrorTruncation": true,
|
|
13
|
+
"resolveJsonModule": true,
|
|
14
|
+
"forceConsistentCasingInFileNames": true,
|
|
15
|
+
"sourceMap": true
|
|
16
|
+
},
|
|
17
|
+
"exclude": ["**/dist", "**/node_modules", "**/docs", "**/e2e"]
|
|
18
|
+
}
|
|
@@ -1,17 +1,9 @@
|
|
|
1
1
|
{
|
|
2
|
+
"extends": "../../tsconfig.json",
|
|
2
3
|
"compilerOptions": {
|
|
3
4
|
"types": ["vite/client"],
|
|
4
5
|
"target": "ESNext",
|
|
5
|
-
"useDefineForClassFields": true,
|
|
6
|
-
"module": "ESNext",
|
|
7
6
|
"lib": ["ESNext", "DOM"],
|
|
8
|
-
"moduleResolution": "Bundler",
|
|
9
|
-
"strict": true,
|
|
10
|
-
"resolveJsonModule": true,
|
|
11
|
-
"isolatedModules": true,
|
|
12
|
-
"esModuleInterop": true,
|
|
13
|
-
"noEmit": true,
|
|
14
|
-
"skipLibCheck": true,
|
|
15
7
|
"jsx": "react-jsx",
|
|
16
8
|
"jsxImportSource": "react"
|
|
17
9
|
},
|
|
@@ -1,13 +1,3 @@
|
|
|
1
|
-
// Visit https://aka.ms/tsconfig.json for all config options
|
|
2
1
|
{
|
|
3
|
-
"
|
|
4
|
-
"target": "ES2020",
|
|
5
|
-
"module": "Preserve",
|
|
6
|
-
"strict": true,
|
|
7
|
-
"resolveJsonModule": true,
|
|
8
|
-
"esModuleInterop": true,
|
|
9
|
-
"skipLibCheck": true,
|
|
10
|
-
"forceConsistentCasingInFileNames": true,
|
|
11
|
-
"moduleResolution": "node"
|
|
12
|
-
}
|
|
2
|
+
"extends": "../../tsconfig.json"
|
|
13
3
|
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
{
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
"module": "esnext",
|
|
4
|
+
"moduleResolution": "Bundler",
|
|
5
|
+
"target": "es2021",
|
|
6
|
+
"lib": ["ESNext"],
|
|
7
|
+
"noEmit": true,
|
|
8
|
+
"skipLibCheck": true,
|
|
9
|
+
"strict": true,
|
|
10
|
+
"declaration": true,
|
|
11
|
+
"esModuleInterop": true,
|
|
12
|
+
"noErrorTruncation": true,
|
|
13
|
+
"resolveJsonModule": true,
|
|
14
|
+
"forceConsistentCasingInFileNames": true,
|
|
15
|
+
"sourceMap": true
|
|
16
|
+
},
|
|
17
|
+
"exclude": ["**/dist", "**/node_modules", "**/docs", "**/e2e"]
|
|
18
|
+
}
|
|
@@ -1,17 +1,9 @@
|
|
|
1
1
|
{
|
|
2
|
+
"extends": "../../tsconfig.json",
|
|
2
3
|
"compilerOptions": {
|
|
3
4
|
"types": ["vite/client"],
|
|
4
5
|
"target": "ESNext",
|
|
5
|
-
"useDefineForClassFields": true,
|
|
6
|
-
"module": "ESNext",
|
|
7
6
|
"lib": ["ESNext", "DOM"],
|
|
8
|
-
"moduleResolution": "Bundler",
|
|
9
|
-
"strict": true,
|
|
10
|
-
"resolveJsonModule": true,
|
|
11
|
-
"isolatedModules": true,
|
|
12
|
-
"esModuleInterop": true,
|
|
13
|
-
"noEmit": true,
|
|
14
|
-
"skipLibCheck": true,
|
|
15
7
|
"jsx": "react-jsx",
|
|
16
8
|
"jsxImportSource": "react"
|
|
17
9
|
},
|
|
@@ -1,13 +1,3 @@
|
|
|
1
|
-
// Visit https://aka.ms/tsconfig.json for all config options
|
|
2
1
|
{
|
|
3
|
-
"
|
|
4
|
-
"target": "ES2020",
|
|
5
|
-
"module": "Preserve",
|
|
6
|
-
"strict": true,
|
|
7
|
-
"resolveJsonModule": true,
|
|
8
|
-
"esModuleInterop": true,
|
|
9
|
-
"skipLibCheck": true,
|
|
10
|
-
"forceConsistentCasingInFileNames": true,
|
|
11
|
-
"moduleResolution": "node"
|
|
12
|
-
}
|
|
2
|
+
"extends": "../../tsconfig.json"
|
|
13
3
|
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
{
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
"module": "esnext",
|
|
4
|
+
"moduleResolution": "Bundler",
|
|
5
|
+
"target": "es2021",
|
|
6
|
+
"lib": ["ESNext"],
|
|
7
|
+
"noEmit": true,
|
|
8
|
+
"skipLibCheck": true,
|
|
9
|
+
"strict": true,
|
|
10
|
+
"declaration": true,
|
|
11
|
+
"esModuleInterop": true,
|
|
12
|
+
"noErrorTruncation": true,
|
|
13
|
+
"resolveJsonModule": true,
|
|
14
|
+
"forceConsistentCasingInFileNames": true,
|
|
15
|
+
"sourceMap": true
|
|
16
|
+
},
|
|
17
|
+
"exclude": ["**/dist", "**/node_modules", "**/docs", "**/e2e"]
|
|
18
|
+
}
|
|
@@ -1,18 +1,9 @@
|
|
|
1
1
|
{
|
|
2
|
+
"extends": "../../tsconfig.json",
|
|
2
3
|
"compilerOptions": {
|
|
3
4
|
"types": ["vite/client"],
|
|
4
5
|
"target": "ESNext",
|
|
5
|
-
"
|
|
6
|
-
"module": "ESNext",
|
|
7
|
-
"lib": ["ESNext", "DOM"],
|
|
8
|
-
"moduleResolution": "Bundler",
|
|
9
|
-
"strict": true,
|
|
10
|
-
"resolveJsonModule": true,
|
|
11
|
-
"isolatedModules": true,
|
|
12
|
-
"esModuleInterop": true,
|
|
13
|
-
"noEmit": true,
|
|
14
|
-
"skipLibCheck": true,
|
|
15
|
-
"jsx": "react-jsx"
|
|
6
|
+
"lib": ["ESNext", "DOM"]
|
|
16
7
|
},
|
|
17
8
|
"include": ["src"]
|
|
18
9
|
}
|
|
@@ -1,13 +1,3 @@
|
|
|
1
|
-
// Visit https://aka.ms/tsconfig.json for all config options
|
|
2
1
|
{
|
|
3
|
-
"
|
|
4
|
-
"target": "ES2020",
|
|
5
|
-
"module": "Preserve",
|
|
6
|
-
"strict": true,
|
|
7
|
-
"resolveJsonModule": true,
|
|
8
|
-
"esModuleInterop": true,
|
|
9
|
-
"skipLibCheck": true,
|
|
10
|
-
"forceConsistentCasingInFileNames": true,
|
|
11
|
-
"moduleResolution": "node"
|
|
12
|
-
}
|
|
2
|
+
"extends": "../../tsconfig.json"
|
|
13
3
|
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
{
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
"module": "esnext",
|
|
4
|
+
"moduleResolution": "Bundler",
|
|
5
|
+
"target": "es2021",
|
|
6
|
+
"lib": ["ESNext"],
|
|
7
|
+
"noEmit": true,
|
|
8
|
+
"skipLibCheck": true,
|
|
9
|
+
"strict": true,
|
|
10
|
+
"declaration": true,
|
|
11
|
+
"esModuleInterop": true,
|
|
12
|
+
"noErrorTruncation": true,
|
|
13
|
+
"resolveJsonModule": true,
|
|
14
|
+
"forceConsistentCasingInFileNames": true,
|
|
15
|
+
"sourceMap": true
|
|
16
|
+
},
|
|
17
|
+
"exclude": ["**/dist", "**/node_modules", "**/docs", "**/e2e"]
|
|
18
|
+
}
|