File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -42,15 +42,15 @@ fn main() {
4242 if let Some ( npm_path) = npm. as_deref ( ) {
4343 if !ts_dir. join ( "node_modules" ) . exists ( ) {
4444 let status = Command :: new ( npm_path)
45- . arg ( "install " )
45+ . arg ( "ci " )
4646 . current_dir ( & ts_dir)
4747 . status ( ) ;
4848 if !status
4949 . as_ref ( )
5050 . map ( std:: process:: ExitStatus :: success)
5151 . unwrap_or ( false )
5252 {
53- warn ! ( "tsjs: npm install failed; using existing dist if available" ) ;
53+ warn ! ( "tsjs: npm ci failed; using existing dist if available" ) ;
5454 }
5555 }
5656 }
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ VitePress documentation site for Trusted Server.
1313
1414``` bash
1515# Install dependencies
16- npm install
16+ npm ci
1717
1818# Start dev server (available at localhost:5173)
1919npm run dev
Original file line number Diff line number Diff line change @@ -589,7 +589,7 @@ ERROR: npm run build:custom failed
589589
590590``` bash
591591cd crates/js/lib
592- npm install
592+ npm ci
593593```
594594
5955952 . Test build manually:
You can’t perform that action at this time.
0 commit comments