mirror of
https://github.com/hcengineering/platform.git
synced 2025-04-28 19:25:36 +00:00
Fix deps creation in dev env (#711)
Signed-off-by: Ilya Sumbatyants <ilya.sumb@gmail.com>
This commit is contained in:
parent
bd370e1d87
commit
b0e9076d5a
@ -30,6 +30,7 @@
|
|||||||
"@anticrm/core": "~0.6.11",
|
"@anticrm/core": "~0.6.11",
|
||||||
"@anticrm/client": "~0.6.1",
|
"@anticrm/client": "~0.6.1",
|
||||||
"@anticrm/dev-storage": "~0.6.6",
|
"@anticrm/dev-storage": "~0.6.6",
|
||||||
"@anticrm/server-core": "~0.6.1"
|
"@anticrm/server-core": "~0.6.1",
|
||||||
|
"@anticrm/model-all": "~0.6.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -15,6 +15,7 @@
|
|||||||
|
|
||||||
import { createClient, Client } from '@anticrm/core'
|
import { createClient, Client } from '@anticrm/core'
|
||||||
import { getMetadata, getResource } from '@anticrm/platform'
|
import { getMetadata, getResource } from '@anticrm/platform'
|
||||||
|
import { createDeps } from '@anticrm/model-all'
|
||||||
import { connect } from './connection'
|
import { connect } from './connection'
|
||||||
import clientPlugin from '@anticrm/client'
|
import clientPlugin from '@anticrm/client'
|
||||||
|
|
||||||
@ -31,6 +32,7 @@ export default async () => {
|
|||||||
GetClient: async (): Promise<Client> => {
|
GetClient: async (): Promise<Client> => {
|
||||||
if (client === undefined) {
|
if (client === undefined) {
|
||||||
client = await createClient(connect)
|
client = await createClient(connect)
|
||||||
|
await createDeps(client)
|
||||||
}
|
}
|
||||||
// Check if we had dev hook for client.
|
// Check if we had dev hook for client.
|
||||||
// Check if we had dev hook for client.
|
// Check if we had dev hook for client.
|
||||||
|
Loading…
Reference in New Issue
Block a user