create-tauri-vue-app 0.0.4 → 0.0.6

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-vue-app",
3
- "version": "0.0.4",
3
+ "version": "0.0.6",
4
4
  "description": "Scaffold a new Tauri + Vue desktop application",
5
5
  "type": "module",
6
6
  "bin": {
@@ -15,6 +15,10 @@
15
15
  "scaffold",
16
16
  "template"
17
17
  ],
18
+ "files": [
19
+ "template",
20
+ "template/.gitignore"
21
+ ],
18
22
  "author": "",
19
23
  "license": "MIT"
20
24
  }
@@ -0,0 +1,25 @@
1
+ # Logs
2
+ logs
3
+ *.log
4
+ npm-debug.log*
5
+ yarn-debug.log*
6
+ yarn-error.log*
7
+ pnpm-debug.log*
8
+ lerna-debug.log*
9
+
10
+ node_modules
11
+ dist
12
+ dist-ssr
13
+ target
14
+ *.local
15
+
16
+ # Editor directories and files
17
+ .vscode/*
18
+ !.vscode/extensions.json
19
+ .idea
20
+ .DS_Store
21
+ *.suo
22
+ *.ntvs*
23
+ *.njsproj
24
+ *.sln
25
+ *.sw?
@@ -0,0 +1,8 @@
1
+ # 前端编码规范
2
+ 1. 尽量复用 element plus 组件进行 UI 开发
3
+ 2. 页面开发要尽量分模块,不要全部写到一个 Vue 文件里面
4
+
5
+ # 后端编码规范
6
+ 1. 写 Tauri Command 的时候要根据功能的相关性拆分到不同的文件里面,不要全部写到 lib.rs
7
+ 2. 后端开发尽量不要使用平台相关的命令行工具,而应该使用 Rust 跨平台的库来实现对应的逻辑
8
+ 3. 每次完成一个后端功能后,都要写相关的单元测试
@@ -1,8 +0,0 @@
1
- {
2
- "permissions": {
3
- "allow": [
4
- "Bash(git add:*)",
5
- "Bash(git commit:*)"
6
- ]
7
- }
8
- }