fix: move workspace to top level (#2717)

This commit is contained in:
Himself65 authored and GitHub committed 2023-06-07 23:20:35 +08:00
1 parent 7f2006488e
commit 4958d096b0
88 files changed
+353 -329

No files matched your search

-1
View File
@@ -3,7 +3,6 @@
"private": true,
"main": "./src/index.ts",
"dependencies": {
"@affine/env": "workspace:*",
"jotai": "^2.1.1"
},
"devDependencies": {
+1 -2
View File
@@ -1,11 +1,10 @@
import { env } from '@affine/env';
import type { EditorContainer } from '@blocksuite/editor';
import { atom } from 'jotai';
export const lottieAtom = atom(import('lottie-web').then(m => m.default));
export const editorContainerModuleAtom = atom<Promise<typeof EditorContainer>>(
env.isServer
typeof window === 'undefined'
? async () =>
import('@blocksuite/editor').then(module => module.EditorContainer)
: (import('@blocksuite/editor').then(
+1 -2
View File
@@ -5,6 +5,5 @@
"composite": true,
"noEmit": false,
"outDir": "lib"
},
"references": [{ "path": "../env" }]
}
}