From dd6ac28215d8fabbb700ff9452a0a45c4391b2a7 Mon Sep 17 00:00:00 2001 From: JPTomorrow Date: Tue, 13 Dec 2022 11:38:22 -0700 Subject: [PATCH] shoring up package details before first release --- package-lock.json | 8 +++--- package.json | 9 ++++--- src-tauri/Cargo.lock | 22 ++++++++--------- src-tauri/Cargo.toml | 6 ++--- src-tauri/tauri.conf.json | 10 ++++---- test/Cargo.json | 51 --------------------------------------- test/Cargo.toml | 28 --------------------- test/Cargo.yaml | 37 ---------------------------- ws.code-workspace | 8 ++++++ 9 files changed, 36 insertions(+), 143 deletions(-) delete mode 100644 test/Cargo.json delete mode 100644 test/Cargo.toml delete mode 100644 test/Cargo.yaml create mode 100644 ws.code-workspace diff --git a/package-lock.json b/package-lock.json index 43a324f..dbf7f34 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { - "name": "tauri-desktop-app", - "version": "0.0.0", + "name": "json-toml-yaml-converter", + "version": "1.0.0", "lockfileVersion": 3, "requires": true, "packages": { "": { - "name": "tauri-desktop-app", - "version": "0.0.0", + "name": "json-toml-yaml-converter", + "version": "1.0.0", "dependencies": { "@tauri-apps/api": "^1.1.0", "next": "^12.2.5", diff --git a/package.json b/package.json index e74849f..f177c81 100644 --- a/package.json +++ b/package.json @@ -1,11 +1,12 @@ { - "name": "tauri-desktop-app", + "name": "json-toml-yaml-converter", "private": true, - "version": "0.0.0", + "version": "1.0.0", "scripts": { "dev": "next dev -p 1420", - "build": "tauri build", - "tauri-dev": "tauri dev" + "tauri-build": "tauri build", + "tauri-dev": "tauri dev", + "build": "next build && next export -o dist" }, "dependencies": { "@tauri-apps/api": "^1.1.0", diff --git a/src-tauri/Cargo.lock b/src-tauri/Cargo.lock index 5849518..18be6e2 100644 --- a/src-tauri/Cargo.lock +++ b/src-tauri/Cargo.lock @@ -1185,6 +1185,17 @@ dependencies = [ "treediff", ] +[[package]] +name = "json-toml-yaml-converter" +version = "1.0.0" +dependencies = [ + "serde", + "serde_json", + "tauri", + "tauri-build", + "tsu", +] + [[package]] name = "kuchiki" version = "0.8.1" @@ -2453,17 +2464,6 @@ dependencies = [ "walkdir", ] -[[package]] -name = "tauri-desktop-app" -version = "0.0.0" -dependencies = [ - "serde", - "serde_json", - "tauri", - "tauri-build", - "tsu", -] - [[package]] name = "tauri-macros" version = "1.2.1" diff --git a/src-tauri/Cargo.toml b/src-tauri/Cargo.toml index b970d79..84ae2d1 100644 --- a/src-tauri/Cargo.toml +++ b/src-tauri/Cargo.toml @@ -1,8 +1,8 @@ [package] -name = "tauri-desktop-app" -version = "0.0.0" +name = "json-toml-yaml-converter" +version = "1.0.0" description = "A Tauri App" -authors = ["you"] +authors = ["Justin Morrow"] license = "" repository = "" edition = "2021" diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index c40f2ea..e74ca8a 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -7,8 +7,8 @@ "withGlobalTauri": false }, "package": { - "productName": "tauri-desktop-app", - "version": "0.0.0" + "productName": "json-toml-yaml Converter", + "version": "1.0.0" }, "tauri": { "allowlist": { @@ -42,8 +42,8 @@ "icons/icon.icns", "icons/icon.ico" ], - "identifier": "com.tauri.dev", - "longDescription": "", + "identifier": "json.toml.yaml.converter", + "longDescription": "A program that converts either JSON, TOML, or YAML files, and converts it two the other two files types.", "macOS": { "entitlements": null, "exceptionDomain": "", @@ -71,7 +71,7 @@ "fullscreen": false, "height": 600, "resizable": true, - "title": "tauri-desktop-app", + "title": "JSON | TOML | YAML Converter", "width": 800 } ] diff --git a/test/Cargo.json b/test/Cargo.json deleted file mode 100644 index 821531d..0000000 --- a/test/Cargo.json +++ /dev/null @@ -1,51 +0,0 @@ -{ - "build-dependencies": { - "tauri-build": { - "features": [], - "version": "1.2" - } - }, - "dependencies": { - "serde_json": "1.0", - "tsu": "1.0.1", - "serde": { - "features": [ - "derive" - ], - "version": "1.0" - }, - "tauri": { - "features": [ - "dialog-open", - "dialog-save", - "fs-copy-file", - "fs-create-dir", - "fs-exists", - "fs-read-dir", - "fs-read-file", - "fs-write-file" - ], - "version": "1.2" - } - }, - "features": { - "custom-protocol": [ - "tauri/custom-protocol" - ], - "default": [ - "custom-protocol" - ] - }, - "package": { - "authors": [ - "you" - ], - "description": "A Tauri App", - "edition": "2021", - "license": "", - "name": "tauri-desktop-app", - "repository": "", - "rust-version": "1.57", - "version": "0.0.0" - } -} \ No newline at end of file diff --git a/test/Cargo.toml b/test/Cargo.toml deleted file mode 100644 index b970d79..0000000 --- a/test/Cargo.toml +++ /dev/null @@ -1,28 +0,0 @@ -[package] -name = "tauri-desktop-app" -version = "0.0.0" -description = "A Tauri App" -authors = ["you"] -license = "" -repository = "" -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.2", features = [] } - -[dependencies] -serde_json = "1.0" -serde = { version = "1.0", features = ["derive"] } -tauri = {version = "1.2", features = ["dialog-open", "dialog-save", "fs-copy-file", "fs-create-dir", "fs-exists", "fs-read-dir", "fs-read-file", "fs-write-file"] } -tsu = "1.0.1" - -[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 used for production builds where `devPath` points to the filesystem -# DO NOT remove this -custom-protocol = [ "tauri/custom-protocol" ] diff --git a/test/Cargo.yaml b/test/Cargo.yaml deleted file mode 100644 index 6d7bd9e..0000000 --- a/test/Cargo.yaml +++ /dev/null @@ -1,37 +0,0 @@ -build-dependencies: - tauri-build: - features: [] - version: '1.2' -dependencies: - serde_json: '1.0' - tsu: 1.0.1 - serde: - features: - - derive - version: '1.0' - tauri: - features: - - dialog-open - - dialog-save - - fs-copy-file - - fs-create-dir - - fs-exists - - fs-read-dir - - fs-read-file - - fs-write-file - version: '1.2' -features: - custom-protocol: - - tauri/custom-protocol - default: - - custom-protocol -package: - authors: - - you - description: A Tauri App - edition: '2021' - license: '' - name: tauri-desktop-app - repository: '' - rust-version: '1.57' - version: 0.0.0 diff --git a/ws.code-workspace b/ws.code-workspace new file mode 100644 index 0000000..022c3e5 --- /dev/null +++ b/ws.code-workspace @@ -0,0 +1,8 @@ +{ + "folders": [ + { + "path": "." + } + ], + "settings": {} +}