refactor(anon-tokyo): import embedded workspace package everywhere

- rename all anon-tokyo imports to @motajs/anon-tokyo in data-common,
  data-system and data-state
- declare @motajs/anon-tokyo workspace dependency in data-common and
  data-system; refresh pnpm-lock.yaml
This commit is contained in:
AncTe committed 2026-09-13 19:17:21 +08:00
1 parent 5a05eecad1
commit a701aa6da9
10 files changed
+15 -7

No files matched your search

+1
View File
@@ -1,6 +1,7 @@
{
"name": "@user/data-common",
"dependencies": {
"@motajs/anon-tokyo": "workspace:*",
"@motajs/common": "workspace:*"
}
}
+1 -1
View File
@@ -2,7 +2,7 @@ import {
AnonTokyoInterpreter,
AnonTokyoExecutable,
Statement
} from 'anon-tokyo';
} from '@motajs/anon-tokyo';
import { EventTrigger, IGameEvent } from './types';
export class GameEvent<
+1 -1
View File
@@ -2,7 +2,7 @@ import {
AnonTokyoExecutable,
AnonTokyoInterpreter,
Statement
} from 'anon-tokyo';
} from '@motajs/anon-tokyo';
export const enum EventTrigger {
/** 无触发器,事件需要手动执行 */
@@ -1,5 +1,5 @@
// 测试 GameEventStore 的 add/get、未知 ID 和重复 ID 告警覆盖
import { AnonTokyoInterpreter } from 'anon-tokyo';
import { AnonTokyoInterpreter } from '@motajs/anon-tokyo';
import {
afterAll,
afterEach,