Remove Tauri.
It seems Tauri will not be supported, so removing it. See: https://github.com/usebruno/bruno/issues/20#issuecomment-1488185033 closes #1099
103
package-lock.json
generated
@ -9,7 +9,6 @@
|
|||||||
"packages/bruno-app",
|
"packages/bruno-app",
|
||||||
"packages/bruno-electron",
|
"packages/bruno-electron",
|
||||||
"packages/bruno-cli",
|
"packages/bruno-cli",
|
||||||
"packages/bruno-tauri",
|
|
||||||
"packages/bruno-schema",
|
"packages/bruno-schema",
|
||||||
"packages/bruno-query",
|
"packages/bruno-query",
|
||||||
"packages/bruno-js",
|
"packages/bruno-js",
|
||||||
@ -4599,47 +4598,6 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@tauri-apps/cli": {
|
|
||||||
"version": "1.2.2",
|
|
||||||
"dev": true,
|
|
||||||
"license": "Apache-2.0 OR MIT",
|
|
||||||
"bin": {
|
|
||||||
"tauri": "tauri.js"
|
|
||||||
},
|
|
||||||
"engines": {
|
|
||||||
"node": ">= 10"
|
|
||||||
},
|
|
||||||
"funding": {
|
|
||||||
"type": "opencollective",
|
|
||||||
"url": "https://opencollective.com/tauri"
|
|
||||||
},
|
|
||||||
"optionalDependencies": {
|
|
||||||
"@tauri-apps/cli-darwin-arm64": "1.2.2",
|
|
||||||
"@tauri-apps/cli-darwin-x64": "1.2.2",
|
|
||||||
"@tauri-apps/cli-linux-arm-gnueabihf": "1.2.2",
|
|
||||||
"@tauri-apps/cli-linux-arm64-gnu": "1.2.2",
|
|
||||||
"@tauri-apps/cli-linux-arm64-musl": "1.2.2",
|
|
||||||
"@tauri-apps/cli-linux-x64-gnu": "1.2.2",
|
|
||||||
"@tauri-apps/cli-linux-x64-musl": "1.2.2",
|
|
||||||
"@tauri-apps/cli-win32-ia32-msvc": "1.2.2",
|
|
||||||
"@tauri-apps/cli-win32-x64-msvc": "1.2.2"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/@tauri-apps/cli-darwin-arm64": {
|
|
||||||
"version": "1.2.2",
|
|
||||||
"cpu": [
|
|
||||||
"arm64"
|
|
||||||
],
|
|
||||||
"dev": true,
|
|
||||||
"license": "MIT",
|
|
||||||
"optional": true,
|
|
||||||
"os": [
|
|
||||||
"darwin"
|
|
||||||
],
|
|
||||||
"engines": {
|
|
||||||
"node": ">= 10"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/@tippyjs/react": {
|
"node_modules/@tippyjs/react": {
|
||||||
"version": "4.2.6",
|
"version": "4.2.6",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
@ -4925,10 +4883,6 @@
|
|||||||
"resolved": "packages/bruno-app",
|
"resolved": "packages/bruno-app",
|
||||||
"link": true
|
"link": true
|
||||||
},
|
},
|
||||||
"node_modules/@usebruno/bruno-tauri": {
|
|
||||||
"resolved": "packages/bruno-tauri",
|
|
||||||
"link": true
|
|
||||||
},
|
|
||||||
"node_modules/@usebruno/cli": {
|
"node_modules/@usebruno/cli": {
|
||||||
"resolved": "packages/bruno-cli",
|
"resolved": "packages/bruno-cli",
|
||||||
"link": true
|
"link": true
|
||||||
@ -5413,14 +5367,6 @@
|
|||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "ISC"
|
"license": "ISC"
|
||||||
},
|
},
|
||||||
"node_modules/app-root-path": {
|
|
||||||
"version": "3.1.0",
|
|
||||||
"dev": true,
|
|
||||||
"license": "MIT",
|
|
||||||
"engines": {
|
|
||||||
"node": ">= 6.0.0"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/append-field": {
|
"node_modules/append-field": {
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"license": "MIT"
|
"license": "MIT"
|
||||||
@ -7972,15 +7918,6 @@
|
|||||||
"url": "https://github.com/sponsors/sindresorhus"
|
"url": "https://github.com/sponsors/sindresorhus"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/electron-next": {
|
|
||||||
"version": "3.1.5",
|
|
||||||
"dev": true,
|
|
||||||
"license": "MIT",
|
|
||||||
"dependencies": {
|
|
||||||
"app-root-path": ">=2.0.1",
|
|
||||||
"electron-is-dev": ">=0.3.0"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/electron-notarize": {
|
"node_modules/electron-notarize": {
|
||||||
"version": "1.2.2",
|
"version": "1.2.2",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
@ -18091,6 +18028,7 @@
|
|||||||
},
|
},
|
||||||
"packages/bruno-tauri": {
|
"packages/bruno-tauri": {
|
||||||
"name": "@usebruno/bruno-tauri",
|
"name": "@usebruno/bruno-tauri",
|
||||||
|
"extraneous": true,
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@tauri-apps/cli": "^1.1.1",
|
"@tauri-apps/cli": "^1.1.1",
|
||||||
"electron-next": "^3.1.5"
|
"electron-next": "^3.1.5"
|
||||||
@ -21469,26 +21407,6 @@
|
|||||||
"version": "1.119.0",
|
"version": "1.119.0",
|
||||||
"requires": {}
|
"requires": {}
|
||||||
},
|
},
|
||||||
"@tauri-apps/cli": {
|
|
||||||
"version": "1.2.2",
|
|
||||||
"dev": true,
|
|
||||||
"requires": {
|
|
||||||
"@tauri-apps/cli-darwin-arm64": "1.2.2",
|
|
||||||
"@tauri-apps/cli-darwin-x64": "1.2.2",
|
|
||||||
"@tauri-apps/cli-linux-arm-gnueabihf": "1.2.2",
|
|
||||||
"@tauri-apps/cli-linux-arm64-gnu": "1.2.2",
|
|
||||||
"@tauri-apps/cli-linux-arm64-musl": "1.2.2",
|
|
||||||
"@tauri-apps/cli-linux-x64-gnu": "1.2.2",
|
|
||||||
"@tauri-apps/cli-linux-x64-musl": "1.2.2",
|
|
||||||
"@tauri-apps/cli-win32-ia32-msvc": "1.2.2",
|
|
||||||
"@tauri-apps/cli-win32-x64-msvc": "1.2.2"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"@tauri-apps/cli-darwin-arm64": {
|
|
||||||
"version": "1.2.2",
|
|
||||||
"dev": true,
|
|
||||||
"optional": true
|
|
||||||
},
|
|
||||||
"@tippyjs/react": {
|
"@tippyjs/react": {
|
||||||
"version": "4.2.6",
|
"version": "4.2.6",
|
||||||
"requires": {
|
"requires": {
|
||||||
@ -21871,13 +21789,6 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"@usebruno/bruno-tauri": {
|
|
||||||
"version": "file:packages/bruno-tauri",
|
|
||||||
"requires": {
|
|
||||||
"@tauri-apps/cli": "^1.1.1",
|
|
||||||
"electron-next": "^3.1.5"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"@usebruno/cli": {
|
"@usebruno/cli": {
|
||||||
"version": "file:packages/bruno-cli",
|
"version": "file:packages/bruno-cli",
|
||||||
"requires": {
|
"requires": {
|
||||||
@ -22403,10 +22314,6 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"app-root-path": {
|
|
||||||
"version": "3.1.0",
|
|
||||||
"dev": true
|
|
||||||
},
|
|
||||||
"append-field": {
|
"append-field": {
|
||||||
"version": "1.0.0"
|
"version": "1.0.0"
|
||||||
},
|
},
|
||||||
@ -24202,14 +24109,6 @@
|
|||||||
"electron-is-dev": {
|
"electron-is-dev": {
|
||||||
"version": "2.0.0"
|
"version": "2.0.0"
|
||||||
},
|
},
|
||||||
"electron-next": {
|
|
||||||
"version": "3.1.5",
|
|
||||||
"dev": true,
|
|
||||||
"requires": {
|
|
||||||
"app-root-path": ">=2.0.1",
|
|
||||||
"electron-is-dev": ">=0.3.0"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"electron-notarize": {
|
"electron-notarize": {
|
||||||
"version": "1.2.2",
|
"version": "1.2.2",
|
||||||
"requires": {
|
"requires": {
|
||||||
|
@ -5,7 +5,6 @@
|
|||||||
"packages/bruno-app",
|
"packages/bruno-app",
|
||||||
"packages/bruno-electron",
|
"packages/bruno-electron",
|
||||||
"packages/bruno-cli",
|
"packages/bruno-cli",
|
||||||
"packages/bruno-tauri",
|
|
||||||
"packages/bruno-schema",
|
"packages/bruno-schema",
|
||||||
"packages/bruno-query",
|
"packages/bruno-query",
|
||||||
"packages/bruno-js",
|
"packages/bruno-js",
|
||||||
|
9
packages/bruno-tauri/.gitignore
vendored
@ -1,9 +0,0 @@
|
|||||||
# Generated by Cargo
|
|
||||||
# will have compiled files and executables
|
|
||||||
/target/
|
|
||||||
|
|
||||||
node_modules
|
|
||||||
jspm_packages/
|
|
||||||
pnpm-lock.yaml
|
|
||||||
yarn.lock
|
|
||||||
package-lock.json
|
|
3622
packages/bruno-tauri/Cargo.lock
generated
@ -1,28 +0,0 @@
|
|||||||
[package]
|
|
||||||
name = "app"
|
|
||||||
version = "0.1.0"
|
|
||||||
description = "A Tauri App"
|
|
||||||
authors = ["you"]
|
|
||||||
license = ""
|
|
||||||
repository = ""
|
|
||||||
default-run = "app"
|
|
||||||
edition = "2021"
|
|
||||||
rust-version = "1.57"
|
|
||||||
|
|
||||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
||||||
|
|
||||||
[build-dependencies]
|
|
||||||
tauri-build = { version = "1.1.1", features = [] }
|
|
||||||
|
|
||||||
[dependencies]
|
|
||||||
serde_json = "1.0"
|
|
||||||
serde = { version = "1.0", features = ["derive"] }
|
|
||||||
tauri = { version = "1.1.1", features = ["api-all"] }
|
|
||||||
|
|
||||||
[features]
|
|
||||||
# by default Tauri runs in production mode
|
|
||||||
# when `tauri dev` runs it is executed with `cargo run --no-default-features` if `devPath` is an URL
|
|
||||||
default = [ "custom-protocol" ]
|
|
||||||
# this feature is used for production builds where `devPath` points to the filesystem
|
|
||||||
# DO NOT remove this
|
|
||||||
custom-protocol = [ "tauri/custom-protocol" ]
|
|
@ -1,3 +0,0 @@
|
|||||||
fn main() {
|
|
||||||
tauri_build::build()
|
|
||||||
}
|
|
Before ![]() (image error) Size: 3.4 KiB |
Before ![]() (image error) Size: 6.8 KiB |
Before ![]() (image error) Size: 974 B |
Before ![]() (image error) Size: 2.8 KiB |
Before ![]() (image error) Size: 3.8 KiB |
Before ![]() (image error) Size: 3.9 KiB |
Before ![]() (image error) Size: 7.6 KiB |
Before ![]() (image error) Size: 903 B |
Before ![]() (image error) Size: 8.4 KiB |
Before ![]() (image error) Size: 1.3 KiB |
Before ![]() (image error) Size: 2.0 KiB |
Before ![]() (image error) Size: 2.4 KiB |
Before ![]() (image error) Size: 1.5 KiB |
Before (image error) Size: 85 KiB |
Before ![]() (image error) Size: 14 KiB |
@ -1,13 +0,0 @@
|
|||||||
{
|
|
||||||
"name": "@usebruno/bruno-tauri",
|
|
||||||
"private": true,
|
|
||||||
"main": "src/index.js",
|
|
||||||
"scripts": {
|
|
||||||
"dev": "node src/next-server.js",
|
|
||||||
"dev:tauri": "tauri dev"
|
|
||||||
},
|
|
||||||
"devDependencies": {
|
|
||||||
"@tauri-apps/cli": "^1.1.1",
|
|
||||||
"electron-next": "^3.1.5"
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,10 +0,0 @@
|
|||||||
#![cfg_attr(
|
|
||||||
all(not(debug_assertions), target_os = "windows"),
|
|
||||||
windows_subsystem = "windows"
|
|
||||||
)]
|
|
||||||
|
|
||||||
fn main() {
|
|
||||||
tauri::Builder::default()
|
|
||||||
.run(tauri::generate_context!())
|
|
||||||
.expect("error while running tauri application");
|
|
||||||
}
|
|
@ -1,23 +0,0 @@
|
|||||||
const { createServer } = require('http');
|
|
||||||
|
|
||||||
const devServer = async (dir, port) => {
|
|
||||||
const next = require('next')({ dev: true, dir });
|
|
||||||
const requestHandler = next.getRequestHandler();
|
|
||||||
|
|
||||||
// Build the renderer code and watch the files
|
|
||||||
await next.prepare();
|
|
||||||
|
|
||||||
// Next.js Server
|
|
||||||
const server = createServer(requestHandler);
|
|
||||||
|
|
||||||
server.listen(port || 8000, () => {
|
|
||||||
// Todo: Need to listen to tauri close event and close the server
|
|
||||||
// app.on('before-quit', () => server.close())
|
|
||||||
});
|
|
||||||
};
|
|
||||||
|
|
||||||
const run = async () => {
|
|
||||||
await devServer('../../renderer', 8000);
|
|
||||||
};
|
|
||||||
|
|
||||||
run();
|
|
@ -1,66 +0,0 @@
|
|||||||
{
|
|
||||||
"$schema": "./node_modules/@tauri-apps/cli/schema.json",
|
|
||||||
"build": {
|
|
||||||
"beforeBuildCommand": "npm run build",
|
|
||||||
"beforeDevCommand": "npm run dev",
|
|
||||||
"devPath": "http://localhost:8000",
|
|
||||||
"distDir": "./"
|
|
||||||
},
|
|
||||||
"package": {
|
|
||||||
"productName": "bruno",
|
|
||||||
"version": "0.1.0"
|
|
||||||
},
|
|
||||||
"tauri": {
|
|
||||||
"allowlist": {
|
|
||||||
"all": true
|
|
||||||
},
|
|
||||||
"bundle": {
|
|
||||||
"active": true,
|
|
||||||
"category": "DeveloperTool",
|
|
||||||
"copyright": "",
|
|
||||||
"deb": {
|
|
||||||
"depends": []
|
|
||||||
},
|
|
||||||
"externalBin": [],
|
|
||||||
"icon": [
|
|
||||||
"icons/32x32.png",
|
|
||||||
"icons/128x128.png",
|
|
||||||
"icons/128x128@2x.png",
|
|
||||||
"icons/icon.icns",
|
|
||||||
"icons/icon.ico"
|
|
||||||
],
|
|
||||||
"identifier": "com.usebruno.dev",
|
|
||||||
"longDescription": "",
|
|
||||||
"macOS": {
|
|
||||||
"entitlements": null,
|
|
||||||
"exceptionDomain": "",
|
|
||||||
"frameworks": [],
|
|
||||||
"providerShortName": null,
|
|
||||||
"signingIdentity": null
|
|
||||||
},
|
|
||||||
"resources": [],
|
|
||||||
"shortDescription": "",
|
|
||||||
"targets": "all",
|
|
||||||
"windows": {
|
|
||||||
"certificateThumbprint": null,
|
|
||||||
"digestAlgorithm": "sha256",
|
|
||||||
"timestampUrl": ""
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"security": {
|
|
||||||
"csp": null
|
|
||||||
},
|
|
||||||
"updater": {
|
|
||||||
"active": false
|
|
||||||
},
|
|
||||||
"windows": [
|
|
||||||
{
|
|
||||||
"fullscreen": false,
|
|
||||||
"height": 600,
|
|
||||||
"resizable": true,
|
|
||||||
"title": "bruno",
|
|
||||||
"width": 800
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|