Skip to content

Commit

Permalink
chore: cleanup package.json (#3364)
Browse files Browse the repository at this point in the history
  • Loading branch information
hexf00 authored Sep 7, 2024
1 parent c9fef1b commit 067179d
Show file tree
Hide file tree
Showing 6 changed files with 41 additions and 18 deletions.
1 change: 0 additions & 1 deletion packages/debugger/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@
"@univerjs/core": "workspace:*",
"@univerjs/design": "workspace:*",
"@univerjs/engine-render": "workspace:*",
"@univerjs/protocol": "0.1.39-alpha.15",
"@univerjs/sheets": "workspace:*",
"@univerjs/sheets-drawing-ui": "workspace:*",
"@univerjs/ui": "workspace:*",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
*/

import { Disposable, ICommandService, IUniverInstanceService, LifecycleStages, OnLifecycle, UniverInstanceType } from '@univerjs/core';
import { UniverType } from '@univerjs/protocol';
import { DisposeUniverCommand } from '../../commands/commands/unit.command';
import { getDefaultWorkbookData } from './data/default-sheet';
import { getDefaultDocData } from './data/default-doc';
Expand Down Expand Up @@ -96,7 +95,7 @@ export class E2EMemoryController extends Disposable {
}

private async _diposeDefaultSheetUnit(disposingTimeout: number = AWAIT_DISPOSING_TIMEOUT): Promise<void> {
const unit = this._univerInstanceService.getCurrentUnitForType(UniverType.UNIVER_SHEET);
const unit = this._univerInstanceService.getCurrentUnitForType(UniverInstanceType.UNIVER_SHEET);
const unitId = unit?.getUnitId();
await this._univerInstanceService.disposeUnit(unitId || '');
await timer(disposingTimeout);
Expand Down
13 changes: 1 addition & 12 deletions packages/telemetry/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@univerjs/telemetry",
"version": "0.2.11",
"private": true,
"private": false,
"description": "",
"author": "DreamNum <[email protected]>",
"funding": {
Expand Down Expand Up @@ -79,16 +79,5 @@
"types": "./lib/types/index.d.ts"
},
"./lib/*": "./lib/*"
},
"univer": {
".": {
"import": "./lib/es/index.js",
"types": "./src/index.ts"
},
"./*": {
"import": "./lib/es/*",
"types": "./src/index.ts"
},
"./lib/*": "./lib/*"
}
}
3 changes: 3 additions & 0 deletions packages/umd/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@
"@univerjs/docs": "workspace:*",
"@univerjs/docs-drawing": "workspace:*",
"@univerjs/docs-drawing-ui": "workspace:*",
"@univerjs/docs-hyper-link": "workspace:*",
"@univerjs/docs-hyper-link-ui": "workspace:*",
"@univerjs/docs-thread-comment-ui": "workspace:*",
"@univerjs/docs-ui": "workspace:*",
"@univerjs/drawing": "workspace:*",
Expand Down Expand Up @@ -78,6 +80,7 @@
"@univerjs/sheets-zen-editor": "workspace:*",
"@univerjs/slides": "workspace:*",
"@univerjs/slides-ui": "workspace:*",
"@univerjs/telemetry": "workspace:*",
"@univerjs/thread-comment": "workspace:*",
"@univerjs/thread-comment-ui": "workspace:*",
"@univerjs/ui": "workspace:*",
Expand Down
2 changes: 2 additions & 0 deletions packages/umd/scripts/index.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,7 @@ function buildJS() {
const libs = [
'@univerjs/protocol',
'@univerjs/core',
'@univerjs/telemetry',
'@univerjs/rpc',
'@univerjs/design',
'@univerjs/engine-render',
Expand Down Expand Up @@ -229,6 +230,7 @@ function buildJS() {
'@univerjs/sheets-drawing-ui',
'@univerjs/docs-drawing',
'@univerjs/docs-drawing-ui',
'@univerjs/docs-hyper-link',
'@univerjs/docs-hyper-link-ui',
'@univerjs/slides',
'@univerjs/slides-ui',
Expand Down
37 changes: 34 additions & 3 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 067179d

Please sign in to comment.