Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: bump up @blocksuite/affine version to v0.18.0 #8899

Merged
merged 1 commit into from
Nov 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 0 additions & 26 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -173,31 +173,6 @@ jobs:
path: ./test-results
if-no-files-found: ignore

e2e-migration-test:
name: E2E Migration Test
runs-on: ubuntu-latest
env:
DISTRIBUTION: web
steps:
- uses: actions/checkout@v4
- name: Setup Node.js
uses: ./.github/actions/setup-node
with:
playwright-install: true
electron-install: false
full-cache: true

- name: Run playwright tests
run: yarn workspace @affine-test/affine-migration e2e --forbid-only

- name: Upload test results
if: ${{ failure() }}
uses: actions/upload-artifact@v4
with:
name: test-results-e2e-migration
path: ./test-results
if-no-files-found: ignore

unit-test:
name: Unit Test
runs-on: ubuntu-latest
Expand Down Expand Up @@ -766,7 +741,6 @@ jobs:
- check-yarn-binary
- e2e-test
- e2e-mobile-test
- e2e-migration-test
- unit-test
- build-native
- build-server-native
Expand Down
2 changes: 1 addition & 1 deletion packages/common/env/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"private": true,
"type": "module",
"devDependencies": {
"@blocksuite/affine": "0.17.33",
"@blocksuite/affine": "0.18.0",
"vitest": "2.1.4"
},
"exports": {
Expand Down
2 changes: 1 addition & 1 deletion packages/common/infra/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"@affine/debug": "workspace:*",
"@affine/env": "workspace:*",
"@affine/templates": "workspace:*",
"@blocksuite/affine": "0.17.33",
"@blocksuite/affine": "0.18.0",
"@datastructures-js/binary-search-tree": "^5.3.2",
"eventemitter2": "^6.4.9",
"foxact": "^0.2.33",
Expand Down
84 changes: 0 additions & 84 deletions packages/common/infra/src/__tests__/migration.spec.ts

This file was deleted.

Binary file removed packages/common/infra/src/__tests__/workspace.ydoc
Binary file not shown.
18 changes: 0 additions & 18 deletions packages/common/infra/src/blocksuite/index.ts
Original file line number Diff line number Diff line change
@@ -1,19 +1 @@
export * from './blocks';
export {
migratePages as forceUpgradePages,
migrateGuidCompatibility,
} from './migration/blocksuite'; // campatible with electron
export * from './migration/fixing';
export { migrateToSubdoc, upgradeV1ToV2 } from './migration/subdoc';
export * from './migration/workspace';

/**
* @deprecated
* Use workspace meta data to determine the workspace version.
*/
export enum WorkspaceVersion {
// v1 is treated as undefined
SubDoc = 2,
DatabaseV3 = 3,
Surface = 4,
}
100 changes: 0 additions & 100 deletions packages/common/infra/src/blocksuite/migration/blocksuite.ts

This file was deleted.

49 changes: 0 additions & 49 deletions packages/common/infra/src/blocksuite/migration/fixing.ts

This file was deleted.

Loading
Loading