mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-06-06 13:53:54 +02:00
chore: adjust prettier config, .gitignore and use taplo to format toml files (#1728)
* chore: adjust prettier config, .gitignore and use taplo to format toml files This brings the plugins-workspace repository to the same code style of the main tauri repo * format toml * ignore examples gen dir * add .vscode/extensions.json * remove packageManager field * fmt * fix audit * taplo ignore permissions autogenerated files * remove create dummy dist * fix prettier workflow * install fmt in prettier workflow --------- Co-authored-by: Lucas Nogueira <lucas@tauri.app>
This commit is contained in:
@@ -20,4 +20,4 @@ path = "$APPLOCALDATA"
|
||||
path = "$APPCACHE"
|
||||
|
||||
[[permission.scope.allow]]
|
||||
path = "$APPLOG"
|
||||
path = "$APPLOG"
|
||||
|
||||
@@ -28,7 +28,7 @@ On Windows the webview data folder access is denied.
|
||||
|
||||
"""
|
||||
permissions = [
|
||||
"create-app-specific-dirs",
|
||||
"read-app-specific-dirs-recursive",
|
||||
"deny-default",
|
||||
"create-app-specific-dirs",
|
||||
"read-app-specific-dirs-recursive",
|
||||
"deny-default",
|
||||
]
|
||||
|
||||
@@ -4,18 +4,18 @@
|
||||
identifier = "read-all"
|
||||
description = "This enables all read related commands without any pre-configured accessible paths."
|
||||
commands.allow = [
|
||||
"read_dir",
|
||||
"read_file",
|
||||
"read",
|
||||
"open",
|
||||
"read_text_file",
|
||||
"read_text_file_lines",
|
||||
"read_text_file_lines_next",
|
||||
"seek",
|
||||
"stat",
|
||||
"lstat",
|
||||
"fstat",
|
||||
"exists",
|
||||
"watch",
|
||||
"unwatch",
|
||||
"read_dir",
|
||||
"read_file",
|
||||
"read",
|
||||
"open",
|
||||
"read_text_file",
|
||||
"read_text_file_lines",
|
||||
"read_text_file_lines_next",
|
||||
"seek",
|
||||
"stat",
|
||||
"lstat",
|
||||
"fstat",
|
||||
"exists",
|
||||
"watch",
|
||||
"unwatch",
|
||||
]
|
||||
|
||||
@@ -7,12 +7,12 @@ This permission allows recursive read functionality on the application
|
||||
specific base directories.
|
||||
"""
|
||||
commands.allow = [
|
||||
"read_dir",
|
||||
"read_file",
|
||||
"read_text_file",
|
||||
"read_text_file_lines",
|
||||
"read_text_file_lines_next",
|
||||
"exists",
|
||||
"read_dir",
|
||||
"read_file",
|
||||
"read_text_file",
|
||||
"read_text_file_lines",
|
||||
"read_text_file_lines_next",
|
||||
"exists",
|
||||
]
|
||||
|
||||
[[permission.scope.allow]]
|
||||
@@ -28,4 +28,4 @@ path = "$APPLOCALDATA/**"
|
||||
path = "$APPCACHE/**"
|
||||
|
||||
[[permission.scope.allow]]
|
||||
path = "$APPLOG/**"
|
||||
path = "$APPLOG/**"
|
||||
|
||||
@@ -4,16 +4,16 @@
|
||||
identifier = "read-files"
|
||||
description = "This enables file read related commands without any pre-configured accessible paths."
|
||||
commands.allow = [
|
||||
"read_file",
|
||||
"read",
|
||||
"open",
|
||||
"read_text_file",
|
||||
"read_text_file_lines",
|
||||
"read_text_file_lines_next",
|
||||
"seek",
|
||||
"stat",
|
||||
"lstat",
|
||||
"fstat",
|
||||
"exists",
|
||||
"read_file",
|
||||
"read",
|
||||
"open",
|
||||
"read_text_file",
|
||||
"read_text_file_lines",
|
||||
"read_text_file_lines_next",
|
||||
"seek",
|
||||
"stat",
|
||||
"lstat",
|
||||
"fstat",
|
||||
"exists",
|
||||
|
||||
]
|
||||
|
||||
@@ -4,14 +4,14 @@
|
||||
identifier = "write-all"
|
||||
description = "This enables all write related commands without any pre-configured accessible paths."
|
||||
commands.allow = [
|
||||
"mkdir",
|
||||
"create",
|
||||
"copy_file",
|
||||
"remove",
|
||||
"rename",
|
||||
"truncate",
|
||||
"ftruncate",
|
||||
"write",
|
||||
"write_file",
|
||||
"write_text_file",
|
||||
"mkdir",
|
||||
"create",
|
||||
"copy_file",
|
||||
"remove",
|
||||
"rename",
|
||||
"truncate",
|
||||
"ftruncate",
|
||||
"write",
|
||||
"write_file",
|
||||
"write_text_file",
|
||||
]
|
||||
|
||||
@@ -4,13 +4,13 @@
|
||||
identifier = "write-files"
|
||||
description = "This enables all file write related commands without any pre-configured accessible paths."
|
||||
commands.allow = [
|
||||
"create",
|
||||
"copy_file",
|
||||
"remove",
|
||||
"rename",
|
||||
"truncate",
|
||||
"ftruncate",
|
||||
"write",
|
||||
"write_file",
|
||||
"write_text_file",
|
||||
"create",
|
||||
"copy_file",
|
||||
"remove",
|
||||
"rename",
|
||||
"truncate",
|
||||
"ftruncate",
|
||||
"write",
|
||||
"write_file",
|
||||
"write_text_file",
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user