create-mud 2.2.0-main-1c79e87a09bbde5506edf2820f49c328df514b23 → 2.2.0-main-28fd7327d390b818a635c06261d3073478cd5390
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/cli.js.map +1 -1
- package/dist/templates/phaser/package.json +0 -1
- package/dist/templates/phaser/packages/art/package.json +1 -1
- package/dist/templates/phaser/packages/contracts/package.json +1 -1
- package/dist/templates/react/package.json +0 -1
- package/dist/templates/react/packages/contracts/package.json +1 -1
- package/dist/templates/react-ecs/package.json +0 -1
- package/dist/templates/react-ecs/packages/contracts/package.json +1 -1
- package/dist/templates/threejs/package.json +0 -1
- package/dist/templates/threejs/packages/contracts/package.json +1 -1
- package/dist/templates/vanilla/package.json +0 -1
- package/dist/templates/vanilla/packages/contracts/package.json +1 -1
- package/package.json +7 -7
package/dist/cli.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
var l=Object.create;var
|
|
2
|
+
var l=Object.create;var a=Object.defineProperty;var o=Object.getOwnPropertyDescriptor;var m=Object.getOwnPropertyNames;var d=Object.getPrototypeOf,u=Object.prototype.hasOwnProperty;var h=(e,t,s,p)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of m(t))!u.call(e,r)&&r!==s&&a(e,r,{get:()=>t[r],enumerable:!(p=o(t,r))||p.enumerable});return e};var j=(e,t,s)=>(s=e!=null?l(d(e)):{},h(t||!e||!e.__esModule?a(s,"default",{value:e,enumerable:!0}):s,e));var n=require("create-create-app"),i=j(require("path"));var c={name:"create-mud",version:"2.2.0-main-28fd7327d390b818a635c06261d3073478cd5390",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 && tsx ./scripts/copy-templates.ts",clean:"pnpm run clean:js","clean:js":"npx shx rm -rf 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 && npx shx rm -rf test-project","test:react":"dist/cli.js test-project --template react && npx shx rm -rf test-project","test:react-ecs":"dist/cli.js test-project --template react-ecs && npx shx rm -rf test-project","test:threejs":"dist/cli.js test-project --template threejs && npx shx rm -rf test-project","test:vanilla":"dist/cli.js test-project --template vanilla && npx shx rm -rf 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 b=i.default.resolve(__dirname,"..","dist","templates");(0,n.create)("create-mud",{templateRoot:b,defaultTemplate:"vanilla",defaultPackageManager:"pnpm",promptForDescription:!1,promptForAuthor:!1,promptForEmail:!1,promptForLicense:!1,promptForTemplate:!0,caveat:({answers:e,packageManager:t})=>`Done! Play in the MUD with \`cd ${e.name}\` and \`${t} run dev\``,extra:{"mud-version":{type:"input",describe:"The version of MUD packages to use, defaults to latest",default:c.version}}});
|
|
3
3
|
//# sourceMappingURL=cli.js.map
|
package/dist/cli.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/cli.ts","../package.json"],"sourcesContent":["#!/usr/bin/env node\nimport { create } from \"create-create-app\";\nimport path from \"node:path\";\nimport packageJson from \"../package.json\";\n\nconst templateRoot = path.resolve(__dirname, \"..\", \"dist\", \"templates\");\n\n// See https://github.com/uetchy/create-create-app/blob/master/README.md for other options.\ncreate(\"create-mud\", {\n templateRoot,\n defaultTemplate: \"vanilla\",\n // templates use pnpm workspaces, so default to that for now\n // not sure if it's worth trying to support multiple kinds of package managers for monorepos, given the tooling is so different\n defaultPackageManager: \"pnpm\",\n promptForDescription: false,\n promptForAuthor: false,\n promptForEmail: false,\n promptForLicense: false,\n promptForTemplate: true,\n caveat: ({ answers, packageManager }) =>\n `Done! Play in the MUD with \\`cd ${answers.name}\\` and \\`${packageManager} run dev\\``,\n extra: {\n \"mud-version\": {\n type: \"input\",\n describe: \"The version of MUD packages to use, defaults to latest\",\n default: packageJson.version,\n },\n },\n});\n","{\n \"name\": \"create-mud\",\n \"version\": \"2.2.0-main-
|
|
1
|
+
{"version":3,"sources":["../src/cli.ts","../package.json"],"sourcesContent":["#!/usr/bin/env node\nimport { create } from \"create-create-app\";\nimport path from \"node:path\";\nimport packageJson from \"../package.json\";\n\nconst templateRoot = path.resolve(__dirname, \"..\", \"dist\", \"templates\");\n\n// See https://github.com/uetchy/create-create-app/blob/master/README.md for other options.\ncreate(\"create-mud\", {\n templateRoot,\n defaultTemplate: \"vanilla\",\n // templates use pnpm workspaces, so default to that for now\n // not sure if it's worth trying to support multiple kinds of package managers for monorepos, given the tooling is so different\n defaultPackageManager: \"pnpm\",\n promptForDescription: false,\n promptForAuthor: false,\n promptForEmail: false,\n promptForLicense: false,\n promptForTemplate: true,\n caveat: ({ answers, packageManager }) =>\n `Done! Play in the MUD with \\`cd ${answers.name}\\` and \\`${packageManager} run dev\\``,\n extra: {\n \"mud-version\": {\n type: \"input\",\n describe: \"The version of MUD packages to use, defaults to latest\",\n default: packageJson.version,\n },\n },\n});\n","{\n \"name\": \"create-mud\",\n \"version\": \"2.2.0-main-28fd7327d390b818a635c06261d3073478cd5390\",\n \"description\": \"Create a new MUD project\",\n \"license\": \"MIT\",\n \"author\": \"Lattice <mud@lattice.xyz>\",\n \"bin\": \"dist/cli.js\",\n \"files\": [\n \"dist\"\n ],\n \"scripts\": {\n \"build\": \"pnpm run build:js\",\n \"build:js\": \"tsup && tsx ./scripts/copy-templates.ts\",\n \"clean\": \"pnpm run clean:js\",\n \"clean:js\": \"npx shx rm -rf dist\",\n \"dev\": \"tsup --watch\",\n \"prepublishOnly\": \"npm run clean && npm run build\",\n \"test\": \"pnpm run test:vanilla && pnpm run test:react && pnpm run test:react-ecs && pnpm run test:phaser && pnpm run test:threejs\",\n \"test:ci\": \"pnpm run test\",\n \"test:phaser\": \"dist/cli.js test-project --template phaser && npx shx rm -rf test-project\",\n \"test:react\": \"dist/cli.js test-project --template react && npx shx rm -rf test-project\",\n \"test:react-ecs\": \"dist/cli.js test-project --template react-ecs && npx shx rm -rf test-project\",\n \"test:threejs\": \"dist/cli.js test-project --template threejs && npx shx rm -rf test-project\",\n \"test:vanilla\": \"dist/cli.js test-project --template vanilla && npx shx rm -rf test-project\"\n },\n \"dependencies\": {\n \"create-create-app\": \"git+https://github.com/holic/create-create-app#74376c59b48a04aabbe94d9cacfe9cb1cecccd63\"\n },\n \"devDependencies\": {\n \"@types/node\": \"^18.15.11\",\n \"tsup\": \"^6.7.0\"\n },\n \"publishConfig\": {\n \"access\": \"public\",\n \"registry\": \"https://registry.npmjs.org\"\n }\n}\n"],"mappings":";2cACA,IAAAA,EAAuB,6BACvBC,EAAiB,mBCFjB,IAAAC,EAAA,CACE,KAAQ,aACR,QAAW,sDACX,YAAe,2BACf,QAAW,MACX,OAAU,4BACV,IAAO,cACP,MAAS,CACP,MACF,EACA,QAAW,CACT,MAAS,oBACT,WAAY,0CACZ,MAAS,oBACT,WAAY,sBACZ,IAAO,eACP,eAAkB,iCAClB,KAAQ,2HACR,UAAW,gBACX,cAAe,4EACf,aAAc,2EACd,iBAAkB,+EAClB,eAAgB,6EAChB,eAAgB,4EAClB,EACA,aAAgB,CACd,oBAAqB,yFACvB,EACA,gBAAmB,CACjB,cAAe,YACf,KAAQ,QACV,EACA,cAAiB,CACf,OAAU,SACV,SAAY,4BACd,CACF,ED/BA,IAAMC,EAAe,EAAAC,QAAK,QAAQ,UAAW,KAAM,OAAQ,WAAW,KAGtE,UAAO,aAAc,CACnB,aAAAD,EACA,gBAAiB,UAGjB,sBAAuB,OACvB,qBAAsB,GACtB,gBAAiB,GACjB,eAAgB,GAChB,iBAAkB,GAClB,kBAAmB,GACnB,OAAQ,CAAC,CAAE,QAAAE,EAAS,eAAAC,CAAe,IACjC,mCAAmCD,EAAQ,gBAAgBC,cAC7D,MAAO,CACL,cAAe,CACb,KAAM,QACN,SAAU,yDACV,QAASC,EAAY,OACvB,CACF,CACF,CAAC","names":["import_create_create_app","import_node_path","package_default","templateRoot","path","answers","packageManager","package_default"]}
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
"scripts": {
|
|
7
7
|
"compile-extensions": "tsc ./tiled/extensions/*.ts --outDir ./tiled/extensions/",
|
|
8
8
|
"export": "yarn generate-multiatlas-sprites && yarn export-tiled-types",
|
|
9
|
-
"export-tiled-types": "ts-node ./scripts/export-tiled-types.ts && cp tilesets/images/* ../client/public/assets/tilesets/",
|
|
9
|
+
"export-tiled-types": "ts-node ./scripts/export-tiled-types.ts && npx shx cp tilesets/images/* ../client/public/assets/tilesets/",
|
|
10
10
|
"generate-multiatlas-sprites": "node ./scripts/cli.mjs --project ./config-sprites.json"
|
|
11
11
|
},
|
|
12
12
|
"devDependencies": {
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"build": "mud build",
|
|
8
|
-
"clean": "forge clean &&
|
|
8
|
+
"clean": "forge clean && npx shx rm -rf src/codegen",
|
|
9
9
|
"deploy:garnet": "mud deploy --profile=garnet",
|
|
10
10
|
"deploy:local": "mud deploy",
|
|
11
11
|
"deploy:redstone": "mud deploy --profile=redstone",
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"build": "mud build",
|
|
8
|
-
"clean": "forge clean &&
|
|
8
|
+
"clean": "forge clean && npx shx rm -rf src/codegen",
|
|
9
9
|
"deploy:garnet": "mud deploy --profile=garnet",
|
|
10
10
|
"deploy:local": "mud deploy",
|
|
11
11
|
"deploy:redstone": "mud deploy --profile=redstone",
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"build": "mud build",
|
|
8
|
-
"clean": "forge clean &&
|
|
8
|
+
"clean": "forge clean && npx shx rm -rf src/codegen",
|
|
9
9
|
"deploy:garnet": "mud deploy --profile=garnet",
|
|
10
10
|
"deploy:local": "mud deploy",
|
|
11
11
|
"deploy:redstone": "mud deploy --profile=redstone",
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"build": "mud build",
|
|
8
|
-
"clean": "forge clean &&
|
|
8
|
+
"clean": "forge clean && npx shx rm -rf src/codegen",
|
|
9
9
|
"deploy:garnet": "mud deploy --profile=garnet",
|
|
10
10
|
"deploy:local": "mud deploy",
|
|
11
11
|
"deploy:redstone": "mud deploy --profile=redstone",
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"build": "mud build",
|
|
8
|
-
"clean": "forge clean &&
|
|
8
|
+
"clean": "forge clean && npx shx rm -rf src/codegen",
|
|
9
9
|
"deploy:garnet": "mud deploy --profile=garnet",
|
|
10
10
|
"deploy:local": "mud deploy",
|
|
11
11
|
"deploy:redstone": "mud deploy --profile=redstone",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-mud",
|
|
3
|
-
"version": "2.2.0-main-
|
|
3
|
+
"version": "2.2.0-main-28fd7327d390b818a635c06261d3073478cd5390",
|
|
4
4
|
"description": "Create a new MUD project",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Lattice <mud@lattice.xyz>",
|
|
@@ -23,14 +23,14 @@
|
|
|
23
23
|
"build": "pnpm run build:js",
|
|
24
24
|
"build:js": "tsup && tsx ./scripts/copy-templates.ts",
|
|
25
25
|
"clean": "pnpm run clean:js",
|
|
26
|
-
"clean:js": "
|
|
26
|
+
"clean:js": "npx shx rm -rf dist",
|
|
27
27
|
"dev": "tsup --watch",
|
|
28
28
|
"test": "pnpm run test:vanilla && pnpm run test:react && pnpm run test:react-ecs && pnpm run test:phaser && pnpm run test:threejs",
|
|
29
29
|
"test:ci": "pnpm run test",
|
|
30
|
-
"test:phaser": "dist/cli.js test-project --template phaser &&
|
|
31
|
-
"test:react": "dist/cli.js test-project --template react &&
|
|
32
|
-
"test:react-ecs": "dist/cli.js test-project --template react-ecs &&
|
|
33
|
-
"test:threejs": "dist/cli.js test-project --template threejs &&
|
|
34
|
-
"test:vanilla": "dist/cli.js test-project --template vanilla &&
|
|
30
|
+
"test:phaser": "dist/cli.js test-project --template phaser && npx shx rm -rf test-project",
|
|
31
|
+
"test:react": "dist/cli.js test-project --template react && npx shx rm -rf test-project",
|
|
32
|
+
"test:react-ecs": "dist/cli.js test-project --template react-ecs && npx shx rm -rf test-project",
|
|
33
|
+
"test:threejs": "dist/cli.js test-project --template threejs && npx shx rm -rf test-project",
|
|
34
|
+
"test:vanilla": "dist/cli.js test-project --template vanilla && npx shx rm -rf test-project"
|
|
35
35
|
}
|
|
36
36
|
}
|