Skip to content

Commit

Permalink
Merge pull request #44 from Brendonovich/tauri-specta
Browse files Browse the repository at this point in the history
Add tauri-specta
  • Loading branch information
richiemcilroy authored Jul 9, 2024
2 parents 2a8db9c + 01ab609 commit 5ab9a27
Show file tree
Hide file tree
Showing 12 changed files with 287 additions and 93 deletions.
4 changes: 2 additions & 2 deletions apps/desktop/next.config.mjs
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import { withSentryConfig } from "@sentry/nextjs";
/** @type {import('next').NextConfig} */

import("dotenv").then(({ config }) => config({ path: "../../.env" }));

import fs from "fs";
import path from "path";

fs.copyFileSync(path.resolve("../../.env"), path.resolve("./.env"));

const packageJson = JSON.parse(
fs.readFileSync(path.resolve("./package.json"), "utf8")
);
Expand Down
107 changes: 106 additions & 1 deletion apps/desktop/src-tauri/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions apps/desktop/src-tauri/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ jpeg-encoder = "0.6.0"
nix = "0.20.0"
urlencoding = "2.1.2"
bytes = "1.0"
tauri-specta = { version = "1", features = ["javascript", "typescript"] }
specta = "1"

[features]
# this feature is used for production builds or when `devPath` points to the filesystem
Expand Down
Loading

1 comment on commit 5ab9a27

@vercel
Copy link

@vercel vercel bot commented on 5ab9a27 Jul 9, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.