fix: support node 18

This commit is contained in:
tangtaoit 2023-09-13 12:23:42 +08:00
parent ea17df855a
commit c6a53c6929
4 changed files with 4776 additions and 4954 deletions

View File

@ -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/*/"],
// },
// },
// };

View File

@ -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"

View File

@ -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";

9702
yarn.lock

File diff suppressed because it is too large Load Diff