Merge branch 'beta' into stable

This commit is contained in:
LongYinan
2024-03-18 12:03:59 +08:00
3 changed files with 9 additions and 1 deletions
@@ -23,6 +23,8 @@ export async function collectMigrations(): Promise<Migration[]> {
)
.map(desc => join(folder, desc));
migrationFiles.sort((a, b) => a.localeCompare(b));
const migrations: Migration[] = await Promise.all(
migrationFiles.map(async file => {
return import(pathToFileURL(file).href).then(mod => {
@@ -4,7 +4,7 @@ import { PrismaClient } from '@prisma/client';
import { UserService } from '../../core/user';
import { Config, CryptoHelper } from '../../fundamentals';
export class SelfHostAdmin1605053000403 {
export class SelfHostAdmin99999999 {
// do the migration
static async up(_db: PrismaClient, ref: ModuleRef) {
const config = ref.get(Config, { strict: false });
@@ -242,6 +242,12 @@ export const createConfiguration: (
fullySpecified: false,
},
},
{
test: /\.js$/,
enforce: 'pre',
include: /@blocksuite/,
use: ['source-map-loader'],
},
{
oneOf: [
{