Merge pull request #1104 from nickheniser/feature/remove-tauri

Remove Tauri.
This commit is contained in:
Anoop M D 2023-12-01 14:00:55 +05:30 committed by GitHub
commit d13b4d1a6b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
26 changed files with 1 additions and 3877 deletions

103
package-lock.json generated
View File

@ -9,7 +9,6 @@
"packages/bruno-app",
"packages/bruno-electron",
"packages/bruno-cli",
"packages/bruno-tauri",
"packages/bruno-schema",
"packages/bruno-query",
"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": {
"version": "4.2.6",
"license": "MIT",
@ -4925,10 +4883,6 @@
"resolved": "packages/bruno-app",
"link": true
},
"node_modules/@usebruno/bruno-tauri": {
"resolved": "packages/bruno-tauri",
"link": true
},
"node_modules/@usebruno/cli": {
"resolved": "packages/bruno-cli",
"link": true
@ -5413,14 +5367,6 @@
"dev": true,
"license": "ISC"
},
"node_modules/app-root-path": {
"version": "3.1.0",
"dev": true,
"license": "MIT",
"engines": {
"node": ">= 6.0.0"
}
},
"node_modules/append-field": {
"version": "1.0.0",
"license": "MIT"
@ -7972,15 +7918,6 @@
"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": {
"version": "1.2.2",
"license": "MIT",
@ -18091,6 +18028,7 @@
},
"packages/bruno-tauri": {
"name": "@usebruno/bruno-tauri",
"extraneous": true,
"devDependencies": {
"@tauri-apps/cli": "^1.1.1",
"electron-next": "^3.1.5"
@ -21469,26 +21407,6 @@
"version": "1.119.0",
"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": {
"version": "4.2.6",
"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": {
"version": "file:packages/bruno-cli",
"requires": {
@ -22403,10 +22314,6 @@
}
}
},
"app-root-path": {
"version": "3.1.0",
"dev": true
},
"append-field": {
"version": "1.0.0"
},
@ -24202,14 +24109,6 @@
"electron-is-dev": {
"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": {
"version": "1.2.2",
"requires": {

View File

@ -5,7 +5,6 @@
"packages/bruno-app",
"packages/bruno-electron",
"packages/bruno-cli",
"packages/bruno-tauri",
"packages/bruno-schema",
"packages/bruno-query",
"packages/bruno-js",

View File

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

File diff suppressed because it is too large Load Diff

View File

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

View File

@ -1,3 +0,0 @@
fn main() {
tauri_build::build()
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 974 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 903 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 85 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

View File

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

View File

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

View File

@ -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();

View File

@ -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
}
]
}
}