create-tauri-ui 0.1.2 → 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": "create-tauri-ui",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "description": "Create modern Tauri desktop apps with ease using shadcn/ui, Next.js & Vite in just a few simple steps.",
5
5
  "main": "index.js",
6
6
  "author": "agmmnn",
@@ -4,15 +4,17 @@
4
4
 
5
5
  Tauri UI Template is a starting point for building modern desktop applications with web technologies. Customizable UI components with [shadcn/ui](https://github.com/shadcn/ui), a lightweight and secure desktop app framework [Tauri 2](https://github.com/tauri-apps/tauri), the React-based framework [Next.js 13](https://beta.nextjs.org/docs), the utility-first CSS framework [Tailwind](https://tailwindcss.com/).
6
6
 
7
+ > _You can download pre-built final bundles from the [Releases](https://github.com/agmmnn/tauri-ui/releases) section._
8
+
7
9
  ## Getting Started
8
10
 
9
11
  Use [create-tauri-ui](https://github.com/agmmnn/create-tauri-ui) to quickly scaffold a Tauri UI project.
10
12
 
11
13
  ```bash
12
- pnpm create tauri-ui
14
+ npm create tauri-ui
13
15
  ```
14
16
 
15
- Or Cloning the Repository:
17
+ Or clone the repository:
16
18
 
17
19
  ```bash
18
20
  gh repo clone agmmnn/tauri-ui
@@ -30,15 +32,13 @@ pnpm tauri build
30
32
  - A draggable titlebar with minimize, maximize, and close buttons
31
33
  - [Radix UI](https://www.radix-ui.com/) for UI primitives
32
34
  - [Lucide Icons](https://lucide.dev/)
33
- - [Bundle size optimized](https://github.com/johnthagen/min-sized-rust) [`Cargo.toml`](/src-tauri/Cargo.toml) (.exe 3mb, .msi 2mb)
35
+ - [Bundle size optimized](https://github.com/johnthagen/min-sized-rust) [`Cargo.toml`](/src-tauri/Cargo.toml) (.msi 2.2mb, .dmg 1.9mb, .deb 2mb)
34
36
  - [Tauri GitHub Action](https://github.com/tauri-apps/tauri-action)
35
37
 
36
- > _You can download pre-built final bundles from the [Releases](https://github.com/agmmnn/tauri-ui/releases) section._
38
+ ![tauri-ui](https://user-images.githubusercontent.com/16024979/232823230-19d22434-8e28-43c2-bb70-e45a2fc2da88.gif)
37
39
 
38
40
  > _[Next.js](https://nextjs.org/) is used in this template to facilitate quick integration of the [`/examples`](https://github.com/shadcn/ui/tree/main/apps/www/app/examples) directory of shadcn/ui. You can also easily use shadcn/ui with the [React + Vite](https://tauri.app/v1/guides/getting-started/setup/vite/) stack and any [React router library](https://react.libhunt.com/libs/router) (optionally) in Tauri._
39
41
 
40
- ![tauri-ui](https://user-images.githubusercontent.com/16024979/232823230-19d22434-8e28-43c2-bb70-e45a2fc2da88.gif)
41
-
42
42
  ## Customization
43
43
 
44
44
  The template can be customized by editing the following files:
@@ -57,13 +57,13 @@ Note that **shadcn/ui** [is not a library](https://ui.shadcn.com/docs#faqs), the
57
57
  ```js
58
58
  .
59
59
  ├── next-env.d.ts
60
- ├── next.config.js //nextjs config file https://nextjs.org/docs/api-reference/next.config.js/introduction
60
+ ├── next.config.js //nextjs config file https://nextjs.org/docs/pages/api-reference/next-config-js
61
61
  ├── package.json
62
62
  ├── postcss.config.js
63
63
  ├── README.md
64
64
  ├── public
65
65
  ├── src //frontend src:
66
- │ ├── app //next.js appdir https://beta.nextjs.org/docs/routing/fundamentals
66
+ │ ├── app //next.js appdir https://nextjs.org/docs/app/building-your-application/routing
67
67
  │ ├── assets
68
68
  │ ├── components //from shadcn/ui
69
69
  │ │ └── ui
@@ -76,7 +76,7 @@ Note that **shadcn/ui** [is not a library](https://ui.shadcn.com/docs#faqs), the
76
76
  │ ├── Cargo.lock
77
77
  │ ├── Cargo.toml //https://doc.rust-lang.org/cargo/reference/manifest.html
78
78
  │ ├── icons //https://tauri.app/v1/guides/features/icons/
79
- │ ├── src //rust codes
79
+ │ ├── src
80
80
  │ └── tauri.conf.json //tauri config file https://next--tauri.netlify.app/next/api/config
81
81
  ├── prettier.config.js //prettier config file https://prettier.io/docs/en/configuration.html
82
82
  ├── tailwind.config.js //tailwind config file https://tailwindcss.com/docs/configuration
@@ -14,34 +14,34 @@
14
14
  "dependencies": {
15
15
  "@faker-js/faker": "^8.0.1",
16
16
  "@hookform/resolvers": "^3.1.0",
17
- "@radix-ui/react-accessible-icon": "^1.0.2",
18
- "@radix-ui/react-accordion": "^1.1.1",
19
- "@radix-ui/react-alert-dialog": "^1.0.3",
20
- "@radix-ui/react-aspect-ratio": "^1.0.2",
21
- "@radix-ui/react-avatar": "^1.0.2",
22
- "@radix-ui/react-checkbox": "^1.0.3",
23
- "@radix-ui/react-collapsible": "^1.0.2",
24
- "@radix-ui/react-context-menu": "^2.1.3",
25
- "@radix-ui/react-dialog": "^1.0.3",
26
- "@radix-ui/react-dropdown-menu": "^2.0.4",
27
- "@radix-ui/react-hover-card": "^1.0.5",
28
- "@radix-ui/react-label": "^2.0.1",
29
- "@radix-ui/react-menubar": "^1.0.2",
30
- "@radix-ui/react-navigation-menu": "^1.1.2",
31
- "@radix-ui/react-popover": "^1.0.5",
32
- "@radix-ui/react-progress": "^1.0.2",
33
- "@radix-ui/react-radio-group": "^1.1.2",
34
- "@radix-ui/react-scroll-area": "^1.0.3",
35
- "@radix-ui/react-select": "^1.2.1",
36
- "@radix-ui/react-separator": "^1.0.2",
37
- "@radix-ui/react-slider": "^1.1.1",
38
- "@radix-ui/react-slot": "^1.0.1",
39
- "@radix-ui/react-switch": "^1.0.2",
40
- "@radix-ui/react-tabs": "^1.0.3",
41
- "@radix-ui/react-toast": "^1.1.3",
42
- "@radix-ui/react-toggle": "^1.0.2",
43
- "@radix-ui/react-toggle-group": "^1.0.3",
44
- "@radix-ui/react-tooltip": "^1.0.5",
17
+ "@radix-ui/react-accessible-icon": "^1.0.3",
18
+ "@radix-ui/react-accordion": "^1.1.2",
19
+ "@radix-ui/react-alert-dialog": "^1.0.4",
20
+ "@radix-ui/react-aspect-ratio": "^1.0.3",
21
+ "@radix-ui/react-avatar": "^1.0.3",
22
+ "@radix-ui/react-checkbox": "^1.0.4",
23
+ "@radix-ui/react-collapsible": "^1.0.3",
24
+ "@radix-ui/react-context-menu": "^2.1.4",
25
+ "@radix-ui/react-dialog": "^1.0.4",
26
+ "@radix-ui/react-dropdown-menu": "^2.0.5",
27
+ "@radix-ui/react-hover-card": "^1.0.6",
28
+ "@radix-ui/react-label": "^2.0.2",
29
+ "@radix-ui/react-menubar": "^1.0.3",
30
+ "@radix-ui/react-navigation-menu": "^1.1.3",
31
+ "@radix-ui/react-popover": "^1.0.6",
32
+ "@radix-ui/react-progress": "^1.0.3",
33
+ "@radix-ui/react-radio-group": "^1.1.3",
34
+ "@radix-ui/react-scroll-area": "^1.0.4",
35
+ "@radix-ui/react-select": "^1.2.2",
36
+ "@radix-ui/react-separator": "^1.0.3",
37
+ "@radix-ui/react-slider": "^1.1.2",
38
+ "@radix-ui/react-slot": "^1.0.2",
39
+ "@radix-ui/react-switch": "^1.0.3",
40
+ "@radix-ui/react-tabs": "^1.0.4",
41
+ "@radix-ui/react-toast": "^1.1.4",
42
+ "@radix-ui/react-toggle": "^1.0.3",
43
+ "@radix-ui/react-toggle-group": "^1.0.4",
44
+ "@radix-ui/react-tooltip": "^1.0.6",
45
45
  "@tailwindcss/line-clamp": "^0.4.4",
46
46
  "@tanstack/react-table": "^8.9.1",
47
47
  "@tauri-apps/api": "2.0.0-alpha.4",
@@ -52,12 +52,12 @@
52
52
  "date-fns": "^2.30.0",
53
53
  "lucide-react": "^0.221.0",
54
54
  "nanoid": "^4.0.2",
55
- "next": "^13.4.4-canary.10",
55
+ "next": "^13.4.4",
56
56
  "next-themes": "^0.2.1",
57
57
  "react": "^18.2.0",
58
58
  "react-day-picker": "^8.7.1",
59
59
  "react-dom": "^18.2.0",
60
- "react-hook-form": "^7.43.9",
60
+ "react-hook-form": "^7.44.1",
61
61
  "react-wrap-balancer": "^0.5.0",
62
62
  "recharts": "^2.6.2",
63
63
  "tailwind-merge": "^1.12.0",
@@ -65,9 +65,9 @@
65
65
  "zod": "^3.21.4"
66
66
  },
67
67
  "devDependencies": {
68
- "@ianvs/prettier-plugin-sort-imports": "^3.7.2",
68
+ "@ianvs/prettier-plugin-sort-imports": "^4.0.0",
69
69
  "@tauri-apps/cli": "2.0.0-alpha.9",
70
- "@types/node": "^20.2.3",
70
+ "@types/node": "^20.2.5",
71
71
  "@types/react": "^18.2.7",
72
72
  "@types/react-dom": "^18.2.4",
73
73
  "autoprefixer": "^10.4.14",