Skip to content

Commit d2c5f1d

Browse files
authored
fix: remove [lib] section in 2.0-alpha tempaltes (#374)
* fix: remove `[lib]` section in 2.0-alpha tempaltes * Update .changes/alpha-template.md
1 parent ce4ada2 commit d2c5f1d

3 files changed

Lines changed: 29 additions & 0 deletions

File tree

.changes/alpha-template.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
"create-tauri-app": "patch"
3+
"create-tauri-app-js": "patch"
4+
---
5+
6+
Fix `--alpha` templates that are generated without mobile support.
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
[package]
2+
name = "{{package_name}}"
3+
version = "0.0.0"
4+
description = "A Tauri App"
5+
authors = ["you"]
6+
license = ""
7+
repository = ""
8+
edition = "2021"
9+
10+
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
11+
12+
[build-dependencies]
13+
tauri-build = { version = "2.0.0-alpha.1", features = [] }
14+
15+
[dependencies]
16+
tauri = { version = "2.0.0-alpha.3", features = ["shell-open"] }
17+
serde = { version = "1.0", features = ["derive"] }
18+
serde_json = "1.0"
19+
20+
[features]
21+
# this feature is used for production builds or when `devPath` points to the filesystem
22+
# DO NOT REMOVE!!
23+
custom-protocol = ["tauri/custom-protocol"]

packages/cli/fragments/_base_/src-tauri/%(alpha-mobile)%Cargo.toml renamed to packages/cli/fragments/_base_/src-tauri/%(mobile)%Cargo.toml

File renamed without changes.

0 commit comments

Comments
 (0)