File tree Expand file tree Collapse file tree 5 files changed +8
-8
lines changed
rule-editor/components/editor Expand file tree Collapse file tree 5 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 99 "dev" : " cross-env START_HOT=1 npm run renderer-dev" ,
1010 "compile-main" : " cross-env NODE_ENV=production webpack --config ./webpack/webpack.main.prod.config.js" ,
1111 "compile-renderer" : " cross-env NODE_ENV=production webpack --config ./webpack/webpack.renderer.prod.config.js" ,
12- "compile" : " npm run lint && npm run compile-main && npm run compile-renderer" ,
12+ "compile" : " npm run compile-main && npm run compile-renderer" ,
1313 "build" : " npm run clean:dist && npm run syncversion && npm run compile " ,
1414 "dist" : " npm run build && cross-env CSC_IDENTITY_AUTO_DISCOVERY=false electron-builder --mac --win --x64 --publish never" ,
1515 "dist:mac" : " npm run build && cross-env CSC_IDENTITY_AUTO_DISCOVERY=false electron-builder --mac --universal" ,
148148 "eslint" : " ^7.30.0" ,
149149 "eslint-config-prettier" : " ^6.7.0" ,
150150 "eslint-plugin-prettier" : " ^3.1.2" ,
151- "eslint-plugin-react" : " ^7.17.0 " ,
151+ "eslint-plugin-react" : " ^7.34.2 " ,
152152 "event-emitter" : " ^0.3.5" ,
153153 "fork-ts-checker-webpack-plugin" : " ^3.1.1" ,
154154 "html-webpack-plugin" : " ^3.2.0" ,
Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ export class PhoneProxy extends Extension {
6363 ( async ( ) => {
6464 const _address = await this . coreAPI . getIp ( ) ;
6565 setAddress ( _address ) ;
66- setCurrentInterface ( get ( _address , '0.interface' ) ) ;
66+ setCurrentInterface ( get ( _address , '0.interface' ) as any ) ;
6767 } ) ( ) ;
6868 } , [ ] ) ;
6969
Original file line number Diff line number Diff line change @@ -130,12 +130,12 @@ export const Editor = (props: Props) => {
130130 } ) ;
131131 // @ts -ignore
132132 editor . addCommand ( monaco . KeyMod . CtrlCmd | monaco . KeyCode . KEY_F , ( ) => {
133- editor . getAction ( 'actions.find' ) . run ( ) ;
133+ editor . getAction ( 'actions.find' ) ! . run ( ) ;
134134
135135 // dirty fix for #194
136136 // I have no idea why search input dose not get focus at first time
137137 setTimeout ( ( ) => {
138- editor . getAction ( 'actions.find' ) . run ( ) ;
138+ editor . getAction ( 'actions.find' ) ! . run ( ) ;
139139 } , 50 ) ;
140140 } ) ;
141141 // @ts -ignore
Original file line number Diff line number Diff line change @@ -5324,7 +5324,7 @@ eslint-plugin-prettier@^3.1.2:
53245324 dependencies:
53255325 prettier-linter-helpers "^1.0.0"
53265326
5327- eslint-plugin-react@^7.17.0 :
5327+ eslint-plugin-react@^7.34.2 :
53285328 version "7.34.2"
53295329 resolved "https://registry.npmmirror.com/eslint-plugin-react/-/eslint-plugin-react-7.34.2.tgz#2780a1a35a51aca379d86d29b9a72adc6bfe6b66"
53305330 integrity sha512-2HCmrU+/JNigDN6tg55cRDKCQWicYAPB38JGSFDQt95jDm8rrvSUo7YPkOIm5l6ts1j1zCvysNcasvfTMQzUOw==
You can’t perform that action at this time.
0 commit comments