Skip to content

Commit

Permalink
Bump to Tauri 2.0 RC (#19)
Browse files Browse the repository at this point in the history
* update tauri from beta to rc

* remove generated schemas from template

* update readme

* setup event handler w/ tauri-specta

* send events from Rust to JS
  • Loading branch information
atilafassina authored Aug 6, 2024
1 parent 0b0c18f commit 2c1e3e6
Show file tree
Hide file tree
Showing 10 changed files with 796 additions and 615 deletions.
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# Quantum

This template should help get you started developing with Tauri + Solid + TypeScript + TailwindCSS.
This template should help get you started developing with Tauri + SolidStart + TypeScript.

> [!note]
> Tauri v2 is already considered stable, though it remains in Beta while the team works on audits and documentation. No big changes are expected by this point, but accept the risk of little hiccups until it reaches the final release.
> Tauri v2 is already considered stable, it is currently at the Release Candidate stage. This means only minor fixes are expected towards the stable release.
## Cloning it 🐑

Expand Down Expand Up @@ -82,12 +82,12 @@ This command will open the Android Pixel simulator.

This template implements a GitHub Action workflow that builds and publishes the binaries for MacOS, Linux, and Windows. You can check the `.github/workflows/release.yml` file for more details. The draft and publishing of release happens through [CrabNebula Cloud](https://crabnebula.dev/cloud). To fully use this feature you will need to have a CrabNebula account and add the necessary secrets to your repository.

| Key | Description |
| -- | -- |
| `CN_API_KEY` | The API key for your CrabNebula account. |
| `CN_APP_SLUG` | The slug of the app you want to publish. |
| `TAURI_SIGNING_PRIVATE_KEY` | The private key used to sign the MacOS and Windows binaries. |
| `TAURI_SIGNING_PRIVATE_KEY_PASSWORD` | The password for the private key. |
| Key | Description |
| ------------------------------------ | ------------------------------------------------------------ |
| `CN_API_KEY` | The API key for your CrabNebula account. |
| `CN_APP_SLUG` | The slug of the app you want to publish. |
| `TAURI_SIGNING_PRIVATE_KEY` | The private key used to sign the MacOS and Windows binaries. |
| `TAURI_SIGNING_PRIVATE_KEY_PASSWORD` | The password for the private key. |

Besides those, in the `tauri.conf.json` it is also important to add a `pubkey` for the auto-updater.

Expand Down
14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,19 +15,19 @@
"dependencies": {
"@solidjs/router": "^0.13.5",
"@solidjs/start": "^1.0.1",
"@tauri-apps/api": ">=2.0.0-beta.0",
"@tauri-apps/plugin-shell": ">=2.0.0-beta.0",
"@tauri-apps/api": "2.0.0-beta.7",
"@tauri-apps/plugin-shell": "2.0.0-beta.2",
"solid-js": "latest",
"tailwindcss": "latest",
"vinxi": "^0.3.12"
},
"devDependencies": {
"@tauri-apps/cli": ">=2.0.0-beta.0",
"autoprefixer": "^10.4.15",
"@tauri-apps/cli": "2.0.0-beta.12",
"autoprefixer": "^10.4.16",
"internal-ip": "^7.0.0",
"postcss": "^8.4.30",
"prettier": "^3.0.3",
"prettier-plugin-tailwindcss": "^0.5.4",
"postcss": "^8.4.32",
"prettier": "^3.1.1",
"prettier-plugin-tailwindcss": "^0.5.10",
"typescript": "latest",
"vite": "latest",
"vite-plugin-solid": "latest"
Expand Down
24 changes: 12 additions & 12 deletions pnpm-lock.yaml

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

Loading

0 comments on commit 2c1e3e6

Please sign in to comment.