Skip to content

Commit

Permalink
chore: bump blocksuite (#5852)
Browse files Browse the repository at this point in the history
  • Loading branch information
AyushAgrawal-A2 committed Feb 21, 2024
1 parent d2bf145 commit 53b312c
Show file tree
Hide file tree
Showing 10 changed files with 125 additions and 131 deletions.
4 changes: 2 additions & 2 deletions packages/common/env/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
"private": true,
"type": "module",
"devDependencies": {
"@blocksuite/global": "0.12.0-canary-202402200831-bc2769f",
"@blocksuite/store": "0.12.0-canary-202402200831-bc2769f",
"@blocksuite/global": "0.12.0-canary-202402210317-3698d1d",
"@blocksuite/store": "0.12.0-canary-202402210317-3698d1d",
"react": "18.2.0",
"react-dom": "18.2.0",
"vitest": "1.2.2"
Expand Down
10 changes: 5 additions & 5 deletions packages/common/infra/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
"@affine/debug": "workspace:*",
"@affine/env": "workspace:*",
"@affine/templates": "workspace:*",
"@blocksuite/blocks": "0.12.0-canary-202402200831-bc2769f",
"@blocksuite/global": "0.12.0-canary-202402200831-bc2769f",
"@blocksuite/store": "0.12.0-canary-202402200831-bc2769f",
"@blocksuite/blocks": "0.12.0-canary-202402210317-3698d1d",
"@blocksuite/global": "0.12.0-canary-202402210317-3698d1d",
"@blocksuite/store": "0.12.0-canary-202402210317-3698d1d",
"foxact": "^0.2.20",
"jotai": "^2.5.1",
"jotai-effect": "^0.5.0",
Expand All @@ -33,8 +33,8 @@
"devDependencies": {
"@affine-test/fixtures": "workspace:*",
"@affine/templates": "workspace:*",
"@blocksuite/lit": "0.12.0-canary-202402200831-bc2769f",
"@blocksuite/presets": "0.12.0-canary-202402200831-bc2769f",
"@blocksuite/lit": "0.12.0-canary-202402210317-3698d1d",
"@blocksuite/presets": "0.12.0-canary-202402210317-3698d1d",
"@testing-library/react": "^14.0.0",
"async-call-rpc": "^6.3.1",
"react": "^18.2.0",
Expand Down
6 changes: 3 additions & 3 deletions packages/common/y-indexeddb/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,14 @@
}
},
"dependencies": {
"@blocksuite/global": "0.12.0-canary-202402200831-bc2769f",
"@blocksuite/global": "0.12.0-canary-202402210317-3698d1d",
"idb": "^8.0.0",
"nanoid": "^5.0.3",
"y-provider": "workspace:*"
},
"devDependencies": {
"@blocksuite/blocks": "0.12.0-canary-202402200831-bc2769f",
"@blocksuite/store": "0.12.0-canary-202402200831-bc2769f",
"@blocksuite/blocks": "0.12.0-canary-202402210317-3698d1d",
"@blocksuite/store": "0.12.0-canary-202402210317-3698d1d",
"fake-indexeddb": "^5.0.0",
"vite": "^5.0.6",
"vite-plugin-dts": "3.7.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/common/y-provider/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"build": "vite build"
},
"devDependencies": {
"@blocksuite/store": "0.12.0-canary-202402200831-bc2769f",
"@blocksuite/store": "0.12.0-canary-202402210317-3698d1d",
"vite": "^5.0.6",
"vite-plugin-dts": "3.7.2",
"vitest": "1.2.2",
Expand Down
10 changes: 5 additions & 5 deletions packages/frontend/component/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,12 +72,12 @@
"uuid": "^9.0.1"
},
"devDependencies": {
"@blocksuite/blocks": "0.12.0-canary-202402200831-bc2769f",
"@blocksuite/global": "0.12.0-canary-202402200831-bc2769f",
"@blocksuite/blocks": "0.12.0-canary-202402210317-3698d1d",
"@blocksuite/global": "0.12.0-canary-202402210317-3698d1d",
"@blocksuite/icons": "2.1.44",
"@blocksuite/lit": "0.12.0-canary-202402200831-bc2769f",
"@blocksuite/presets": "0.12.0-canary-202402200831-bc2769f",
"@blocksuite/store": "0.12.0-canary-202402200831-bc2769f",
"@blocksuite/lit": "0.12.0-canary-202402210317-3698d1d",
"@blocksuite/presets": "0.12.0-canary-202402210317-3698d1d",
"@blocksuite/store": "0.12.0-canary-202402210317-3698d1d",
"@storybook/addon-actions": "^7.5.3",
"@storybook/addon-essentials": "^7.5.3",
"@storybook/addon-interactions": "^7.5.3",
Expand Down
12 changes: 3 additions & 9 deletions packages/frontend/core/.webpack/runtime-config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,12 @@ import { createRequire } from 'node:module';
const require = createRequire(import.meta.url);
const packageJson = require('../package.json');

const editorFlagsStable: BlockSuiteFeatureFlags = {
const editorFlags: BlockSuiteFeatureFlags = {
enable_synced_doc_block: false,
enable_expand_database_block: false,
enable_bultin_ledits: false,
};

const editorFlagsCanary: BlockSuiteFeatureFlags = {
enable_synced_doc_block: true,
enable_expand_database_block: false,
enable_bultin_ledits: false,
};

export function getRuntimeConfig(buildFlags: BuildFlags): RuntimeConfig {
const buildPreset: Record<BuildFlags['channel'], RuntimeConfig> = {
stable: {
Expand All @@ -40,7 +34,7 @@ export function getRuntimeConfig(buildFlags: BuildFlags): RuntimeConfig {
enablePayment: true,
enablePageHistory: true,
serverUrlPrefix: 'https://app.affine.pro',
editorFlags: editorFlagsStable,
editorFlags,
appVersion: packageJson.version,
editorVersion: packageJson.dependencies['@blocksuite/presets'],
appBuildType: 'stable',
Expand Down Expand Up @@ -82,7 +76,7 @@ export function getRuntimeConfig(buildFlags: BuildFlags): RuntimeConfig {
enablePayment: true,
enablePageHistory: true,
serverUrlPrefix: 'https://affine.fail',
editorFlags: editorFlagsCanary,
editorFlags,
appVersion: packageJson.version,
editorVersion: packageJson.dependencies['@blocksuite/presets'],
appBuildType: 'canary',
Expand Down
14 changes: 7 additions & 7 deletions packages/frontend/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,14 @@
"@affine/i18n": "workspace:*",
"@affine/templates": "workspace:*",
"@affine/workspace-impl": "workspace:*",
"@blocksuite/block-std": "0.12.0-canary-202402200831-bc2769f",
"@blocksuite/blocks": "0.12.0-canary-202402200831-bc2769f",
"@blocksuite/global": "0.12.0-canary-202402200831-bc2769f",
"@blocksuite/block-std": "0.12.0-canary-202402210317-3698d1d",
"@blocksuite/blocks": "0.12.0-canary-202402210317-3698d1d",
"@blocksuite/global": "0.12.0-canary-202402210317-3698d1d",
"@blocksuite/icons": "2.1.44",
"@blocksuite/inline": "0.12.0-canary-202402200831-bc2769f",
"@blocksuite/lit": "0.12.0-canary-202402200831-bc2769f",
"@blocksuite/presets": "0.12.0-canary-202402200831-bc2769f",
"@blocksuite/store": "0.12.0-canary-202402200831-bc2769f",
"@blocksuite/inline": "0.12.0-canary-202402210317-3698d1d",
"@blocksuite/lit": "0.12.0-canary-202402210317-3698d1d",
"@blocksuite/presets": "0.12.0-canary-202402210317-3698d1d",
"@blocksuite/store": "0.12.0-canary-202402210317-3698d1d",
"@dnd-kit/core": "^6.0.8",
"@dnd-kit/sortable": "^8.0.0",
"@emotion/cache": "^11.11.0",
Expand Down
8 changes: 4 additions & 4 deletions packages/frontend/electron/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@
"@affine-test/kit": "workspace:*",
"@affine/env": "workspace:*",
"@affine/native": "workspace:*",
"@blocksuite/blocks": "0.12.0-canary-202402200831-bc2769f",
"@blocksuite/lit": "0.12.0-canary-202402200831-bc2769f",
"@blocksuite/presets": "0.12.0-canary-202402200831-bc2769f",
"@blocksuite/store": "0.12.0-canary-202402200831-bc2769f",
"@blocksuite/blocks": "0.12.0-canary-202402210317-3698d1d",
"@blocksuite/lit": "0.12.0-canary-202402210317-3698d1d",
"@blocksuite/presets": "0.12.0-canary-202402210317-3698d1d",
"@blocksuite/store": "0.12.0-canary-202402210317-3698d1d",
"@electron-forge/cli": "^7.2.0",
"@electron-forge/core": "^7.2.0",
"@electron-forge/core-utils": "^7.2.0",
Expand Down
14 changes: 7 additions & 7 deletions tests/storybook/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,14 @@
"storybook-addon-react-router-v6": "^2.0.10"
},
"devDependencies": {
"@blocksuite/block-std": "0.12.0-canary-202402200831-bc2769f",
"@blocksuite/blocks": "0.12.0-canary-202402200831-bc2769f",
"@blocksuite/global": "0.12.0-canary-202402200831-bc2769f",
"@blocksuite/block-std": "0.12.0-canary-202402210317-3698d1d",
"@blocksuite/blocks": "0.12.0-canary-202402210317-3698d1d",
"@blocksuite/global": "0.12.0-canary-202402210317-3698d1d",
"@blocksuite/icons": "2.1.44",
"@blocksuite/inline": "0.12.0-canary-202402200831-bc2769f",
"@blocksuite/lit": "0.12.0-canary-202402200831-bc2769f",
"@blocksuite/presets": "0.12.0-canary-202402200831-bc2769f",
"@blocksuite/store": "0.12.0-canary-202402200831-bc2769f",
"@blocksuite/inline": "0.12.0-canary-202402210317-3698d1d",
"@blocksuite/lit": "0.12.0-canary-202402210317-3698d1d",
"@blocksuite/presets": "0.12.0-canary-202402210317-3698d1d",
"@blocksuite/store": "0.12.0-canary-202402210317-3698d1d",
"@storybook/addon-actions": "^7.5.3",
"@storybook/addon-essentials": "^7.5.3",
"@storybook/addon-interactions": "^7.5.3",
Expand Down
Loading

0 comments on commit 53b312c

Please sign in to comment.