mirror of
https://github.com/TangSengDaoDao/TangSengDaoDaoWeb
synced 2025-06-05 16:54:23 +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 = {
|
// module.exports = {
|
||||||
root: true,
|
// root: true,
|
||||||
// This tells ESLint to load the config from the package `eslint-config-custom`
|
// // This tells ESLint to load the config from the package `eslint-config-custom`
|
||||||
extends: ["custom"],
|
// extends: ["custom"],
|
||||||
settings: {
|
// settings: {
|
||||||
next: {
|
// next: {
|
||||||
rootDir: ["apps/*/"],
|
// rootDir: ["apps/*/"],
|
||||||
},
|
// },
|
||||||
},
|
// },
|
||||||
};
|
// };
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
"private": true,
|
"private": true,
|
||||||
"homepage": "./",
|
"homepage": "./",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@tauri-apps/api": "1.1.0",
|
"@tauri-apps/api": "^1.1.0",
|
||||||
"@tsdaodao/base": "*",
|
"@tsdaodao/base": "*",
|
||||||
"@tsdaodao/contacts": "*",
|
"@tsdaodao/contacts": "*",
|
||||||
"@tsdaodao/datasource": "*",
|
"@tsdaodao/datasource": "*",
|
||||||
@ -31,8 +31,10 @@
|
|||||||
"@types/react": "^16.9.0",
|
"@types/react": "^16.9.0",
|
||||||
"cross-env": "^7.0.3",
|
"cross-env": "^7.0.3",
|
||||||
"customize-cra": "^1.0.0",
|
"customize-cra": "^1.0.0",
|
||||||
|
"eslint-config-react-app": "^7.0.1",
|
||||||
|
"postcss-normalize": "^10.0.1",
|
||||||
"react-dom": "^17.0.2",
|
"react-dom": "^17.0.2",
|
||||||
"react-scripts": "4.0.3",
|
"react-scripts": "^5.0.1",
|
||||||
"typescript": "~3.7.2",
|
"typescript": "~3.7.2",
|
||||||
"uglifyjs-webpack-plugin": "^2.2.0",
|
"uglifyjs-webpack-plugin": "^2.2.0",
|
||||||
"webpack-bundle-analyzer": "^4.5.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 Provider from "limbase/src/Service/Provider";
|
||||||
import { MainPage } from "../Pages/Main";
|
import { MainPage } from "../Pages/Main";
|
||||||
import { Notification as NotificationUI, Button } from '@douyinfe/semi-ui';
|
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 { relaunch } from '@tauri-apps/api/process'
|
||||||
import { os } from "@tauri-apps/api";
|
import { os } from "@tauri-apps/api";
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user