chore: rename project to Tabletop Toolkit

- Update package name and binary from ttrpg-tools/ttrpg to tttk
- Update UI titles in App.tsx and index.html
- Add Node.js engine requirement to package.json
This commit is contained in:
hypercross 2026-07-10 11:35:43 +08:00
parent 3a20e9558b
commit 89b32ef15e
3 changed files with 8 additions and 6 deletions

10
package-lock.json generated
View File

@ -1,11 +1,11 @@
{ {
"name": "ttrpg-tools", "name": "tttk",
"version": "0.0.1", "version": "0.0.1",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "ttrpg-tools", "name": "tttk",
"version": "0.0.1", "version": "0.0.1",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
@ -32,8 +32,7 @@
"zod": "^4.4.3" "zod": "^4.4.3"
}, },
"bin": { "bin": {
"ttrpg": "dist/cli/index.js", "tttk": "dist/cli/index.js"
"ttt": "dist/cli/index.js"
}, },
"devDependencies": { "devDependencies": {
"@rsbuild/core": "^1.1.8", "@rsbuild/core": "^1.1.8",
@ -56,6 +55,9 @@
"ts-node": "^10.9.2", "ts-node": "^10.9.2",
"typescript": "^5.9.3", "typescript": "^5.9.3",
"webpack-bundle-analyzer": "^5.3.0" "webpack-bundle-analyzer": "^5.3.0"
},
"engines": {
"node": ">=18"
} }
}, },
"node_modules/@alloc/quick-lru": { "node_modules/@alloc/quick-lru": {

View File

@ -96,7 +96,7 @@ const App: Component = () => {
> >
</button> </button>
<h1 class="text-2xl font-bold text-gray-900">Tabletop Tools</h1> <h1 class="text-2xl font-bold text-gray-900">Tabletop Toolkit</h1>
<div class="flex-1" /> <div class="flex-1" />
<button <button
onClick={() => setIsJournalOpen((v) => !v)} onClick={() => setIsJournalOpen((v) => !v)}

View File

@ -3,7 +3,7 @@
<head> <head>
<meta charset="UTF-8" /> <meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Tabletop Tools</title> <title>Tabletop Toolkit</title>
</head> </head>
<body> <body>
<div id="root"></div> <div id="root"></div>