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

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.11",
3
+ "version": "0.0.13",
4
4
  "description": "Create a Tauri 2 + Vue 3 desktop app from the tauri-vue-template starter.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -7,12 +7,9 @@ on:
7
7
  - main
8
8
 
9
9
  permissions:
10
+ checks: write
10
11
  contents: read
11
12
 
12
- env:
13
- NODE_VERSION: '24'
14
- PNPM_VERSION: '11'
15
-
16
13
  jobs:
17
14
  frontend:
18
15
  runs-on: ubuntu-latest
@@ -24,12 +21,12 @@ jobs:
24
21
  - name: Setup pnpm
25
22
  uses: pnpm/action-setup@v6
26
23
  with:
27
- version: ${{ env.PNPM_VERSION }}
24
+ version: 11
28
25
 
29
26
  - name: Setup Node.js
30
27
  uses: actions/setup-node@v6
31
28
  with:
32
- node-version: ${{ env.NODE_VERSION }}
29
+ node-version: 24
33
30
  cache: pnpm
34
31
 
35
32
  - name: Install dependencies
@@ -38,8 +35,18 @@ jobs:
38
35
  - name: Check formatting
39
36
  run: pnpm format
40
37
 
41
- - name: Check lint
42
- run: pnpm lint
38
+ - name: Check oxlint
39
+ run: pnpm lint:github:oxlint
40
+
41
+ - name: Check ESLint
42
+ uses: reviewdog/action-eslint@v1
43
+ with:
44
+ github_token: ${{ secrets.GITHUB_TOKEN }}
45
+ reporter: ${{ github.event_name == 'pull_request' && 'github-pr-check' || 'github-check' }}
46
+ filter_mode: ${{ github.event_name == 'pull_request' && 'added' || 'nofilter' }}
47
+ fail_level: error
48
+ workdir: .
49
+ eslint_flags: '. --cache'
43
50
 
44
51
  - name: Check types
45
52
  run: pnpm type-check
@@ -70,5 +77,5 @@ jobs:
70
77
  - name: Check formatting
71
78
  run: cargo +nightly fmt --manifest-path src-tauri/Cargo.toml -- --check
72
79
 
