Skip to content

Commit 3bd665b

Browse files
committed
Freeze for release.
Add: install pnpm when --dev is requested.
1 parent 1228f98 commit 3bd665b

File tree

9 files changed

+8824
-3873
lines changed

9 files changed

+8824
-3873
lines changed

builder/Cargo.lock

Lines changed: 0 additions & 480 deletions
This file was deleted.

builder/src/main.rs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -333,6 +333,9 @@ fn patch_client_libs() -> io::Result<()> {
333333
}
334334

335335
fn run_install(dev: bool) -> io::Result<()> {
336+
if dev {
337+
run_script("npm", &["install", "-g", "pnpm@latest-10"], ".", true)?;
338+
}
336339
run_script("pnpm", &["install"], "../client", true)?;
337340
patch_client_libs()?;
338341
run_script("pnpm", &["install"], "../extensions/VSCode", true)?;
@@ -581,7 +584,9 @@ fn main() -> io::Result<()> {
581584
// Change to the `server/` directory, so it can be run from anywhere.
582585
let mut root_path = PathBuf::from(env::current_exe().unwrap().parent().unwrap());
583586
root_path.push("../../../server");
584-
// Use `dunce.canonicalize`, since UNC paths booger up some of the build tools (cargo can't delete the builder's binary, NPM doesn't accept UNC paths.)
587+
// Use `dunce.canonicalize`, since UNC paths booger up some of the build
588+
// tools (cargo can't delete the builder's binary, NPM doesn't accept UNC
589+
// paths.)
585590
root_path = canonicalize(root_path).unwrap();
586591
env::set_current_dir(root_path).unwrap();
587592

client/package.json5

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -79,13 +79,13 @@
7979
'@types/chai': '^5.2.2',
8080
'@types/js-beautify': '^1.14.3',
8181
'@types/mocha': '^10.0.10',
82-
'@types/node': '^24.2.0',
82+
'@types/node': '^24.2.1',
8383
'@types/toastify-js': '^1.12.4',
84-
'@typescript-eslint/eslint-plugin': '^8.39.0',
85-
'@typescript-eslint/parser': '^8.39.0',
84+
'@typescript-eslint/eslint-plugin': '^8.39.1',
85+
'@typescript-eslint/parser': '^8.39.1',
8686
chai: '^5.2.1',
87-
esbuild: '^0.25.8',
88-
eslint: '^9.32.0',
87+
esbuild: '^0.25.9',
88+
eslint: '^9.33.0',
8989
'eslint-config-prettier': '^10.1.8',
9090
'eslint-plugin-import': '^2.32.0',
9191
'eslint-plugin-prettier': '^5.5.4',

0 commit comments

Comments
 (0)