Remove symlinks in nodejs setup
This commit is contained in:
parent
37f295cb95
commit
29c2db1ab4
7 changed files with 37 additions and 10 deletions
|
|
@ -1,4 +1,5 @@
|
||||||
{
|
{
|
||||||
|
"name": "rqbit-webui",
|
||||||
"private": true,
|
"private": true,
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|
|
||||||
29
desktop/package-lock.json
generated
29
desktop/package-lock.json
generated
|
|
@ -12,7 +12,8 @@
|
||||||
"react": "^18.2.0",
|
"react": "^18.2.0",
|
||||||
"react-bootstrap": "^2.9.1",
|
"react-bootstrap": "^2.9.1",
|
||||||
"react-dom": "^18.2.0",
|
"react-dom": "^18.2.0",
|
||||||
"react-icons": "^4.12.0"
|
"react-icons": "^4.12.0",
|
||||||
|
"rqbit-webui": "file:../crates/librqbit/webui"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@tauri-apps/cli": ">=2.0.0-alpha.16",
|
"@tauri-apps/cli": ">=2.0.0-alpha.16",
|
||||||
|
|
@ -24,6 +25,28 @@
|
||||||
"vite": "^4.5.1"
|
"vite": "^4.5.1"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"../crates/librqbit/webui": {
|
||||||
|
"name": "rqbit-webui",
|
||||||
|
"dependencies": {
|
||||||
|
"@vitejs/plugin-react": "^4.2.1",
|
||||||
|
"lodash.debounce": "^4.0.8",
|
||||||
|
"react": "^18.2.0",
|
||||||
|
"react-bootstrap": "^2.9.1",
|
||||||
|
"react-dom": "^18.2.0",
|
||||||
|
"react-icons": "^4.12.0"
|
||||||
|
},
|
||||||
|
"devDependencies": {
|
||||||
|
"@types/lodash.debounce": "^4.0.9",
|
||||||
|
"@types/react": "^18.2.38",
|
||||||
|
"@types/react-dom": "^18.2.16",
|
||||||
|
"prettier": "3.1.0",
|
||||||
|
"typescript": "^5.3.2",
|
||||||
|
"vite": "^4.5.1"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"../crates/librqbit/webui/src": {
|
||||||
|
"extraneous": true
|
||||||
|
},
|
||||||
"node_modules/@ampproject/remapping": {
|
"node_modules/@ampproject/remapping": {
|
||||||
"version": "2.2.1",
|
"version": "2.2.1",
|
||||||
"resolved": "https://registry.npmjs.org/@ampproject/remapping/-/remapping-2.2.1.tgz",
|
"resolved": "https://registry.npmjs.org/@ampproject/remapping/-/remapping-2.2.1.tgz",
|
||||||
|
|
@ -1680,6 +1703,10 @@
|
||||||
"fsevents": "~2.3.2"
|
"fsevents": "~2.3.2"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"node_modules/rqbit-webui": {
|
||||||
|
"resolved": "../crates/librqbit/webui",
|
||||||
|
"link": true
|
||||||
|
},
|
||||||
"node_modules/scheduler": {
|
"node_modules/scheduler": {
|
||||||
"version": "0.23.0",
|
"version": "0.23.0",
|
||||||
"resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.23.0.tgz",
|
"resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.23.0.tgz",
|
||||||
|
|
|
||||||
|
|
@ -10,6 +10,7 @@
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@tauri-apps/api": "^1.5.1",
|
"@tauri-apps/api": "^1.5.1",
|
||||||
|
"rqbit-webui": "file:../crates/librqbit/webui",
|
||||||
"lodash.debounce": "^4.0.8",
|
"lodash.debounce": "^4.0.8",
|
||||||
"react": "^18.2.0",
|
"react": "^18.2.0",
|
||||||
"react-bootstrap": "^2.9.1",
|
"react-bootstrap": "^2.9.1",
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@ import {
|
||||||
TorrentDetails,
|
TorrentDetails,
|
||||||
TorrentStats,
|
TorrentStats,
|
||||||
ErrorDetails,
|
ErrorDetails,
|
||||||
} from "./rqbit-webui-src/api-types";
|
} from "rqbit-webui/src/api-types";
|
||||||
|
|
||||||
import { InvokeArgs, invoke } from "@tauri-apps/api/tauri";
|
import { InvokeArgs, invoke } from "@tauri-apps/api/tauri";
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,9 @@
|
||||||
import React, { useState } from "react";
|
import React, { useState } from "react";
|
||||||
import { RqbitDesktopConfig } from "./configuration";
|
import { RqbitDesktopConfig } from "./configuration";
|
||||||
import { Button, Form, Modal, Row, Tab, Tabs } from "react-bootstrap";
|
import { Button, Form, Modal, Row, Tab, Tabs } from "react-bootstrap";
|
||||||
|
import { ErrorComponent } from "rqbit-webui/src/components/ErrorComponent";
|
||||||
import { invokeAPI } from "./api";
|
import { invokeAPI } from "./api";
|
||||||
import { ErrorDetails } from "./rqbit-webui-src/api-types";
|
import { ErrorDetails } from "rqbit-webui/src/api-types";
|
||||||
import { ErrorComponent } from "./rqbit-webui-src/components/ErrorComponent";
|
|
||||||
|
|
||||||
const FormCheck: React.FC<{
|
const FormCheck: React.FC<{
|
||||||
label: string;
|
label: string;
|
||||||
|
|
|
||||||
|
|
@ -1,11 +1,10 @@
|
||||||
import { useState } from "react";
|
import { useState } from "react";
|
||||||
import { RqbitWebUI } from "./rqbit-webui-src/rqbit-web";
|
import { RqbitWebUI } from "rqbit-webui/src/rqbit-web";
|
||||||
import { CurrentDesktopState, RqbitDesktopConfig } from "./configuration";
|
import { CurrentDesktopState, RqbitDesktopConfig } from "./configuration";
|
||||||
import { ConfigModal } from "./configure";
|
import { ConfigModal } from "./configure";
|
||||||
import { IconButton } from "./rqbit-webui-src/components/IconButton";
|
import { IconButton } from "rqbit-webui/src/components/IconButton";
|
||||||
import { BsBodyText, BsSliders2 } from "react-icons/bs";
|
import { BsSliders2 } from "react-icons/bs";
|
||||||
import { LogStreamModal } from "./rqbit-webui-src/components/LogStreamModal";
|
import { APIContext } from "rqbit-webui/src/context";
|
||||||
import { APIContext } from "./rqbit-webui-src/context";
|
|
||||||
import { makeAPI } from "./api";
|
import { makeAPI } from "./api";
|
||||||
|
|
||||||
export const RqbitDesktop: React.FC<{
|
export const RqbitDesktop: React.FC<{
|
||||||
|
|
|
||||||
|
|
@ -1 +0,0 @@
|
||||||
../../crates/librqbit/webui/src/
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue