@duonghieu0712z/create-tauri-vue-template 0.0.11 → 0.0.12
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
|
@@ -24,12 +24,12 @@ jobs:
|
|
|
24
24
|
- name: Setup pnpm
|
|
25
25
|
uses: pnpm/action-setup@v6
|
|
26
26
|
with:
|
|
27
|
-
version:
|
|
27
|
+
version: 11
|
|
28
28
|
|
|
29
29
|
- name: Setup Node.js
|
|
30
30
|
uses: actions/setup-node@v6
|
|
31
31
|
with:
|
|
32
|
-
node-version:
|
|
32
|
+
node-version: 24
|
|
33
33
|
cache: pnpm
|
|
34
34
|
|
|
35
35
|
- name: Install dependencies
|
|
@@ -38,8 +38,11 @@ jobs:
|
|
|
38
38
|
- name: Check formatting
|
|
39
39
|
run: pnpm format
|
|
40
40
|
|
|
41
|
-
- name: Check
|
|
42
|
-
run: pnpm lint
|
|
41
|
+
- name: Check oxlint
|
|
42
|
+
run: pnpm lint:github:oxlint
|
|
43
|
+
|
|
44
|
+
- name: Check ESLint
|
|
45
|
+
run: pnpm lint:github:eslint
|
|
43
46
|
|
|
44
47
|
- name: Check types
|
|
45
48
|
run: pnpm type-check
|
|
@@ -70,5 +73,5 @@ jobs:
|
|
|
70
73
|
- name: Check formatting
|
|
71
74
|
run: cargo +nightly fmt --manifest-path src-tauri/Cargo.toml -- --check
|
|
72
75
|
|
|
73
|
-
- name: Check
|
|
76
|
+
- name: Check Clippy
|
|
74
77
|
run: cargo +nightly clippy --manifest-path src-tauri/Cargo.toml --all-targets --all-features -- -D warnings
|
|
@@ -10,10 +10,6 @@ concurrency:
|
|
|
10
10
|
group: release-${{ github.ref }}
|
|
11
11
|
cancel-in-progress: true
|
|
12
12
|
|
|
13
|
-
env:
|
|
14
|
-
NODE_VERSION: 24
|
|
15
|
-
PNPM_VERSION: 11
|
|
16
|
-
|
|
17
13
|
jobs:
|
|
18
14
|
build:
|
|
19
15
|
permissions:
|
|
@@ -46,12 +42,12 @@ jobs:
|
|
|
46
42
|
- name: Setup pnpm
|
|
47
43
|
uses: pnpm/action-setup@v6
|
|
48
44
|
with:
|
|
49
|
-
version:
|
|
45
|
+
version: 11
|
|
50
46
|
|
|
51
47
|
- name: Setup Node.js
|
|
52
48
|
uses: actions/setup-node@v6
|
|
53
49
|
with:
|
|
54
|
-
node-version:
|
|
50
|
+
node-version: 24
|
|
55
51
|
cache: pnpm
|
|
56
52
|
|
|
57
53
|
- name: Setup Rust
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export default {
|
|
2
|
-
'*.{js,ts,tsx,vue,html,css,json,yml,yaml}': ['oxfmt'],
|
|
2
|
+
'*.{js,ts,tsx,vue,html,css,json,yml,yaml}': ['oxfmt --no-error-on-unmatched-pattern'],
|
|
3
3
|
'*.{js,ts,tsx,vue}': ['oxlint --fix', 'eslint --fix'],
|
|
4
4
|
'*.rs': () => ['cargo +nightly fmt --manifest-path src-tauri/Cargo.toml'],
|
|
5
5
|
};
|
package/template/package.json
CHANGED
|
@@ -13,9 +13,12 @@
|
|
|
13
13
|
"start": "pnpm tauri dev",
|
|
14
14
|
"make": "pnpm tauri build",
|
|
15
15
|
"lint": "run-s lint:check:*",
|
|
16
|
+
"lint:github": "run-s lint:github:*",
|
|
16
17
|
"lint:fix": "run-s lint:fix:*",
|
|
17
18
|
"lint:check:oxlint": "oxlint .",
|
|
18
19
|
"lint:check:eslint": "eslint . --cache",
|
|
20
|
+
"lint:github:oxlint": "oxlint --format github .",
|
|
21
|
+
"lint:github:eslint": "eslint . --cache --format github",
|
|
19
22
|
"lint:fix:oxlint": "oxlint --fix .",
|
|
20
23
|
"lint:fix:eslint": "eslint --fix . --cache",
|
|
21
24
|
"format": "oxfmt --check .",
|
|
@@ -41,6 +44,7 @@
|
|
|
41
44
|
"@vue/eslint-config-typescript": "^14.7.0",
|
|
42
45
|
"@vue/tsconfig": "^0.9.1",
|
|
43
46
|
"eslint": "^10.4.0",
|
|
47
|
+
"eslint-formatter-github": "^1.1.4",
|
|
44
48
|
"eslint-plugin-oxlint": "^1.66.0",
|
|
45
49
|
"eslint-plugin-vue": "^10.9.1",
|
|
46
50
|
"husky": "^9.1.7",
|