create-tauri-ui 0.1.1 → 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.1",
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",
@@ -14,7 +14,8 @@
14
14
  "prepublishOnly": "npm run build",
15
15
  "format": "npx prettier --write . --ignore-path .gitignore ",
16
16
  "taze": "taze minor -r -w -i false",
17
- "taze:major": "taze major -r -w -i false"
17
+ "taze:major": "taze major -r -w -i false",
18
+ "updatesub": "git submodule update --init --recursive --remote"
18
19
  },
19
20
  "bin": {
20
21
  "create-tauri-ui": "index.js"
@@ -4,15 +4,23 @@
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
 
11
+ Use [create-tauri-ui](https://github.com/agmmnn/create-tauri-ui) to quickly scaffold a Tauri UI project.
12
+
13
+ ```bash
14
+ npm create tauri-ui
9
15
  ```
16
+
17
+ Or clone the repository:
18
+
19
+ ```bash
10
20
  gh repo clone agmmnn/tauri-ui
11
21
  cd tauri-ui
12
- pnpm i
13
- ```
14
22
 
15
- ```
23
+ pnpm i
16
24
  pnpm tauri dev
17
25
  pnpm tauri build
18
26
  ```
@@ -24,15 +32,13 @@ pnpm tauri build
24
32
  - A draggable titlebar with minimize, maximize, and close buttons
25
33
  - [Radix UI](https://www.radix-ui.com/) for UI primitives
26
34
  - [Lucide Icons](https://lucide.dev/)
27
- - [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)
28
36
  - [Tauri GitHub Action](https://github.com/tauri-apps/tauri-action)
29
37
 
30
- > _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)
31
39
 
32
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._
33
41
 
34
- ![tauri-ui](https://user-images.githubusercontent.com/16024979/232823230-19d22434-8e28-43c2-bb70-e45a2fc2da88.gif)
35
-
36
42
  ## Customization
37
43
 
38
44
  The template can be customized by editing the following files:
@@ -51,13 +57,13 @@ Note that **shadcn/ui** [is not a library](https://ui.shadcn.com/docs#faqs), the
51
57
  ```js
52
58
  .
53
59
  ├── next-env.d.ts
54
- ├── 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
55
61
  ├── package.json
56
62
  ├── postcss.config.js
57
63
  ├── README.md
58
64
  ├── public
59
65
  ├── src //frontend src:
60
- │ ├── 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
61
67
  │ ├── assets
62
68
  │ ├── components //from shadcn/ui
63
69
  │ │ └── ui
@@ -70,7 +76,7 @@ Note that **shadcn/ui** [is not a library](https://ui.shadcn.com/docs#faqs), the
70
76
  │ ├── Cargo.lock
71
77
  │ ├── Cargo.toml //https://doc.rust-lang.org/cargo/reference/manifest.html
72
78
  │ ├── icons //https://tauri.app/v1/guides/features/icons/
73
- │ ├── src //rust codes
79
+ │ ├── src
74
80
  │ └── tauri.conf.json //tauri config file https://next--tauri.netlify.app/next/api/config
75
81
  ├── prettier.config.js //prettier config file https://prettier.io/docs/en/configuration.html
76
82
  ├── tailwind.config.js //tailwind config file https://tailwindcss.com/docs/configuration
@@ -14,50 +14,50 @@
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",
48
- "@tauri-apps/plugin-window": "github:tauri-apps/tauri-plugin-window#v2",
48
+ "@tauri-apps/plugin-window": "2.0.0-alpha.0",
49
49
  "class-variance-authority": "^0.6.0",
50
50
  "clsx": "^1.2.1",
51
51
  "cmdk": "^0.2.0",
52
52
  "date-fns": "^2.30.0",
53
- "lucide-react": "^0.220.0",
53
+ "lucide-react": "^0.221.0",
54
54
  "nanoid": "^4.0.2",
55
- "next": "^13.4.4-canary.1",
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,10 +65,10 @@
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",
71
- "@types/react": "^18.2.6",
70
+ "@types/node": "^20.2.5",
71
+ "@types/react": "^18.2.7",
72
72
  "@types/react-dom": "^18.2.4",
73
73
  "autoprefixer": "^10.4.14",
74
74
  "postcss": "^8.4.23",