@duonghieu0712z/create-tauri-vue-template 0.0.9 → 0.0.11

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.0.9",
3
+ "version": "0.0.11",
4
4
  "description": "Create a Tauri 2 + Vue 3 desktop app from the tauri-vue-template starter.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -41,6 +41,9 @@ jobs:
41
41
  - name: Check lint
42
42
  run: pnpm lint
43
43
 
44
+ - name: Check types
45
+ run: pnpm type-check
46
+
44
47
  rust:
45
48
  runs-on: ubuntu-latest
46
49
 
@@ -56,6 +59,7 @@ jobs:
56
59
  - name: Setup Rust
57
60
  uses: actions-rust-lang/setup-rust-toolchain@v1
58
61
  with:
62
+ toolchain: nightly
59
63
  components: rustfmt, clippy
60
64
 
61
65
  - name: Rust cache
@@ -64,7 +68,7 @@ jobs:
64
68
  workspaces: './src-tauri -> target'
65
69
 
66
70
  - name: Check formatting
67
- run: cargo fmt --manifest-path src-tauri/Cargo.toml -- --check
71
+ run: cargo +nightly fmt --manifest-path src-tauri/Cargo.toml -- --check
68
72
 
69
73
  - name: Check lint
70
- run: cargo clippy --manifest-path src-tauri/Cargo.toml --all-targets --all-features -- -D warnings
74
+ run: cargo +nightly clippy --manifest-path src-tauri/Cargo.toml --all-targets --all-features -- -D warnings
@@ -3,7 +3,7 @@
3
3
  "explorer.fileNesting.patterns": {
4
4
  "tsconfig.json": "tsconfig.*.json, env.d.ts, typed-router.d.ts",
5
5
  "vite.config.*": "jsconfig*, vitest.config.*, cypress.config.*, playwright.config.*",
6
- "package.json": "package-lock.json, pnpm*, .yarnrc*, yarn*, .eslint*, eslint*, .oxlint*, oxlint*, .oxfmt*, .prettier*, prettier*, .editorconfig"
6
+ "package.json": "package-lock.json, pnpm*, .yarnrc*, yarn*, .eslint*, eslint*, .oxlint*, oxlint*, .oxfmt*, .prettier*, prettier*, .lintstagedrc*, lint-staged*, .editorconfig"
7
7
  },
8
8
  "editor.codeActionsOnSave": {
9
9
  "source.fixAll": "explicit"
@@ -1,8 +1,5 @@
1
1
  export default {
2
2
  '*.{js,ts,tsx,vue,html,css,json,yml,yaml}': ['oxfmt'],
3
3
  '*.{js,ts,tsx,vue}': ['oxlint --fix', 'eslint --fix'],
4
- '*.rs': () => [
5
- 'cargo fmt --manifest-path src-tauri/Cargo.toml',
6
- 'cargo clippy --manifest-path src-tauri/Cargo.toml -- -D warnings',
7
- ],
4
+ '*.rs': () => ['cargo +nightly fmt --manifest-path src-tauri/Cargo.toml'],
8
5
  };
@@ -0,0 +1,17 @@
1
+ edition = "2024"
2
+ style_edition = "2024"
3
+
4
+ max_width = 100
5
+ tab_spaces = 4
6
+ newline_style = "Unix"
7
+
8
+ format_macro_bodies = true
9
+ format_macro_matchers = true
10
+ overflow_delimited_expr = true
11
+ use_field_init_shorthand = true
12
+
13
+ imports_granularity = "Crate"
14
+ group_imports = "StdExternalCrate"
15
+ reorder_imports = true
16
+ reorder_modules = true
17
+ reorder_impl_items = true
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "extends": "@tsconfig/node24/tsconfig.json",
3
- "include": ["vite.config.*", "eslint.config.*"],
3
+ "include": ["vite.config.*", "eslint.config.*", "lint-staged.config.*"],
4
4
  "compilerOptions": {
5
5
  "module": "preserve",
6
6
  "moduleResolution": "bundler",