chronocat/packages/iife/src/index.ts

20 lines
591 B
TypeScript
Raw Normal View History

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'
void chronocat().then((x) => {
2024-03-08 15:43:24 +00:00
x?.load({
name: 'engine-chronocat-api',
version: ccApiVersion,
apply: ccApi,
2024-03-08 15:43:24 +00:00
})
x?.load({
name: 'engine-chronocat-event',
version: ccEventVersion,
apply: ccEvent,
2024-03-08 15:43:24 +00:00
})
})