Skip to content

Commit

Permalink
refactor(cli): rewrite info in Rust (#1389)
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasfernog authored Mar 26, 2021
1 parent 30444dc commit c3e06ee
Show file tree
Hide file tree
Showing 14 changed files with 837 additions and 1,036 deletions.
6 changes: 6 additions & 0 deletions .changes/refactor-info.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"tauri-cli": minor
"tauri.js": minor
---

The `info` command was rewritten in Rust.
1 change: 0 additions & 1 deletion api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@
"eslint-plugin-node": "11.1.0",
"eslint-plugin-promise": "4.3.1",
"eslint-plugin-security": "1.4.0",
"lint-staged": "10.5.4",
"lockfile-lint": "4.6.2",
"lodash": "4.17.21",
"prettier": "2.2.1",
Expand Down
309 changes: 8 additions & 301 deletions api/yarn.lock

Large diffs are not rendered by default.

203 changes: 203 additions & 0 deletions cli/core/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions cli/core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ valico = "3.6"
handlebars = "3.5"
include_dir = "0.6"
dialoguer = "0.8"
ureq = "2.0"
os_info = "3.0"
semver = "0.11"
regex = "1.4"

[build-dependencies]
schemars = "0.8"
Expand Down
2 changes: 1 addition & 1 deletion cli/core/config_definition.rs
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ fn default_decorations() -> bool {
#[derive(Debug, Default, PartialEq, Clone, Deserialize, Serialize, JsonSchema)]
#[serde(rename_all = "camelCase", deny_unknown_fields)]
pub struct SecurityConfig {
csp: Option<String>,
pub csp: Option<String>,
}

trait Allowlist {
Expand Down
Loading

0 comments on commit c3e06ee

Please sign in to comment.