From 7a514b89ef6ffcba15decf2550a73826cc242051 Mon Sep 17 00:00:00 2001 From: David Sherret Date: Fri, 21 Aug 2026 15:41:55 -0400 Subject: [PATCH 1/3] fix(BREAKING): remove anyhow --- Cargo.toml | 3 +-- src/format_text.rs | 7 +++---- src/wasm_plugin.rs | 2 +- tests/test.rs | 4 ++-- 4 files changed, 7 insertions(+), 9 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 982aaf9..f88578a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -24,12 +24,11 @@ panic = "abort" wasm = ["serde_json", "dprint-core/wasm"] [dependencies] -anyhow = "1.0.51" dprint-core = { version = "0.69.1", default-features = false } serde = { version = "1.0.88", features = ["derive"] } serde_json = { version = "1.0", optional = true } sqlformat = "0.5.0" [dev-dependencies] -dprint-development = "0.10.1" +dprint-development = "0.11.0" serde_json = { version = "1.0" } diff --git a/src/format_text.rs b/src/format_text.rs index 36e7845..5594431 100644 --- a/src/format_text.rs +++ b/src/format_text.rs @@ -1,14 +1,13 @@ use super::configuration::Configuration; use super::configuration::UppercaseKind; -use anyhow::Result; use dprint_core::configuration::resolve_new_line_kind; use sqlformat::FormatOptions; use sqlformat::Indent; use sqlformat::QueryParams; use std::path::Path; -pub fn format_text(_file_path: &Path, text: &str, config: &Configuration) -> Result> { +pub fn format_text(_file_path: &Path, text: &str, config: &Configuration) -> Option { let input_text = text; let text = sqlformat::format( text, @@ -53,8 +52,8 @@ pub fn format_text(_file_path: &Path, text: &str, config: &Configuration) -> Res }; if text == input_text { - Ok(None) + None } else { - Ok(Some(text)) + Some(text) } } diff --git a/src/wasm_plugin.rs b/src/wasm_plugin.rs index 021c67a..59dffa9 100644 --- a/src/wasm_plugin.rs +++ b/src/wasm_plugin.rs @@ -65,7 +65,7 @@ impl SyncPluginHandler for SqlPluginHandler { } let text = String::from_utf8_lossy(&request.file_bytes); - let maybe_text = super::format_text(request.file_path, &text, request.config).map_err(FormatError::new)?; + let maybe_text = super::format_text(request.file_path, &text, request.config); Ok(maybe_text.map(|t| t.into_bytes())) } } diff --git a/tests/test.rs b/tests/test.rs index 49a1ec6..c092d98 100644 --- a/tests/test.rs +++ b/tests/test.rs @@ -29,7 +29,7 @@ fn test_specs() { let config_result = resolve_config(spec_config, &global_config); ensure_no_diagnostics(&config_result.diagnostics); - format_text(file_path, &file_text, &config_result.config) + Ok(format_text(file_path, &file_text, &config_result.config)) }) }, Arc::new(move |_file_path, _file_text, _spec_config| panic!("Plugin does not support dprint-core tracing.")), @@ -41,5 +41,5 @@ fn should_handle_windows_newlines() { let config = ConfigurationBuilder::new().build(); let file_text = format_text(&PathBuf::from("file.sql"), "SELECT * FROM dbo.Test\r\n", &config).unwrap(); - assert_eq!(file_text.unwrap(), "SELECT\n *\nFROM\n dbo.Test\n"); + assert_eq!(file_text, "SELECT\n *\nFROM\n dbo.Test\n"); } From 9e1a64a0a2572cee89ee0aaa5e3c0a53a3504759 Mon Sep 17 00:00:00 2001 From: David Sherret Date: Fri, 21 Aug 2026 15:46:05 -0400 Subject: [PATCH 2/3] chore: commit Cargo.lock and format scripts/update.ts --- .gitignore | 1 - Cargo.lock | 473 ++++++++++++++++++++++++++++++++++++++++++++++ scripts/update.ts | 6 +- 3 files changed, 478 insertions(+), 2 deletions(-) create mode 100644 Cargo.lock diff --git a/.gitignore b/.gitignore index 37f8a93..9254077 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,4 @@ .claude /target -Cargo.lock deployment/npm/plugin.wasm deployment/npm/node_modules diff --git a/Cargo.lock b/Cargo.lock new file mode 100644 index 0000000..319c826 --- /dev/null +++ b/Cargo.lock @@ -0,0 +1,473 @@ +# This file is automatically @generated by Cargo. +# It is not intended for manual editing. +version = 4 + +[[package]] +name = "aho-corasick" +version = "1.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c982642fa9e8606056828ee9a8505737230110bb1099153c79efe865c59d12ba" +dependencies = [ + "memchr", +] + +[[package]] +name = "anyhow" +version = "1.0.104" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "330a5ed07fa54e4702c9d6c4174f74427fc0ef6e214bbd677ae50a5099946470" + +[[package]] +name = "bitflags" +version = "2.13.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b588b76d00fde79687d7646a9b5bdf3cc0f655e0bbd080335a95d7e96f3587da" + +[[package]] +name = "cfg-if" +version = "1.0.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9330f8b2ff13f34540b44e946ef35111825727b38d33286ef986142615121801" + +[[package]] +name = "console" +version = "0.16.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4fe5f465a4f6fee88fad41b85d990f84c835335e85b5d9e6e63e0d06d28cba7c" +dependencies = [ + "encode_unicode", + "libc", + "unicode-width", + "windows-sys", +] + +[[package]] +name = "crossbeam-channel" +version = "0.5.16" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d85363c37faeca707aef026efa9f3b34d077bce547e48f770770625c6013679e" +dependencies = [ + "crossbeam-utils", +] + +[[package]] +name = "crossbeam-deque" +version = "0.8.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5181e0de7b61eb03a81e347d6dd8797bae9da5146707b51077e2d71a54ec0ceb" +dependencies = [ + "crossbeam-epoch", + "crossbeam-utils", +] + +[[package]] +name = "crossbeam-epoch" +version = "0.9.20" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2d6914041f254d6e9176c01941b21115dcfb7089e55135a35411081bd106ef3f" +dependencies = [ + "crossbeam-utils", +] + +[[package]] +name = "crossbeam-utils" +version = "0.8.22" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "61803da095bee82a81bb1a452ecc25d3b2f1416d1897eb86430c6159ef717c17" + +[[package]] +name = "deno_terminal" +version = "0.2.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f3ba8041ae7319b3ca6a64c399df4112badcbbe0868b4517637647614bede4be" +dependencies = [ + "once_cell", + "termcolor", +] + +[[package]] +name = "dprint-core" +version = "0.69.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "67359cea061dd052fca921d3589a9ce59bc16fa23bfb9d06d5c669a1dbd23915" +dependencies = [ + "indexmap", + "serde", + "serde_json", + "thiserror", +] + +[[package]] +name = "dprint-development" +version = "0.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "90b3b095f94733262261bfeb860a6550e1d656dd108240c43004bd0f1b419837" +dependencies = [ + "console", + "file_test_runner", + "serde_json", + "similar", +] + +[[package]] +name = "dprint-plugin-sql" +version = "0.3.0" +dependencies = [ + "dprint-core", + "dprint-development", + "serde", + "serde_json", + "sqlformat", +] + +[[package]] +name = "either" +version = "1.18.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "252afb9ae5eaa683babdc6a068b3f5726eb19e05070c731f9b2a23a7c3e8ed34" + +[[package]] +name = "encode_unicode" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "34aa73646ffb006b8f5147f3dc182bd4bcb190227ce861fc4a4844bf8e3cb2c0" + +[[package]] +name = "equivalent" +version = "1.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "877a4ace8713b0bcf2a4e7eec82529c029f1d0619886d18145fea96c3ffe5c0f" + +[[package]] +name = "file_test_runner" +version = "0.12.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "aab2ea62262e650557af93e48bfb0ffbcf3b6d86af4b9fea1aa00f93821b69a9" +dependencies = [ + "anyhow", + "crossbeam-channel", + "deno_terminal", + "parking_lot", + "rayon", + "regex", + "thiserror", +] + +[[package]] +name = "hashbrown" +version = "0.17.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ed5909b6e89a2db4456e54cd5f673791d7eca6732202bbf2a9cc504fe2f9b84a" + +[[package]] +name = "indexmap" +version = "2.14.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d466e9454f08e4a911e14806c24e16fba1b4c121d1ea474396f396069cf949d9" +dependencies = [ + "equivalent", + "hashbrown", + "serde", + "serde_core", +] + +[[package]] +name = "itoa" +version = "1.0.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8f42a60cbdf9a97f5d2305f08a87dc4e09308d1276d28c869c684d7777685682" + +[[package]] +name = "libc" +version = "0.2.189" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3eaf3ede3fee6db1a4c2ee091bf8a8b4dccdc6d17f656fb07896ee72867612f2" + +[[package]] +name = "lock_api" +version = "0.4.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "224399e74b87b5f3557511d98dff8b14089b3dadafcab6bb93eab67d3aace965" +dependencies = [ + "scopeguard", +] + +[[package]] +name = "memchr" +version = "2.8.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cf8baf1c55e62ffcace7a9f06f4bd9cd3f0c4beb022d3b367256b91b87513d98" + +[[package]] +name = "once_cell" +version = "1.21.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9f7c3e4beb33f85d45ae3e3a1792185706c8e16d043238c593331cc7cd313b50" + +[[package]] +name = "parking_lot" +version = "0.12.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "93857453250e3077bd71ff98b6a65ea6621a19bb0f559a85248955ac12c45a1a" +dependencies = [ + "lock_api", + "parking_lot_core", +] + +[[package]] +name = "parking_lot_core" +version = "0.9.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2621685985a2ebf1c516881c026032ac7deafcda1a2c9b7850dc81e3dfcb64c1" +dependencies = [ + "cfg-if", + "libc", + "redox_syscall", + "smallvec", + "windows-link", +] + +[[package]] +name = "proc-macro2" +version = "1.0.107" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "985e7ec9bb745e6ce6535b544d84d6cd6f7ad8bd711c398938ae983b91a766d9" +dependencies = [ + "unicode-ident", +] + +[[package]] +name = "quote" +version = "1.0.47" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1fbf4db142a473a8d80c26bbf18454ed458bf8d26c8219c331daecfdbd079001" +dependencies = [ + "proc-macro2", +] + +[[package]] +name = "rayon" +version = "1.12.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fb39b166781f92d482534ef4b4b1b2568f42613b53e5b6c160e24cfbfa30926d" +dependencies = [ + "either", + "rayon-core", +] + +[[package]] +name = "rayon-core" +version = "1.13.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "22e18b0f0062d30d4230b2e85ff77fdfe4326feb054b9783a3460d8435c8ab91" +dependencies = [ + "crossbeam-deque", + "crossbeam-utils", +] + +[[package]] +name = "redox_syscall" +version = "0.5.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ed2bf2547551a7053d6fdfafda3f938979645c44812fbfcda098faae3f1a362d" +dependencies = [ + "bitflags", +] + +[[package]] +name = "regex" +version = "1.13.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f020237b6c8eed93db2e2cb53c00c60a8e1bc73da7d073199a1180401450218d" +dependencies = [ + "aho-corasick", + "memchr", + "regex-automata", + "regex-syntax", +] + +[[package]] +name = "regex-automata" +version = "0.4.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ad8553b9b26413251cbf30e620595c7a41b3887f03da04579c0e6b0d6a06b4b2" +dependencies = [ + "aho-corasick", + "memchr", + "regex-syntax", +] + +[[package]] +name = "regex-syntax" +version = "0.8.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d6f6ff9a378485b298a5286656da665ba74413d36db0979633275d2e708145d4" + +[[package]] +name = "scopeguard" +version = "1.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49" + +[[package]] +name = "serde" +version = "1.0.229" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4148590afebada386688f18773da617792bf2ef03ffc1e4cbd2b1d45b023e0ba" +dependencies = [ + "serde_core", + "serde_derive", +] + +[[package]] +name = "serde_core" +version = "1.0.229" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "67dca2c9c51e58a4791a4b1ed58308b39c64224d349a935ab5039aa360942a48" +dependencies = [ + "serde_derive", +] + +[[package]] +name = "serde_derive" +version = "1.0.229" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e7a5d71263a5a7d47b41f6b3f06ba276f10cc18b0931f1799f710578e2309348" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "serde_json" +version = "1.0.151" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c841b55ecdae098c80dcae9cf767f6f8a0c2cdb3416bbef72181df4d0fe73f14" +dependencies = [ + "indexmap", + "itoa", + "memchr", + "serde", + "serde_core", + "zmij", +] + +[[package]] +name = "similar" +version = "2.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bbbb5d9659141646ae647b42fe094daf6c6192d1620870b449d9557f748b2daa" + +[[package]] +name = "smallvec" +version = "1.15.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8ed6a63f02c8539c91a8685a86f4099661ba3da017932f6ebbea6de3f0fa7c90" + +[[package]] +name = "sqlformat" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0705994df478b895f05b8e290e0d46e53187b26f8d889d37b2a0881234922d94" +dependencies = [ + "unicode_categories", + "winnow", +] + +[[package]] +name = "syn" +version = "3.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "53e9bae58849f64dfa4f5d5ae372c8341f7305f82a3868709269343628b659a3" +dependencies = [ + "proc-macro2", + "quote", + "unicode-ident", +] + +[[package]] +name = "termcolor" +version = "1.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "06794f8f6c5c898b3275aebefa6b8a1cb24cd2c6c79397ab15774837a0bc5755" +dependencies = [ + "winapi-util", +] + +[[package]] +name = "thiserror" +version = "2.0.20" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ec86235f5fcc2a73650310756d2ac5b138a5780bbbdfae3eeccec992c435ba4f" +dependencies = [ + "thiserror-impl", +] + +[[package]] +name = "thiserror-impl" +version = "2.0.20" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bc04cd3e1236dd4a98afca4569f2deb3f120e5422a4023be2cb683f8486292af" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "unicode-ident" +version = "1.0.24" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e6e4313cd5fcd3dad5cafa179702e2b244f760991f45397d14d4ebf38247da75" + +[[package]] +name = "unicode-width" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b4ac048d71ede7ee76d585517add45da530660ef4390e49b098733c6e897f254" + +[[package]] +name = "unicode_categories" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "39ec24b3121d976906ece63c9daad25b85969647682eee313cb5779fdd69e14e" + +[[package]] +name = "winapi-util" +version = "0.1.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c2a7b1c03c876122aa43f3020e6c3c3ee5c05081c9a00739faf7503aeba10d22" +dependencies = [ + "windows-sys", +] + +[[package]] +name = "windows-link" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5" + +[[package]] +name = "windows-sys" +version = "0.61.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ae137229bcbd6cdf0f7b80a31df61766145077ddf49416a728b02cb3921ff3fc" +dependencies = [ + "windows-link", +] + +[[package]] +name = "winnow" +version = "0.7.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "df79d97927682d2fd8adb29682d1140b343be4ac0f08fd68b7765d9c059d3945" +dependencies = [ + "memchr", +] + +[[package]] +name = "zmij" +version = "1.0.23" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "29666d0abbfad1e3dc4dcf6144730dd3a3ab225bbbdac83319345b1b44ccfc1b" diff --git a/scripts/update.ts b/scripts/update.ts index 7998031..cf741b8 100644 --- a/scripts/update.ts +++ b/scripts/update.ts @@ -96,6 +96,10 @@ async function updateRustToolchain(sqlformatVersion: string) { $.log(`Updating Rust toolchain: ${localMatch[1]} -> ${requiredRustVersion}`); toolchainPath.writeTextSync(localContent.replace(localMatch[0], `channel = "${requiredRustVersion}"`)); } else { - $.log(`Rust toolchain at ${localMatch[1]} already satisfies sqlformat ${sqlformatVersion} (needs >= ${requiredRustVersion}).`); + $.log( + `Rust toolchain at ${ + localMatch[1] + } already satisfies sqlformat ${sqlformatVersion} (needs >= ${requiredRustVersion}).`, + ); } } From 3e221b39d3ee201827688dc9b0f98c27896a1370 Mon Sep 17 00:00:00 2001 From: David Sherret Date: Fri, 21 Aug 2026 15:47:38 -0400 Subject: [PATCH 3/3] chore: use jsr:@dprint/automation 0.12.2 --- .github/workflows/release.generated.yml | 2 +- .github/workflows/release.ts | 2 +- deno.json | 3 +- deno.lock | 97 ++++++++++++++----------- scripts/generateReleaseNotes.ts | 2 +- 5 files changed, 57 insertions(+), 49 deletions(-) diff --git a/.github/workflows/release.generated.yml b/.github/workflows/release.generated.yml index 65df7a2..acab5dc 100644 --- a/.github/workflows/release.generated.yml +++ b/.github/workflows/release.generated.yml @@ -31,4 +31,4 @@ jobs: run: |- git config user.email "${{ github.actor }}@users.noreply.github.com" git config user.name "${{ github.actor }}" - deno run -A jsr:@dprint/automation@0.10.3/tasks/publish-release --${{ github.event.inputs.releaseKind }} + deno run -A jsr:@dprint/automation@0.12.2/tasks/publish-release --${{ github.event.inputs.releaseKind }} diff --git a/.github/workflows/release.ts b/.github/workflows/release.ts index af09719..861bf5f 100755 --- a/.github/workflows/release.ts +++ b/.github/workflows/release.ts @@ -41,7 +41,7 @@ workflow({ run: [ `git config user.email "${actor}@users.noreply.github.com"`, `git config user.name "${actor}"`, - `deno run -A jsr:@dprint/automation@0.10.3/tasks/publish-release --${releaseKind}`, + `deno run -A jsr:@dprint/automation@0.12.2/tasks/publish-release --${releaseKind}`, ], }, ], diff --git a/deno.json b/deno.json index 4ee8a57..9b8c12c 100644 --- a/deno.json +++ b/deno.json @@ -1,6 +1,5 @@ { "imports": { - "automation": "https://raw.githubusercontent.com/dprint/automation/0.10.0/mod.ts", - "automation/": "https://raw.githubusercontent.com/dprint/automation/0.10.0/" + "automation": "jsr:@dprint/automation@0.12.2" } } diff --git a/deno.lock b/deno.lock index 737e7b6..8cb7822 100644 --- a/deno.lock +++ b/deno.lock @@ -1,31 +1,42 @@ { "version": "5", "specifiers": { - "jsr:@david/dax@0.42.0": "0.42.0", + "jsr:@david/console-static-text@0.3": "0.3.4", + "jsr:@david/dax@0.45.0": "0.45.0", + "jsr:@david/gagen@0.5": "0.5.1", "jsr:@david/path@0.2": "0.2.0", - "jsr:@david/which@~0.4.1": "0.4.1", - "jsr:@std/assert@0.221": "0.221.0", - "jsr:@std/bytes@0.221": "0.221.0", - "jsr:@std/fmt@1": "1.0.9", - "jsr:@std/fs@1": "1.0.23", - "jsr:@std/internal@^1.0.12": "1.0.12", - "jsr:@std/io@0.221": "0.221.0", - "jsr:@std/path@1": "1.1.4", - "jsr:@std/path@^1.1.4": "1.1.4", + "jsr:@david/which@~0.4.1": "0.4.2", + "jsr:@dprint/automation@0.12.2": "0.12.2", + "jsr:@std/bytes@^1.0.6": "1.0.6", + "jsr:@std/fmt@1": "1.0.10", + "jsr:@std/fs@1": "1.0.24", + "jsr:@std/internal@^1.0.14": "1.0.14", + "jsr:@std/io@0.225": "0.225.3", + "jsr:@std/path@1": "1.1.6", + "jsr:@std/path@^1.1.5": "1.1.6", "jsr:@std/semver@1": "1.0.8", - "jsr:@std/streams@0.221": "0.221.0" + "jsr:@std/yaml@^1.0.11": "1.1.2" }, "jsr": { - "@david/dax@0.42.0": { - "integrity": "0c547c9a20577a6072b90def194c159c9ddab82280285ebfd8268a4ebefbd80b", + "@david/console-static-text@0.3.4": { + "integrity": "1c596f500b075ff3c8bab1d328ca7148a88067fd9a506b16a73eeaf230c229fd" + }, + "@david/dax@0.45.0": { + "integrity": "ac7565dc5c3e5be953a18b505e5dd0d8a30ed53656b65fd34a53bd8d2d5d6b1e", "dependencies": [ + "jsr:@david/console-static-text", "jsr:@david/path", "jsr:@david/which", "jsr:@std/fmt", "jsr:@std/fs", "jsr:@std/io", - "jsr:@std/path@1", - "jsr:@std/streams" + "jsr:@std/path@1" + ] + }, + "@david/gagen@0.5.1": { + "integrity": "e0f069243e57eac9fb319b40c0061635e50e498f0126aa0d2509cb5209745033", + "dependencies": [ + "jsr:@std/yaml" ] }, "@david/path@0.2.0": { @@ -35,37 +46,40 @@ "jsr:@std/path@1" ] }, - "@david/which@0.4.1": { - "integrity": "896a682b111f92ab866cc70c5b4afab2f5899d2f9bde31ed00203b9c250f225e" + "@david/which@0.4.2": { + "integrity": "440ee262bc0673b57a39ad4d0dc5673e515ddd41c049a55b2588a0881e5d4a8c" }, - "@std/assert@0.221.0": { - "integrity": "a5f1aa6e7909dbea271754fd4ab3f4e687aeff4873b4cef9a320af813adb489a" + "@dprint/automation@0.12.2": { + "integrity": "4065b01c0f5acadd9eed62eeadb58a8cde088c188f01f9bed32d48e3d0576881", + "dependencies": [ + "jsr:@david/dax", + "jsr:@std/semver" + ] }, - "@std/bytes@0.221.0": { - "integrity": "64a047011cf833890a4a2ab7293ac55a1b4f5a050624ebc6a0159c357de91966" + "@std/bytes@1.0.6": { + "integrity": "f6ac6adbd8ccd99314045f5703e23af0a68d7f7e58364b47d2c7f408aeb5820a" }, - "@std/fmt@1.0.9": { - "integrity": "2487343e8899fb2be5d0e3d35013e54477ada198854e52dd05ed0422eddcabe0" + "@std/fmt@1.0.10": { + "integrity": "90dfba288802ac6de82fb31d0917eb9e4450b9925b954d5e51fc29ac07419db5" }, - "@std/fs@1.0.23": { - "integrity": "3ecbae4ce4fee03b180fa710caff36bb5adb66631c46a6460aaad49515565a37", + "@std/fs@1.0.24": { + "integrity": "f3061b45b81673a2bece689da041df32d174be064c89eb6397fb5718d3fb7877", "dependencies": [ "jsr:@std/internal", - "jsr:@std/path@^1.1.4" + "jsr:@std/path@^1.1.5" ] }, - "@std/internal@1.0.12": { - "integrity": "972a634fd5bc34b242024402972cd5143eac68d8dffaca5eaa4dba30ce17b027" + "@std/internal@1.0.14": { + "integrity": "291516b3d4c35024d6ffbc0a9df5bf4c64116e05b50012cf846710152d2ffdf7" }, - "@std/io@0.221.0": { - "integrity": "faf7f8700d46ab527fa05cc6167f4b97701a06c413024431c6b4d207caa010da", + "@std/io@0.225.3": { + "integrity": "27b07b591384d12d7b568f39e61dff966b8230559122df1e9fd11cc068f7ddd1", "dependencies": [ - "jsr:@std/assert", "jsr:@std/bytes" ] }, - "@std/path@1.1.4": { - "integrity": "1d2d43f39efb1b42f0b1882a25486647cb851481862dc7313390b2bb044314b5", + "@std/path@1.1.6": { + "integrity": "c68485c2a4dfbb5ae3cc74fae4e8c4e5d874cf8a8ed12927917235c758b46cbe", "dependencies": [ "jsr:@std/internal" ] @@ -73,18 +87,13 @@ "@std/semver@1.0.8": { "integrity": "dc830e8b8b6a380c895d53fbfd1258dc253704ca57bbe1629ac65fd7830179b7" }, - "@std/streams@0.221.0": { - "integrity": "47f2f74634b47449277c0ee79fe878da4424b66bd8975c032e3afdca88986e61", - "dependencies": [ - "jsr:@std/io" - ] + "@std/yaml@1.1.2": { + "integrity": "de612653c036749ba2044165e316f52412b0f0698afffb7ee80b5331d6d2abae" } }, - "remote": { - "https://raw.githubusercontent.com/dprint/automation/0.10.0/cargo.ts": "09cde3f879a9363a6d47bd2eebe7a78ed337172be5a133c72ba975674157c17d", - "https://raw.githubusercontent.com/dprint/automation/0.10.0/deps.ts": "4153d1d241c9d43b73bce43377b4e4ac828184e0dcef8d6c934c50c0dfaaefec", - "https://raw.githubusercontent.com/dprint/automation/0.10.0/hash.ts": "b81cab5700a6d7b6a0a4ff5b60bf0e26a2827eafd747ddd4c10bc6a4887d8d94", - "https://raw.githubusercontent.com/dprint/automation/0.10.0/mod.ts": "5f330d62cc675f3b6c464b186809d30df12830a1e4d4cbb64e1a494d058c6163", - "https://raw.githubusercontent.com/dprint/automation/0.10.0/process_plugin.ts": "232420b223baf7f21d31cfc103407ae229ec82b6e38676949994310ea9396909" + "workspace": { + "dependencies": [ + "jsr:@dprint/automation@0.12.2" + ] } } diff --git a/scripts/generateReleaseNotes.ts b/scripts/generateReleaseNotes.ts index 324490f..5088381 100644 --- a/scripts/generateReleaseNotes.ts +++ b/scripts/generateReleaseNotes.ts @@ -1,4 +1,4 @@ -import { generateChangeLog } from "automation/changelog.ts"; +import { generateChangeLog } from "automation"; const version = Deno.args[0]; const changelog = await generateChangeLog({