@duonghieu0712z/create-tauri-vue-template 0.1.0 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +2 -2
- package/template/.github/workflows/code-quality.yml +3 -4
- package/template/.github/workflows/release.yml +5 -11
- package/template/package.json +10 -10
- package/template/pnpm-lock.yaml +380 -415
- package/template/rust-toolchain.toml +1 -0
- package/template/src-tauri/Cargo.lock +4 -4
- package/template/src-tauri/rustfmt.toml +0 -17
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@duonghieu0712z/create-tauri-vue-template",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"description": "Create a Tauri 2 + Vue 3 desktop app from the tauri-vue-template starter.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"@types/node": "^26.0.0",
|
|
33
33
|
"husky": "^9.1.7",
|
|
34
34
|
"lint-staged": "^17.0.5",
|
|
35
|
-
"oxfmt": "^0.
|
|
35
|
+
"oxfmt": "^0.57.0",
|
|
36
36
|
"oxlint": "^1.66.0",
|
|
37
37
|
"typescript": "~6.0.3"
|
|
38
38
|
},
|
|
@@ -105,9 +105,8 @@ jobs:
|
|
|
105
105
|
sudo apt-get install -y libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf
|
|
106
106
|
|
|
107
107
|
- name: Setup Rust
|
|
108
|
-
uses:
|
|
108
|
+
uses: dtolnay/rust-toolchain@stable
|
|
109
109
|
with:
|
|
110
|
-
toolchain: nightly
|
|
111
110
|
components: rustfmt, clippy
|
|
112
111
|
|
|
113
112
|
- name: Rust cache
|
|
@@ -117,8 +116,8 @@ jobs:
|
|
|
117
116
|
|
|
118
117
|
- name: Check formatting
|
|
119
118
|
working-directory: src-tauri
|
|
120
|
-
run: cargo
|
|
119
|
+
run: cargo fmt -- --check
|
|
121
120
|
|
|
122
121
|
- name: Check Clippy
|
|
123
122
|
working-directory: src-tauri
|
|
124
|
-
run: cargo
|
|
123
|
+
run: cargo clippy --all-targets --all-features -- -D warnings
|
|
@@ -82,16 +82,12 @@ jobs:
|
|
|
82
82
|
include:
|
|
83
83
|
- os: macos-latest
|
|
84
84
|
label: macos-aarch64
|
|
85
|
-
|
|
86
|
-
- os: macos-latest
|
|
85
|
+
- os: macos-15-intel
|
|
87
86
|
label: macos-x86_64
|
|
88
|
-
args: --target x86_64-apple-darwin
|
|
89
87
|
- os: ubuntu-latest
|
|
90
88
|
label: ubuntu
|
|
91
|
-
args: ''
|
|
92
89
|
- os: windows-latest
|
|
93
90
|
label: windows
|
|
94
|
-
args: ''
|
|
95
91
|
|
|
96
92
|
steps:
|
|
97
93
|
- name: Checkout repository
|
|
@@ -116,8 +112,6 @@ jobs:
|
|
|
116
112
|
|
|
117
113
|
- name: Setup Rust
|
|
118
114
|
uses: dtolnay/rust-toolchain@stable
|
|
119
|
-
with:
|
|
120
|
-
targets: ${{ matrix.os == 'macos-latest' && 'aarch64-apple-darwin,x86_64-apple-darwin' || '' }}
|
|
121
115
|
|
|
122
116
|
- name: Rust cache
|
|
123
117
|
uses: swatinem/rust-cache@v2
|
|
@@ -128,13 +122,13 @@ jobs:
|
|
|
128
122
|
run: pnpm install --frozen-lockfile
|
|
129
123
|
|
|
130
124
|
- name: Build and upload release
|
|
131
|
-
uses: tauri-apps/tauri-action@
|
|
125
|
+
uses: tauri-apps/tauri-action@v1
|
|
132
126
|
env:
|
|
133
127
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
134
128
|
with:
|
|
135
|
-
tagName: v__VERSION__
|
|
136
|
-
releaseName: v__VERSION__
|
|
129
|
+
tagName: ${{ github.event_name == 'workflow_dispatch' && 'unreleased' || 'v__VERSION__' }}
|
|
130
|
+
releaseName: ${{ github.event_name == 'workflow_dispatch' && 'Unreleased' || 'v__VERSION__' }}
|
|
137
131
|
releaseBody: ${{ needs.changelog.outputs.body }}
|
|
138
132
|
releaseDraft: true
|
|
139
133
|
prerelease: false
|
|
140
|
-
|
|
134
|
+
releaseAssetNamePattern: '[mainBinaryName]-v[version]-[platform]-[arch][setup][ext]'
|
package/template/package.json
CHANGED
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"prepare": "husky"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@lucide/vue": "^1.
|
|
27
|
+
"@lucide/vue": "^1.23.0",
|
|
28
28
|
"@tauri-apps/api": "^2.11.1",
|
|
29
29
|
"class-variance-authority": "^0.7.1",
|
|
30
30
|
"clsx": "^2.1.1",
|
|
@@ -34,32 +34,32 @@
|
|
|
34
34
|
"devDependencies": {
|
|
35
35
|
"@commitlint/cli": "^21.2.0",
|
|
36
36
|
"@commitlint/config-conventional": "^21.2.0",
|
|
37
|
-
"@tailwindcss/vite": "^4.3.
|
|
37
|
+
"@tailwindcss/vite": "^4.3.2",
|
|
38
38
|
"@tauri-apps/cli": "^2.11.4",
|
|
39
39
|
"@tsconfig/node24": "^24.0.4",
|
|
40
|
-
"@types/node": "^26.0
|
|
40
|
+
"@types/node": "^26.1.0",
|
|
41
41
|
"@vitejs/plugin-vue": "^6.0.7",
|
|
42
42
|
"@vue/eslint-config-prettier": "^10.2.0",
|
|
43
43
|
"@vue/eslint-config-typescript": "^14.9.0",
|
|
44
44
|
"@vue/tsconfig": "^0.9.1",
|
|
45
45
|
"eslint": "^10.6.0",
|
|
46
|
-
"eslint-plugin-oxlint": "^1.
|
|
46
|
+
"eslint-plugin-oxlint": "^1.72.0",
|
|
47
47
|
"eslint-plugin-vue": "^10.9.2",
|
|
48
48
|
"husky": "^9.1.7",
|
|
49
49
|
"jiti": "^2.7.0",
|
|
50
50
|
"lint-staged": "^17.0.8",
|
|
51
51
|
"npm-run-all2": "^9.0.2",
|
|
52
|
-
"oxfmt": "^0.
|
|
53
|
-
"oxlint": "^1.
|
|
54
|
-
"picomatch": "^4.0.
|
|
55
|
-
"tailwindcss": "^4.3.
|
|
52
|
+
"oxfmt": "^0.57.0",
|
|
53
|
+
"oxlint": "^1.72.0",
|
|
54
|
+
"picomatch": "^4.0.5",
|
|
55
|
+
"tailwindcss": "^4.3.2",
|
|
56
56
|
"tw-animate-css": "^1.4.0",
|
|
57
57
|
"typescript": "~6.0.3",
|
|
58
58
|
"unplugin-auto-import": "^21.0.0",
|
|
59
59
|
"unplugin-vue-components": "^32.1.0",
|
|
60
|
-
"vite": "^8.1.
|
|
60
|
+
"vite": "^8.1.3",
|
|
61
61
|
"vite-plugin-vue-devtools": "^8.1.5",
|
|
62
|
-
"vue-tsc": "^3.3.
|
|
62
|
+
"vue-tsc": "^3.3.6"
|
|
63
63
|
},
|
|
64
64
|
"engines": {
|
|
65
65
|
"node": ">=22.12.0"
|