73
- - name: Check lint
80
+ - name: Check Clippy
74
81
  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: ${{ env.PNPM_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: ${{ env.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
  };
@@ -13,9 +13,11 @@
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 .",
19
21
  "lint:fix:oxlint": "oxlint --fix .",
20
22
  "lint:fix:eslint": "eslint --fix . --cache",
21
23
  "format": "oxfmt --check .",
@@ -393,48 +393,56 @@ packages:
393
393
  engines: {node: ^20.19.0 || >=22.12.0}
394
394
  cpu: [arm64]
395
395
  os: [linux]
396
+ libc: [glibc]
396
397
 
397
398
  '@oxfmt/binding-linux-arm64-musl@0.51.0':
398
399
  resolution: {integrity: sha512-KBUCdrH5bwVrAvI9gU/1S55oH6fzXjr++J/oVocdu7bYTks1l7DNNT+rLd/1TDdAEjObGwmfWamn7LC1m8A0DQ==}
399
400
  engines: {node: ^20.19.0 || >=22.12.0}
400
401
  cpu: [arm64]
401
402
  os: [linux]
403
+ libc: [musl]
402
404
 
403
405
  '@oxfmt/binding-linux-ppc64-gnu@0.51.0':
404
406
  resolution: {integrity: sha512-NapfjYsABFqTJ1Dn9Efq6sN5esaHconVKwVLbDGNQLrwpOx/g17mkwErHzU72PutL67nf3wNAkbq122H+zLxag==}
405
407
  engines: {node: ^20.19.0 || >=22.12.0}
406
408
  cpu: [ppc64]
407
409
  os: [linux]
410
+ libc: [glibc]
408
411
 
409
412
  '@oxfmt/binding-linux-riscv64-gnu@0.51.0':
410
413
  resolution: {integrity: sha512-5dlDt1dUZCVi6elIhiK1PWg9wpTzTcIuj0IZnSurvIoMrhOWqqTcc1dSTxcSkNaBZhfsNqRZdINI1zAgbKkJNQ==}
411
414
  engines: {node: ^20.19.0 || >=22.12.0}
412
415
  cpu: [riscv64]
413
416
  os: [linux]
417
+ libc: [glibc]
414
418
 
415
419
  '@oxfmt/binding-linux-riscv64-musl@0.51.0':
416
420
  resolution: {integrity: sha512-pgdWUJn0S5nulyiVdlFV8DzCUnGXkU99W5PSkkmbaZW+LrZBPxpezun4G0DDHbQaVYuJeCuKsXsGKGo77CkUTQ==}
417
421
  engines: {node: ^20.19.0 || >=22.12.0}
418
422
  cpu: [riscv64]
419
423
  os: [linux]
424
+ libc: [musl]
420
425
 
421
426
  '@oxfmt/binding-linux-s390x-gnu@0.51.0':
422
427
  resolution: {integrity: sha512-2XTFUe97CbDGAI8vjwDfZ1HdakO0XIADyJ24idEg64SC4/K4in/OisXVnrW4NMK7I6TgC7EqRhC0Ln/nKhAemA==}
423
428
  engines: {node: ^20.19.0 || >=22.12.0}
424
429
  cpu: [s390x]
425
430
  os: [linux]
431
+ libc: [glibc]
426
432
 
427
433
  '@oxfmt/binding-linux-x64-gnu@0.51.0':
428
434
  resolution: {integrity: sha512-kQ1OuCqqt/yyf0ZN9VFxW1/JnlgJgii3Dr7pWf9vNBvrX1hv6g39/+mc5oGRHRGJFZtl3zsGDWR9c5N2B/gwBw==}
429
435
  engines: {node: ^20.19.0 || >=22.12.0}
430
436
  cpu: [x64]
431
437
  os: [linux]
438
+ libc: [glibc]
432
439
 
433
440
  '@oxfmt/binding-linux-x64-musl@0.51.0':
434
441
  resolution: {integrity: sha512-ARTYqxHF475o96Gbn41hvSWSSRygPlRDXZZgZ9I2scU1y0qiWpCQyZCoefaQa0mwv+wwtZ+luS4YOzsRzM/izg==}
435
442
  engines: {node: ^20.19.0 || >=22.12.0}
436
443
  cpu: [x64]
437
444
  os: [linux]
445
+ libc: [musl]
438
446
 
439
447
  '@oxfmt/binding-openharmony-arm64@0.51.0':
440
448
  resolution: {integrity: sha512-QiC1XrCl6a6BmqMzduO8hdIRMf1m44hCkt2Q68KWkTvUB/E7fd2iomyNh6KnnRca5w6eBrRAAtLFqTh+xjsjJA==}
@@ -507,48 +515,56 @@ packages:
507
515
  engines: {node: ^20.19.0 || >=22.12.0}
508
516
  cpu: [arm64]
509
517
  os: [linux]
518
+ libc: [glibc]
510
519
 
511
520
  '@oxlint/binding-linux-arm64-musl@1.66.0':
512
521
  resolution: {integrity: sha512-hmo+ZB/lHkR1HdDmnziNpzSLmulnUSu10VEqX2Yex7OwvoBAbjJQLvy4gIBRV3AAwWnCvAxKp5Nv1GE6LU1QMg==}
513
522
  engines: {node: ^20.19.0 || >=22.12.0}
514
523
  cpu: [arm64]
515
524
  os: [linux]
525
+ libc: [musl]
516
526
 
517
527
  '@oxlint/binding-linux-ppc64-gnu@1.66.0':
518
528
  resolution: {integrity: sha512-2Invd4Uyy81mVooQC5FBtfxSNrvcX1OxbMlVQ6M2erRrNI2awFYF26YNW2yFxdVFZ4ffNOWKghtMjhnUPsXsVA==}
519
529
  engines: {node: ^20.19.0 || >=22.12.0}
520
530
  cpu: [ppc64]
521
531
  os: [linux]
532
+ libc: [glibc]
522
533
 
523
534
  '@oxlint/binding-linux-riscv64-gnu@1.66.0':
524
535
  resolution: {integrity: sha512-s0iXPDQVdgayE3RGa/N2DZF7tjgg0TwEtD1sGoDxqPDGrIXgo45H0yHknT0f9A0yteASsweYZtDyTuVlM4aSag==}
525
536
  engines: {node: ^20.19.0 || >=22.12.0}
526
537
  cpu: [riscv64]
527
538
  os: [linux]
539
+ libc: [glibc]
528
540
 
529
541
  '@oxlint/binding-linux-riscv64-musl@1.66.0':
530
542
  resolution: {integrity: sha512-OekL4XFiu7RPK0JIZi8VeHgtIXPREf42t8Cy/rKEsC+P3gcqDgNAAGiyuUOpdbG4wwbfue1q4CHcCO7spSve6w==}
531
543
  engines: {node: ^20.19.0 || >=22.12.0}
532
544
  cpu: [riscv64]
533
545
  os: [linux]
546
+ libc: [musl]
534
547
 
535
548
  '@oxlint/binding-linux-s390x-gnu@1.66.0':
536
549
  resolution: {integrity: sha512-Ga1D0kj1SFslm34ThA/BdkUlyAYEnTsXyRC4pF0C5agZSwtGdHYWMTQWemUfBGp4RCG4QWXgdO+HmmmKqOtlBg==}
537
550
  engines: {node: ^20.19.0 || >=22.12.0}
538
551
  cpu: [s390x]
539
552
  os: [linux]
553
+ libc: [glibc]
540
554
 
541
555
  '@oxlint/binding-linux-x64-gnu@1.66.0':
542
556
  resolution: {integrity: sha512-p5jfP1wUZe/IC3qpQO84n9DRnf9g3lKRtLBlQq23ykyrDglHcVx7sWmVTlPuU6SBw8mNnPzyOn022G3XZHnlww==}
543
557
  engines: {node: ^20.19.0 || >=22.12.0}
544
558
  cpu: [x64]
545
559
  os: [linux]
560
+ libc: [glibc]
546
561
 
547
562
  '@oxlint/binding-linux-x64-musl@1.66.0':
548
563
  resolution: {integrity: sha512-vUB/sYlYZorDL1ZD+o9mRv7zbsykrrFRtmgS6R8musZqLtrPRQn1gc1eGpuX+sfdccz42STl/AqldY6XRb2upQ==}
549
564
  engines: {node: ^20.19.0 || >=22.12.0}
550
565
  cpu: [x64]
551
566
  os: [linux]
567
+ libc: [musl]
552
568
 
553
569
  '@oxlint/binding-openharmony-arm64@1.66.0':
554
570
  resolution: {integrity: sha512-yde+6p/F59xRkGR9H1HfngWRif1QRJjynZK349l+UI0H6w9hL3G8/AVaTHFyTtLVQ56qtNbX2/5Dc77n1ovnOg==}
@@ -616,36 +632,42 @@ packages:
616
632
  engines: {node: ^20.19.0 || >=22.12.0}
617
633
  cpu: [arm64]
618
634
  os: [linux]
635
+ libc: [glibc]
619
636
 
620
637
  '@rolldown/binding-linux-arm64-musl@1.0.2':
621
638
  resolution: {integrity: sha512-QVLO/czFMdoMFSqlX3bcswcJNm/23r+qoa/jgtmFc/qEp6/jXmIkDjF/XIo8dPfGaiwy1xfQn8o77L79GeXFgw==}
622
639
  engines: {node: ^20.19.0 || >=22.12.0}
623
640
  cpu: [arm64]
624
641
  os: [linux]
642
+ libc: [musl]
625
643
 
626
644
  '@rolldown/binding-linux-ppc64-gnu@1.0.2':
627
645
  resolution: {integrity: sha512-hgO5Abm0w5UL6FEa2iFnZqo2KlK7TQ5QhV5x09hujBf7t5KzHQ1VmfPuTpqRy/rNlSxua3eWH374xxiVrP+lcA==}
628
646
  engines: {node: ^20.19.0 || >=22.12.0}
629
647
  cpu: [ppc64]
630
648
  os: [linux]
649
+ libc: [glibc]
631
650
 
632
651
  '@rolldown/binding-linux-s390x-gnu@1.0.2':
633
652
  resolution: {integrity: sha512-fy8rXxuYEu602abC8MUNaPjYLIFzReOaEIEMKMUa0rFEUxNpVXhs15KSSQ4qlqSaM7B6rcj9rDZgADh/IGDzLQ==}
634
653
  engines: {node: ^20.19.0 || >=22.12.0}
635
654
  cpu: [s390x]
636
655
  os: [linux]
656
+ libc: [glibc]
637
657
 
638
658
  '@rolldown/binding-linux-x64-gnu@1.0.2':
639
659
  resolution: {integrity: sha512-0+bOkiQ779+r1WpoHOWHqncvyySci0vKph+myNDYb+im6meJAzHQXay6oEgnkHuUGouM1LKTZwqKpBow6Kj7CQ==}
640
660
  engines: {node: ^20.19.0 || >=22.12.0}
641
661
  cpu: [x64]
642
662
  os: [linux]
663
+ libc: [glibc]
643
664
 
644
665
  '@rolldown/binding-linux-x64-musl@1.0.2':
645
666
  resolution: {integrity: sha512-mjSkrzZK5Qsl0a9d1JgILOiuZOSDTVdKENcSXBoqbzSrspLR/4/IRVDo5wd2GgZjNss/viBFJdeq+j7qH2nypw==}
646
667
  engines: {node: ^20.19.0 || >=22.12.0}
647
668
  cpu: [x64]
648
669
  os: [linux]
670
+ libc: [musl]
649
671
 
650
672
  '@rolldown/binding-openharmony-arm64@1.0.2':
651
673
  resolution: {integrity: sha512-1v5vHasdfQAZoEHakBV72LIFAC9JjnymsiKxp+GEr/ma3+NJCPSaYK+qavInOovJkgwFrs7GccX2d6IgDA3Z5w==}
@@ -711,24 +733,28 @@ packages:
711
733
  engines: {node: '>= 20'}
712
734
  cpu: [arm64]
713
735
  os: [linux]
736
+ libc: [glibc]
714
737
 
715
738
  '@tailwindcss/oxide-linux-arm64-musl@4.3.0':
716
739
  resolution: {integrity: sha512-Z6sukiQsngnWO+l39X4pPbiWT81IC+PLKF+PHxIlyZbGNb9MODfYlXEVlFvej5BOZInWX01kVyzeLvHsXhfczQ==}
717
740
  engines: {node: '>= 20'}
718
741
  cpu: [arm64]
719
742
  os: [linux]
743
+ libc: [musl]
720
744
 
721
745
  '@tailwindcss/oxide-linux-x64-gnu@4.3.0':
722
746
  resolution: {integrity: sha512-DRNdQRpSGzRGfARVuVkxvM8Q12nh19l4BF/G7zGA1oe+9wcC6saFBHTISrpIcKzhiXtSrlSrluCfvMuledoCTQ==}
723
747
  engines: {node: '>= 20'}
724
748
  cpu: [x64]
725
749
  os: [linux]
750
+ libc: [glibc]
726
751
 
727
752
  '@tailwindcss/oxide-linux-x64-musl@4.3.0':
728
753
  resolution: {integrity: sha512-Z0IADbDo8bh6I7h2IQMx601AdXBLfFpEdUotft86evd/8ZPflZe9COPO8Q1vw+pfLWIUo9zN/JGZvwuAJqduqg==}
729
754
  engines: {node: '>= 20'}
730
755
  cpu: [x64]
731
756
  os: [linux]
757
+ libc: [musl]
732
758
 
733
759
  '@tailwindcss/oxide-wasm32-wasi@4.3.0':
734
760
  resolution: {integrity: sha512-HNZGOUxEmElksYR7S6sC5jTeNGpobAsy9u7Gu0AskJ8/20FR9GqebUyB+HBcU/ax6BHuiuJi+Oda4B+YX6H1yA==}
@@ -789,30 +815,35 @@ packages:
789
815
  engines: {node: '>= 10'}
790
816
  cpu: [arm64]
791
817
  os: [linux]
818
+ libc: [glibc]
792
819
 
793
820
  '@tauri-apps/cli-linux-arm64-musl@2.11.2':
794
821
  resolution: {integrity: sha512-X1rm0BERqAAggtYTESSgXrS3sz4Sb/OiPiz54UqISlXW+GkR3vNIGnsy/lejNmoXGVqri3Q53BCfQiclOIyRPw==}
795
822
  engines: {node: '>= 10'}
796
823
  cpu: [arm64]
797
824
  os: [linux]
825
+ libc: [musl]
798
826
 
799
827
  '@tauri-apps/cli-linux-riscv64-gnu@2.11.2':
800
828
  resolution: {integrity: sha512-usbMLJbT3KtkOrBMDVeGYNM35aTHXx38SJSzTMSqqjeUIOQ+iVPjb2yAGNAE+KqmBbAx4FOFIyMeKXx2M/JKGQ==}
801
829
  engines: {node: '>= 10'}
802
830
  cpu: [riscv64]
803
831
  os: [linux]
832
+ libc: [glibc]
804
833
 
805
834
  '@tauri-apps/cli-linux-x64-gnu@2.11.2':
806
835
  resolution: {integrity: sha512-Ru4gwJKPG0ctVGchRGpRup4Y4lW2SSfFnrbQcyHhCliKy4g8Qz97TrUgCur4CbWyAgKxvGh3SjrkA0LDYzDGiw==}
807
836
  engines: {node: '>= 10'}
808
837
  cpu: [x64]
809
838
  os: [linux]
839
+ libc: [glibc]
810
840
 
811
841
  '@tauri-apps/cli-linux-x64-musl@2.11.2':
812
842
  resolution: {integrity: sha512-eUm7T6clN1MMmNSRQ9gaWsQdyehQx2Gmn5hht/QUlqZQI/qcP2OJK5dnaxqwFzCr2HdsEo9ydxaqcS1oJzMvUw==}
813
843
  engines: {node: '>= 10'}
814
844
  cpu: [x64]
815
845
  os: [linux]
846
+ libc: [musl]
816
847
 
817
848
  '@tauri-apps/cli-win32-arm64-msvc@2.11.2':
818
849
  resolution: {integrity: sha512-HeeZW80jU+gVTOEX4X/hC6NVSAdDVXajwP5fxIZ/3z9WvUC7qrudX2GMTilYq6Dg0e0sk0XgsAJD1hZ5wPBXUA==}
@@ -1487,24 +1518,28 @@ packages:
1487
1518
  engines: {node: '>= 12.0.0'}
1488
1519
  cpu: [arm64]
1489
1520
  os: [linux]
1521
+ libc: [glibc]
1490
1522
 
1491
1523
  lightningcss-linux-arm64-musl@1.32.0:
1492
1524
  resolution: {integrity: sha512-UpQkoenr4UJEzgVIYpI80lDFvRmPVg6oqboNHfoH4CQIfNA+HOrZ7Mo7KZP02dC6LjghPQJeBsvXhJod/wnIBg==}
1493
1525
  engines: {node: '>= 12.0.0'}
1494
1526
  cpu: [arm64]
1495
1527
  os: [linux]
1528
+ libc: [musl]
1496
1529
 
1497
1530
  lightningcss-linux-x64-gnu@1.32.0:
1498
1531
  resolution: {integrity: sha512-V7Qr52IhZmdKPVr+Vtw8o+WLsQJYCTd8loIfpDaMRWGUZfBOYEJeyJIkqGIDMZPwPx24pUMfwSxxI8phr/MbOA==}
1499
1532
  engines: {node: '>= 12.0.0'}
1500
1533
  cpu: [x64]
1501
1534
  os: [linux]
1535
+ libc: [glibc]
1502
1536
 
1503
1537
  lightningcss-linux-x64-musl@1.32.0:
1504
1538
  resolution: {integrity: sha512-bYcLp+Vb0awsiXg/80uCRezCYHNg1/l3mt0gzHnWV9XP1W5sKa5/TCdGWaR/zBM2PeF/HbsQv/j2URNOiVuxWg==}
1505
1539
  engines: {node: '>= 12.0.0'}
1506
1540
  cpu: [x64]
1507
1541
  os: [linux]
1542
+ libc: [musl]
1508
1543
 
1509
1544
  lightningcss-win32-arm64-msvc@1.32.0:
1510
1545
  resolution: {integrity: sha512-8SbC8BR40pS6baCM8sbtYDSwEVQd4JlFTOlaD3gWGHfThTcABnNDBda6eTZeqbofalIJhFx0qKzgHJmcPTnGdw==}