refactor(stage-tamagotchi-godot): move to engines dir (#1715)

This commit is contained in:
Lilia_Chen
2026-04-23 19:30:53 +08:00
committed by GitHub
parent ad7cf632ed
commit 6a61248cd4
18 changed files with 12 additions and 8 deletions
@@ -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. - 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. - 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 ## 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 when working on the Godot-backed desktop stage runtime.
- Use it for Godot scene, asset, rendering, and character-runtime work. - 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 ## When Not To Use It
@@ -61,11 +61,11 @@ godotenv godot use 4.6.2
Then run the Godot editor with the current project: Then run the Godot editor with the current project:
```bash ```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: You can also run the game directly from the command line:
```bash ```bash
"$(godotenv godot env path)" --path ./packages/stage-tamagotchi-godot "$(godotenv godot env path)" --path ./engines/stage-tamagotchi-godot
``` ```

Before

Width:  |  Height:  |  Size: 995 B

After

Width:  |  Height:  |  Size: 995 B

@@ -3,7 +3,7 @@
"type": "module", "type": "module",
"version": "0.9.0", "version": "0.9.0",
"private": true, "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": { "author": {
"name": "Moeru AI Project AIRI Team", "name": "Moeru AI Project AIRI Team",
"email": "airi@moeru.ai", "email": "airi@moeru.ai",
@@ -13,7 +13,7 @@
"repository": { "repository": {
"type": "git", "type": "git",
"url": "https://github.com/moeru-ai/airi.git", "url": "https://github.com/moeru-ai/airi.git",
"directory": "packages/stage-tamagotchi-godot" "directory": "engines/stage-tamagotchi-godot"
}, },
"scripts": { "scripts": {
"build": "dotnet build ./stage-tamagotchi-godot.csproj", "build": "dotnet build ./stage-tamagotchi-godot.csproj",
+3
View File
@@ -30,6 +30,7 @@
"build:tamagotchi": "pnpm -rF @proj-airi/stage-tamagotchi run app:build", "build:tamagotchi": "pnpm -rF @proj-airi/stage-tamagotchi run app:build",
"build:apps": "turbo run build -F=\"./apps/*\"", "build:apps": "turbo run build -F=\"./apps/*\"",
"build:packages": "turbo run build -F=\"./packages/*\"", "build:packages": "turbo run build -F=\"./packages/*\"",
"build:engines": "turbo run build -F=\"./engines/*\"",
"test": "vitest --coverage", "test": "vitest --coverage",
"test:run": "vitest run", "test:run": "vitest run",
"lint": "moeru-lint .", "lint": "moeru-lint .",
@@ -39,6 +40,7 @@
"to-avif": "tsx docs/scripts/avif.ts", "to-avif": "tsx docs/scripts/avif.ts",
"sponsors:generate": "sponsorkit --output-dir docs/content/public/assets/sponsors", "sponsors:generate": "sponsorkit --output-dir docs/content/public/assets/sponsors",
"typecheck": "pnpm -rF=\"./packages/*\" -F=\"./apps/*\" -F=\"./docs\" --parallel typecheck", "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", "up": "taze -w -r -I && pnpm prune && pnpm dedupe",
"nolyfill": "pnpm dlx nolyfill", "nolyfill": "pnpm dlx nolyfill",
"open:ios": "pnpm -rF @proj-airi/stage-pocket run open:ios", "open:ios": "pnpm -rF @proj-airi/stage-pocket run open:ios",
@@ -95,6 +97,7 @@
"services/**", "services/**",
"examples/**", "examples/**",
"docs/**", "docs/**",
"engines/**",
"apps/**" "apps/**"
], ],
"simple-git-hooks": { "simple-git-hooks": {
+2 -2
View File
@@ -2319,6 +2319,8 @@ importers:
specifier: ^3.2.6 specifier: ^3.2.6
version: 3.2.6(typescript@5.9.3) version: 3.2.6(typescript@5.9.3)
engines/stage-tamagotchi-godot: {}
integrations/vscode/airi-plugin-vscode: integrations/vscode/airi-plugin-vscode:
devDependencies: devDependencies:
'@proj-airi/plugin-sdk': '@proj-airi/plugin-sdk':
@@ -3043,8 +3045,6 @@ importers:
specifier: 'catalog:' specifier: 'catalog:'
version: 0.0.97 version: 0.0.97
packages/stage-tamagotchi-godot: {}
packages/stage-ui: packages/stage-ui:
dependencies: dependencies:
'@date-fns/utc': '@date-fns/utc':
+1
View File
@@ -7,6 +7,7 @@ packages:
- services/** - services/**
- examples/** - examples/**
- docs/** - docs/**
- engines/**
- apps/** - apps/**
- '!**/dist/**' - '!**/dist/**'
overrides: overrides: