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
chore: move client folders (#948)
DarkSky8a7393a9613b
diff --git a/.github/deployment/Dockerfile b/.github/deployment/Dockerfileindex d163afda15..59639d6c49 100644--- a/.github/deployment/Dockerfile+++ b/.github/deployment/Dockerfile@@ -1,6 +1,6 @@FROM node:16-alpine as relocateWORKDIR /app-COPY ./packages/app/out ./dist+COPY ./apps/web/out ./distCOPY ./.github/deployment/Caddyfile ./CaddyfileFROM caddy:2.6.2-alpinediff --git a/.github/workflows/build-test-version.yml b/.github/workflows/build-test-version.ymlindex 9eb1aaf6d4..55c3c7380a 100644--- a/.github/workflows/build-test-version.yml+++ b/.github/workflows/build-test-version.yml@@ -78,7 +78,7 @@ jobs:- name: Upload artifactuses: actions/upload-artifact@v3with:- path: ./packages/app/out+ path: ./apps/web/outpush_to_registry:# See https://docs.github.com/en/actions/publishing-packages/publishing-docker-images@@ -104,7 +104,7 @@ jobs:uses: actions/download-artifact@v3with:name: artifact- path: packages/app/out/+ path: apps/web/out/- name: Log in to Docker Hubuses: docker/login-action@v2diff --git a/.github/workflows/build.yml b/.github/workflows/build.ymlindex a41c84f4c3..6b2ffe0e52 100644--- a/.github/workflows/build.yml+++ b/.github/workflows/build.yml@@ -63,7 +63,7 @@ jobs:- name: Upload artifactuses: actions/upload-artifact@v3with:- path: ./packages/app/.next+ path: ./apps/web/.nextlint:name: Lint and E2E Test@@ -99,7 +99,7 @@ jobs:uses: actions/download-artifact@v3with:name: artifact- path: packages/app/.next/+ path: apps/web/.next/- name: Lint & E2E Test & Unit Testrun: |@@ -187,7 +187,7 @@ jobs:- name: Upload artifactuses: actions/upload-artifact@v3with:- path: ./packages/app/out+ path: ./apps/web/outpublish-community:name: Push Community Image@@ -213,7 +213,7 @@ jobs:uses: actions/download-artifact@v3with:name: artifact- path: packages/app/out/+ path: apps/web/out/- name: Log in to Docker Hubuses: docker/login-action@v2@@ -316,7 +316,7 @@ jobs:uses: actions/download-artifact@v3with:name: artifact- path: packages/app/out/+ path: apps/web/out/- name: Log in to Docker Hubuses: docker/login-action@v2diff --git a/.github/workflows/client-app.yml b/.github/workflows/client-app.ymlindex f6b6618f11..cae3cc721e 100644--- a/.github/workflows/client-app.yml+++ b/.github/workflows/client-app.yml@@ -57,7 +57,7 @@ jobs:- name: Make macOS (x64)run: pnpm build:app- working-directory: client-app+ working-directory: apps/desktopenv:CI: trueCI_PULL_REQUEST: ${{ github.event_name == 'pull_request' }}@@ -69,6 +69,6 @@ jobs:with:draft: truegenerate_release_notes: true- files: client-app/src-tauri/target/release/bundle/dmg/*.dmg+ files: apps/desktop/src-tauri/target/release/bundle/dmg/*.dmgenv:GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.ymlindex 09ec455e77..80116776da 100644--- a/.github/workflows/publish.yml+++ b/.github/workflows/publish.yml@@ -63,7 +63,7 @@ jobs:- name: Upload artifactuses: actions/upload-artifact@v3with:- path: ./packages/app/out+ path: ./apps/web/outpublish-self-hosted:name: Push Community Image@@ -88,7 +88,7 @@ jobs:uses: actions/download-artifact@v3with:name: artifact- path: packages/app/out/+ path: apps/web/out/- name: Log in to Docker Hubuses: docker/login-action@v2diff --git a/.gitignore b/.gitignoreindex 7adc17a8ba..7b54b96e70 100644--- a/.gitignore+++ b/.gitignore@@ -60,5 +60,5 @@ module-resolve.cjs.eslintcache# generated assets-client-app/public/affine-out-client-app/public/preload\ No newline at end of file+apps/desktop/public/affine-out+apps/desktop/public/preload\ No newline at end of filediff --git a/.gitmodules b/.gitmodulesindex ed204c5d1f..6a5545f111 100644--- a/.gitmodules+++ b/.gitmodules@@ -1,3 +1,4 @@-[submodule "client-app/src-OctoBase"]- path = client-app/src-OctoBase+[submodule "apps/desktop/src-OctoBase"]+ path = apps/desktop/src-OctoBaseurl = https://github.com/toeverything/OctoBase+ branch = masterdiff --git a/.vscode/settings.json b/.vscode/settings.jsonindex ba3ec29179..fdea10bf58 100644--- a/.vscode/settings.json+++ b/.vscode/settings.json@@ -27,5 +27,5 @@"[toml]": {"editor.defaultFormatter": "tamasfe.even-better-toml"},- "rust-analyzer.linkedProjects": ["client-app/src-tauri/Cargo.toml"]+ "rust-analyzer.linkedProjects": ["apps/desktop/src-tauri/Cargo.toml"]}diff --git a/client-app/README.md b/apps/desktop/README.mdsimilarity index 88%rename from client-app/README.mdrename to apps/desktop/README.mdindex cac1cfff2b..990ae6db36 100644--- a/client-app/README.md+++ b/apps/desktop/README.md@@ -14,7 +14,7 @@ pnpm tauri dev## Development-Currently client-app depends on a rapidly developing rust library "Octobase", we use git-submodule to link it currently.+Currently desktop client depends on a rapidly developing rust library "Octobase", we use git-submodule to link it currently.We will provide its binary binding soon, to replace the git-submodule, before Octobase become opensource.diff --git a/client-app/index.html b/apps/desktop/index.htmlsimilarity index 100%rename from client-app/index.htmlrename to apps/desktop/index.htmldiff --git a/client-app/package.json b/apps/desktop/package.jsonsimilarity index 97%rename from client-app/package.jsonrename to apps/desktop/package.jsonindex ddb0fc9627..b55fdee1a3 100644--- a/client-app/package.json+++ b/apps/desktop/package.json@@ -7,7 +7,7 @@"module": "true","scripts": {"dev:app": "pnpm build:preload && cross-env NODE_ENV=development tauri dev",- "dev:prerequisite": "concurrently \"cd ../packages/data-center && pnpm dev\" \"cd ../packages/app && pnpm dev\"",+ "dev:prerequisite": "concurrently \"cd ../packages/data-center && pnpm dev\" \"cd ../apps/web && pnpm dev\"","build:prerequisite": "pnpm build:submodules && pnpm build:rs-types && pnpm build:affine && pnpm build:preload","build:rs-types": "zx scripts/generateTsTypingsFromJsonSchema.mjs","build:submodules": "zx scripts/buildSubModules.mjs",diff --git a/client-app/pnpm-lock.yaml b/apps/desktop/pnpm-lock.yamlsimilarity index 100%rename from client-app/pnpm-lock.yamlrename to apps/desktop/pnpm-lock.yamldiff --git a/client-app/scripts/buildAffine.mjs b/apps/desktop/scripts/buildAffine.mjssimilarity index 94%rename from client-app/scripts/buildAffine.mjsrename to apps/desktop/scripts/buildAffine.mjsindex a86521c302..8d324d9c0e 100644--- a/client-app/scripts/buildAffine.mjs+++ b/apps/desktop/scripts/buildAffine.mjs@@ -4,7 +4,7 @@/* eslint-disable @typescript-eslint/no-unsafe-member-access *//* eslint-disable @typescript-eslint/no-unsafe-call *//* eslint-disable @typescript-eslint/no-unsafe-assignment */-const repoDirectory = path.join(__dirname, '..', '..');+const repoDirectory = path.join(__dirname, '..', '..', '..');const clientAppDirectory = path.join(__dirname, '..');const publicDistributionDirectory = path.join(clientAppDirectory, 'public');const affineSrcDirectory = path.join(repoDirectory, 'packages', 'app');diff --git a/client-app/scripts/buildSubModules.mjs b/apps/desktop/scripts/buildSubModules.mjssimilarity index 100%rename from client-app/scripts/buildSubModules.mjsrename to apps/desktop/scripts/buildSubModules.mjsdiff --git a/client-app/scripts/generateTsTypingsFromJsonSchema.mjs b/apps/desktop/scripts/generateTsTypingsFromJsonSchema.mjssimilarity index 100%rename from client-app/scripts/generateTsTypingsFromJsonSchema.mjsrename to apps/desktop/scripts/generateTsTypingsFromJsonSchema.mjsdiff --git a/apps/desktop/src-OctoBase b/apps/desktop/src-OctoBasenew file mode 160000index 0000000000..f8ce0c0f05--- /dev/null+++ b/apps/desktop/src-OctoBase@@ -0,0 +1 @@+Subproject commit f8ce0c0f0547b04efe50d249643217bec7b85c77diff --git a/client-app/src-tauri/.gitignore b/apps/desktop/src-tauri/.gitignoresimilarity index 100%rename from client-app/src-tauri/.gitignorerename to apps/desktop/src-tauri/.gitignorediff --git a/client-app/src-tauri/Cargo.lock b/apps/desktop/src-tauri/Cargo.locksimilarity index 100%rename from client-app/src-tauri/Cargo.lockrename to apps/desktop/src-tauri/Cargo.lockdiff --git a/client-app/src-tauri/Cargo.toml b/apps/desktop/src-tauri/Cargo.tomlsimilarity index 100%rename from client-app/src-tauri/Cargo.tomlrename to apps/desktop/src-tauri/Cargo.tomldiff --git a/client-app/src-tauri/build.rs b/apps/desktop/src-tauri/build.rssimilarity index 100%rename from client-app/src-tauri/build.rsrename to apps/desktop/src-tauri/build.rsdiff --git a/client-app/src-tauri/examples/generate-jsonschema.rs b/apps/desktop/src-tauri/examples/generate-jsonschema.rssimilarity index 100%rename from client-app/src-tauri/examples/generate-jsonschema.rsrename to apps/desktop/src-tauri/examples/generate-jsonschema.rsdiff --git a/client-app/src-tauri/icons/128x128.png b/apps/desktop/src-tauri/icons/128x128.pngsimilarity index 100%rename from client-app/src-tauri/icons/128x128.pngrename to apps/desktop/src-tauri/icons/128x128.pngdiff --git a/client-app/src-tauri/icons/[email protected] b/apps/desktop/src-tauri/icons/[email protected]similarity index 100%rename from client-app/src-tauri/icons/[email protected]rename to apps/desktop/src-tauri/icons/[email protected]diff --git a/client-app/src-tauri/icons/32x32.png b/apps/desktop/src-tauri/icons/32x32.pngsimilarity index 100%rename from client-app/src-tauri/icons/32x32.pngrename to apps/desktop/src-tauri/icons/32x32.pngdiff --git a/client-app/src-tauri/icons/Square107x107Logo.png b/apps/desktop/src-tauri/icons/Square107x107Logo.pngsimilarity index 100%rename from client-app/src-tauri/icons/Square107x107Logo.pngrename to apps/desktop/src-tauri/icons/Square107x107Logo.pngdiff --git a/client-app/src-tauri/icons/Square142x142Logo.png b/apps/desktop/src-tauri/icons/Square142x142Logo.pngsimilarity index 100%rename from client-app/src-tauri/icons/Square142x142Logo.pngrename to apps/desktop/src-tauri/icons/Square142x142Logo.pngdiff --git a/client-app/src-tauri/icons/Square150x150Logo.png b/apps/desktop/src-tauri/icons/Square150x150Logo.pngsimilarity index 100%rename from client-app/src-tauri/icons/Square150x150Logo.pngrename to apps/desktop/src-tauri/icons/Square150x150Logo.pngdiff --git a/client-app/src-tauri/icons/Square284x284Logo.png b/apps/desktop/src-tauri/icons/Square284x284Logo.pngsimilarity index 100%rename from client-app/src-tauri/icons/Square284x284Logo.pngrename to apps/desktop/src-tauri/icons/Square284x284Logo.pngdiff --git a/client-app/src-tauri/icons/Square30x30Logo.png b/apps/desktop/src-tauri/icons/Square30x30Logo.pngsimilarity index 100%rename from client-app/src-tauri/icons/Square30x30Logo.pngrename to apps/desktop/src-tauri/icons/Square30x30Logo.pngdiff --git a/client-app/src-tauri/icons/Square310x310Logo.png b/apps/desktop/src-tauri/icons/Square310x310Logo.pngsimilarity index 100%rename from client-app/src-tauri/icons/Square310x310Logo.pngrename to apps/desktop/src-tauri/icons/Square310x310Logo.pngdiff --git a/client-app/src-tauri/icons/Square44x44Logo.png b/apps/desktop/src-tauri/icons/Square44x44Logo.pngsimilarity index 100%rename from client-app/src-tauri/icons/Square44x44Logo.pngrename to apps/desktop/src-tauri/icons/Square44x44Logo.pngdiff --git a/client-app/src-tauri/icons/Square71x71Logo.png b/apps/desktop/src-tauri/icons/Square71x71Logo.pngsimilarity index 100%rename from client-app/src-tauri/icons/Square71x71Logo.pngrename to apps/desktop/src-tauri/icons/Square71x71Logo.pngdiff --git a/client-app/src-tauri/icons/Square89x89Logo.png b/apps/desktop/src-tauri/icons/Square89x89Logo.pngsimilarity index 100%rename from client-app/src-tauri/icons/Square89x89Logo.pngrename to apps/desktop/src-tauri/icons/Square89x89Logo.pngdiff --git a/client-app/src-tauri/icons/StoreLogo.png b/apps/desktop/src-tauri/icons/StoreLogo.pngsimilarity index 100%rename from client-app/src-tauri/icons/StoreLogo.pngrename to apps/desktop/src-tauri/icons/StoreLogo.pngdiff --git a/client-app/src-tauri/icons/icon.icns b/apps/desktop/src-tauri/icons/icon.icnssimilarity index 100%rename from client-app/src-tauri/icons/icon.icnsrename to apps/desktop/src-tauri/icons/icon.icnsdiff --git a/client-app/src-tauri/icons/icon.ico b/apps/desktop/src-tauri/icons/icon.icosimilarity index 100%rename from client-app/src-tauri/icons/icon.icorename to apps/desktop/src-tauri/icons/icon.icodiff --git a/client-app/src-tauri/rustfmt.toml b/apps/desktop/src-tauri/rustfmt.tomlsimilarity index 100%rename from client-app/src-tauri/rustfmt.tomlrename to apps/desktop/src-tauri/rustfmt.tomldiff --git a/client-app/src-tauri/src/commands.rs b/apps/desktop/src-tauri/src/commands.rssimilarity index 100%rename from client-app/src-tauri/src/commands.rsrename to apps/desktop/src-tauri/src/commands.rsdiff --git a/client-app/src-tauri/src/commands/blob.rs b/apps/desktop/src-tauri/src/commands/blob.rssimilarity index 100%rename from client-app/src-tauri/src/commands/blob.rsrename to apps/desktop/src-tauri/src/commands/blob.rsdiff --git a/client-app/src-tauri/src/commands/document.rs b/apps/desktop/src-tauri/src/commands/document.rssimilarity index 100%rename from client-app/src-tauri/src/commands/document.rsrename to apps/desktop/src-tauri/src/commands/document.rsdiff --git a/client-app/src-tauri/src/commands/user.rs b/apps/desktop/src-tauri/src/commands/user.rssimilarity index 100%rename from client-app/src-tauri/src/commands/user.rsrename to apps/desktop/src-tauri/src/commands/user.rsdiff --git a/client-app/src-tauri/src/commands/workspace.rs b/apps/desktop/src-tauri/src/commands/workspace.rssimilarity index 100%rename from client-app/src-tauri/src/commands/workspace.rsrename to apps/desktop/src-tauri/src/commands/workspace.rsdiff --git a/client-app/src-tauri/src/main.rs b/apps/desktop/src-tauri/src/main.rssimilarity index 100%rename from client-app/src-tauri/src/main.rsrename to apps/desktop/src-tauri/src/main.rsdiff --git a/client-app/src-tauri/src/state.rs b/apps/desktop/src-tauri/src/state.rssimilarity index 100%rename from client-app/src-tauri/src/state.rsrename to apps/desktop/src-tauri/src/state.rsdiff --git a/client-app/src-tauri/tauri.conf.json b/apps/desktop/src-tauri/tauri.conf.jsonsimilarity index 100%rename from client-app/src-tauri/tauri.conf.jsonrename to apps/desktop/src-tauri/tauri.conf.jsondiff --git a/client-app/src-tauri/types/Cargo.toml b/apps/desktop/src-tauri/types/Cargo.tomlsimilarity index 100%rename from client-app/src-tauri/types/Cargo.tomlrename to apps/desktop/src-tauri/types/Cargo.tomldiff --git a/client-app/src-tauri/types/src/blob.rs b/apps/desktop/src-tauri/types/src/blob.rssimilarity index 100%rename from client-app/src-tauri/types/src/blob.rsrename to apps/desktop/src-tauri/types/src/blob.rsdiff --git a/client-app/src-tauri/types/src/document.rs b/apps/desktop/src-tauri/types/src/document.rssimilarity index 100%rename from client-app/src-tauri/types/src/document.rsrename to apps/desktop/src-tauri/types/src/document.rsdiff --git a/client-app/src-tauri/types/src/lib.rs b/apps/desktop/src-tauri/types/src/lib.rssimilarity index 100%rename from client-app/src-tauri/types/src/lib.rsrename to apps/desktop/src-tauri/types/src/lib.rsdiff --git a/client-app/src-tauri/types/src/user.rs b/apps/desktop/src-tauri/types/src/user.rssimilarity index 100%rename from client-app/src-tauri/types/src/user.rsrename to apps/desktop/src-tauri/types/src/user.rsdiff --git a/client-app/src-tauri/types/src/workspace.rs b/apps/desktop/src-tauri/types/src/workspace.rssimilarity index 100%rename from client-app/src-tauri/types/src/workspace.rsrename to apps/desktop/src-tauri/types/src/workspace.rsdiff --git a/client-app/src/preload/Readme.md b/apps/desktop/src/preload/Readme.mdsimilarity index 100%rename from client-app/src/preload/Readme.mdrename to apps/desktop/src/preload/Readme.mddiff --git a/client-app/src/preload/index.ts b/apps/desktop/src/preload/index.tssimilarity index 100%rename from client-app/src/preload/index.tsrename to apps/desktop/src/preload/index.tsdiff --git a/client-app/src/preload/type.ts b/apps/desktop/src/preload/type.tssimilarity index 100%rename from client-app/src/preload/type.tsrename to apps/desktop/src/preload/type.tsdiff --git a/client-app/tsconfig.json b/apps/desktop/tsconfig.jsonsimilarity index 100%rename from client-app/tsconfig.jsonrename to apps/desktop/tsconfig.jsondiff --git a/client-app/vite.config.ts b/apps/desktop/vite.config.tssimilarity index 100%rename from client-app/vite.config.tsrename to apps/desktop/vite.config.tsdiff --git a/packages/app/.env.local.template b/apps/web/.env.local.templatesimilarity index 100%rename from packages/app/.env.local.templaterename to apps/web/.env.local.templatediff --git a/packages/app/CHANGELOG.md b/apps/web/CHANGELOG.mdsimilarity index 100%rename from packages/app/CHANGELOG.mdrename to apps/web/CHANGELOG.mddiff --git a/packages/app/README.md b/apps/web/README.mdsimilarity index 100%rename from packages/app/README.mdrename to apps/web/README.mddiff --git a/packages/app/next-env.d.ts b/apps/web/next-env.d.tssimilarity index 100%rename from packages/app/next-env.d.tsrename to apps/web/next-env.d.tsdiff --git a/packages/app/next.config.js b/apps/web/next.config.jssimilarity index 93%rename from packages/app/next.config.jsrename to apps/web/next.config.jsindex 964b6e65fd..76453deba1 100644--- a/packages/app/next.config.js+++ b/apps/web/next.config.js@@ -30,6 +30,7 @@ const getRedirectConfig = profile => {},],target,+ profile || 'dev',];};@@ -62,10 +63,10 @@ const nextConfig = {unoptimized: true,},rewrites: async () => {- const [profile, desc] = getRedirectConfig(process.env.NODE_API_SERVER);- printer.info(- `API request proxy to [${process.env.NODE_API_SERVER} Server]: ` + desc+ const [profile, target, desc] = getRedirectConfig(+ process.env.NODE_API_SERVER);+ printer.info(`API request proxy to [${desc} Server]: ` + target);return profile;},basePath: process.env.BASE_PATH,diff --git a/packages/app/package.json b/apps/web/package.jsonsimilarity index 100%rename from packages/app/package.jsonrename to apps/web/package.jsondiff --git a/packages/app/public/.gitignore b/apps/web/public/.gitignoresimilarity index 100%rename from packages/app/public/.gitignorerename to apps/web/public/.gitignorediff --git a/packages/app/public/apple-touch-icon.png b/apps/web/public/apple-touch-icon.pngsimilarity index 100%rename from packages/app/public/apple-touch-icon.pngrename to apps/web/public/apple-touch-icon.pngdiff --git a/packages/app/public/chrome-192x192.png b/apps/web/public/chrome-192x192.pngsimilarity index 100%rename from packages/app/public/chrome-192x192.pngrename to apps/web/public/chrome-192x192.pngdiff --git a/packages/app/public/favicon.ico b/apps/web/public/favicon.icosimilarity index 100%rename from packages/app/public/favicon.icorename to apps/web/public/favicon.icodiff --git a/packages/app/public/globals.css b/apps/web/public/globals.csssimilarity index 100%rename from packages/app/public/globals.cssrename to apps/web/public/globals.cssdiff --git a/packages/app/public/manifest.json b/apps/web/public/manifest.jsonsimilarity index 100%rename from packages/app/public/manifest.jsonrename to apps/web/public/manifest.jsondiff --git a/packages/app/public/variable.css b/apps/web/public/variable.csssimilarity index 100%rename from packages/app/public/variable.cssrename to apps/web/public/variable.cssdiff --git a/packages/app/scripts/__tests__/printer.spec.ts b/apps/web/scripts/__tests__/printer.spec.tssimilarity index 100%rename from packages/app/scripts/__tests__/printer.spec.tsrename to apps/web/scripts/__tests__/printer.spec.tsdiff --git a/packages/app/scripts/gitInfo.js b/apps/web/scripts/gitInfo.jssimilarity index 100%rename from packages/app/scripts/gitInfo.jsrename to apps/web/scripts/gitInfo.jsdiff --git a/packages/app/scripts/printer.js b/apps/web/scripts/printer.jssimilarity index 100%rename from packages/app/scripts/printer.jsrename to apps/web/scripts/printer.jsdiff --git a/packages/app/src/components/404/index.tsx b/apps/web/src/components/404/index.tsxsimilarity index 100%rename from packages/app/src/components/404/index.tsxrename to apps/web/src/components/404/index.tsxdiff --git a/packages/app/src/components/404/styles.ts b/apps/web/src/components/404/styles.tssimilarity index 100%rename from packages/app/src/components/404/styles.tsrename to apps/web/src/components/404/styles.tsdiff --git a/packages/app/src/components/contact-modal/Icons.tsx b/apps/web/src/components/contact-modal/Icons.tsxsimilarity index 100%rename from packages/app/src/components/contact-modal/Icons.tsxrename to apps/web/src/components/contact-modal/Icons.tsxdiff --git a/packages/app/src/components/contact-modal/affine-text-logo.png b/apps/web/src/components/contact-modal/affine-text-logo.pngsimilarity index 100%rename from packages/app/src/components/contact-modal/affine-text-logo.pngrename to apps/web/src/components/contact-modal/affine-text-logo.pngdiff --git a/packages/app/src/components/contact-modal/bg.png b/apps/web/src/components/contact-modal/bg.pngsimilarity index 100%rename from packages/app/src/components/contact-modal/bg.pngrename to apps/web/src/components/contact-modal/bg.pngdiff --git a/packages/app/src/components/contact-modal/index.tsx b/apps/web/src/components/contact-modal/index.tsxsimilarity index 100%rename from packages/app/src/components/contact-modal/index.tsxrename to apps/web/src/components/contact-modal/index.tsxdiff --git a/packages/app/src/components/contact-modal/style.ts b/apps/web/src/components/contact-modal/style.tssimilarity index 100%rename from packages/app/src/components/contact-modal/style.tsrename to apps/web/src/components/contact-modal/style.tsdiff --git a/packages/app/src/components/create-workspace/index.tsx b/apps/web/src/components/create-workspace/index.tsxsimilarity index 100%rename from packages/app/src/components/create-workspace/index.tsxrename to apps/web/src/components/create-workspace/index.tsxdiff --git a/packages/app/src/components/delete-workspace/index.tsx b/apps/web/src/components/delete-workspace/index.tsxsimilarity index 100%rename from packages/app/src/components/delete-workspace/index.tsxrename to apps/web/src/components/delete-workspace/index.tsxdiff --git a/packages/app/src/components/edgeless-toolbar/Icons.tsx b/apps/web/src/components/edgeless-toolbar/Icons.tsxsimilarity index 100%rename from packages/app/src/components/edgeless-toolbar/Icons.tsxrename to apps/web/src/components/edgeless-toolbar/Icons.tsxdiff --git a/packages/app/src/components/edgeless-toolbar/index.tsx b/apps/web/src/components/edgeless-toolbar/index.tsxsimilarity index 100%rename from packages/app/src/components/edgeless-toolbar/index.tsxrename to apps/web/src/components/edgeless-toolbar/index.tsxdiff --git a/packages/app/src/components/edgeless-toolbar/reply.svg b/apps/web/src/components/edgeless-toolbar/reply.svgsimilarity index 100%rename from packages/app/src/components/edgeless-toolbar/reply.svgrename to apps/web/src/components/edgeless-toolbar/reply.svgdiff --git a/packages/app/src/components/edgeless-toolbar/style.ts b/apps/web/src/components/edgeless-toolbar/style.tssimilarity index 100%rename from packages/app/src/components/edgeless-toolbar/style.tsrename to apps/web/src/components/edgeless-toolbar/style.tsdiff --git a/packages/app/src/components/editor-mode-switch/Icons.tsx b/apps/web/src/components/editor-mode-switch/Icons.tsxsimilarity index 100%rename from packages/app/src/components/editor-mode-switch/Icons.tsxrename to apps/web/src/components/editor-mode-switch/Icons.tsxdiff --git a/packages/app/src/components/editor-mode-switch/index.tsx b/apps/web/src/components/editor-mode-switch/index.tsxsimilarity index 100%rename from packages/app/src/components/editor-mode-switch/index.tsxrename to apps/web/src/components/editor-mode-switch/index.tsxdiff --git a/packages/app/src/components/editor-mode-switch/style.ts b/apps/web/src/components/editor-mode-switch/style.tssimilarity index 100%rename from packages/app/src/components/editor-mode-switch/style.tsrename to apps/web/src/components/editor-mode-switch/style.tsdiff --git a/packages/app/src/components/editor-mode-switch/type.ts b/apps/web/src/components/editor-mode-switch/type.tssimilarity index 100%rename from packages/app/src/components/editor-mode-switch/type.tsrename to apps/web/src/components/editor-mode-switch/type.tsdiff --git a/packages/app/src/components/editor/index.tsx b/apps/web/src/components/editor/index.tsxsimilarity index 100%rename from packages/app/src/components/editor/index.tsxrename to apps/web/src/components/editor/index.tsxdiff --git a/packages/app/src/components/enable-workspace/EnableWorkspaceModal.tsx b/apps/web/src/components/enable-workspace/EnableWorkspaceModal.tsxsimilarity index 100%rename from packages/app/src/components/enable-workspace/EnableWorkspaceModal.tsxrename to apps/web/src/components/enable-workspace/EnableWorkspaceModal.tsxdiff --git a/packages/app/src/components/enable-workspace/index.tsx b/apps/web/src/components/enable-workspace/index.tsxsimilarity index 100%rename from packages/app/src/components/enable-workspace/index.tsxrename to apps/web/src/components/enable-workspace/index.tsxdiff --git a/packages/app/src/components/file-upload/index.tsx b/apps/web/src/components/file-upload/index.tsxsimilarity index 100%rename from packages/app/src/components/file-upload/index.tsxrename to apps/web/src/components/file-upload/index.tsxdiff --git a/packages/app/src/components/header/EditorHeader.tsx b/apps/web/src/components/header/EditorHeader.tsxsimilarity index 100%rename from packages/app/src/components/header/EditorHeader.tsxrename to apps/web/src/components/header/EditorHeader.tsxdiff --git a/packages/app/src/components/header/Header.tsx b/apps/web/src/components/header/Header.tsxsimilarity index 100%rename from packages/app/src/components/header/Header.tsxrename to apps/web/src/components/header/Header.tsxdiff --git a/packages/app/src/components/header/PageListHeader.tsx b/apps/web/src/components/header/PageListHeader.tsxsimilarity index 100%rename from packages/app/src/components/header/PageListHeader.tsxrename to apps/web/src/components/header/PageListHeader.tsxdiff --git a/packages/app/src/components/header/QuickSearchButton.tsx b/apps/web/src/components/header/QuickSearchButton.tsxsimilarity index 100%rename from packages/app/src/components/header/QuickSearchButton.tsxrename to apps/web/src/components/header/QuickSearchButton.tsxdiff --git a/packages/app/src/components/header/header-right-items/EditorOptionMenu.tsx b/apps/web/src/components/header/header-right-items/EditorOptionMenu.tsxsimilarity index 100%rename from packages/app/src/components/header/header-right-items/EditorOptionMenu.tsxrename to apps/web/src/components/header/header-right-items/EditorOptionMenu.tsxdiff --git a/packages/app/src/components/header/header-right-items/SyncUser.tsx b/apps/web/src/components/header/header-right-items/SyncUser.tsxsimilarity index 100%rename from packages/app/src/components/header/header-right-items/SyncUser.tsxrename to apps/web/src/components/header/header-right-items/SyncUser.tsxdiff --git a/packages/app/src/components/header/header-right-items/TrashButtonGroup.tsx b/apps/web/src/components/header/header-right-items/TrashButtonGroup.tsxsimilarity index 100%rename from packages/app/src/components/header/header-right-items/TrashButtonGroup.tsxrename to apps/web/src/components/header/header-right-items/TrashButtonGroup.tsxdiff --git a/packages/app/src/components/header/header-right-items/theme-mode-switch/Icons.tsx b/apps/web/src/components/header/header-right-items/theme-mode-switch/Icons.tsxsimilarity index 100%rename from packages/app/src/components/header/header-right-items/theme-mode-switch/Icons.tsxrename to apps/web/src/components/header/header-right-items/theme-mode-switch/Icons.tsxdiff --git a/packages/app/src/components/header/header-right-items/theme-mode-switch/index.tsx b/apps/web/src/components/header/header-right-items/theme-mode-switch/index.tsxsimilarity index 100%rename from packages/app/src/components/header/header-right-items/theme-mode-switch/index.tsxrename to apps/web/src/components/header/header-right-items/theme-mode-switch/index.tsxdiff --git a/packages/app/src/components/header/header-right-items/theme-mode-switch/style.ts b/apps/web/src/components/header/header-right-items/theme-mode-switch/style.tssimilarity index 100%rename from packages/app/src/components/header/header-right-items/theme-mode-switch/style.tsrename to apps/web/src/components/header/header-right-items/theme-mode-switch/style.tsdiff --git a/packages/app/src/components/header/index.tsx b/apps/web/src/components/header/index.tsxsimilarity index 100%rename from packages/app/src/components/header/index.tsxrename to apps/web/src/components/header/index.tsxdiff --git a/packages/app/src/components/header/styles.ts b/apps/web/src/components/header/styles.tssimilarity index 100%rename from packages/app/src/components/header/styles.tsrename to apps/web/src/components/header/styles.tsdiff --git a/packages/app/src/components/header/utils.tsx b/apps/web/src/components/header/utils.tsxsimilarity index 100%rename from packages/app/src/components/header/utils.tsxrename to apps/web/src/components/header/utils.tsxdiff --git a/packages/app/src/components/help-island/Icons.tsx b/apps/web/src/components/help-island/Icons.tsxsimilarity index 100%rename from packages/app/src/components/help-island/Icons.tsxrename to apps/web/src/components/help-island/Icons.tsxdiff --git a/packages/app/src/components/help-island/index.tsx b/apps/web/src/components/help-island/index.tsxsimilarity index 100%rename from packages/app/src/components/help-island/index.tsxrename to apps/web/src/components/help-island/index.tsxdiff --git a/packages/app/src/components/help-island/style.ts b/apps/web/src/components/help-island/style.tssimilarity index 100%rename from packages/app/src/components/help-island/style.tsrename to apps/web/src/components/help-island/style.tsdiff --git a/packages/app/src/components/import/index.tsx b/apps/web/src/components/import/index.tsxsimilarity index 99%rename from packages/app/src/components/import/index.tsxrename to apps/web/src/components/import/index.tsxindex e9d1602941..27a57921f4 100644--- a/packages/app/src/components/import/index.tsx+++ b/apps/web/src/components/import/index.tsx@@ -27,7 +27,7 @@ export const ImportModal = ({ open, onClose }: ImportModalProps) => {const title = template.name;if (page) {currentWorkspace?.blocksuiteWorkspace?.setPageMeta(page.id, { title });- if (page && page.root === null) {+ if (page.root === null) {setTimeout(() => {try {const editor = document.querySelector('editor-container');diff --git a/packages/app/src/components/import/styles.ts b/apps/web/src/components/import/styles.tssimilarity index 100%rename from packages/app/src/components/import/styles.tsrename to apps/web/src/components/import/styles.tsdiff --git a/packages/app/src/components/loading/Loading.tsx b/apps/web/src/components/loading/Loading.tsxsimilarity index 100%rename from packages/app/src/components/loading/Loading.tsxrename to apps/web/src/components/loading/Loading.tsxdiff --git a/packages/app/src/components/loading/PageLoading.tsx b/apps/web/src/components/loading/PageLoading.tsxsimilarity index 100%rename from packages/app/src/components/loading/PageLoading.tsxrename to apps/web/src/components/loading/PageLoading.tsxdiff --git a/packages/app/src/components/loading/index.tsx b/apps/web/src/components/loading/index.tsxsimilarity index 100%rename from packages/app/src/components/loading/index.tsxrename to apps/web/src/components/loading/index.tsxdiff --git a/packages/app/src/components/loading/styled.ts b/apps/web/src/components/loading/styled.tssimilarity index 100%rename from packages/app/src/components/loading/styled.tsrename to apps/web/src/components/loading/styled.tsdiff --git a/packages/app/src/components/login-modal/GoogleIcon.tsx b/apps/web/src/components/login-modal/GoogleIcon.tsxsimilarity index 100%rename from packages/app/src/components/login-modal/GoogleIcon.tsxrename to apps/web/src/components/login-modal/GoogleIcon.tsxdiff --git a/packages/app/src/components/login-modal/index.tsx b/apps/web/src/components/login-modal/index.tsxsimilarity index 100%rename from packages/app/src/components/login-modal/index.tsxrename to apps/web/src/components/login-modal/index.tsxdiff --git a/packages/app/src/components/logout-modal/icon.tsx b/apps/web/src/components/logout-modal/icon.tsxsimilarity index 100%rename from packages/app/src/components/logout-modal/icon.tsxrename to apps/web/src/components/logout-modal/icon.tsxdiff --git a/packages/app/src/components/logout-modal/index.tsx b/apps/web/src/components/logout-modal/index.tsxsimilarity index 100%rename from packages/app/src/components/logout-modal/index.tsxrename to apps/web/src/components/logout-modal/index.tsxdiff --git a/packages/app/src/components/mobile-modal/bg.png b/apps/web/src/components/mobile-modal/bg.pngsimilarity index 100%rename from packages/app/src/components/mobile-modal/bg.pngrename to apps/web/src/components/mobile-modal/bg.pngdiff --git a/packages/app/src/components/mobile-modal/index.tsx b/apps/web/src/components/mobile-modal/index.tsxsimilarity index 100%rename from packages/app/src/components/mobile-modal/index.tsxrename to apps/web/src/components/mobile-modal/index.tsxdiff --git a/packages/app/src/components/mobile-modal/styles.ts b/apps/web/src/components/mobile-modal/styles.tssimilarity index 100%rename from packages/app/src/components/mobile-modal/styles.tsrename to apps/web/src/components/mobile-modal/styles.tsdiff --git a/packages/app/src/components/page-list/DateCell.tsx b/apps/web/src/components/page-list/DateCell.tsxsimilarity index 100%rename from packages/app/src/components/page-list/DateCell.tsxrename to apps/web/src/components/page-list/DateCell.tsxdiff --git a/packages/app/src/components/page-list/Empty.tsx b/apps/web/src/components/page-list/Empty.tsxsimilarity index 100%rename from packages/app/src/components/page-list/Empty.tsxrename to apps/web/src/components/page-list/Empty.tsxdiff --git a/packages/app/src/components/page-list/OperationCell.tsx b/apps/web/src/components/page-list/OperationCell.tsxsimilarity index 100%rename from packages/app/src/components/page-list/OperationCell.tsxrename to apps/web/src/components/page-list/OperationCell.tsxdiff --git a/packages/app/src/components/page-list/index.tsx b/apps/web/src/components/page-list/index.tsxsimilarity index 100%rename from packages/app/src/components/page-list/index.tsxrename to apps/web/src/components/page-list/index.tsxdiff --git a/packages/app/src/components/page-list/styles.ts b/apps/web/src/components/page-list/styles.tssimilarity index 100%rename from packages/app/src/components/page-list/styles.tsrename to apps/web/src/components/page-list/styles.tsdiff --git a/packages/app/src/components/provider-composer.ts b/apps/web/src/components/provider-composer.tssimilarity index 100%rename from packages/app/src/components/provider-composer.tsrename to apps/web/src/components/provider-composer.tsdiff --git a/packages/app/src/components/quick-search/Footer.tsx b/apps/web/src/components/quick-search/Footer.tsxsimilarity index 100%rename from packages/app/src/components/quick-search/Footer.tsxrename to apps/web/src/components/quick-search/Footer.tsxdiff --git a/packages/app/src/components/quick-search/Input.tsx b/apps/web/src/components/quick-search/Input.tsxsimilarity index 100%rename from packages/app/src/components/quick-search/Input.tsxrename to apps/web/src/components/quick-search/Input.tsxdiff --git a/packages/app/src/components/quick-search/NoResultSVG.tsx b/apps/web/src/components/quick-search/NoResultSVG.tsxsimilarity index 100%rename from packages/app/src/components/quick-search/NoResultSVG.tsxrename to apps/web/src/components/quick-search/NoResultSVG.tsxdiff --git a/packages/app/src/components/quick-search/PublishedResults.tsx b/apps/web/src/components/quick-search/PublishedResults.tsxsimilarity index 100%rename from packages/app/src/components/quick-search/PublishedResults.tsxrename to apps/web/src/components/quick-search/PublishedResults.tsxdiff --git a/packages/app/src/components/quick-search/Results.tsx b/apps/web/src/components/quick-search/Results.tsxsimilarity index 100%rename from packages/app/src/components/quick-search/Results.tsxrename to apps/web/src/components/quick-search/Results.tsxdiff --git a/packages/app/src/components/quick-search/config.ts b/apps/web/src/components/quick-search/config.tssimilarity index 100%rename from packages/app/src/components/quick-search/config.tsrename to apps/web/src/components/quick-search/config.tsdiff --git a/packages/app/src/components/quick-search/index.tsx b/apps/web/src/components/quick-search/index.tsxsimilarity index 100%rename from packages/app/src/components/quick-search/index.tsxrename to apps/web/src/components/quick-search/index.tsxdiff --git a/packages/app/src/components/quick-search/style.ts b/apps/web/src/components/quick-search/style.tssimilarity index 100%rename from packages/app/src/components/quick-search/style.tsrename to apps/web/src/components/quick-search/style.tsdiff --git a/packages/app/src/components/shortcuts-modal/Icons.tsx b/apps/web/src/components/shortcuts-modal/Icons.tsxsimilarity index 100%rename from packages/app/src/components/shortcuts-modal/Icons.tsxrename to apps/web/src/components/shortcuts-modal/Icons.tsxdiff --git a/packages/app/src/components/shortcuts-modal/config.ts b/apps/web/src/components/shortcuts-modal/config.tssimilarity index 100%rename from packages/app/src/components/shortcuts-modal/config.tsrename to apps/web/src/components/shortcuts-modal/config.tsdiff --git a/packages/app/src/components/shortcuts-modal/index.tsx b/apps/web/src/components/shortcuts-modal/index.tsxsimilarity index 100%rename from packages/app/src/components/shortcuts-modal/index.tsxrename to apps/web/src/components/shortcuts-modal/index.tsxdiff --git a/packages/app/src/components/shortcuts-modal/style.ts b/apps/web/src/components/shortcuts-modal/style.tssimilarity index 100%rename from packages/app/src/components/shortcuts-modal/style.tsrename to apps/web/src/components/shortcuts-modal/style.tsdiff --git a/packages/app/src/components/simple-counter/index.ts b/apps/web/src/components/simple-counter/index.tssimilarity index 100%rename from packages/app/src/components/simple-counter/index.tsrename to apps/web/src/components/simple-counter/index.tsdiff --git a/packages/app/src/components/workspace-avatar/Avatar.tsx b/apps/web/src/components/workspace-avatar/Avatar.tsxsimilarity index 100%rename from packages/app/src/components/workspace-avatar/Avatar.tsxrename to apps/web/src/components/workspace-avatar/Avatar.tsxdiff --git a/packages/app/src/components/workspace-avatar/WorkspaceUnitAvatar.tsx b/apps/web/src/components/workspace-avatar/WorkspaceUnitAvatar.tsxsimilarity index 100%rename from packages/app/src/components/workspace-avatar/WorkspaceUnitAvatar.tsxrename to apps/web/src/components/workspace-avatar/WorkspaceUnitAvatar.tsxdiff --git a/packages/app/src/components/workspace-avatar/index.ts b/apps/web/src/components/workspace-avatar/index.tssimilarity index 100%rename from packages/app/src/components/workspace-avatar/index.tsrename to apps/web/src/components/workspace-avatar/index.tsdiff --git a/packages/app/src/components/workspace-layout/index.tsx b/apps/web/src/components/workspace-layout/index.tsxsimilarity index 100%rename from packages/app/src/components/workspace-layout/index.tsxrename to apps/web/src/components/workspace-layout/index.tsxdiff --git a/packages/app/src/components/workspace-layout/styles.ts b/apps/web/src/components/workspace-layout/styles.tssimilarity index 100%rename from packages/app/src/components/workspace-layout/styles.tsrename to apps/web/src/components/workspace-layout/styles.tsdiff --git a/packages/app/src/components/workspace-modal/Footer.tsx b/apps/web/src/components/workspace-modal/Footer.tsxsimilarity index 100%rename from packages/app/src/components/workspace-modal/Footer.tsxrename to apps/web/src/components/workspace-modal/Footer.tsxdiff --git a/packages/app/src/components/workspace-modal/SelectLanguageMenu.tsx b/apps/web/src/components/workspace-modal/SelectLanguageMenu.tsxsimilarity index 100%rename from packages/app/src/components/workspace-modal/SelectLanguageMenu.tsxrename to apps/web/src/components/workspace-modal/SelectLanguageMenu.tsxdiff --git a/packages/app/src/components/workspace-modal/WorkspaceCard.tsx b/apps/web/src/components/workspace-modal/WorkspaceCard.tsxsimilarity index 100%rename from packages/app/src/components/workspace-modal/WorkspaceCard.tsxrename to apps/web/src/components/workspace-modal/WorkspaceCard.tsxdiff --git a/packages/app/src/components/workspace-modal/icons/index.tsx b/apps/web/src/components/workspace-modal/icons/index.tsxsimilarity index 100%rename from packages/app/src/components/workspace-modal/icons/index.tsxrename to apps/web/src/components/workspace-modal/icons/index.tsxdiff --git a/packages/app/src/components/workspace-modal/index.tsx b/apps/web/src/components/workspace-modal/index.tsxsimilarity index 100%rename from packages/app/src/components/workspace-modal/index.tsxrename to apps/web/src/components/workspace-modal/index.tsxdiff --git a/packages/app/src/components/workspace-modal/styles.ts b/apps/web/src/components/workspace-modal/styles.tssimilarity index 100%rename from packages/app/src/components/workspace-modal/styles.tsrename to apps/web/src/components/workspace-modal/styles.tsdiff --git a/packages/app/src/components/workspace-setting/ExportPage.tsx b/apps/web/src/components/workspace-setting/ExportPage.tsxsimilarity index 100%rename from packages/app/src/components/workspace-setting/ExportPage.tsxrename to apps/web/src/components/workspace-setting/ExportPage.tsxdiff --git a/packages/app/src/components/workspace-setting/PublishPage.tsx b/apps/web/src/components/workspace-setting/PublishPage.tsxsimilarity index 100%rename from packages/app/src/components/workspace-setting/PublishPage.tsxrename to apps/web/src/components/workspace-setting/PublishPage.tsxdiff --git a/packages/app/src/components/workspace-setting/SyncPage.tsx b/apps/web/src/components/workspace-setting/SyncPage.tsxsimilarity index 100%rename from packages/app/src/components/workspace-setting/SyncPage.tsxrename to apps/web/src/components/workspace-setting/SyncPage.tsxdiff --git a/packages/app/src/components/workspace-setting/general/General.tsx b/apps/web/src/components/workspace-setting/general/General.tsxsimilarity index 100%rename from packages/app/src/components/workspace-setting/general/General.tsxrename to apps/web/src/components/workspace-setting/general/General.tsxdiff --git a/packages/app/src/components/workspace-setting/general/delete/Delete.tsx b/apps/web/src/components/workspace-setting/general/delete/Delete.tsxsimilarity index 100%rename from packages/app/src/components/workspace-setting/general/delete/Delete.tsxrename to apps/web/src/components/workspace-setting/general/delete/Delete.tsxdiff --git a/packages/app/src/components/workspace-setting/general/delete/index.ts b/apps/web/src/components/workspace-setting/general/delete/index.tssimilarity index 100%rename from packages/app/src/components/workspace-setting/general/delete/index.tsrename to apps/web/src/components/workspace-setting/general/delete/index.tsdiff --git a/packages/app/src/components/workspace-setting/general/delete/style.ts b/apps/web/src/components/workspace-setting/general/delete/style.tssimilarity index 100%rename from packages/app/src/components/workspace-setting/general/delete/style.tsrename to apps/web/src/components/workspace-setting/general/delete/style.tsdiff --git a/packages/app/src/components/workspace-setting/general/icons.tsx b/apps/web/src/components/workspace-setting/general/icons.tsxsimilarity index 100%rename from packages/app/src/components/workspace-setting/general/icons.tsxrename to apps/web/src/components/workspace-setting/general/icons.tsxdiff --git a/packages/app/src/components/workspace-setting/general/index.ts b/apps/web/src/components/workspace-setting/general/index.tssimilarity index 100%rename from packages/app/src/components/workspace-setting/general/index.tsrename to apps/web/src/components/workspace-setting/general/index.tsdiff --git a/packages/app/src/components/workspace-setting/general/leave/Leave.tsx b/apps/web/src/components/workspace-setting/general/leave/Leave.tsxsimilarity index 100%rename from packages/app/src/components/workspace-setting/general/leave/Leave.tsxrename to apps/web/src/components/workspace-setting/general/leave/Leave.tsxdiff --git a/packages/app/src/components/workspace-setting/general/leave/index.ts b/apps/web/src/components/workspace-setting/general/leave/index.tssimilarity index 100%rename from packages/app/src/components/workspace-setting/general/leave/index.tsrename to apps/web/src/components/workspace-setting/general/leave/index.tsdiff --git a/packages/app/src/components/workspace-setting/general/leave/style.ts b/apps/web/src/components/workspace-setting/general/leave/style.tssimilarity index 100%rename from packages/app/src/components/workspace-setting/general/leave/style.tsrename to apps/web/src/components/workspace-setting/general/leave/style.tsdiff --git a/packages/app/src/components/workspace-setting/general/style.ts b/apps/web/src/components/workspace-setting/general/style.tssimilarity index 100%rename from packages/app/src/components/workspace-setting/general/style.tsrename to apps/web/src/components/workspace-setting/general/style.tsdiff --git a/packages/app/src/components/workspace-setting/index.ts b/apps/web/src/components/workspace-setting/index.tssimilarity index 100%rename from packages/app/src/components/workspace-setting/index.tsrename to apps/web/src/components/workspace-setting/index.tsdiff --git a/packages/app/src/components/workspace-setting/member/InviteMemberModal.tsx b/apps/web/src/components/workspace-setting/member/InviteMemberModal.tsxsimilarity index 100%rename from packages/app/src/components/workspace-setting/member/InviteMemberModal.tsxrename to apps/web/src/components/workspace-setting/member/InviteMemberModal.tsxdiff --git a/packages/app/src/components/workspace-setting/member/MembersPage.tsx b/apps/web/src/components/workspace-setting/member/MembersPage.tsxsimilarity index 100%rename from packages/app/src/components/workspace-setting/member/MembersPage.tsxrename to apps/web/src/components/workspace-setting/member/MembersPage.tsxdiff --git a/packages/app/src/components/workspace-setting/member/index.ts b/apps/web/src/components/workspace-setting/member/index.tssimilarity index 100%rename from packages/app/src/components/workspace-setting/member/index.tsrename to apps/web/src/components/workspace-setting/member/index.tsdiff --git a/packages/app/src/components/workspace-setting/member/style.ts b/apps/web/src/components/workspace-setting/member/style.tssimilarity index 100%rename from packages/app/src/components/workspace-setting/member/style.tsrename to apps/web/src/components/workspace-setting/member/style.tsdiff --git a/packages/app/src/components/workspace-setting/style.ts b/apps/web/src/components/workspace-setting/style.tssimilarity index 100%rename from packages/app/src/components/workspace-setting/style.tsrename to apps/web/src/components/workspace-setting/style.tsdiff --git a/packages/app/src/components/workspace-slider-bar/WorkspaceSelector/WorkspaceItem/ListItem.tsx b/apps/web/src/components/workspace-slider-bar/WorkspaceSelector/WorkspaceItem/ListItem.tsxsimilarity index 100%rename from packages/app/src/components/workspace-slider-bar/WorkspaceSelector/WorkspaceItem/ListItem.tsxrename to apps/web/src/components/workspace-slider-bar/WorkspaceSelector/WorkspaceItem/ListItem.tsxdiff --git a/packages/app/src/components/workspace-slider-bar/WorkspaceSelector/WorkspaceItem/LoginItem.tsx b/apps/web/src/components/workspace-slider-bar/WorkspaceSelector/WorkspaceItem/LoginItem.tsxsimilarity index 100%rename from packages/app/src/components/workspace-slider-bar/WorkspaceSelector/WorkspaceItem/LoginItem.tsxrename to apps/web/src/components/workspace-slider-bar/WorkspaceSelector/WorkspaceItem/LoginItem.tsxdiff --git a/packages/app/src/components/workspace-slider-bar/WorkspaceSelector/WorkspaceItem/index.ts b/apps/web/src/components/workspace-slider-bar/WorkspaceSelector/WorkspaceItem/index.tssimilarity index 100%rename from packages/app/src/components/workspace-slider-bar/WorkspaceSelector/WorkspaceItem/index.tsrename to apps/web/src/components/workspace-slider-bar/WorkspaceSelector/WorkspaceItem/index.tsdiff --git a/packages/app/src/components/workspace-slider-bar/WorkspaceSelector/WorkspaceItem/styles.ts b/apps/web/src/components/workspace-slider-bar/WorkspaceSelector/WorkspaceItem/styles.tssimilarity index 100%rename from packages/app/src/components/workspace-slider-bar/WorkspaceSelector/WorkspaceItem/styles.tsrename to apps/web/src/components/workspace-slider-bar/WorkspaceSelector/WorkspaceItem/styles.tsdiff --git a/packages/app/src/components/workspace-slider-bar/WorkspaceSelector/WorkspaceSelector.tsx b/apps/web/src/components/workspace-slider-bar/WorkspaceSelector/WorkspaceSelector.tsxsimilarity index 100%rename from packages/app/src/components/workspace-slider-bar/WorkspaceSelector/WorkspaceSelector.tsxrename to apps/web/src/components/workspace-slider-bar/WorkspaceSelector/WorkspaceSelector.tsxdiff --git a/packages/app/src/components/workspace-slider-bar/WorkspaceSelector/index.ts b/apps/web/src/components/workspace-slider-bar/WorkspaceSelector/index.tssimilarity index 100%rename from packages/app/src/components/workspace-slider-bar/WorkspaceSelector/index.tsrename to apps/web/src/components/workspace-slider-bar/WorkspaceSelector/index.tsdiff --git a/packages/app/src/components/workspace-slider-bar/WorkspaceSelector/styles.ts b/apps/web/src/components/workspace-slider-bar/WorkspaceSelector/styles.tssimilarity index 100%rename from packages/app/src/components/workspace-slider-bar/WorkspaceSelector/styles.tsrename to apps/web/src/components/workspace-slider-bar/WorkspaceSelector/styles.tsdiff --git a/packages/app/src/components/workspace-slider-bar/icons.tsx b/apps/web/src/components/workspace-slider-bar/icons.tsxsimilarity index 100%rename from packages/app/src/components/workspace-slider-bar/icons.tsxrename to apps/web/src/components/workspace-slider-bar/icons.tsxdiff --git a/packages/app/src/components/workspace-slider-bar/icons/Icons.tsx b/apps/web/src/components/workspace-slider-bar/icons/Icons.tsxsimilarity index 100%rename from packages/app/src/components/workspace-slider-bar/icons/Icons.tsxrename to apps/web/src/components/workspace-slider-bar/icons/Icons.tsxdiff --git a/packages/app/src/components/workspace-slider-bar/index.tsx b/apps/web/src/components/workspace-slider-bar/index.tsxsimilarity index 100%rename from packages/app/src/components/workspace-slider-bar/index.tsxrename to apps/web/src/components/workspace-slider-bar/index.tsxdiff --git a/packages/app/src/components/workspace-slider-bar/style.ts b/apps/web/src/components/workspace-slider-bar/style.tssimilarity index 100%rename from packages/app/src/components/workspace-slider-bar/style.tsrename to apps/web/src/components/workspace-slider-bar/style.tsdiff --git a/packages/app/src/globals.d.ts b/apps/web/src/globals.d.tssimilarity index 100%rename from packages/app/src/globals.d.tsrename to apps/web/src/globals.d.tsdiff --git a/packages/app/src/hooks/use-change-page-meta.ts b/apps/web/src/hooks/use-change-page-meta.tssimilarity index 100%rename from packages/app/src/hooks/use-change-page-meta.tsrename to apps/web/src/hooks/use-change-page-meta.tsdiff --git a/packages/app/src/hooks/use-current-page-meta.ts b/apps/web/src/hooks/use-current-page-meta.tssimilarity index 100%rename from packages/app/src/hooks/use-current-page-meta.tsrename to apps/web/src/hooks/use-current-page-meta.tsdiff --git a/packages/app/src/hooks/use-ensure-workspace.ts b/apps/web/src/hooks/use-ensure-workspace.tssimilarity index 100%rename from packages/app/src/hooks/use-ensure-workspace.tsrename to apps/web/src/hooks/use-ensure-workspace.tsdiff --git a/packages/app/src/hooks/use-history-update.ts b/apps/web/src/hooks/use-history-update.tssimilarity index 100%rename from packages/app/src/hooks/use-history-update.tsrename to apps/web/src/hooks/use-history-update.tsdiff --git a/packages/app/src/hooks/use-local-storage.ts b/apps/web/src/hooks/use-local-storage.tssimilarity index 100%rename from packages/app/src/hooks/use-local-storage.tsrename to apps/web/src/hooks/use-local-storage.tsdiff --git a/packages/app/src/hooks/use-members.ts b/apps/web/src/hooks/use-members.tssimilarity index 100%rename from packages/app/src/hooks/use-members.tsrename to apps/web/src/hooks/use-members.tsdiff --git a/packages/app/src/hooks/use-page-helper.ts b/apps/web/src/hooks/use-page-helper.tssimilarity index 100%rename from packages/app/src/hooks/use-page-helper.tsrename to apps/web/src/hooks/use-page-helper.tsdiff --git a/packages/app/src/hooks/use-props-updated.ts b/apps/web/src/hooks/use-props-updated.tssimilarity index 100%rename from packages/app/src/hooks/use-props-updated.tsrename to apps/web/src/hooks/use-props-updated.tsdiff --git a/packages/app/src/hooks/use-workspace-helper.ts b/apps/web/src/hooks/use-workspace-helper.tssimilarity index 100%rename from packages/app/src/hooks/use-workspace-helper.tsrename to apps/web/src/hooks/use-workspace-helper.tsdiff --git a/packages/app/src/pages/404.tsx b/apps/web/src/pages/404.tsxsimilarity index 100%rename from packages/app/src/pages/404.tsxrename to apps/web/src/pages/404.tsxdiff --git a/packages/app/src/pages/_app.tsx b/apps/web/src/pages/_app.tsxsimilarity index 100%rename from packages/app/src/pages/_app.tsxrename to apps/web/src/pages/_app.tsxdiff --git a/packages/app/src/pages/_document.tsx b/apps/web/src/pages/_document.tsxsimilarity index 100%rename from packages/app/src/pages/_document.tsxrename to apps/web/src/pages/_document.tsxdiff --git a/packages/app/src/pages/index.tsx b/apps/web/src/pages/index.tsxsimilarity index 100%rename from packages/app/src/pages/index.tsxrename to apps/web/src/pages/index.tsxdiff --git a/packages/app/src/pages/invite/[invite_code].tsx b/apps/web/src/pages/invite/[invite_code].tsxsimilarity index 100%rename from packages/app/src/pages/invite/[invite_code].tsxrename to apps/web/src/pages/invite/[invite_code].tsxdiff --git a/packages/app/src/pages/public-workspace/[workspaceId]/[pageId].tsx b/apps/web/src/pages/public-workspace/[workspaceId]/[pageId].tsxsimilarity index 100%rename from packages/app/src/pages/public-workspace/[workspaceId]/[pageId].tsxrename to apps/web/src/pages/public-workspace/[workspaceId]/[pageId].tsxdiff --git a/packages/app/src/pages/public-workspace/[workspaceId]/index.tsx b/apps/web/src/pages/public-workspace/[workspaceId]/index.tsxsimilarity index 100%rename from packages/app/src/pages/public-workspace/[workspaceId]/index.tsxrename to apps/web/src/pages/public-workspace/[workspaceId]/index.tsxdiff --git a/packages/app/src/pages/temporary.css b/apps/web/src/pages/temporary.csssimilarity index 100%rename from packages/app/src/pages/temporary.cssrename to apps/web/src/pages/temporary.cssdiff --git a/packages/app/src/pages/workspace/[workspaceId]/[pageId].tsx b/apps/web/src/pages/workspace/[workspaceId]/[pageId].tsxsimilarity index 100%rename from packages/app/src/pages/workspace/[workspaceId]/[pageId].tsxrename to apps/web/src/pages/workspace/[workspaceId]/[pageId].tsxdiff --git a/packages/app/src/pages/workspace/[workspaceId]/all.tsx b/apps/web/src/pages/workspace/[workspaceId]/all.tsxsimilarity index 100%rename from packages/app/src/pages/workspace/[workspaceId]/all.tsxrename to apps/web/src/pages/workspace/[workspaceId]/all.tsxdiff --git a/packages/app/src/pages/workspace/[workspaceId]/favorite.tsx b/apps/web/src/pages/workspace/[workspaceId]/favorite.tsxsimilarity index 100%rename from packages/app/src/pages/workspace/[workspaceId]/favorite.tsxrename to apps/web/src/pages/workspace/[workspaceId]/favorite.tsxdiff --git a/packages/app/src/pages/workspace/[workspaceId]/index.tsx b/apps/web/src/pages/workspace/[workspaceId]/index.tsxsimilarity index 100%rename from packages/app/src/pages/workspace/[workspaceId]/index.tsxrename to apps/web/src/pages/workspace/[workspaceId]/index.tsxdiff --git a/packages/app/src/pages/workspace/[workspaceId]/playground.tsx b/apps/web/src/pages/workspace/[workspaceId]/playground.tsxsimilarity index 100%rename from packages/app/src/pages/workspace/[workspaceId]/playground.tsxrename to apps/web/src/pages/workspace/[workspaceId]/playground.tsxdiff --git a/packages/app/src/pages/workspace/[workspaceId]/setting.tsx b/apps/web/src/pages/workspace/[workspaceId]/setting.tsxsimilarity index 100%rename from packages/app/src/pages/workspace/[workspaceId]/setting.tsxrename to apps/web/src/pages/workspace/[workspaceId]/setting.tsxdiff --git a/packages/app/src/pages/workspace/[workspaceId]/trash.tsx b/apps/web/src/pages/workspace/[workspaceId]/trash.tsxsimilarity index 100%rename from packages/app/src/pages/workspace/[workspaceId]/trash.tsxrename to apps/web/src/pages/workspace/[workspaceId]/trash.tsxdiff --git a/packages/app/src/pages/workspace/index.tsx b/apps/web/src/pages/workspace/index.tsxsimilarity index 100%rename from packages/app/src/pages/workspace/index.tsxrename to apps/web/src/pages/workspace/index.tsxdiff --git a/packages/app/src/providers/ConfirmProvider.tsx b/apps/web/src/providers/ConfirmProvider.tsxsimilarity index 100%rename from packages/app/src/providers/ConfirmProvider.tsxrename to apps/web/src/providers/ConfirmProvider.tsxdiff --git a/packages/app/src/providers/ThemeProvider.tsx b/apps/web/src/providers/ThemeProvider.tsxsimilarity index 100%rename from packages/app/src/providers/ThemeProvider.tsxrename to apps/web/src/providers/ThemeProvider.tsxdiff --git a/packages/app/src/providers/app-state-provider/Provider.tsx b/apps/web/src/providers/app-state-provider/Provider.tsxsimilarity index 100%rename from packages/app/src/providers/app-state-provider/Provider.tsxrename to apps/web/src/providers/app-state-provider/Provider.tsxdiff --git a/packages/app/src/providers/app-state-provider/index.ts b/apps/web/src/providers/app-state-provider/index.tssimilarity index 100%rename from packages/app/src/providers/app-state-provider/index.tsrename to apps/web/src/providers/app-state-provider/index.tsdiff --git a/packages/app/src/providers/app-state-provider/interface.ts b/apps/web/src/providers/app-state-provider/interface.tssimilarity index 100%rename from packages/app/src/providers/app-state-provider/interface.tsrename to apps/web/src/providers/app-state-provider/interface.tsdiff --git a/packages/app/src/providers/app-state-provider/utils.ts b/apps/web/src/providers/app-state-provider/utils.tssimilarity index 100%rename from packages/app/src/providers/app-state-provider/utils.tsrename to apps/web/src/providers/app-state-provider/utils.tsdiff --git a/packages/app/src/store/globalModal/index.tsx b/apps/web/src/store/globalModal/index.tsxsimilarity index 100%rename from packages/app/src/store/globalModal/index.tsxrename to apps/web/src/store/globalModal/index.tsxdiff --git a/packages/app/src/templates/AFFiNE-Docs.md b/apps/web/src/templates/AFFiNE-Docs.mdsimilarity index 100%rename from packages/app/src/templates/AFFiNE-Docs.mdrename to apps/web/src/templates/AFFiNE-Docs.mddiff --git a/packages/app/src/templates/Welcome-to-AFFiNE-Abbey-Alpha-Wood.md b/apps/web/src/templates/Welcome-to-AFFiNE-Abbey-Alpha-Wood.mdsimilarity index 100%rename from packages/app/src/templates/Welcome-to-AFFiNE-Abbey-Alpha-Wood.mdrename to apps/web/src/templates/Welcome-to-AFFiNE-Abbey-Alpha-Wood.mddiff --git a/packages/app/src/templates/Welcome-to-AFFiNE-Alpha-Downhills.md b/apps/web/src/templates/Welcome-to-AFFiNE-Alpha-Downhills.mdsimilarity index 100%rename from packages/app/src/templates/Welcome-to-AFFiNE-Alpha-Downhills.mdrename to apps/web/src/templates/Welcome-to-AFFiNE-Alpha-Downhills.mddiff --git a/packages/app/src/templates/Welcome-to-the-AFFiNE-Alpha.md b/apps/web/src/templates/Welcome-to-the-AFFiNE-Alpha.mdsimilarity index 100%rename from packages/app/src/templates/Welcome-to-the-AFFiNE-Alpha.mdrename to apps/web/src/templates/Welcome-to-the-AFFiNE-Alpha.mddiff --git a/packages/app/src/types.ts b/apps/web/src/types.tssimilarity index 100%rename from packages/app/src/types.tsrename to apps/web/src/types.tsdiff --git a/packages/app/src/utils/__tests__/get-is-mobile.spec.ts b/apps/web/src/utils/__tests__/get-is-mobile.spec.tssimilarity index 100%rename from packages/app/src/utils/__tests__/get-is-mobile.spec.tsrename to apps/web/src/utils/__tests__/get-is-mobile.spec.tsdiff --git a/packages/app/src/utils/colors.ts b/apps/web/src/utils/colors.tssimilarity index 100%rename from packages/app/src/utils/colors.tsrename to apps/web/src/utils/colors.tsdiff --git a/packages/app/src/utils/env.ts b/apps/web/src/utils/env.tssimilarity index 100%rename from packages/app/src/utils/env.tsrename to apps/web/src/utils/env.tsdiff --git a/packages/app/src/utils/get-is-mobile.ts b/apps/web/src/utils/get-is-mobile.tssimilarity index 100%rename from packages/app/src/utils/get-is-mobile.tsrename to apps/web/src/utils/get-is-mobile.tsdiff --git a/packages/app/src/utils/index.ts b/apps/web/src/utils/index.tssimilarity index 100%rename from packages/app/src/utils/index.tsrename to apps/web/src/utils/index.tsdiff --git a/packages/app/src/utils/print-build-info.ts b/apps/web/src/utils/print-build-info.tssimilarity index 100%rename from packages/app/src/utils/print-build-info.tsrename to apps/web/src/utils/print-build-info.tsdiff --git a/packages/app/src/utils/tools.ts b/apps/web/src/utils/tools.tssimilarity index 100%rename from packages/app/src/utils/tools.tsrename to apps/web/src/utils/tools.tsdiff --git a/packages/app/src/utils/useragent.ts b/apps/web/src/utils/useragent.tssimilarity index 100%rename from packages/app/src/utils/useragent.tsrename to apps/web/src/utils/useragent.tsdiff --git a/packages/app/tsconfig.json b/apps/web/tsconfig.jsonsimilarity index 90%rename from packages/app/tsconfig.jsonrename to apps/web/tsconfig.jsonindex 1dc257d3b7..b186e986d6 100644--- a/packages/app/tsconfig.json+++ b/apps/web/tsconfig.json@@ -19,7 +19,7 @@"baseUrl": ".","paths": {"@/*": ["src/*"],- "@affine/component": ["../component/src/index"]+ "@affine/component": ["../../packages/component/src/index"]}},"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx"],diff --git a/benchmarks/README.md b/benchmarks/README.mddeleted file mode 100644index c2e7190ca9..0000000000--- a/benchmarks/README.md+++ /dev/null@@ -1,3 +0,0 @@-# Benchmarks--Example sites for benchmarking `AFFiNE`.diff --git a/client-app/src-OctoBase b/client-app/src-OctoBasedeleted file mode 160000index 86bb6fbfde..0000000000--- a/client-app/src-OctoBase+++ /dev/null@@ -1 +0,0 @@-Subproject commit 86bb6fbfded4ff5f32d38b30ac510414c636da4ddiff --git a/packages/component/.storybook/main.js b/packages/component/.storybook/main.jsindex 9458beb434..b46dd1b7a7 100644--- a/packages/component/.storybook/main.js+++ b/packages/component/.storybook/main.js@@ -2,7 +2,7 @@ const path = require('node:path');module.exports = {stories: ['../src/**/*.stories.mdx', '../src/**/*.stories.@(js|jsx|ts|tsx)'],- staticDirs: ['../../app/public'],+ staticDirs: ['../../../apps/web/public'],addons: ['@storybook/addon-links', '@storybook/addon-essentials'],core: {builder: '@storybook/builder-webpack5',diff --git a/pnpm-lock.yaml b/pnpm-lock.yamlindex 872d7a67b4..baec36c3ba 100644--- a/pnpm-lock.yaml+++ b/pnpm-lock.yaml@@ -52,7 +52,7 @@ importers:prettier: 2.7.1typescript: 4.9.5- client-app:+ apps/desktop:specifiers:'@blocksuite/store': ^0.3.1'@emotion/react': ^11.10.5@@ -108,7 +108,7 @@ importers:'@emotion/styled': 11.10.5_jrh5enlbqfbnumycmktdqgd6se'@tauri-apps/api': 1.2.0_nb4isgkwd3sres4g7j7rgtldsujson-schema-to-typescript: 11.0.3- lib0: 0.2.61+ lib0: 0.2.62react: 18.2.0react-dom: [email protected]react-is: 18.2.0@@ -153,7 +153,7 @@ importers:vite: 4.1.1_@[email protected]zx: 7.1.1- packages/app:+ apps/web:specifiers:'@affine/component': workspace:*'@affine/datacenter': workspace:*@@ -198,9 +198,9 @@ importers:yjs: ^13.5.45zustand: ^4.3.2dependencies:- '@affine/component': link:../component- '@affine/datacenter': link:../data-center- '@affine/i18n': link:../i18n+ '@affine/component': link:../../packages/component+ '@affine/datacenter': link:../../packages/data-center+ '@affine/i18n': link:../../packages/i18n'@blocksuite/blocks': 0.4.0-20230210031655-264744e_tryoyswiy2ympczjdv3b3agdeu'@blocksuite/editor': 0.4.0-20230210031655-264744e_j74rmblk7sdmtedyaf3ziv736m'@blocksuite/icons': 2.0.4_w5j4k42lgipnm43s3brx6h3c34@@ -214,16 +214,16 @@ importers:'@mui/base': 5.0.0-alpha.117_7ey2zzynotv32rpkwno45fsx4e'@mui/icons-material': 5.11.0_ixytn77exq5nzezlwja6xe4jxi'@mui/material': 5.11.8_pmppvr4gtvd6vpdr5yl42vjwtu- '@toeverything/pathfinder-logger': link:../logger+ '@toeverything/pathfinder-logger': link:../../packages/loggercmdk: 0.1.21_7ey2zzynotv32rpkwno45fsx4ecss-spring: 4.1.0dayjs: 1.11.7lit: 2.6.1next: 13.1.0_rdilrli7uexa22ralt77ekax24_biqbaboplfbrettd7655fr4n2ynext-debug-local: 0.1.5- prettier: 2.7.1+ prettier: 2.8.1quill: 1.3.7- quill-cursors: 4.0.0+ quill-cursors: 4.0.2react: 18.2.0react-dom: [email protected]yjs: 13.5.45@@ -237,7 +237,7 @@ importers:eslint: 8.22.0eslint-config-next: 12.3.1_hp3n5f6hao4yyg55iy34n6oiveeslint-config-prettier: [email protected]- eslint-plugin-prettier: 4.2.1_i2cojdczqdiurzgttlwdgf764e+ eslint-plugin-prettier: 4.2.1_wc6gesg72dpfw5d6hhumtqiqsinext-pwa: [email protected]raw-loader: 4.0.2typescript: 4.9.5@@ -2896,7 +2896,7 @@ packages:flexsearch: 0.7.21idb-keyval: 6.2.0ky: 0.33.2- lib0: 0.2.61+ lib0: 0.2.62y-protocols: 1.0.5y-webrtc: 10.2.4yjs: 13.5.45@@ -3601,23 +3601,6 @@ packages:eslint-visitor-keys: 3.3.0dev: true- /@eslint/eslintrc/1.3.2:- resolution: {integrity: sha512-AXYd23w1S/bv3fTs3Lz0vjiYemS08jWkI3hYyS9I1ry+0f+Yjs1wm+sU0BS8qDOPrBIkp4qHYC16I8uVtpLajQ==}- engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}- dependencies:- ajv: 6.12.6- debug: 4.3.4- espree: 9.4.0- globals: 13.17.0- ignore: 5.2.0- import-fresh: 3.3.0- js-yaml: 4.1.0- minimatch: 3.1.2- strip-json-comments: 3.1.1- transitivePeerDependencies:- - supports-color- dev: true-/@eslint/eslintrc/1.4.1:resolution: {integrity: sha512-XXrH9Uarn0stsyldqDYq8r++mROmWRI1xKMXa640Bb//SY1+ECYX6VzT6Lcx5frD0V30XieqJ0oX9I2Xj5aoMA==}engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}@@ -6844,7 +6827,7 @@ packages:/@swc/helpers/0.4.14:resolution: {integrity: sha512-4C7nX/dvpzB7za4Ql9K81xK3HPxCpHMgwTZVyf+9JQ6VUbn9jjZVN7/Nkdz/Ugzs2CSjqnL/UPXroiVBVHUWUw==}dependencies:- tslib: 2.4.0+ tslib: 2.5.0/@szmarczak/http-timer/4.0.6:resolution: {integrity: sha512-4BAffykYOgO+5nzBWYwE3W90sBgLJoUPRWWcL8wlyiM8IB8ipJz3UMJ9KXQd1RKQXpKp8Tutn80HZtWsu2u76w==}@@ -8213,7 +8196,7 @@ packages:dependencies:'@types/react': 18.0.20react: 18.2.0- tslib: 2.4.0+ tslib: 2.5.0dev: false/aria-query/4.2.2:@@ -8249,17 +8232,6 @@ packages:resolution: {integrity: sha512-PCVAQswWemu6UdxsDFFX/+gVeYqKAod3D3UVm91jHwynguOwAvYPhx8nNlM++NqRcK6CxxpUafjmhIdKiHibqg==}dev: true- /array-includes/3.1.5:- resolution: {integrity: sha512-iSDYZMMyTPkiFasVqfuAQnWAYcvO/SeBSCGKePoEthjp4LEMTe4uLc7b025o4jAZpHhihh8xPo99TNWUWWkGDQ==}- engines: {node: '>= 0.4'}- dependencies:- call-bind: 1.0.2- define-properties: 1.1.4- es-abstract: 1.20.2- get-intrinsic: 1.1.3- is-string: 1.0.7- dev: true-/array-includes/3.1.6:resolution: {integrity: sha512-sgTbLvL6cNnw24FnbaDyjmvddQ2ML8arZsgaJhoABMoplz/4QRhtrYS+alr1BUM1Bwp6dhx8vVCBSLG+StwOFw==}engines: {node: '>= 0.4'}@@ -8303,16 +8275,6 @@ packages:es-shim-unscopables: 1.0.0dev: true- /array.prototype.flatmap/1.3.0:- resolution: {integrity: sha512-PZC9/8TKAIxcWKdyeb77EzULHPrIX/tIZebLJUQOMR1OwYosT8yggdfWScfTBCDj5utONvOuPQQumYsU2ULbkg==}- engines: {node: '>= 0.4'}- dependencies:- call-bind: 1.0.2- define-properties: 1.1.4- es-abstract: 1.20.2- es-shim-unscopables: 1.0.0- dev: true-/array.prototype.flatmap/1.3.1:resolution: {integrity: sha512-8UGn9O1FDVvMNB0UlLv4voxRMze7+FpHyF5mSMRjWHUMlpoDViniy05870VlxhfgTnLbpuwTzvD76MTtWxB/mQ==}engines: {node: '>= 0.4'}@@ -10718,7 +10680,7 @@ packages:eslint-import-resolver-typescript: 2.7.1_2iahngt3u2tkbdlu6s4gkur3pueslint-plugin-import: 2.26.0_zznokraecjt4ixvvqcdste35vqeslint-plugin-jsx-a11y: [email protected]- eslint-plugin-react: [email protected]+ eslint-plugin-react: [email protected]eslint-plugin-react-hooks: [email protected]typescript: 4.9.5transitivePeerDependencies:@@ -10743,7 +10705,7 @@ packages:eslint-import-resolver-typescript: 2.7.1_ol7jqilc3wemtdbq3nzhywgxq4eslint-plugin-import: 2.26.0_o2ymnzkcx6ynnxgq4q5neiwzpeeslint-plugin-jsx-a11y: [email protected]- eslint-plugin-react: [email protected]+ eslint-plugin-react: [email protected]eslint-plugin-react-hooks: [email protected]typescript: 4.9.5transitivePeerDependencies:@@ -11042,7 +11004,7 @@ packages:is-core-module: 2.11.0is-glob: 4.0.3minimatch: 3.1.2- object.values: 1.1.5+ object.values: 1.1.6resolve: 1.22.1tsconfig-paths: 3.14.1transitivePeerDependencies:@@ -11073,7 +11035,7 @@ packages:is-core-module: 2.11.0is-glob: 4.0.3minimatch: 3.1.2- object.values: 1.1.5+ object.values: 1.1.6resolve: 1.22.1tsconfig-paths: 3.14.1transitivePeerDependencies:@@ -11104,7 +11066,7 @@ packages:is-core-module: 2.11.0is-glob: 4.0.3minimatch: 3.1.2- object.values: 1.1.5+ object.values: 1.1.6resolve: 1.22.1tsconfig-paths: 3.14.1transitivePeerDependencies:@@ -11121,7 +11083,7 @@ packages:dependencies:'@babel/runtime': 7.20.7aria-query: 4.2.2- array-includes: 3.1.5+ array-includes: 3.1.6ast-types-flow: 0.0.7axe-core: 4.4.3axobject-query: 2.2.0@@ -11143,7 +11105,7 @@ packages:dependencies:'@babel/runtime': 7.20.7aria-query: 4.2.2- array-includes: 3.1.5+ array-includes: 3.1.6ast-types-flow: 0.0.7axe-core: 4.4.3axobject-query: 2.2.0@@ -11189,7 +11151,7 @@ packages:semver: 6.3.0dev: true- /eslint-plugin-prettier/4.2.1_i2cojdczqdiurzgttlwdgf764e:+ /eslint-plugin-prettier/4.2.1_kl4pe43v5b43npmso5hoplpbyi:resolution: {integrity: sha512-f/0rXLXUt0oFYs8ra4w49wYZBG5GKZpAYsJSm6rnYL5uVDjd+zowwMwVZHnAjf4edNrKpCDYfXDgmRE/Ak7QyQ==}engines: {node: '>=12.0.0'}peerDependencies:@@ -11200,13 +11162,13 @@ packages:eslint-config-prettier:optional: truedependencies:- eslint: 8.22.0- eslint-config-prettier: [email protected]- prettier: 2.7.1+ eslint: 8.30.0+ eslint-config-prettier: [email protected]+ prettier: 2.8.1prettier-linter-helpers: 1.0.0dev: true- /eslint-plugin-prettier/4.2.1_kl4pe43v5b43npmso5hoplpbyi:+ /eslint-plugin-prettier/4.2.1_vkmhlldugy3fnk7p2bqhsfnaiq:resolution: {integrity: sha512-f/0rXLXUt0oFYs8ra4w49wYZBG5GKZpAYsJSm6rnYL5uVDjd+zowwMwVZHnAjf4edNrKpCDYfXDgmRE/Ak7QyQ==}engines: {node: '>=12.0.0'}peerDependencies:@@ -11217,13 +11179,13 @@ packages:eslint-config-prettier:optional: truedependencies:- eslint: 8.30.0- eslint-config-prettier: [email protected]- prettier: 2.8.1+ eslint: 8.31.0+ eslint-config-prettier: [email protected]+ prettier: 2.7.1prettier-linter-helpers: 1.0.0dev: true- /eslint-plugin-prettier/4.2.1_vkmhlldugy3fnk7p2bqhsfnaiq:+ /eslint-plugin-prettier/4.2.1_wc6gesg72dpfw5d6hhumtqiqsi:resolution: {integrity: sha512-f/0rXLXUt0oFYs8ra4w49wYZBG5GKZpAYsJSm6rnYL5uVDjd+zowwMwVZHnAjf4edNrKpCDYfXDgmRE/Ak7QyQ==}engines: {node: '>=12.0.0'}peerDependencies:@@ -11234,9 +11196,9 @@ packages:eslint-config-prettier:optional: truedependencies:- eslint: 8.31.0- eslint-config-prettier: [email protected]- prettier: 2.7.1+ eslint: 8.22.0+ eslint-config-prettier: [email protected]+ prettier: 2.8.1prettier-linter-helpers: 1.0.0dev: true@@ -11276,7 +11238,7 @@ packages:eslint: 8.31.0dev: true- /eslint-plugin-react/[email protected]:+ /eslint-plugin-react/[email protected]:resolution: {integrity: sha512-TTvq5JsT5v56wPa9OYHzsrOlHzKZKjV+aLgS+55NJP/cuzdiQPC7PfYoUjMoxlffKtvijpk7vA/jmuqRb9nohw==}engines: {node: '>=4'}peerDependencies:@@ -11286,7 +11248,7 @@ packages:array.prototype.flatmap: 1.3.1array.prototype.tosorted: 1.1.1doctrine: 2.1.0- eslint: 8.30.0+ eslint: 8.22.0estraverse: 5.3.0jsx-ast-utils: 3.3.3minimatch: 3.1.2@@ -11300,50 +11262,52 @@ packages:string.prototype.matchall: 4.0.8dev: true- /eslint-plugin-react/[email protected]:- resolution: {integrity: sha512-5lBTZmgQmARLLSYiwI71tiGVTLUuqXantZM6vlSY39OaDSV0M7+32K5DnLkmFrwTe+Ksz0ffuLUC91RUviVZfw==}+ /eslint-plugin-react/[email protected]:+ resolution: {integrity: sha512-TTvq5JsT5v56wPa9OYHzsrOlHzKZKjV+aLgS+55NJP/cuzdiQPC7PfYoUjMoxlffKtvijpk7vA/jmuqRb9nohw==}engines: {node: '>=4'}peerDependencies:eslint: ^3 || ^4 || ^5 || ^6 || ^7 || ^8dependencies:- array-includes: 3.1.5- array.prototype.flatmap: 1.3.0+ array-includes: 3.1.6+ array.prototype.flatmap: 1.3.1+ array.prototype.tosorted: 1.1.1doctrine: 2.1.0- eslint: 8.22.0+ eslint: 8.30.0estraverse: 5.3.0jsx-ast-utils: 3.3.3minimatch: 3.1.2- object.entries: 1.1.5- object.fromentries: 2.0.5- object.hasown: 1.1.1- object.values: 1.1.5+ object.entries: 1.1.6+ object.fromentries: 2.0.6+ object.hasown: 1.1.2+ object.values: 1.1.6prop-types: 15.8.1resolve: 2.0.0-next.4semver: 6.3.0- string.prototype.matchall: 4.0.7+ string.prototype.matchall: 4.0.8dev: true- /eslint-plugin-react/[email protected]:- resolution: {integrity: sha512-5lBTZmgQmARLLSYiwI71tiGVTLUuqXantZM6vlSY39OaDSV0M7+32K5DnLkmFrwTe+Ksz0ffuLUC91RUviVZfw==}+ /eslint-plugin-react/[email protected]:+ resolution: {integrity: sha512-TTvq5JsT5v56wPa9OYHzsrOlHzKZKjV+aLgS+55NJP/cuzdiQPC7PfYoUjMoxlffKtvijpk7vA/jmuqRb9nohw==}engines: {node: '>=4'}peerDependencies:eslint: ^3 || ^4 || ^5 || ^6 || ^7 || ^8dependencies:- array-includes: 3.1.5- array.prototype.flatmap: 1.3.0+ array-includes: 3.1.6+ array.prototype.flatmap: 1.3.1+ array.prototype.tosorted: 1.1.1doctrine: 2.1.0eslint: 8.31.0estraverse: 5.3.0jsx-ast-utils: 3.3.3minimatch: 3.1.2- object.entries: 1.1.5- object.fromentries: 2.0.5- object.hasown: 1.1.1- object.values: 1.1.5+ object.entries: 1.1.6+ object.fromentries: 2.0.6+ object.hasown: 1.1.2+ object.values: 1.1.6prop-types: 15.8.1resolve: 2.0.0-next.4semver: 6.3.0- string.prototype.matchall: 4.0.7+ string.prototype.matchall: 4.0.8dev: true/eslint-plugin-security-node/1.1.1:@@ -11499,8 +11463,9 @@ packages:/eslint/8.22.0:resolution: {integrity: sha512-ci4t0sz6vSRKdmkOGmprBo6fmI4PrphDFMy5JEq/fNS0gQkJM3rLmrqcp8ipMcdobH3KtUP40KniAE9W19S4wA==}engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}+ hasBin: truedependencies:- '@eslint/eslintrc': 1.3.2+ '@eslint/eslintrc': 1.4.1'@humanwhocodes/config-array': 0.10.4'@humanwhocodes/gitignore-to-minimatch': 1.0.2ajv: 6.12.6@@ -11520,7 +11485,7 @@ packages:find-up: 5.0.0functional-red-black-tree: 1.0.1glob-parent: 6.0.2- globals: 13.17.0+ globals: 13.19.0globby: 11.1.0grapheme-splitter: 1.0.4ignore: 5.2.0@@ -12707,13 +12672,6 @@ packages:engines: {node: '>=4'}dev: true- /globals/13.17.0:- resolution: {integrity: sha512-1C+6nQRb1GwGMKm2dH/E7enFAMxGTmGI7/dEdhy/DNelv85w9B72t3uc5frtMNXIbzrarJJ/lTCjcaZwbLJmyw==}- engines: {node: '>=8'}- dependencies:- type-fest: 0.20.2- dev: true-/globals/13.19.0:resolution: {integrity: sha512-dkQ957uSRWHw7CFXLUtUHQI3g3aWApYhfNR2O6jn/907riyTYKVBmxYVROkBcY614FSSeSJh7Xm7SrUWCxvJMQ==}engines: {node: '>=8'}@@ -13100,6 +13058,7 @@ packages:/html-tokenize/2.0.1:resolution: {integrity: sha512-QY6S+hZ0f5m1WT8WffYN+Hg+xm/w5I8XeUcAq/ZYP5wVC8xbKi4Whhru3FtrAebD5EhBW8rmFzkDI6eCAuFe2w==}+ hasBin: truedependencies:buffer-from: 0.1.2inherits: 2.0.4@@ -14292,18 +14251,11 @@ packages:isomorphic.js: 0.2.5dev: false- /lib0/0.2.61:- resolution: {integrity: sha512-yVhT0uMXNWk50KqBgsZPxmcoO7Yft341wDTByKjXIzBpkhUjEzXl/M9b/GfqyDFBdiLCGg19Cv26NHUEnbL1pA==}- engines: {node: '>=14'}- dependencies:- isomorphic.js: 0.2.5-/lib0/0.2.62:resolution: {integrity: sha512-DY0G8AaQloUvpiss7EpAo/t4R82b9m/AydbQRNAa9Khssn9oGDJnSN8Q1qQ8u82Wog4iaT1O8yM+DfhzGCrrpQ==}engines: {node: '>=14'}dependencies:isomorphic.js: 0.2.5- dev: false/lilconfig/2.0.6:resolution: {integrity: sha512-9JROoBW7pobfsx+Sq2JsASvCo6Pfo6WWoUW79HuB1BCoBXD4PLWJPqDF6fNj67pqBYTbAHkE57M1kS/+L1neOg==}@@ -15493,15 +15445,6 @@ packages:object-keys: 1.1.1dev: true- /object.entries/1.1.5:- resolution: {integrity: sha512-TyxmjUoZggd4OrrU1W66FMDG6CuqJxsFvymeyXI51+vQLN67zYfZseptRge703kKQdo4uccgAKebXFcRCzk4+g==}- engines: {node: '>= 0.4'}- dependencies:- call-bind: 1.0.2- define-properties: 1.1.4- es-abstract: 1.20.2- dev: true-/object.entries/1.1.6:resolution: {integrity: sha512-leTPzo4Zvg3pmbQ3rDK69Rl8GQvIqMWubrkxONG9/ojtFE2rD9fjMKfSI5BxW3osRH1m6VdzmqK8oAY9aT4x5w==}engines: {node: '>= 0.4'}@@ -15511,15 +15454,6 @@ packages:es-abstract: 1.21.1dev: true- /object.fromentries/2.0.5:- resolution: {integrity: sha512-CAyG5mWQRRiBU57Re4FKoTBjXfDoNwdFVH2Y1tS9PqCsfUTymAohOkEMSG3aRNKmv4lV3O7p1et7c187q6bynw==}- engines: {node: '>= 0.4'}- dependencies:- call-bind: 1.0.2- define-properties: 1.1.4- es-abstract: 1.20.2- dev: true-/object.fromentries/2.0.6:resolution: {integrity: sha512-VciD13dswC4j1Xt5394WR4MzmAQmlgN72phd/riNp9vtD7tp4QQWJ0R4wvclXcafgcYK8veHRed2W6XeGBvcfg==}engines: {node: '>= 0.4'}@@ -15539,13 +15473,6 @@ packages:es-abstract: 1.21.1dev: true- /object.hasown/1.1.1:- resolution: {integrity: sha512-LYLe4tivNQzq4JdaWW6WO3HMZZJWzkkH8fnI6EebWl0VZth2wL2Lovm74ep2/gZzlaTdV62JZHEqHQ2yVn8Q/A==}- dependencies:- define-properties: 1.1.4- es-abstract: 1.20.2- dev: true-/object.hasown/1.1.2:resolution: {integrity: sha512-B5UIT3J1W+WuWIU55h0mjlwaqxiE5vYENJXIXZ4VFe05pNYrkKuK0U/6aFcb0pKywYJh7IhfoqUfKVmrJJHZHw==}dependencies:@@ -15560,15 +15487,6 @@ packages:isobject: 3.0.1dev: true- /object.values/1.1.5:- resolution: {integrity: sha512-QUZRW0ilQ3PnPpbNtgdNV1PDbEqLIiSFB3l+EnGtBQ/8SUTLj1PZwtQHABZtLgwpJZTSZhuGLOGk57Drx2IvYg==}- engines: {node: '>= 0.4'}- dependencies:- call-bind: 1.0.2- define-properties: 1.1.4- es-abstract: 1.20.2- dev: true-/object.values/1.1.6:resolution: {integrity: sha512-FVVTkD1vENCsAcwNs9k6jea2uHC/X0+JcjG8YA60FN5CMaJmG95wT9jek/xX9nornqGRrBkKtzuAu2wuHpKqvw==}engines: {node: '>= 0.4'}@@ -16526,10 +16444,6 @@ packages:engines: {node: '>=10'}dev: true- /quill-cursors/4.0.0:- resolution: {integrity: sha512-nCwCZtQPl4EnxJSheHtb067Jo48A6mc8/t7waGSLqXvbE68a5vHBFfMOQPZI7jxjksbDhpfzQta3a3/MoPvKzQ==}- dev: false-/quill-cursors/4.0.2:resolution: {integrity: sha512-/5mEfB6rDXwBy9rt3XieMKmQE8+OMnMBi2DFwea3t06QXH6i/NsICpteEoC++WGkQ/qyurIACUNnY7eBVh4Bmg==}dev: false@@ -16713,7 +16627,7 @@ packages:'@types/react': 18.0.20react: 18.2.0react-style-singleton: 2.2.1_w5j4k42lgipnm43s3brx6h3c34- tslib: 2.4.0+ tslib: 2.5.0dev: false/react-remove-scroll/2.5.4_w5j4k42lgipnm43s3brx6h3c34:@@ -16730,7 +16644,7 @@ packages:react: 18.2.0react-remove-scroll-bar: 2.3.4_w5j4k42lgipnm43s3brx6h3c34react-style-singleton: 2.2.1_w5j4k42lgipnm43s3brx6h3c34- tslib: 2.4.0+ tslib: 2.5.0use-callback-ref: 1.3.0_w5j4k42lgipnm43s3brx6h3c34use-sidecar: 1.1.2_w5j4k42lgipnm43s3brx6h3c34dev: false@@ -16772,7 +16686,7 @@ packages:get-nonce: 1.0.1invariant: 2.2.4react: 18.2.0- tslib: 2.4.0+ tslib: 2.5.0dev: false/react-transition-group/4.4.5_biqbaboplfbrettd7655fr4n2y:@@ -17896,19 +17810,6 @@ packages:strip-ansi: 7.0.1dev: true- /string.prototype.matchall/4.0.7:- resolution: {integrity: sha512-f48okCX7JiwVi1NXCVWcFnZgADDC/n2vePlQ/KUCNqCikLLilQvwjMO8+BHVKvgzH0JB0J9LEPgxOGT02RoETg==}- dependencies:- call-bind: 1.0.2- define-properties: 1.1.4- es-abstract: 1.20.2- get-intrinsic: 1.1.3- has-symbols: 1.0.3- internal-slot: 1.0.3- regexp.prototype.flags: 1.4.3- side-channel: 1.0.4- dev: true-/string.prototype.matchall/4.0.8:resolution: {integrity: sha512-6zOCOcJ+RJAQshcTvXPHoxoQGONa3e/Lqx90wUA+wEzX78sg5Bo+1tQo4N0pohS0erG9qtCqJDjNCQBjeWVxyg==}dependencies:@@ -18630,7 +18531,6 @@ packages:/tslib/2.5.0:resolution: {integrity: sha512-336iVw3rtn2BUK7ORdIAHTyxHGRIHVReokCR3XjbckJMK7ms8FysBfhLR8IXnAgy7T0PTPNBWKiH514FOW/WSg==}- dev: true/tsutils/[email protected]:resolution: {integrity: sha512-mHKK3iUXL+3UF6xL5k0PEhKRUBKPBCv/+RkEOpjRWxxx27KKRBmmA60A9pgOUvMi8GKhRMPEmjBRPzs2W7O1OA==}@@ -19016,7 +18916,7 @@ packages:dependencies:'@types/react': 18.0.20react: 18.2.0- tslib: 2.4.0+ tslib: 2.5.0dev: false/use-sidecar/1.1.2_w5j4k42lgipnm43s3brx6h3c34:@@ -19032,7 +18932,7 @@ packages:'@types/react': 18.0.20detect-node-es: 1.1.0react: 18.2.0- tslib: 2.4.0+ tslib: 2.5.0dev: false/use-sync-external-store/1.2.0:@@ -19773,7 +19673,7 @@ packages:/y-protocols/1.0.5:resolution: {integrity: sha512-Wil92b7cGk712lRHDqS4T90IczF6RkcvCwAD0A2OPg+adKmOe+nOiT/N2hvpQIWS3zfjmtL4CPaH5sIW1Hkm/A==}dependencies:- lib0: 0.2.61+ lib0: 0.2.62dev: false/y-webrtc/10.2.4:@@ -19883,7 +19783,7 @@ packages:/yjs/13.5.45:resolution: {integrity: sha512-9VUNDvb9oJHdYSMdzIpdM/agVm+EEFKRN+843CFqQuq5bo/BP3EAaxofRG9jQut3sqtGQT4A9YdQvOeeAjU6aA==}dependencies:- lib0: 0.2.61+ lib0: 0.2.62/yn/3.1.1:resolution: {integrity: sha512-Ux4ygGWsu2c7isFWe8Yu1YluJmqVhxqK2cLXNQA5AcC3QfbGNpM7fu0Y8b/z16pXLnFxZYvWhd3fhBY9DLmC6Q==}diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yamlindex 7e905d4063..e16572c549 100644--- a/pnpm-workspace.yaml+++ b/pnpm-workspace.yaml@@ -1,5 +1,5 @@packages:+ # apps folder for multiple platform clients+ - 'apps/*'# all packages in direct subdirs of packages/- 'packages/*'- # app folder is on top level because of its importance- - 'client-app'diff --git a/tests/console.spec.ts b/tests/console.spec.tsindex 6ff7d5d719..370867afaf 100644--- a/tests/console.spec.ts+++ b/tests/console.spec.ts@@ -7,7 +7,7 @@ import { fileURLToPath } from 'url';const __filename = fileURLToPath(import.meta.url);const __dirname = path.dirname(__filename);-const pkgPath = path.join(__dirname, '../packages/app/package.json');+const pkgPath = path.join(__dirname, '../apps/web/package.json');const record = fs.readFileSync(pkgPath, 'utf8');const temp = JSON.parse(record);loadPage();