Fix deps creation in dev env (#711)

Signed-off-by: Ilya Sumbatyants <ilya.sumb@gmail.com>
This commit is contained in:
Ilya Sumbatyants 2021-12-22 19:46:45 +07:00 committed by GitHub
parent bd370e1d87
commit b0e9076d5a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

View File

@ -30,6 +30,7 @@
"@anticrm/core": "~0.6.11",
"@anticrm/client": "~0.6.1",
"@anticrm/dev-storage": "~0.6.6",
"@anticrm/server-core": "~0.6.1"
"@anticrm/server-core": "~0.6.1",
"@anticrm/model-all": "~0.6.0"
}
}

View File

@ -15,6 +15,7 @@
import { createClient, Client } from '@anticrm/core'
import { getMetadata, getResource } from '@anticrm/platform'
import { createDeps } from '@anticrm/model-all'
import { connect } from './connection'
import clientPlugin from '@anticrm/client'
@ -31,6 +32,7 @@ export default async () => {
GetClient: async (): Promise<Client> => {
if (client === undefined) {
client = await createClient(connect)
await createDeps(client)
}
// Check if we had dev hook for client.
// Check if we had dev hook for client.