2024-03-08 15:43:24 +00:00
|
|
|
import { chronocat } from '@chronocat/shell'
|
|
|
|
import { apply as ccApi } from '@chronocat/engine-chronocat-api'
|
|
|
|
import { version as ccApiVersion } from '@chronocat/engine-chronocat-api/package.json'
|
|
|
|
import { version as ccEventVersion } from '@chronocat/engine-chronocat-event/package.json'
|
|
|
|
import { apply as ccEvent } from '@chronocat/engine-chronocat-event'
|
|
|
|
|
2024-03-09 08:03:02 +00:00
|
|
|
void chronocat().then((x) => {
|
2024-03-08 15:43:24 +00:00
|
|
|
x?.load({
|
|
|
|
name: 'engine-chronocat-api',
|
|
|
|
version: ccApiVersion,
|
2024-03-09 08:03:02 +00:00
|
|
|
apply: ccApi,
|
2024-03-08 15:43:24 +00:00
|
|
|
})
|
|
|
|
|
|
|
|
x?.load({
|
|
|
|
name: 'engine-chronocat-event',
|
|
|
|
version: ccEventVersion,
|
2024-03-09 08:03:02 +00:00
|
|
|
apply: ccEvent,
|
2024-03-08 15:43:24 +00:00
|
|
|
})
|
|
|
|
})
|