fix: add DB migration to add workspace (#3115)

(cherry picked from commit dac4e390aa)
This commit is contained in:
Peng Xiao
2023-07-10 16:03:18 +08:00
committed by Alex Yang
parent 77200ed8fc
commit 9b948613dc
14 changed files with 213 additions and 28 deletions
+3 -1
View File
@@ -1,4 +1,4 @@
import { resolve } from 'node:path';
import path, { resolve } from 'node:path';
import { fileURLToPath } from 'node:url';
import { vanillaExtractPlugin } from '@vanilla-extract/vite-plugin';
@@ -15,6 +15,8 @@ export default defineConfig({
alias: {
'next/router': 'next-router-mock',
'next/config': resolve(rootDir, './scripts/vitest/next-config-mock.ts'),
// prevent tests using two different sources of yjs
yjs: path.resolve(__dirname, 'node_modules/yjs'),
},
},
define: {