diff --git a/packages/stage-tamagotchi-godot/.editorconfig b/engines/stage-tamagotchi-godot/.editorconfig similarity index 100% rename from packages/stage-tamagotchi-godot/.editorconfig rename to engines/stage-tamagotchi-godot/.editorconfig diff --git a/packages/stage-tamagotchi-godot/.gitattributes b/engines/stage-tamagotchi-godot/.gitattributes similarity index 100% rename from packages/stage-tamagotchi-godot/.gitattributes rename to engines/stage-tamagotchi-godot/.gitattributes diff --git a/packages/stage-tamagotchi-godot/.gitignore b/engines/stage-tamagotchi-godot/.gitignore similarity index 100% rename from packages/stage-tamagotchi-godot/.gitignore rename to engines/stage-tamagotchi-godot/.gitignore diff --git a/packages/stage-tamagotchi-godot/README.md b/engines/stage-tamagotchi-godot/README.md similarity index 88% rename from packages/stage-tamagotchi-godot/README.md rename to engines/stage-tamagotchi-godot/README.md index d0afaef80..96a7fa28a 100644 --- a/packages/stage-tamagotchi-godot/README.md +++ b/engines/stage-tamagotchi-godot/README.md @@ -6,7 +6,7 @@ Godot-native desktop stage runtime project for `stage-tamagotchi`. - Hosts the Godot project used as the desktop-only stage runtime baseline. - Provides the minimal scene, script, and .NET project structure for G0 stage work. -- Keeps Godot-owned assets, scenes, scripts, and future add-ons local to one workspace package. +- Keeps Godot-owned assets, scenes, scripts, and future add-ons local to one workspace engine. ## What It Is Not @@ -31,7 +31,7 @@ Godot-native desktop stage runtime project for `stage-tamagotchi`. - Use it when working on the Godot-backed desktop stage runtime. - Use it for Godot scene, asset, rendering, and character-runtime work. -- Use it as the package boundary for the desktop Godot stage project itself. +- Use it as the engine boundary for the desktop Godot stage project itself. ## When Not To Use It @@ -61,11 +61,11 @@ godotenv godot use 4.6.2 Then run the Godot editor with the current project: ```bash -"$(godotenv godot env path)" ./packages/stage-tamagotchi-godot/project.godot +"$(godotenv godot env path)" ./engines/stage-tamagotchi-godot/project.godot ``` You can also run the game directly from the command line: ```bash -"$(godotenv godot env path)" --path ./packages/stage-tamagotchi-godot +"$(godotenv godot env path)" --path ./engines/stage-tamagotchi-godot ``` diff --git a/packages/stage-tamagotchi-godot/addons/.gitkeep b/engines/stage-tamagotchi-godot/addons/.gitkeep similarity index 100% rename from packages/stage-tamagotchi-godot/addons/.gitkeep rename to engines/stage-tamagotchi-godot/addons/.gitkeep diff --git a/packages/stage-tamagotchi-godot/assets/.gitkeep b/engines/stage-tamagotchi-godot/assets/.gitkeep similarity index 100% rename from packages/stage-tamagotchi-godot/assets/.gitkeep rename to engines/stage-tamagotchi-godot/assets/.gitkeep diff --git a/packages/stage-tamagotchi-godot/icon.svg b/engines/stage-tamagotchi-godot/icon.svg similarity index 100% rename from packages/stage-tamagotchi-godot/icon.svg rename to engines/stage-tamagotchi-godot/icon.svg diff --git a/packages/stage-tamagotchi-godot/icon.svg.import b/engines/stage-tamagotchi-godot/icon.svg.import similarity index 100% rename from packages/stage-tamagotchi-godot/icon.svg.import rename to engines/stage-tamagotchi-godot/icon.svg.import diff --git a/packages/stage-tamagotchi-godot/package.json b/engines/stage-tamagotchi-godot/package.json similarity index 77% rename from packages/stage-tamagotchi-godot/package.json rename to engines/stage-tamagotchi-godot/package.json index ef15ca329..ab70a36e4 100644 --- a/packages/stage-tamagotchi-godot/package.json +++ b/engines/stage-tamagotchi-godot/package.json @@ -3,7 +3,7 @@ "type": "module", "version": "0.9.0", "private": true, - "description": "Godot-native desktop stage runtime workspace package for stage-tamagotchi", + "description": "Godot-native desktop stage runtime workspace engine for stage-tamagotchi", "author": { "name": "Moeru AI Project AIRI Team", "email": "airi@moeru.ai", @@ -13,7 +13,7 @@ "repository": { "type": "git", "url": "https://github.com/moeru-ai/airi.git", - "directory": "packages/stage-tamagotchi-godot" + "directory": "engines/stage-tamagotchi-godot" }, "scripts": { "build": "dotnet build ./stage-tamagotchi-godot.csproj", diff --git a/packages/stage-tamagotchi-godot/project.godot b/engines/stage-tamagotchi-godot/project.godot similarity index 100% rename from packages/stage-tamagotchi-godot/project.godot rename to engines/stage-tamagotchi-godot/project.godot diff --git a/packages/stage-tamagotchi-godot/scenes/stage-root.tscn b/engines/stage-tamagotchi-godot/scenes/stage-root.tscn similarity index 100% rename from packages/stage-tamagotchi-godot/scenes/stage-root.tscn rename to engines/stage-tamagotchi-godot/scenes/stage-root.tscn diff --git a/packages/stage-tamagotchi-godot/scripts/StageRoot.cs b/engines/stage-tamagotchi-godot/scripts/StageRoot.cs similarity index 100% rename from packages/stage-tamagotchi-godot/scripts/StageRoot.cs rename to engines/stage-tamagotchi-godot/scripts/StageRoot.cs diff --git a/packages/stage-tamagotchi-godot/scripts/StageRoot.cs.uid b/engines/stage-tamagotchi-godot/scripts/StageRoot.cs.uid similarity index 100% rename from packages/stage-tamagotchi-godot/scripts/StageRoot.cs.uid rename to engines/stage-tamagotchi-godot/scripts/StageRoot.cs.uid diff --git a/packages/stage-tamagotchi-godot/stage-tamagotchi-godot.csproj b/engines/stage-tamagotchi-godot/stage-tamagotchi-godot.csproj similarity index 100% rename from packages/stage-tamagotchi-godot/stage-tamagotchi-godot.csproj rename to engines/stage-tamagotchi-godot/stage-tamagotchi-godot.csproj diff --git a/packages/stage-tamagotchi-godot/stage-tamagotchi-godot.sln b/engines/stage-tamagotchi-godot/stage-tamagotchi-godot.sln similarity index 100% rename from packages/stage-tamagotchi-godot/stage-tamagotchi-godot.sln rename to engines/stage-tamagotchi-godot/stage-tamagotchi-godot.sln diff --git a/package.json b/package.json index f5d2170cf..f97f21d45 100644 --- a/package.json +++ b/package.json @@ -30,6 +30,7 @@ "build:tamagotchi": "pnpm -rF @proj-airi/stage-tamagotchi run app:build", "build:apps": "turbo run build -F=\"./apps/*\"", "build:packages": "turbo run build -F=\"./packages/*\"", + "build:engines": "turbo run build -F=\"./engines/*\"", "test": "vitest --coverage", "test:run": "vitest run", "lint": "moeru-lint .", @@ -39,6 +40,7 @@ "to-avif": "tsx docs/scripts/avif.ts", "sponsors:generate": "sponsorkit --output-dir docs/content/public/assets/sponsors", "typecheck": "pnpm -rF=\"./packages/*\" -F=\"./apps/*\" -F=\"./docs\" --parallel typecheck", + "typecheck:engines": "pnpm -rF=\"./engines/*\" --parallel typecheck", "up": "taze -w -r -I && pnpm prune && pnpm dedupe", "nolyfill": "pnpm dlx nolyfill", "open:ios": "pnpm -rF @proj-airi/stage-pocket run open:ios", @@ -95,6 +97,7 @@ "services/**", "examples/**", "docs/**", + "engines/**", "apps/**" ], "simple-git-hooks": { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 8452a214c..324bc9556 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -2319,6 +2319,8 @@ importers: specifier: ^3.2.6 version: 3.2.6(typescript@5.9.3) + engines/stage-tamagotchi-godot: {} + integrations/vscode/airi-plugin-vscode: devDependencies: '@proj-airi/plugin-sdk': @@ -3043,8 +3045,6 @@ importers: specifier: 'catalog:' version: 0.0.97 - packages/stage-tamagotchi-godot: {} - packages/stage-ui: dependencies: '@date-fns/utc': diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index 8b25fa3ae..174bb6a3f 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -7,6 +7,7 @@ packages: - services/** - examples/** - docs/** + - engines/** - apps/** - '!**/dist/**' overrides: