There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.
TypeScript appcrdteditorelectronknowledge-basemarkdownmironotesnotionnotion-alternativerustrust-langrust-languagetabletableviewwhiteboardwikiworkspace
fix: editor cannot directly import (#995)
Himself65219637979823
diff --git a/.github/workflows/build.yml b/.github/workflows/build.ymlindex 2e2632333c..4a83e15ca2 100644--- a/.github/workflows/build.yml+++ b/.github/workflows/build.yml@@ -61,6 +61,7 @@ jobs:- name: Upload artifactuses: actions/upload-artifact@v3with:+ name: artifactpath: ./apps/web/.nextlint:@@ -79,17 +80,6 @@ jobs:node-version: 18.xcache: 'pnpm'- - name: Restore cache- uses: actions/cache@v3- with:- path: |- .next/cache- # Generate a new cache whenever packages or source files change.- key: ${{ runner.os }}-nextjs-${{ hashFiles('**/pnpm-lock.yaml') }}-${{ hashFiles('**.[jt]s', '**.[jt]sx') }}- # If source files changed but packages didn't, rebuild from a prior cache.- restore-keys: |- ${{ runner.os }}-nextjs-${{ hashFiles('**/pnpm-lock.yaml') }}--- name: Install dependenciesrun: pnpm install@@ -97,7 +87,7 @@ jobs:uses: actions/download-artifact@v3with:name: artifact- path: apps/web/.next/+ path: ./apps/web/.next- name: Lint & E2E Test & Unit Testrun: |diff --git a/packages/component/src/index.ts b/packages/component/src/index.tsindex 04a0b19e31..ffe4e0b430 100644--- a/packages/component/src/index.ts+++ b/packages/component/src/index.ts@@ -1,4 +1,4 @@-export * from './components/BlockSuiteEditor';+// export * from './components/BlockSuiteEditor';export * from './ui/breadcrumbs';export * from './ui/button';export * from './ui/confirm';diff --git a/packages/component/src/stories/BlockSuiteEditor.stories.tsx b/packages/component/src/stories/BlockSuiteEditor.stories.tsxindex e738bf235b..d25fa0f259 100644--- a/packages/component/src/stories/BlockSuiteEditor.stories.tsx+++ b/packages/component/src/stories/BlockSuiteEditor.stories.tsx@@ -2,7 +2,10 @@import React, { Suspense } from 'react';import { Meta, Story } from '@storybook/react';import { builtInSchemas } from '@blocksuite/blocks/models';-import { BlockSuiteEditor, BlockSuiteEditorProps } from '..';+import {+ BlockSuiteEditor,+ BlockSuiteEditorProps,+} from '../components/BlockSuiteEditor';import { Page, Workspace } from '@blocksuite/store';const worksapce = new Workspace({