diff --git a/CHANGELOG.md b/CHANGELOG.md index d4b552b..e762419 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ ## [Unreleased] +## [0.19.0] - 2023-08-13 + +- Add new `--skip-ssl-verification`flag for use with `https` in dev for `--vite-css` [#78](https://github.com/avencera/rustywind/pull/78), thanks [@praveenperera](https://github.com/praveenperera) + ## [0.18.0] - 2023-08-11 - Add expiremental support for getting CSS order from a vite URL [#77](https://github.com/avencera/rustywind/pull/77), thanks [@praveenperera](https://github.com/praveenperera) diff --git a/Cargo.lock b/Cargo.lock index 0b09305..fcc64d7 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -696,7 +696,7 @@ dependencies = [ [[package]] name = "rustywind" -version = "0.18.0" +version = "0.19.0" dependencies = [ "aho-corasick", "clap", diff --git a/Cargo.toml b/Cargo.toml index c32a63e..f7012f1 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,7 +3,7 @@ authors = ["Praveen Perera "] edition = "2021" license = "Apache-2.0" name = "rustywind" -version = "0.18.0" +version = "0.19.0" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/README.MD b/README.MD index f24540c..265105e 100644 --- a/README.MD +++ b/README.MD @@ -108,11 +108,14 @@ Options: --vite-css When set RustyWind will determine the sort order by the order the class appear in the CSS file that vite generates. - - Please provide the full URL to the CSS file ex: `rustywind --vite-css http://127.0.0.1:5173/src/assets/main.css ./src --write` - + + Please provide the full URL to the CSS file ex: `rustywind --vite-css "http://127.0.0.1:5173/src/assets/main.css" . --dry-run` + Note: This option is experimental and may be removed in the future. + --skip-ssl-verification + When set, RustyWind will skip SSL verification for the vite_css option + --ignored-files When set, RustyWind will ignore this list of files diff --git a/npm/README.MD b/npm/README.MD index 76c8389..265105e 100644 --- a/npm/README.MD +++ b/npm/README.MD @@ -108,11 +108,14 @@ Options: --vite-css When set RustyWind will determine the sort order by the order the class appear in the CSS file that vite generates. - - Please provide the full URL to the CSS file ex: `http://127.0.0.1:5173/src/assets/main.css` - + + Please provide the full URL to the CSS file ex: `rustywind --vite-css "http://127.0.0.1:5173/src/assets/main.css" . --dry-run` + Note: This option is experimental and may be removed in the future. + --skip-ssl-verification + When set, RustyWind will skip SSL verification for the vite_css option + --ignored-files When set, RustyWind will ignore this list of files diff --git a/src/main.rs b/src/main.rs index 9881861..f22bd43 100644 --- a/src/main.rs +++ b/src/main.rs @@ -70,7 +70,7 @@ pub struct Cli { output_css_file: Option, /// When set RustyWind will determine the sort order by the order the class appear in the CSS file that vite generates. /// - /// Please provide the full URL to the CSS file ex: `http://127.0.0.1:5173/src/assets/main.css` + /// Please provide the full URL to the CSS file ex: `rustywind --vite-css "http://127.0.0.1:5173/src/assets/main.css" . --dry-run` /// /// Note: This option is experimental and may be removed in the future. #[arg(long, conflicts_with_all = &["config_file", "output_css_file"])] @@ -80,7 +80,7 @@ pub struct Cli { #[arg(long, conflicts_with_all = &["config_file", "output_css_file"])] skip_ssl_verification: bool, - /// When set, RustyWind will ignore this list of files.k + /// When set, RustyWind will ignore this list of files #[arg(long)] ignored_files: Option>, /// Uses a custom regex instead of default one.