From 88851198e5bd2ae9b6c2507b267cff967fb235a8 Mon Sep 17 00:00:00 2001 From: sunshinesmilelk Date: Tue, 26 Nov 2024 15:57:44 +0800 Subject: [PATCH] chore: upgrade prettier to fix ci --- package.json | 2 +- packages/libro-jupyter/src/cell/jupyter-code-cell-view.tsx | 2 +- packages/libro-search/src/libro-search-manager.ts | 5 +---- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index 4290b1c5..55c73c6c 100644 --- a/package.json +++ b/package.json @@ -69,7 +69,7 @@ "lint-staged": "^13.3.0", "nx": "^16.10.0", "postcss-less": "^6.0.0", - "prettier": "^3.3.3", + "prettier": "^3.4.0", "pnpm": "^8.15.6", "react-test-renderer": "^18.3.1", "stylelint": "^14.16.1", diff --git a/packages/libro-jupyter/src/cell/jupyter-code-cell-view.tsx b/packages/libro-jupyter/src/cell/jupyter-code-cell-view.tsx index 290e433f..ed6496e9 100644 --- a/packages/libro-jupyter/src/cell/jupyter-code-cell-view.tsx +++ b/packages/libro-jupyter/src/cell/jupyter-code-cell-view.tsx @@ -39,7 +39,7 @@ const JupyterCodeCellComponent = forwardRef( @transient() @view('jupyter-code-cell-view') export class JupyterCodeCellView extends LibroCodeCellView { - protected declare _parent: LibroJupyterView; + declare protected _parent: LibroJupyterView; override get parent() { return this._parent; diff --git a/packages/libro-search/src/libro-search-manager.ts b/packages/libro-search/src/libro-search-manager.ts index 39cf0c1e..b9ab50e5 100644 --- a/packages/libro-search/src/libro-search-manager.ts +++ b/packages/libro-search/src/libro-search-manager.ts @@ -38,10 +38,7 @@ export const LibroSearchToggleCommand = { ], }) export class LibroSearchManager - implements - CommandContribution, - KeybindingContribution, - LibroExtensionSlotContribution + implements CommandContribution, KeybindingContribution, LibroExtensionSlotContribution { @inject(ViewManager) viewManager: ViewManager; @inject(LibroCommandRegister) libroCommandRegister: LibroCommandRegister;