@duonghieu0712z/create-tauri-vue-template 0.1.1 → 0.1.3

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@duonghieu0712z/create-tauri-vue-template",
3
- "version": "0.1.1",
3
+ "version": "0.1.3",
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.56.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: actions-rust-lang/setup-rust-toolchain@v1
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 +nightly fmt -- --check
119
+ run: cargo fmt -- --check
121
120
 
122
121
  - name: Check Clippy
123
122
  working-directory: src-tauri
124
- run: cargo +nightly clippy --all-targets --all-features -- -D warnings
123
+ run: cargo clippy --all-targets --all-features -- -D warnings
@@ -31,19 +31,20 @@ jobs:
31
31
  require 'securerandom'
32
32
 
33
33
  ref = ENV.fetch('GITHUB_REF_NAME')
34
- version = ref.sub(/^v/, '')
35
- if version == ref
34
+ event_name = ENV.fetch('GITHUB_EVENT_NAME')
35
+ heading_name = event_name == 'workflow_dispatch' ? 'Unreleased' : ref.sub(/^v/, '')
36
+ if heading_name == ref
36
37
  abort 'package.json is required to resolve the release version.' unless File.exist?('package.json')
37
- version = JSON.parse(File.read('package.json')).fetch('version')
38
+ heading_name = JSON.parse(File.read('package.json')).fetch('version')
38
39
  end
39
40
 
40
- body = "Version #{version} release artifacts."
41
+ body = "#{heading_name} release artifacts."
41
42
 
42
43
  if File.exist?('CHANGELOG.md')
43
44
  begin
44
45
  content = File.read('CHANGELOG.md')
45
- escaped_version = Regexp.escape(version)
46
- pattern = /^##\s+(?<heading>\[?v?#{escaped_version}\]?(?:\s+-[^\r\n]*)?)\r?\n(?<body>.*?)(?=^##\s+|\z)/m
46
+ escaped_heading = Regexp.escape(heading_name)
47
+ pattern = /^##\s+(?<heading>\[?v?#{escaped_heading}\]?(?:\s+-[^\r\n]*)?)\r?\n(?<body>.*?)(?=^##\s+|\z)/m
47
48
  match = content.match(pattern)
48
49
 
49
50
  if match && !match[:body].strip.empty?
@@ -82,12 +83,16 @@ jobs:
82
83
  include:
83
84
  - os: macos-latest
84
85
  label: macos-aarch64
86
+ assetPlatform: macos
85
87
  - os: macos-15-intel
86
88
  label: macos-x86_64
89
+ assetPlatform: macos
87
90
  - os: ubuntu-latest
88
91
  label: ubuntu
92
+ assetPlatform: linux
89
93
  - os: windows-latest
90
94
  label: windows
95
+ assetPlatform: windows
91
96
 
92
97
  steps:
93
98
  - name: Checkout repository
@@ -122,12 +127,13 @@ jobs:
122
127
  run: pnpm install --frozen-lockfile
123
128
 
124
129
  - name: Build and upload release
125
- uses: tauri-apps/tauri-action@v0
130
+ uses: tauri-apps/tauri-action@v1
126
131
  env:
127
132
  GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
128
133
  with:
129
- tagName: v__VERSION__
130
- releaseName: v__VERSION__
134
+ tagName: ${{ github.event_name == 'workflow_dispatch' && 'unreleased' || 'v__VERSION__' }}
135
+ releaseName: ${{ github.event_name == 'workflow_dispatch' && 'Unreleased' || 'v__VERSION__' }}
131
136
  releaseBody: ${{ needs.changelog.outputs.body }}
132
137
  releaseDraft: true
133
138
  prerelease: false
139
+ releaseAssetNamePattern: '[name]-v[version]-${{ matrix.assetPlatform }}-[arch][setup][ext]'
@@ -24,7 +24,7 @@
24
24
  "prepare": "husky"
25
25
  },
26
26
  "dependencies": {
27
- "@lucide/vue": "^1.22.0",
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.1",
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.1",
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.71.0",
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.56.0",
53
- "oxlint": "^1.71.0",
54
- "picomatch": "^4.0.4",
55
- "tailwindcss": "^4.3.1",
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.0",
60
+ "vite": "^8.1.3",
61
61
  "vite-plugin-vue-devtools": "^8.1.5",
62
- "vue-tsc": "^3.3.5"
62
+ "vue-tsc": "^3.3.6"
63
63
  },
64
64
  "engines": {
65
65
  "node": ">=22.12.0"