Skip to content

Commit c3e06ee

Browse files
authored
refactor(cli): rewrite info in Rust (#1389)
1 parent 30444dc commit c3e06ee

File tree

14 files changed

+837
-1036
lines changed

14 files changed

+837
-1036
lines changed

.changes/refactor-info.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
"tauri-cli": minor
3+
"tauri.js": minor
4+
---
5+
6+
The `info` command was rewritten in Rust.

api/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,6 @@
7171
"eslint-plugin-node": "11.1.0",
7272
"eslint-plugin-promise": "4.3.1",
7373
"eslint-plugin-security": "1.4.0",
74-
"lint-staged": "10.5.4",
7574
"lockfile-lint": "4.6.2",
7675
"lodash": "4.17.21",
7776
"prettier": "2.2.1",

api/yarn.lock

Lines changed: 8 additions & 301 deletions
Large diffs are not rendered by default.

cli/core/Cargo.lock

Lines changed: 203 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

cli/core/Cargo.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,10 @@ valico = "3.6"
2929
handlebars = "3.5"
3030
include_dir = "0.6"
3131
dialoguer = "0.8"
32+
ureq = "2.0"
33+
os_info = "3.0"
34+
semver = "0.11"
35+
regex = "1.4"
3236

3337
[build-dependencies]
3438
schemars = "0.8"

cli/core/config_definition.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ fn default_decorations() -> bool {
257257
#[derive(Debug, Default, PartialEq, Clone, Deserialize, Serialize, JsonSchema)]
258258
#[serde(rename_all = "camelCase", deny_unknown_fields)]
259259
pub struct SecurityConfig {
260-
csp: Option<String>,
260+
pub csp: Option<String>,
261261
}
262262

263263
trait Allowlist {

0 commit comments

Comments
 (0)