fix(electron): release desktop app workflow (#4594)

This commit is contained in:
LongYinan
2023-10-17 14:15:55 +08:00
committed by GitHub
parent 01987990ee
commit e831f612e8
14 changed files with 96 additions and 39 deletions

View File

@@ -6,6 +6,7 @@
"module": "./src/index.ts",
"devDependencies": {
"@blocksuite/global": "0.0.0-20230926212737-6d4b1569-nightly",
"@blocksuite/store": "0.0.0-20230926212737-6d4b1569-nightly",
"react": "18.2.0",
"react-dom": "18.2.0",
"vitest": "0.34.6",

View File

@@ -64,6 +64,7 @@
},
"devDependencies": {
"@affine-test/fixtures": "workspace:*",
"@affine/templates": "workspace:*",
"@blocksuite/editor": "0.0.0-20230926212737-6d4b1569-nightly",
"@blocksuite/lit": "0.0.0-20230926212737-6d4b1569-nightly",
"@testing-library/react": "^14.0.0",

View File

@@ -18,6 +18,7 @@
"@vitejs/plugin-vue": "^4.4.0",
"rollup": "^3.29.4",
"rollup-plugin-swc3": "^0.10.2",
"ts-node": "^10.9.1"
"ts-node": "^10.9.1",
"vue": "^3.3.4"
}
}

View File

@@ -24,6 +24,7 @@
"dependencies": {
"@blocksuite/block-std": "0.0.0-20230926212737-6d4b1569-nightly",
"@blocksuite/blocks": "0.0.0-20230926212737-6d4b1569-nightly",
"@blocksuite/editor": "0.0.0-20230926212737-6d4b1569-nightly",
"@blocksuite/global": "0.0.0-20230926212737-6d4b1569-nightly",
"@blocksuite/store": "0.0.0-20230926212737-6d4b1569-nightly",
"jotai": "^2.4.3",

View File

@@ -1,6 +1,19 @@
/* auto-generated by NAPI-RS */
/* tslint:disable */
/* eslint-disable */
/* auto-generated by NAPI-RS */
export interface Blob {
contentType: string;
lastModified: string;
size: number;
data: Buffer;
}
/**
* Merge updates in form like `Y.applyUpdate(doc, update)` way and return the
* result binary.
*/
export function mergeUpdatesInApplyWay(updates: Array<Buffer>): Buffer;
export class Storage {
/** Create a storage instance and establish connection to persist store. */
static connect(
@@ -18,16 +31,3 @@ export class Storage {
/** Workspace size taken by blobs. */
blobsSize(workspaces: Array<string>): Promise<number>;
}
export interface Blob {
contentType: string;
lastModified: string;
size: number;
data: Buffer;
}
/**
* Merge updates in form like `Y.applyUpdate(doc, update)` way and return the
* result binary.
*/
export function mergeUpdatesInApplyWay(updates: Array<Buffer>): Buffer;

View File

@@ -43,7 +43,8 @@
"vite": "^4.4.11",
"vite-plugin-dts": "3.6.0",
"vitest": "0.34.6",
"y-indexeddb": "^9.0.11"
"y-indexeddb": "^9.0.11",
"yjs": "^13.6.8"
},
"peerDependencies": {
"yjs": "^13"

View File

@@ -27,7 +27,8 @@
"@blocksuite/store": "0.0.0-20230926212737-6d4b1569-nightly",
"vite": "^4.4.11",
"vite-plugin-dts": "3.6.0",
"vitest": "0.34.6"
"vitest": "0.34.6",
"yjs": "^13.6.8"
},
"peerDependencies": {
"yjs": "^13"