mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 04:18:54 +00:00
chore: bump blocksuite (#5852)
This commit is contained in:
@@ -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",
|
||||
|
||||
@@ -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: {
|
||||
@@ -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',
|
||||
@@ -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',
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user