mirror of
https://github.com/TangSengDaoDao/TangSengDaoDaoWeb
synced 2025-05-19 14:42:31 +00:00
fix: support node 18
This commit is contained in:
parent
ea17df855a
commit
c6a53c6929
20
.eslintrc.js
20
.eslintrc.js
@ -1,10 +1,10 @@
|
||||
module.exports = {
|
||||
root: true,
|
||||
// This tells ESLint to load the config from the package `eslint-config-custom`
|
||||
extends: ["custom"],
|
||||
settings: {
|
||||
next: {
|
||||
rootDir: ["apps/*/"],
|
||||
},
|
||||
},
|
||||
};
|
||||
// module.exports = {
|
||||
// root: true,
|
||||
// // This tells ESLint to load the config from the package `eslint-config-custom`
|
||||
// extends: ["custom"],
|
||||
// settings: {
|
||||
// next: {
|
||||
// rootDir: ["apps/*/"],
|
||||
// },
|
||||
// },
|
||||
// };
|
||||
|
@ -4,7 +4,7 @@
|
||||
"private": true,
|
||||
"homepage": "./",
|
||||
"dependencies": {
|
||||
"@tauri-apps/api": "1.1.0",
|
||||
"@tauri-apps/api": "^1.1.0",
|
||||
"@tsdaodao/base": "*",
|
||||
"@tsdaodao/contacts": "*",
|
||||
"@tsdaodao/datasource": "*",
|
||||
@ -31,8 +31,10 @@
|
||||
"@types/react": "^16.9.0",
|
||||
"cross-env": "^7.0.3",
|
||||
"customize-cra": "^1.0.0",
|
||||
"eslint-config-react-app": "^7.0.1",
|
||||
"postcss-normalize": "^10.0.1",
|
||||
"react-dom": "^17.0.2",
|
||||
"react-scripts": "4.0.3",
|
||||
"react-scripts": "^5.0.1",
|
||||
"typescript": "~3.7.2",
|
||||
"uglifyjs-webpack-plugin": "^2.2.0",
|
||||
"webpack-bundle-analyzer": "^4.5.0"
|
||||
|
@ -4,7 +4,7 @@ import { listen } from '@tauri-apps/api/event'
|
||||
// import Provider from "limbase/src/Service/Provider";
|
||||
import { MainPage } from "../Pages/Main";
|
||||
import { Notification as NotificationUI, Button } from '@douyinfe/semi-ui';
|
||||
import { checkUpdate, installUpdate, UpdateManifest } from '@tauri-apps/api/updater'
|
||||
import { UpdateManifest, checkUpdate, installUpdate } from '@tauri-apps/api/updater'
|
||||
import { relaunch } from '@tauri-apps/api/process'
|
||||
import { os } from "@tauri-apps/api";
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user