@duonghieu0712z/create-tauri-vue-template 0.1.2 → 1.0.0

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.2",
3
+ "version": "1.0.0",
4
4
  "description": "Create a Tauri 2 + Vue 3 desktop app from the tauri-vue-template starter.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -82,6 +82,9 @@ jobs:
82
82
  - name: Check types
83
83
  run: pnpm type-check
84
84
 
85
+ - name: Build frontend
86
+ run: pnpm build-only
87
+
85
88
  tauri-quality:
86
89
  name: Tauri quality (${{ matrix.os }})
87
90
  runs-on: ${{ matrix.os }}
@@ -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
85
- - os: macos-15-intel
86
+ platform: macos
87
+ - os: macos-26-intel
86
88
  label: macos-x86_64
89
+ platform: macos
87
90
  - os: ubuntu-latest
88
91
  label: ubuntu
92
+ platform: linux
89
93
  - os: windows-latest
90
94
  label: windows
95
+ platform: windows
91
96
 
92
97
  steps:
93
98
  - name: Checkout repository
@@ -131,4 +136,4 @@ jobs:
131
136
  releaseBody: ${{ needs.changelog.outputs.body }}
132
137
  releaseDraft: true
133
138
  prerelease: false
134
- releaseAssetNamePattern: '[mainBinaryName]-v[version]-[platform]-[arch][setup][ext]'
139
+ releaseAssetNamePattern: '[name]-v[version]-${{ matrix.platform }}-[arch][setup][ext]'
@@ -32,5 +32,5 @@ export default {
32
32
  ? [createCommand('oxlint --fix', filtered), createCommand('eslint --fix', filtered)]
33
33
  : [];
34
34
  },
35
- '*.rs': () => ['cargo +nightly fmt --manifest-path src-tauri/Cargo.toml'],
35
+ '*.rs': () => ['cargo fmt --manifest-path src-tauri/Cargo.toml'],
36
36
  };
@@ -24,7 +24,7 @@
24
24
  "prepare": "husky"
25
25
  },
26
26
  "dependencies": {
27
- "@lucide/vue": "^1.23.0",
27
+ "@lucide/vue": "^1.24.0",
28
28
  "@tauri-apps/api": "^2.11.1",
29
29
  "class-variance-authority": "^0.7.1",
30
30
  "clsx": "^2.1.1",
@@ -32,34 +32,34 @@
32
32
  "vue": "^3.5.39"
33
33
  },
34
34
  "devDependencies": {
35
- "@commitlint/cli": "^21.2.0",
35
+ "@commitlint/cli": "^21.2.1",
36
36
  "@commitlint/config-conventional": "^21.2.0",
37
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.1.0",
40
+ "@types/node": "^26.1.1",
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
- "eslint": "^10.6.0",
46
- "eslint-plugin-oxlint": "^1.72.0",
45
+ "eslint": "^10.7.0",
46
+ "eslint-plugin-oxlint": "^1.73.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.57.0",
53
- "oxlint": "^1.72.0",
52
+ "oxfmt": "^0.58.0",
53
+ "oxlint": "^1.73.0",
54
54
  "picomatch": "^4.0.5",
55
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.3",
60
+ "vite": "^8.1.4",
61
61
  "vite-plugin-vue-devtools": "^8.1.5",
62
- "vue-tsc": "^3.3.6"
62
+ "vue-tsc": "^3.3.7"
63
63
  },
64
64
  "engines": {
65
65
  "node": ">=22.12.0"