Skip to content
Merged

Dev #119

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,16 @@ Changelog
[Github master](https://github.com/bjones1/CodeChat_Editor)
-----------------------------------------------------------

* No changes yet.
* No changes.

Version 0.1.56 -- 2026-May-22
-----------------------------

* Fix regression that moves the cursor back one character when at the end of a
line in a doc block in the Client.
* Correct minifier use to reduce unnecessary re-translations.
* Enable horizontal scrolling in Client, fix approach to scrollbars.
* Fix a regression that prevented selection of a previously-selected doc block.

Version 0.1.55-beta1 -- 2026-May-12
-----------------------------------
Expand Down
16 changes: 14 additions & 2 deletions builder/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,8 @@ enum Commands {
Build,
/// Build the Client.
ClientBuild(TypeScriptBuildOptions),
/// Measure test coverage.
Cover,
/// Build the extensions.
ExtBuild(TypeScriptBuildOptions),
/// Change the version for the client, server, and extensions.
Expand Down Expand Up @@ -423,6 +425,8 @@ fn run_install(dev: bool) -> io::Result<()> {
cargo binstall cargo-sort --no-confirm;
info "cargo binstall cargo-audit";
cargo binstall cargo-audit --no-confirm;
info "cargo binstall cargo-tarpaulin";
cargo binstall cargo-tarpaulin --no-confirm;
)?;
}
Ok(())
Expand Down Expand Up @@ -728,12 +732,12 @@ fn run_change_version(new_version: &String) -> io::Result<()> {
)?;
search_and_replace_file(
format!("{VSCODE_PATH}/package.json"),
r#"(\r?\n "version": ")[\d.]+(?:-[a-z\d]*)(",\r?\n)"#,
r#"(\r?\n "version": ")[\d.]+(?:-[a-z\d]*)?(",\r?\n)"#,
&replacement_string,
)?;
search_and_replace_file(
format!("{CLIENT_PATH}/package.json5"),
r#"(\r?\n version: ')[\d.]+(?:-[a-z\d]*)(',\r?\n)"#,
r#"(\r?\n version: ')[\d.]+(?:-[a-z\d]*)?(',\r?\n)"#,
&replacement_string,
)?;
Ok(())
Expand Down Expand Up @@ -800,6 +804,13 @@ fn run_postrelease(target: &str, tag: &str) -> io::Result<()> {
Ok(())
}

fn run_coverage() -> io::Result<()> {
run_cmd!(
info "cargo tarpaulin --skip-clean --out=html --target-dir=tarpaulin";
cargo tarpaulin --skip-clean --out=html --target-dir=tarpaulin;
)
}

// CLI implementation
// ------------------
//
Expand All @@ -822,6 +833,7 @@ impl Cli {
Commands::ChangeVersion { new_version } => run_change_version(new_version),
Commands::Prerelease => run_prerelease(),
Commands::Postrelease { target, tag, .. } => run_postrelease(target, tag),
Commands::Cover => run_coverage(),
}
}
}
Expand Down
16 changes: 8 additions & 8 deletions client/package.json5
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
url: 'https://github.com/bjones1/CodeChat_editor',
},
type: 'module',
version: '0.1.55-beta1',
version: '0.1.56',
dependencies: {
'@codemirror/commands': '^6.10.3',
'@codemirror/lang-cpp': '^6.0.3',
Expand All @@ -61,16 +61,16 @@
'@codemirror/lang-xml': '^6.1.0',
'@codemirror/lang-yaml': '^6.1.3',
'@codemirror/language': '^6.12.3',
'@codemirror/legacy-modes': '^6.5.2',
'@codemirror/legacy-modes': '^6.5.3',
'@codemirror/state': '^6.6.0',
'@codemirror/view': '6.38.8',
'@hpcc-js/wasm-graphviz': '^1.21.5',
'@hpcc-js/wasm-graphviz': '^1.21.6',
'@mathjax/mathjax-newcm-font': '^4.1.2',
codemirror: '^6.0.2',
mathjax: '^4.1.2',
mermaid: '^11.15.0',
'pdfjs-dist': '5.4.624',
tinymce: '^8.5.0',
tinymce: '^8.5.1',
'toastify-js': '^1.12.0',
},
devDependencies: {
Expand All @@ -81,11 +81,11 @@
'@types/mocha': '^10.0.10',
'@types/node': '^24.12.4',
'@types/toastify-js': '^1.12.4',
'@typescript-eslint/eslint-plugin': '^8.59.3',
'@typescript-eslint/parser': '^8.59.3',
'@typescript-eslint/eslint-plugin': '^8.59.4',
'@typescript-eslint/parser': '^8.59.4',
chai: '^6.2.2',
esbuild: '^0.28.0',
eslint: '^10.3.0',
eslint: '^10.4.0',
'eslint-config-prettier': '^10.1.8',
'eslint-plugin-import': '^2.32.0',
'eslint-plugin-prettier': '^5.5.5',
Expand All @@ -94,7 +94,7 @@
'npm-check-updates': '^22.2.0',
prettier: '^3.8.3',
typescript: '^6.0.3',
'typescript-eslint': '^8.59.3',
'typescript-eslint': '^8.59.4',
},
scripts: {
test: 'echo "Error: no test specified" && exit 1',
Expand Down
Loading
Loading