fix: multi app start error

This commit is contained in:
sealday 2024-04-02 20:37:37 +08:00
parent f70de8501b
commit eab3f89860
6 changed files with 11 additions and 11 deletions

View File

@ -41,8 +41,8 @@
"types": "./lib/index.d.ts",
"dependencies": {
"@faker-js/faker": "8.1.0",
"@formily/shared": "2.2.27",
"@nocobase/database": "workspace:*",
"@nocobase/schema": "workspace:*",
"@nocobase/server": "workspace:*",
"@playwright/test": "^1.42.1",
"@testing-library/dom": "^9.3.3",

View File

@ -1,5 +1,5 @@
import { faker } from '@faker-js/faker';
import { uid } from '@nocobase/schema';
import { uid } from '@formily/shared';
import { Page, test as base, expect, request } from '@playwright/test';
import _ from 'lodash';
import { defineConfig } from './defineConfig';

View File

@ -10,7 +10,7 @@
"license": "AGPL-3.0",
"main": "./dist/server/index.js",
"devDependencies": {
"@nocobase/schema": "workspace:*",
"@formily/json-schema": "2.2.27",
"lodash": "4.17.21"
},
"peerDependencies": {

View File

@ -1,4 +1,4 @@
import { ISchema } from '@nocobase/schema';
import { ISchema } from '@formily/json-schema';
import { Database } from '@nocobase/database';
import { createMockServer, MockServer } from '@nocobase/test';
import { UiSchemaRepository } from '..';

View File

@ -1,4 +1,4 @@
import { Schema } from '@nocobase/schema';
import { Schema } from '@formily/json-schema';
import { Migration } from '@nocobase/server';
import { uid } from '@nocobase/utils';
import UiSchemaRepository from '../repository';

View File

@ -1130,12 +1130,12 @@ importers:
'@faker-js/faker':
specifier: 8.1.0
version: 8.1.0
'@formily/shared':
specifier: 2.2.27
version: 2.2.27
'@nocobase/database':
specifier: workspace:*
version: link:../database
'@nocobase/schema':
specifier: workspace:*
version: link:../schema
'@nocobase/server':
specifier: workspace:*
version: link:../server
@ -3723,9 +3723,9 @@ importers:
specifier: workspace:*
version: link:../../../core/utils
devDependencies:
'@nocobase/schema':
specifier: workspace:*
version: link:../../../core/schema
'@formily/json-schema':
specifier: 2.2.27
version: 2.2.27(typescript@5.4.3)
lodash:
specifier: 4.17.21
version: 4.17.21