dao-game / commit
Deploy to apps.fuzzyworld.net with fuzzyworld-tools
package-lock.json | 18 ++++++++++++++++++ package.json | 15 +++++++++------ public/choice.html | 2 +- public/index.html | 4 ++-- public/local.html | 2 +- public/remote.html | 2 +- readme.md | 2 +- 7 files changed, 33 insertions(+), 12 deletions(-) diff --git a/package-lock.json b/package-lock.json index 6db6ab6..c897504 100644 --- a/package-lock.json +++ b/package-lock.json @@ -16,6 +16,7 @@ }, "devDependencies": { "@types/node": "^17.0.21", + "fuzzyworld-tools": "git+https://code.fuzzyworld.net/fuzzyworld-tools.git#semver:^1.0.0", "rimraf": "^3.0.2", "ts-node": "^10.6.0", "typescript": "^4.6.2" @@ -486,6 +487,18 @@ "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=", "dev": true }, + "node_modules/fuzzyworld-tools": { + "version": "1.0.2", + "resolved": "git+https://code.fuzzyworld.net/fuzzyworld-tools.git#de3a84832ad148e50d1d4d94f0cef3ad395a1575", + "dev": true, + "license": "MIT", + "bin": { + "fw": "bin/fw" + }, + "engines": { + "node": ">=18" + } + }, "node_modules/glob": { "version": "7.2.0", "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.0.tgz", @@ -967,6 +980,11 @@ "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=", "dev": true }, + "fuzzyworld-tools": { + "version": "git+https://code.fuzzyworld.net/fuzzyworld-tools.git#de3a84832ad148e50d1d4d94f0cef3ad395a1575", + "dev": true, + "from": "fuzzyworld-tools@git+https://code.fuzzyworld.net/fuzzyworld-tools.git#semver:^1.0.0" + }, "glob": { "version": "7.2.0", "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.0.tgz", diff --git a/package.json b/package.json index 69750b8..f422708 100644 --- a/package.json +++ b/package.json @@ -8,18 +8,16 @@ "build": "ts-node tools/esbuild.ts", "build-watch": "ts-node tools/esbuild-watch.ts", "start": "ts-node tools/esbuild-build-and-serve.ts", - "test": "echo \"Error: no test specified\" && exit 1" + "test": "echo \"Error: no test specified\" && exit 1", + "deploy": "fw deploy" }, "repository": { "type": "git", - "url": "git+https://gitlab.com/fuzzy-rp/dao-game.git" + "url": "git+https://code.fuzzyworld.net/dao-game.git" }, "author": "", "license": "ISC", - "bugs": { - "url": "https://gitlab.com/fuzzy-rp/dao-game/issues" - }, - "homepage": "https://gitlab.com/fuzzy-rp/dao-game#readme", + "homepage": "https://code.fuzzyworld.net/dao-game/#readme", "dependencies": { "detect-browser": "^5.3.0", "esbuild": "^0.14.25", @@ -28,8 +26,13 @@ }, "devDependencies": { "@types/node": "^17.0.21", + "fuzzyworld-tools": "git+https://code.fuzzyworld.net/fuzzyworld-tools.git#semver:^1.0.0", "rimraf": "^3.0.2", "ts-node": "^10.6.0", "typescript": "^4.6.2" + }, + "fuzzyworld": { + "app": "dao-game", + "title": "Dao Game" } } diff --git a/public/choice.html b/public/choice.html index abf75e1..82c91b9 100644 --- a/public/choice.html +++ b/public/choice.html @@ -36,7 +36,7 @@ <div class="info"> <p> Here is the - <a href="https://gitlab.com/fuzzy-rp/dao-game" target="_blank" rel="noopener">source code</a> + <a href="https://code.fuzzyworld.net/dao-game/" target="_blank" rel="noopener">source code</a> </p> </div> </body> diff --git a/public/index.html b/public/index.html index eb65f9b..708cd1b 100644 --- a/public/index.html +++ b/public/index.html @@ -59,11 +59,11 @@ <div class="info"> <p> Here is the - <a href="https://gitlab.com/fuzzy-rp/dao-game" target="_blank" rel="noopener">source code</a> + <a href="https://code.fuzzyworld.net/dao-game/" target="_blank" rel="noopener">source code</a> </p> <p> You can also try the in-development online multiplayer version of the game - <a href="/remote.html">here</a>. + <a href="remote.html">here</a>. </p> </div> diff --git a/public/local.html b/public/local.html index 4c9952d..d36fa43 100644 --- a/public/local.html +++ b/public/local.html @@ -59,7 +59,7 @@ <div class="info"> <p> Here is the - <a href="https://gitlab.com/fuzzy-rp/dao-game" target="_blank" rel="noopener">source code</a> + <a href="https://code.fuzzyworld.net/dao-game/" target="_blank" rel="noopener">source code</a> </p> </div> diff --git a/public/remote.html b/public/remote.html index 4f57b0d..f405a38 100644 --- a/public/remote.html +++ b/public/remote.html @@ -57,7 +57,7 @@ <div class="info"> <p> Here is the - <a href="https://gitlab.com/fuzzy-rp/dao-game" target="_blank" rel="noopener">source code</a> + <a href="https://code.fuzzyworld.net/dao-game/" target="_blank" rel="noopener">source code</a> </p> </div> diff --git a/readme.md b/readme.md index 5e1b739..3a2afbe 100644 --- a/readme.md +++ b/readme.md @@ -7,7 +7,7 @@ The whole thing was a fun project to try building a TypeScript app from scratch. ## Play -Play the game here: [https://pavelsafronov.gitlab.io/dao-game/](https://pavelsafronov.gitlab.io/dao-game/) +Play the game here: [https://apps.fuzzyworld.net/dao-game/](https://apps.fuzzyworld.net/dao-game/) ## Running