mirror of
https://github.com/motajs/template.git
synced 2026-11-09 19:54:30 +08:00
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:
1 parent
5a05eecad1
commit
a701aa6da9
10 files changed
+15
-7
No files matched your search
@@ -1,6 +1,7 @@
|
||||
{
|
||||
"name": "@user/data-common",
|
||||
"dependencies": {
|
||||
"@motajs/anon-tokyo": "workspace:*",
|
||||
"@motajs/common": "workspace:*"
|
||||
}
|
||||
}
|
||||
@@ -2,7 +2,7 @@ import {
|
||||
AnonTokyoInterpreter,
|
||||
AnonTokyoExecutable,
|
||||
Statement
|
||||
} from 'anon-tokyo';
|
||||
} from '@motajs/anon-tokyo';
|
||||
import { EventTrigger, IGameEvent } from './types';
|
||||
|
||||
export class GameEvent<
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user